diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-23 00:23:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-23 00:23:51 +0000 |
commit | a683c3d7e9fac38ec713f23fb6b9d2c7143aea82 (patch) | |
tree | 424ab223921f85fd3f167a4ccd0e2d37d05c2927 /Master/texmf-dist/doc/latex/latex-web-companion/apb | |
parent | 5beb5368a684995153c8566797ba054f21c666af (diff) |
move english latex doc out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13412 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-web-companion/apb')
22 files changed, 1805 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/InvitationSAX.class b/Master/texmf-dist/doc/latex/latex-web-companion/apb/InvitationSAX.class Binary files differnew file mode 100644 index 00000000000..c9e0f15418d --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/InvitationSAX.class diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/InvitationSAX.java b/Master/texmf-dist/doc/latex/latex-web-companion/apb/InvitationSAX.java new file mode 100644 index 00000000000..ba3821e0d1d --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/InvitationSAX.java @@ -0,0 +1,53 @@ +import org.xml.sax.HandlerBase; +import org.xml.sax.AttributeList; + +public class InvitationSAX extends HandlerBase { + + public void startElement (String Ename, AttributeList atts) + { if (Ename.equals("invitation")) + {System.out.print("\\documentclass[]{article}\n" + + "\\usepackage{invitation}\n" + + "\\begin{document}\n" + + "\\begin{Front}\n"); + for (int i = 0; i < atts.getLength(); i++) { + String Aname = atts.getName(i); + String type = atts.getType(i); + String value = atts.getValue(i); + if (Aname.equals("date")) + System.out.print("\\Date{" + value + "}\n"); + else if (Aname.equals("signature")) + System.out.print("\\Signature{" + value + "}\n"); + else if (Aname.equals("to")) + System.out.print("\\To{" + value + "}\n"); + else if (Aname.equals("where")) + System.out.print("\\Where{" + value + "}\n"); + else if (Aname.equals("why")) + System.out.print("\\Why{" + value + "}\n"); + else System.out.print("INVALID ATTRIBUTE!!! " + value + "\n"); + } // end attributes of invitation + System.out.println("\\end{Front}"); + System.out.println("\\begin{Body}"); + } // end element invitation + if (Ename.equals("par")) + System.out.print("\\par "); + if (Ename.equals("emph")) + System.out.print("\\emph{"); + } // End of startElement + + public void endElement (String Ename) + { if (Ename.equals("invitation")) + System.out.print("\\end{Body}\n" + + "\\begin{Back}\n" + + "\\end{Back}\n" + + "\\end{document}\n"); + if (Ename.equals("emph")) + System.out.print("}"); +// if (Ename.equals("par")) ---> do nothing + } // End of endElement + + public void characters(char ch[],int start,int length) + { for (int i=start; i<start+length; i++) + {System.out.print(ch[i]);} + } // End of characters + +} // end of InvitationSAX diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/MySAXApp.class b/Master/texmf-dist/doc/latex/latex-web-companion/apb/MySAXApp.class Binary files differnew file mode 100644 index 00000000000..e9493a5434b --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/MySAXApp.class diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/MySAXApp.java b/Master/texmf-dist/doc/latex/latex-web-companion/apb/MySAXApp.java new file mode 100644 index 00000000000..59862c7d860 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/MySAXApp.java @@ -0,0 +1,16 @@ +// MySAXApp.java -- Main driver class +// --> calls InvitationSAX which has customized code +import org.xml.sax.Parser; +import org.xml.sax.DocumentHandler; +import org.xml.sax.helpers.ParserFactory; + +public class MySAXApp { + static final String parserClass = "com.microstar.xml.SAXDriver"; + public static void main (String args[]) + throws Exception + { Parser parser = ParserFactory.makeParser(parserClass); + DocumentHandler handler = new InvitationSAX(); + parser.setDocumentHandler(handler); + for (int i = 0; i < args.length; i++) {parser.parse(args[i]);} + } +} diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/README.apb b/Master/texmf-dist/doc/latex/latex-web-companion/apb/README.apb new file mode 100644 index 00000000000..0a6bb120150 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/README.apb @@ -0,0 +1,56 @@ +Files in Appendix B of the LaTeX Web Companion + +Section B.4 ++++++++++++ + +biblioxml1.dtd DTD for 1st instance BibTeX database (Section B.4.4.2) +bibliotest1.xml XML test file for the above + +biblioxml2.dtd DTD for 1st instance BibTeX database (Section B.4.4.3) +mybiblio.dtd user customization for the above DTD +bibliotest2.xml XML test file for the above + + +makelatex.sh Bourne shell script to run the LaTeX job with xt and + obtain Latin 1 output. +utf82latin1.sh Bourne shell script running the UTF-8 to Latin 1 + Java program (see the directory apc) + +minilatex.dtd DTD for mini version of LaTeX (Section B.4.5.1) + +latexmath.dtd Supplemetary DTDs for use with math (Section B.4.5.2) +latexmml.dtd + +minilatexexa.xml XML source using LaTeX-like markup (Section B.4.5.3) +minilatex.xsl XSL file to generate LaTeX from above (Section B.4.5.4) +minilatexexa.tex Final LaTeX result obtained (note: in the book we by hand + made the pages 6% higher to keep everything on two pages) +colorcir.eps EPS file referenced in the above + + + +Section B.6 ++++++++++++ + +InvitationSAX.class Java and Class files for the SAX example (Section B.6.2) +InvitationSAX.java +MySAXApp.class +MySAXApp.java + +invitation2.dtd Source files used as input for sax run +invitation2.xml + +To run Java you should set the CLASSPATH variable to point to the sax +and Aelfred (or some other SAX XML parser) jar or zip archives +export CLASSPATH=.:$T/java/aelfred.zip:$T/java/sax.jar + +java MySAXApp file:/usr/goossens/invitation2.xml > inv2.tex + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + the full URL (path) must be specified + +inv2.tex Result LaTeX file of above run +invitation.sty Package to generate dvi/pdf file + + + + diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/bibliotest1.xml b/Master/texmf-dist/doc/latex/latex-web-companion/apb/bibliotest1.xml new file mode 100644 index 00000000000..9ce2bb2e44a --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/bibliotest1.xml @@ -0,0 +1,116 @@ +<!DOCTYPE biblio SYSTEM "biblioxml1.dtd" [ +<!ENTITY AW "Addison-Wesley"> +<!ENTITY AW:adr "Reading, Massachusetts"> +<!ENTITY emdash "---"> +<!ENTITY endash "--"> +<!ENTITY ouml '\"o'> +<!ENTITY j-TUGboat "TUGboat"> +<!ENTITY LaTeX "\LaTeX{}"> +<!ENTITY TeX "\TeX{}"> +<!ENTITY WEB "\textsc{web}"> +<!-- abreviations for the months --> +<!ENTITY jan "Jan."> +<!ENTITY feb "Feb."> +<!ENTITY mar "Mar."> +<!ENTITY apr "Apr."> +<!ENTITY may "May"> +<!ENTITY jun "Jun."> +<!ENTITY jul "Jul."> +<!ENTITY aug "Aug."> +<!ENTITY sep "Sep."> +<!ENTITY oct "Oct."> +<!ENTITY nov "Nov."> +<!ENTITY dec "Dec."> +]> +<biblio> +<manual id="Dynatext"> + <title>Dynatext, Electronic Book Indexer/Browser</title> + <organization>Electronic Book Technology Inc.</organization> + <address>Providence, Rhode Island</address> + <year>1991</year> +</manual> + <book id="Eijkhout:1991"> + <author><names><first>Victor</first><last>Eijkhout</last></names></author> + <title>&TeX; by Topic, a &TeX;nicians Reference</title> + <publisher>&AW;</publisher> + <year>1991</year> + <address>&AW:adr;</address> +</book>, +<techreport id="EVH:Office"> + <author><names><first>Eric</first><last>van Herwijnen</last></names></author> + <title>Future Office Systems Requirements</title> + <institution>CERN DD Internal Note</institution> + <year>1988</year> + <month>&nov;</month> +</techreport> +<article id="Felici:1991"> + <author><names><first>James</first><last>Felici</last></names></author> + <title>PostScript versus TrueType</title> + <journal>Macworld</journal> + <year>1991</year> + <volume>8</volume> + <pages>195&endash;201</pages> + <month>&sep;</month> +</article> +<techreport id="Knuth:WEB"> + <author><names><first>Donald E.</first><last>Knuth</last></names></author> + <title>The &WEB; System of Structured Documentation</title> + <institution>Department of Computer Science, Stanford University</institution> + <year>1983</year> + <number>STAN-CS-83-980</number> + <address>Stanford, CA 94305</address> + <month>&sep;</month> +</techreport> +<phdthesis id="Liang:1983"> + <author><names><first>Franklin Mark</first><last>Liang</last></names></author> + <title>Word Hy-phen-a-tion by Com-pu-ter</title> + <school>Stanford University</school> + <year>1983</year> + <address>Stanford, CA 94305</address> + <month>&jun;</month> + <note>Also available as Stanford University, Department of + Computer Science Report No. STAN-CS-83-977</note> +</phdthesis> +<article id="Mittelbach-Schoepf:1990"> + <author><names><first>Frank</first><last>Mittelbach</last><and/> + <first>Rainer</first><last>Schöpf</last></names></author> + <title>The New Font Selection &emdash; User Interface to + Standard &LaTeX;</title> + <journal>&j-TUGboat;</journal> + <year>1990</year> + <volume>11</volume> + <number>2</number> + <pages>297&endash;305</pages> +</article> +<incollection id="Wood:color" crossref="Roth:postscript"> + <author><names><first>Pat</first><last>Wood</last></names></author> + <title>PostScript Color Separation</title> + <booktitle>Real World PostScript</booktitle> + <publisher>&AW;</publisher> + <year>1988</year> + <pages>201&endash;225</pages> +</incollection> +<book id="Roth:postscript"> + <editor><names><first>Stephen E.</first><last>Roth</last></names></editor> + <title>Real World PostScript</title> + <publisher>&AW;</publisher> + <year>1988</year> + <address>&AW:adr;</address> + <ISBN>0-201-06663-7</ISBN> +</book> +<inproceedings id="Yannis:1991"> + <author><names><first>Yannis</first><last>Haralambous</last></names></author> + <title>&TeX; and those other languages</title> + <booktitle>1991 Annual Meeting Proceedings, Part 2, &TeX; Users Group, + Twelfth Annual Meeting, Dedham, Massachusetts, July 15--18, 1991 + </booktitle> + <year>1991</year> + <editor><names><first>Hope</first><last>Hamilton</last></names></editor> + <volume>12</volume> + <series>&j-TUGboat;</series> + <pages>539&endash;548</pages> + <address>Providence, Rhode Island</address> + <month>&dec;</month> + <organization>&TeX; Users Group</organization> +</inproceedings> +</biblio> diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/bibliotest2.xml b/Master/texmf-dist/doc/latex/latex-web-companion/apb/bibliotest2.xml new file mode 100644 index 00000000000..e4d45968120 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/bibliotest2.xml @@ -0,0 +1,114 @@ +<!DOCTYPE biblio SYSTEM "mybiblio.dtd"> +<biblio> +<manual id ="Dynatext" + organization="Electronic Book Technology Inc." + address ="Providence, Rhode Island" + year ="1991"> + <title>Dynatext, Electronic Book Indexer/Browser</title> +</manual> +<book id ="Eijkhout:1991" + publisher="&AW;" + year ="1991" + address ="&AW:adr;"> + <author> + <name><first>Victor</first><last>Eijkhout</last></name> + </author> + <title>&TeX; by Topic, a &TeX;nicians Reference</title> +</book> +<techreport id ="EVH:Office" + institution="CERN DD Internal Note" + month ="nov" + year ="1988"> + <author> + <name><first>Eric</first><last>van Herwijnen</last></name> + </author> + <title>Future Office Systems Requirements</title> +</techreport> +<article id ="Felici:1991" + journal="Macworld" + month ="sep" + year ="1991" + volume ="8" + pages ="195&endash;201"> + <author><name><first>James</first><last>Felici</last></name></author> + <title>PostScript versus TrueType</title> +</article> +<techreport id ="Knuth:WEB" + institution="Department of Computer Science, Stanford University" + address ="Stanford, CA 94305" + month ="sep" + year ="1983" + number ="STAN-CS-83-980"> + <author><name><first>Donald E.</first><last>Knuth</last></name></author> + <title>The &WEB; System of Structured Documentation</title> +</techreport> +<phdthesis id ="Liang:1983" + school="Stanford University" + address="Stanford, CA 94305" + month ="jun" + year ="1983"> + <author><name><first>Franklin Mark</first><last>Liang</last></name></author> + <title>Word Hy-phen-a-tion by Com-pu-ter</title> + <note>Also available as Stanford University, Department of + Computer Science Report No. STAN-CS-83-977 + </note> +</phdthesis> +<article id="Mittelbach-Schoepf:1990" + journal="&j-TUGboat;" + year="1990" + volume="11" + number="2" + pages="297&endash;305"> + <author><name><first>Frank</first><last>Mittelbach</last></name> + <and/> + <name><first>Rainer</first><last>Schöpf</last></name> + </author> + <title> + The New Font Selection &emdash; User Interface to Standard &LaTeX;" + </title> +</article> +<incollection id ="Wood:color" + crossref ="Roth:postscript" + publisher="&AW;" + year ="1988" + pages ="201&endash;225"> + <author><name><first>Pat</first><last>Wood</last></name></author> + <title>PostScript Color Separation</title> + <booktitle>Real World PostScript</booktitle> +</incollection> +<book id ="Roth:postscript" + publisher="&AW;" + year ="1988" + address ="&AW:adr;" + ISBN ="0-201-06663-7"> + <editor><name><first>Stephen E.</first><last>Roth</last></name></editor> + <title>Real World PostScript</title> +</book> +<inproceedings id ="Yannis:1991" + series ="&j-TUGboat;" + volume ="12" + pages ="539&endash;548" + organization="&TeX; Users Group" + address ="Providence, Rhode Island" + month ="dec" + year ="1991"> + <author><name><first>Yannis</first><last>Haralambous</last></name></author> + <title>&TeX; and those other languages</title> + <booktitle>1991 Annual Meeting Proceedings, Part 2, &TeX; Users Group, + Twelfth Annual Meeting, Dedham, Massachusetts, July 15--18, 1991 + </booktitle> + <editor><name><first>Hope</first><last>Hamilton</last></name></editor> +</inproceedings> +<webdocument id="xml-latest-news" + organization="OASIS"> + <title>SGML and XML News</title> + <author><name><first>Robin</first><last>Cover</last></name></author> + <url>http://www.oasis-open.org/cover/sgmlnew.html</url> + <note> + Information about what is (relatively) new in the `SGML/XML Web Page' + </note> + <annote>This page keeps you informed about the latest developments + in the area of SGML, XML, and related areas. + </annote> +</webdocument> +</biblio> diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/biblioxml1.dtd b/Master/texmf-dist/doc/latex/latex-web-companion/apb/biblioxml1.dtd new file mode 100644 index 00000000000..4c6b61f9517 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/biblioxml1.dtd @@ -0,0 +1,144 @@ +<!-- biblioxml1.dtd: XML DTD for BibTeX markup: version 1 --> + +<!-- Every biblio entry _must_ have an identifier and + _can_ have a cross-reference to an existing entry --> +<!ENTITY % atype "id ID #REQUIRED + crossref IDREF #IMPLIED"> + +<!-- Possible types of biblio entries --> +<!ELEMENT biblio (#PCDATA | article| book| booklet| inbook| incollection| + inproceedings| manual| mastersthesis| misc| + phdthesis| proceedings| techreport| unpublished)*> + +<!-- Optional annotation, note, ISBN, or key (the latter for sorting) --> +<!ENTITY % info "(annote|note|ISBN|key)*"> + +<!-- An article from a journal or magazine --> +<!ELEMENT article (author, title, journal, year, + volume?, number?, pages?, month?, %info;)> +<!ATTLIST article %atype;> + +<!-- A book with an explicit publisher --> +<!ELEMENT book ((author|editor), title, publisher, year, + (volume|number)?, series?, address?, edition?, month?, %info;)> +<!ATTLIST book %atype;> + +<!-- A work that is printed or bound, but without a named --> +<!-- publisher or sponsoring institution --> +<!ELEMENT booklet (title , + author, howpublished?, address?, month?, year?, %info;)> +<!ATTLIST booklet %atype;> + +<!-- A part of a book, usually untitled; --> +<!-- (a chapter, a sectional unit, or just a range of pages) --> +<!ELEMENT inbook ((author|editor), title, (chapter|pages)*, publisher, year, + (volume|number)?, series?, type?, address?, edition?, month?, %info;)> +<!ATTLIST inbook %atype;> + +<!-- A part of a book with its own title --> +<!ELEMENT incollection (author, title, booktitle, publisher, year, + editor?, (volume|number)?, series?, type?, chapter?, + pages?, address?, edition?, month?, %info;)> +<!ATTLIST incollection %atype;> + +<!-- An article in a conference proceedings --> +<!ELEMENT inproceedings (author, title, booktitle, year, + editor?, (volume|number)?, series?, pages?, address?, + month?, organization?, publisher?, %info;)> +<!ATTLIST inproceedings %atype;> + +<!-- Technical documentation --> +<!ELEMENT manual (title, + author?, organization?, address?, edition?, month?, year?, %info;)> +<!ATTLIST manual %atype;> + +<!-- A master's thesis --> +<!ELEMENT mastersthesis (author, title, school, year, + type?, address?, month?, %info;)> +<!ATTLIST mastersthesis %atype;> + +<!-- Miscelleneous: use this type if nothing else fits --> +<!ELEMENT misc (author?, title?, howpublished?, month?, year?,%info;)> +<!ATTLIST misc %atype;> + +<!-- A Ph. D. thesis --> +<!ELEMENT phdthesis (author, title, school, year, + type?, address?, month?, %info;)> +<!ATTLIST phdthesis %atype;> + +<!-- The porceedings of a conference --> +<!ELEMENT proceedings (title , year , + editor?, (volume|number)?, series?, address?, + month?, organization?, publisher?, %info;)> +<!ATTLIST proceedings %atype;> + +<!-- A report published by a school or other institution --> +<!-- usually numbered within a series --> +<!ELEMENT techreport (author, title, institution, year, + type?, number?, address?, month?, %info;)> +<!ATTLIST techreport %atype;> + +<!-- A document with author and title, but not formally published --> +<!ELEMENT unpublished (author, title, note, + month? , key?)> +<!ATTLIST unpublished %atype;> + +<!-- For adding typographic emphasis to the information --> +<!ELEMENT emph (#PCDATA)> +<!ATTLIST emph style (textbf|emph|textsf|textsl|texttt|quote) "emph"> + +<!ENTITY % inline "(#PCDATA|emph)*"> +<!-- The basic fields (Lamport (1994), pages 162-164) --> + + <!-- Usually the address of publisher or institution --> +<!ELEMENT address (#PCDATA|emph)*> + <!-- Annotation (not used by standard styles) --> +<!ELEMENT annote (#PCDATA|emph)*> + <!-- Author(s) in format described on pp. 157-158 --> +<!ELEMENT author (names)> +<!ELEMENT names ((first,last),(and,first,last)*)> +<!ELEMENT last (#PCDATA|emph)*> +<!ELEMENT first (#PCDATA|emph)*> +<!ELEMENT and EMPTY> + <!-- Title of a book, used in incollection and inproceedings --> +<!ELEMENT booktitle (#PCDATA|emph)*> + <!-- Chapter (or sectional unit) number --> +<!ELEMENT chapter (#PCDATA|emph)*> + <!-- Edition of a book (e.g., "third") --> +<!ELEMENT edition (#PCDATA|emph)*> + <!-- Names of editor(s) --> +<!ELEMENT editor (names)> + <!-- Describe how something strange is published --> +<!ELEMENT howpublished (#PCDATA|emph)*> + <!-- Sponsoring institution of a technical report --> +<!ELEMENT institution (#PCDATA|emph)*> + <!-- The ISBN number (non-standard, but useful --> +<!ELEMENT ISBN (#PCDATA)> + <!-- A journal's name --> +<!ELEMENT journal (#PCDATA|emph)*> + <!-- Used for ordering the biblio entries --> +<!ELEMENT key (#PCDATA)> + <!-- Month of publication (or writing, if not published) --> +<!ELEMENT month (#PCDATA)> + <!-- Additional information to help the user --> +<!ELEMENT note (#PCDATA|emph)*> + <!-- Number of a journal, magazine, report, etc. --> +<!ELEMENT number (#PCDATA)> + <!-- Sponsor of conference or publisher of manual --> +<!ELEMENT organization (#PCDATA|emph)*> + <!-- page, or page range --> +<!ELEMENT pages (#PCDATA)> + <!-- Publisher's name --> +<!ELEMENT publisher (#PCDATA|emph)*> + <!-- Name of the school where thesis was written --> +<!ELEMENT school (#PCDATA|emph)*> + <!-- Name of the series or set of books --> +<!ELEMENT series (#PCDATA|emph)*> + <!-- A work's title --> +<!ELEMENT title (#PCDATA|emph)*> + <!-- Type of a technical report, e.g., "Research Note" --> +<!ELEMENT type (#PCDATA|emph)*> + <!-- Volume number of a journal or multi-volume book --> +<!ELEMENT volume (#PCDATA)> + <!-- Year of publication (or writing, if not published) --> +<!ELEMENT year (#PCDATA)> diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/biblioxml2.dtd b/Master/texmf-dist/doc/latex/latex-web-companion/apb/biblioxml2.dtd new file mode 100644 index 00000000000..806768a2df1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/biblioxml2.dtd @@ -0,0 +1,194 @@ +<!-- biblioxml2.dtd: XML DTD for BibTeX markup: version 2 --> + +<!-- Supplementary entry types, optional fields and attributes --> +<!ENTITY % local.info ""> +<!ENTITY % local.biblio ""> +<!ENTITY % local.keys ""> +<!ENTITY % info "note %local.info;"> + +<!-- All base elements must have ID and can have cross-reference to --> +<!-- an existing ID and include a key to sort, if needed --> +<!ENTITY % keys "id ID #REQUIRED + crossref IDREF #IMPLIED + key IDREF #IMPLIED + %local.keys;"> +<!ENTITY % month 'month (jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec) #IMPLIED'> +<!-- Possible types of biblio entries --> +<!ELEMENT biblio (#PCDATA | article| book| booklet| inbook| incollection| + inproceedings| manual| mastersthesis| misc| + phdthesis| proceedings| techreport| unpublished + %local.biblio;)*> + +<!-- An article from a journal or magazine --> +<!ELEMENT article (author,title,(%info;)*)> +<!ATTLIST article %keys; + journal CDATA #REQUIRED + year CDATA #REQUIRED + %month; + number CDATA #IMPLIED + pages CDATA #IMPLIED + volume CDATA #IMPLIED> + +<!-- A book with an explicit publisher --> +<!ELEMENT book ((author|editor),title,(%info;)*)> +<!ATTLIST book %keys; + publisher CDATA #REQUIRED + year CDATA #REQUIRED + address CDATA #IMPLIED + edition CDATA #IMPLIED + %month; + number CDATA #IMPLIED + series CDATA #IMPLIED + volume CDATA #IMPLIED + ISBN CDATA #IMPLIED> + +<!-- A work that is printed or bound, but without a named --> +<!-- publisher or sponsoring institution --> +<!ELEMENT booklet (title,author?,(%info;)*)> +<!ATTLIST booklet %keys; + address CDATA #IMPLIED + howpublished CDATA #IMPLIED + %month; + year CDATA #IMPLIED + ISBN CDATA #IMPLIED> + +<!-- A part of a book, usually untitled; --> +<!-- (a chapter, a sectional unit, or just a range of pages) --> +<!ELEMENT inbook ((author|editor),title,(%info;)*)> +<!ATTLIST inbook %keys; + pages CDATA #REQUIRED + publisher CDATA #REQUIRED + year CDATA #REQUIRED + address CDATA #IMPLIED + chapter CDATA #IMPLIED + edition CDATA #IMPLIED + %month; + number CDATA #IMPLIED + series CDATA #IMPLIED + type CDATA #IMPLIED + volume CDATA #IMPLIED + ISBN CDATA #IMPLIED> + +<!-- A part of a book with its own title --> +<!ELEMENT incollection (author,title,booktitle,editor?,(%info;)*)> +<!ATTLIST incollection %keys; + publisher CDATA #REQUIRED + year CDATA #REQUIRED + address CDATA #IMPLIED + chapter CDATA #IMPLIED + edition CDATA #IMPLIED + %month; + number CDATA #IMPLIED + pages CDATA #IMPLIED + series CDATA #IMPLIED + type CDATA #IMPLIED + volume CDATA #IMPLIED + ISBN CDATA #IMPLIED> + +<!-- An article in a conference proceedings --> +<!ELEMENT inproceedings (author,title,booktitle,editor?,(%info;)*)> +<!ATTLIST inproceedings %keys; + year CDATA #REQUIRED + address CDATA #IMPLIED + %month; + number CDATA #IMPLIED + organization CDATA #IMPLIED + pages CDATA #IMPLIED + publisher CDATA #IMPLIED + series CDATA #IMPLIED + volume CDATA #IMPLIED + ISBN CDATA #IMPLIED> + +<!-- Technical documentation --> +<!ELEMENT manual (title,author?,(%info;)*)> +<!ATTLIST manual %keys; + address CDATA #IMPLIED + edition CDATA #IMPLIED + organization CDATA #IMPLIED + %month; + year CDATA #IMPLIED + ISBN CDATA #IMPLIED> + +<!-- A master's thesis --> +<!ELEMENT mastersthesis (author,title,(%info;)*)> +<!ATTLIST mastersthesis %keys; + school CDATA #REQUIRED + year CDATA #REQUIRED + address CDATA #IMPLIED + %month; + type CDATA #IMPLIED + ISBN CDATA #IMPLIED> + +<!-- Miscelleneous: use this type if nothing else fits --> +<!ELEMENT misc (((author,title)|(title,author))?,(%info;)*)> +<!ATTLIST misc %keys; + howpublished CDATA #IMPLIED + %month; + year CDATA #IMPLIED> + +<!-- A Ph. D. thesis --> +<!ELEMENT phdthesis (author,title,(%info;)*)> +<!ATTLIST phdthesis %keys; + school CDATA #REQUIRED + year CDATA #REQUIRED + address CDATA #IMPLIED + %month; + type CDATA #IMPLIED + ISBN CDATA #IMPLIED> + +<!-- The proceedings of a conference --> +<!ATTLIST proceedings %keys; + year CDATA #REQUIRED + address CDATA #IMPLIED + %month; + number CDATA #IMPLIED + organization CDATA #IMPLIED + publisher CDATA #IMPLIED + series CDATA #IMPLIED + volume CDATA #IMPLIED + ISBN CDATA #IMPLIED> + +<!-- A report published by a school or other institution --> +<!-- usually numbered within a series --> +<!ELEMENT techreport (author,title,(%info;)*)> +<!ATTLIST techreport %keys; + institution CDATA #REQUIRED + year CDATA #REQUIRED + address CDATA #IMPLIED + %month; + number CDATA #IMPLIED + type CDATA #IMPLIED + ISBN CDATA #IMPLIED> + +<!-- A document with author and title, but not formally published --> +<!ELEMENT unpublished (author,title,(%info;)*)> +<!ATTLIST unpublished %keys; + address CDATA #IMPLIED + %month; + number CDATA #IMPLIED + type CDATA #IMPLIED> + +<!-- For adding typographic emphasis to the information --> +<!ELEMENT emph (#PCDATA)> +<!ATTLIST emph style (bf|em|it|sf|sl|tt|qu) "em"> + +<!-- The basic fields (pages 162-164) --> +<!-- Only fields with names (author, editor) and titles are left as --> +<!-- basic elements --> + <!-- Author(s) in format described on pp. 157-158 --> +<!ELEMENT author (name,(and,name)*)> +<!ELEMENT name (first,last)> +<!ELEMENT last (#PCDATA)> +<!ELEMENT first (#PCDATA)> +<!ELEMENT and EMPTY> + <!-- The names of the editor(s) --> +<!ELEMENT editor (name,(and,name)*)> + <!-- The work's title --> +<!ELEMENT title (#PCDATA|emph)*> + <!-- Title of a book, used in incollection and inproceedings --> +<!ELEMENT booktitle (#PCDATA|emph)*> +<!-- Optional notes at end of entries --> + <!-- Annotation (not used by standard styles) --> +<!ELEMENT annote (#PCDATA|emph)*> + <!-- Additional information to help the user --> +<!ELEMENT note (#PCDATA|emph)*> diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/colorcir.eps b/Master/texmf-dist/doc/latex/latex-web-companion/apb/colorcir.eps new file mode 100644 index 00000000000..149d0c170fb --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/colorcir.eps @@ -0,0 +1,109 @@ +%! +%%BoundingBox: 19 164 581 636 +0.0 setlinewidth + +/hsvcircle { +gsave + /h 0.0 def + 0 4 360 { + pop + gsave + 0.5 0.0 translate + + newpath + 0.0 0.0 moveto + 0.1 0.0 lineto + 0.1 0.02 lineto + 0.0 0.02 lineto + closepath + h 1.0 1.0 sethsbcolor + fill + + %newpath + %0.0 0.0 moveto + %0.1 0.0 lineto + %0.1 0.02 lineto + %0.0 0.02 lineto + %closepath + %0.0 setgray + %stroke + + grestore + /h h 4 360 div add def + 4 rotate + } for +grestore +} def + +/graycircle { +gsave + /h -1.0 def + 0 4 360 { + pop + gsave + 0.5 0.0 translate + + newpath + 0.0 0.0 moveto + 0.1 0.0 lineto + 0.1 0.02 lineto + 0.0 0.02 lineto + closepath + + h abs setgray + fill + + %newpath + %0.0 0.0 moveto + %0.1 0.0 lineto + %0.1 0.02 lineto + %0.0 0.02 lineto + %closepath + %0.0 setgray + %stroke + grestore + + /h h 8 360 div add def + 4 rotate + } for +grestore +} def + +0.0 setlinewidth +0.0 setgray +300 400 translate +500 500 scale + +30 rotate +1.0 0.7 scale +-30 rotate + +hsvcircle +0.8 0.8 scale +graycircle +0.8 0.8 scale +hsvcircle +0.8 0.8 scale +graycircle +0.8 0.8 scale +hsvcircle +0.8 0.8 scale +graycircle +0.8 0.8 scale +hsvcircle +0.8 0.8 scale +graycircle +0.8 0.8 scale +hsvcircle +0.8 0.8 scale +graycircle +0.8 0.8 scale +hsvcircle +0.8 0.8 scale +graycircle +0.8 0.8 scale +hsvcircle +0.8 0.8 scale +graycircle + +showpage diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/inv2.tex b/Master/texmf-dist/doc/latex/latex-web-companion/apb/inv2.tex new file mode 100644 index 00000000000..c156dc13125 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/inv2.tex @@ -0,0 +1,24 @@ +\documentclass[]{article} +\usepackage{invitation} +\begin{document} +\begin{Front} +\To{Anna, Bernard, Didier, Johanna} +\Date{Next Friday Evening at 8 pm} +\Where{The Web Cafe} +\Why{My first XML baby} +\Signature{Michel} +\end{Front} +\begin{Body} +\par +I would like to invite you all to celebrate +the birth of \emph{Invitation}, my +first XML document child. +\par +Please do your best to come and join me next Friday +evening. And, do not forget to bring your friends. +\par +I \emph{really} look forward to see you soon! +\end{Body} +\begin{Back} +\end{Back} +\end{document} diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/invitation.sty b/Master/texmf-dist/doc/latex/latex-web-companion/apb/invitation.sty new file mode 100644 index 00000000000..e401c6b3ed5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/invitation.sty @@ -0,0 +1,49 @@ +% invitation.sty +% Package to format invitation.xml +\setlength{\textwidth}{22pc} +\setlength{\parskip}{1ex} +\setlength{\parindent}{0pt} +\pagestyle{empty}%% Turn off page numbering +\RequirePackage{array,calc} +\newcommand{\ToTitle}{To whom} +\newcommand{\WhyTitle}{Occasion} +\newcommand{\WhereTitle}{Venue} +\newcommand{\DateTitle}{When} +\newcommand{\SignatureTitle}{From} +\DeclareOption{francais}{% French text for fixed texts + \renewcommand{\ToTitle}{À} + \renewcommand{\WhyTitle}{À l'occasion de} + \renewcommand{\WhereTitle}{Où} + \renewcommand{\DateTitle}{Quand} + \renewcommand{\SignatureTitle}{De la part de}} +\newenvironment{Front}% + {\begin{center} + \Huge\sffamily INVITATION + \end{center} + } + {\begin{flushleft} + \rule{\linewidth}{1pt}\\[2mm] + \begin{tabular}{@{}>{\bfseries}ll@{}} + \ToTitle: & \@To \\ + \WhyTitle: & \@Why \\ + \WhereTitle: & \@Where \\ + \DateTitle: & \@Date + \end{tabular}\\[2mm] + \rule{\linewidth}{1pt} + \end{flushleft} + } +\newenvironment{Body}{\vspace*{\parskip}}{\vspace*{\parskip}} +\newenvironment{Back} + {\begin{flushleft}} + {\hspace*{.5\linewidth}\fbox{\SignatureTitle: \emph{\@Sig}} + \end{flushleft} + } +\newcommand{\To}[1]{\gdef\@To{#1}} +\newcommand{\Date}[1]{\gdef\@Date{#1}} +\newcommand{\Where}[1]{\gdef\@Where{#1}} +\newcommand{\Why}[1]{\gdef\@Why{#1}} +\newcommand{\Signature}[1]{\gdef\@Sig{#1}} + +\ProcessOptions + +\endinput diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/invitation2.dtd b/Master/texmf-dist/doc/latex/latex-web-companion/apb/invitation2.dtd new file mode 100644 index 00000000000..c9a136de64c --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/invitation2.dtd @@ -0,0 +1,15 @@ +<!-- invitation2 DTD --> +<!-- August 14th 1998 mg --> +<!ENTITY % i18n "xml:lang NMTOKEN #IMPLIED"> +<!ELEMENT invitation (par+)> +<!ATTLIST invitation + %i18n; + date CDATA #REQUIRED + to CDATA #REQUIRED + signature CDATA #REQUIRED + where CDATA #REQUIRED + why CDATA #IMPLIED +> +<!ELEMENT par (#PCDATA|emph)*> +<!ELEMENT emph (#PCDATA)> + diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/invitation2.xml b/Master/texmf-dist/doc/latex/latex-web-companion/apb/invitation2.xml new file mode 100644 index 00000000000..877af219f95 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/invitation2.xml @@ -0,0 +1,20 @@ +<!DOCTYPE invitation SYSTEM "invitation2.dtd"> +<invitation to="Anna, Bernard, Didier, Johanna" + date="Next Friday Evening at 8 pm" + where="The Web Cafe" + why="My first XML baby" + signature="Michel" +> +<par> +I would like to invite you all to celebrate +the birth of <emph>Invitation</emph>, my +first XML document child. +</par> +<par> +Please do your best to come and join me next Friday +evening. And, do not forget to bring your friends. +</par> +<par> +I <emph>really</emph> look forward to see you soon! +</par> +</invitation> diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/latexmath.dtd b/Master/texmf-dist/doc/latex/latex-web-companion/apb/latexmath.dtd new file mode 100644 index 00000000000..840396d1837 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/latexmath.dtd @@ -0,0 +1,11 @@ +<!-- latexmath.dtd +++ inline and display math --> +<!ELEMENT inlinemath (#PCDATA)> +<!ATTLIST inlinemath %all;> +<!ELEMENT displaymath (#PCDATA)> +<!ATTLIST displaymath %all;> +<!ELEMENT equation (#PCDATA)> +<!ATTLIST equation %all;> +<!ELEMENT eqnarray (#PCDATA)> +<!ATTLIST eqnarray %all;> +<!ELEMENT align (#PCDATA)> +<!ATTLIST align %all;> diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/latexmml.dtd b/Master/texmf-dist/doc/latex/latex-web-companion/apb/latexmml.dtd new file mode 100644 index 00000000000..cfaa388b658 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/latexmml.dtd @@ -0,0 +1,57 @@ +<!-- latexmml.dtd --> +<!ELEMENT equation (math)*> +<!ATTLIST equation %all;> +<!ELEMENT displaymath (math)*> +<!ELEMENT inlinemath (math)*> +<!ELEMENT subeqn (math)*> +<!ATTLIST subeqn %all;> +<!ELEMENT eqnarray (subeqn)*> +<!ATTLIST eqnarray %all; + number (yes|no) "yes"> +<!ELEMENT align (%inline;)*> +<!ATTLIST align %all; > + +<!-- ISO and MathML DTDs and entities --> +<!--Added Math Symbols: Arrows--> +<!ENTITY % isoamsae.dtd SYSTEM "isoamsae.dtd"> +<!--Added Math Symbols: Binary Operators--> +<!ENTITY % isoamsbe.dtd SYSTEM "isoamsbe.dtd"> +<!--Added Math Symbols: Delimiters--> +<!ENTITY % isoamsce.dtd SYSTEM "isoamsce.dtd"> +<!--Added Math Symbols: Negated Relations--> +<!ENTITY % isoamsne.dtd SYSTEM "isoamsne.dtd"> +<!--Added Math Symbols: Ordinary--> +<!ENTITY % isoamsoe.dtd SYSTEM "isoamsoe.dtd"> +<!--Added Math Symbols: Relations--> +<!ENTITY % isoamsre.dtd SYSTEM "isoamsre.dtd"> +<!--General Technical--> +<!ENTITY % isoteche.dtd SYSTEM "isoteche.dtd"> +<!--Numbers and Currency symbols--> +<!ENTITY % isonume.dtd SYSTEM "isonume.dtd"> +<!--MathML Aliases (From ISO PUB,DIA,NUM)--> +<!ENTITY % mmaliase.dtd SYSTEM "mmaliase.dtd"> +<!--Greek Symbols--> +<!ENTITY % isogrk3e.dtd SYSTEM "isogrk3e.dtd"> +<!--Math Script Font--> +<!ENTITY % isomscre.dtd SYSTEM "isomscre.dtd"> +<!--Math Open Face Font--> +<!ENTITY % isomopfe.dtd SYSTEM "isomopfe.dtd"> +<!--MathML Entities--> +<!ENTITY % mmlent.dtd SYSTEM "mmlent.dtd"> +<!--Main MathML DTD --> +<!ENTITY % mathml.dtd SYSTEM "mathml.dtd"> + +%mathml.dtd; +%isoamsae.dtd; +%isoamsbe.dtd; +%isoamsce.dtd; +%isoamsne.dtd; +%isoamsoe.dtd; +%isoamsre.dtd; +%isoteche.dtd; +%isonume.dtd; +%mmaliase.dtd; +%isogrk3e.dtd; +%isomscre.dtd; +%isomopfe.dtd; +%mmlent.dtd; diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/minilatex.dtd b/Master/texmf-dist/doc/latex/latex-web-companion/apb/minilatex.dtd new file mode 100644 index 00000000000..3bb7530819a --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/minilatex.dtd @@ -0,0 +1,179 @@ +<!-- minilatex.dtd: XML version of a subset of LaTeX --> +<!-- Most elements have the following attributes --> +<!ENTITY % all "id ID #IMPLIED + class CDATA #IMPLIED + style CDATA #IMPLIED"> +<!-- Most non-empty elements have this language attribute --> +<!ENTITY % i18n "xml:lang NMTOKEN #IMPLIED"> +<!ENTITY % basic "%all; %i18n;"> +<!-- Declaration of parameter entities for structuring the DTD --> +<!ENTITY % fontchange.new ""> +<!ENTITY % fontchange "emph|textbf|textsc|textsf|textsl|texttt %fontchange.new;"> +<!ENTITY % misc.new ""> +<!ENTITY % misc "url|quad|hspace|vspace|includegraphics|tag|ent %misc.new;"> +<!ENTITY % xref.new ""> +<!ENTITY % xref "cite|pageref|ref %xref.new;"> +<!ENTITY % mathobj.new ""> +<!ENTITY % mathobj "displaymath|inlinemath|equation|eqnarray" > +<!ENTITY % inline.new ""> +<!ENTITY % inline "%fontchange;|quote|tabular|%misc;|%xref;|%mathobj; %inline.new;"> +<!ENTITY % list.new ""> +<!ENTITY % list "lalist|description|enumerate|itemize|bibliography %list.new;"> +<!ENTITY % preformat.new ""> +<!ENTITY % preformat "verbatim|verse %preformat.new;"> +<!ENTITY % likepara.new ""> +<!ENTITY % likepara "%list;|quotation|align|%preformat; %likepara.new;"> +<!ENTITY % floats.new ""> +<!ENTITY % floats "figure|table %floats.new;"> + +<!-- The top level document declarations --> +<!ELEMENT document (frontmatter?,bodymatter,backmatter?)> +<!ATTLIST document %i18n; + class CDATA "article"> +<!ELEMENT frontmatter (title,author?,date?,abstract?)> +<!ELEMENT bodymatter ((par|%likepara;|%floats;|part|chapter|section)*,appendix*)> +<!ELEMENT backmatter (index|glossary)*> +<!-- fontchanges --> +<!ELEMENT emph (#PCDATA|%inline;)*> +<!ELEMENT textbf (#PCDATA|%inline;)*> +<!ELEMENT textsc (#PCDATA|%inline;)*> +<!ELEMENT textsf (#PCDATA|%inline;)*> +<!ELEMENT textsl (#PCDATA|%inline;)*> +<!ELEMENT texttt (#PCDATA|%inline;)*> +<!-- cross-references --> +<!ENTITY % idref "refid IDREF #REQUIRED"> +<!ELEMENT cite EMPTY> +<!ATTLIST cite %idref;> +<!ELEMENT pageref EMPTY> +<!ATTLIST pageref %idref;> +<!ELEMENT ref EMPTY> +<!ATTLIST ref %idref;> +<!-- quoted material inline and displayed --> +<!ELEMENT quote (#PCDATA|%inline;|par)*> +<!ATTLIST quote %basic;> +<!ELEMENT quotation (#PCDATA|%inline;|par)*> +<!ATTLIST quotation %basic;> +<!-- lists --> +<!ELEMENT description ((term*,item*)+)> +<!ATTLIST description %basic;> +<!ELEMENT enumerate ((term*,item*)+)> +<!ATTLIST enumerate %basic;> +<!ELEMENT itemize ((term*,item*)+)> +<!ATTLIST itemize %basic;> +<!ELEMENT lalist ((term*,item*)+)> +<!ATTLIST lalist %basic;> +<!ELEMENT term (#PCDATA|%inline;)*> +<!ATTLIST term %basic;> +<!ELEMENT item (#PCDATA|%inline;|par|%likepara;)*> +<!ATTLIST item %basic;> +<!ELEMENT bibliography (bibitem)*> +<!ATTLIST bibliography %basic;> +<!ELEMENT bibitem (#PCDATA|%inline;|par|%likepara;)*> +<!ATTLIST bibitem %basic;> +<!-- low-level bits and pieces --> +<!ELEMENT url EMPTY> +<!ATTLIST url name CDATA #REQUIRED> +<!ELEMENT quad EMPTY> +<!ELEMENT hspace EMPTY> +<!ATTLIST hspace dim CDATA #REQUIRED> +<!ELEMENT vspace EMPTY> +<!ATTLIST vspace dim CDATA #REQUIRED> +<!ELEMENT tag (#PCDATA)> +<!ELEMENT ent EMPTY> +<!ATTLIST ent value CDATA #REQUIRED + name CDATA #REQUIRED> +<!-- everything that can go into a paragraph --> +<!ELEMENT par (#PCDATA|%inline;|%likepara;)*> +<!ATTLIST par %basic;> +<!-- "floats" and their contents --> +<!ELEMENT figure (#PCDATA|par|%inline;|%likepara;|caption)*> +<!ATTLIST figure %basic;> +<!ELEMENT table (#PCDATA|par|%inline;|%likepara;|caption)*> +<!ATTLIST table %basic;> +<!ELEMENT includegraphics EMPTY> +<!ATTLIST includegraphics %basic; + file CDATA #REQUIRED + width CDATA #IMPLIED + height CDATA #IMPLIED + bb CDATA #IMPLIED + scale CDATA ".5" + angle CDATA #IMPLIED> +<!ELEMENT caption (#PCDATA|par|%inline;)*> +<!ATTLIST caption %basic;> +<!-- tabular material --> +<!ELEMENT tabular (hline|row)*> +<!ATTLIST tabular %basic; + preamble CDATA #REQUIRED + width CDATA #IMPLIED + border CDATA #IMPLIED> +<!ELEMENT row (cell)*> +<!ATTLIST row %basic;> +<!ELEMENT hline EMPTY> +<!ELEMENT cell (#PCDATA|%inline;)*> +<!ATTLIST cell %basic; + rowspan CDATA "1" + colspan CDATA "1" + align (left|center|right) "center"> +<!-- verbatim material --> +<!ELEMENT verbatim (#PCDATA)> +<!ATTLIST verbatim %basic; + xml:space (default|preserve) 'preserve'> +<!ELEMENT verse (#PCDATA|%inline;)*> +<!ATTLIST verse %basic; + xml:space (default|preserve) 'preserve'> +<!-- things that go in the frontmatter --> +<!ELEMENT newline EMPTY> +<!ELEMENT title (#PCDATA|%inline;|thanks|newline)*> +<!ATTLIST title %basic;> +<!ELEMENT author (#PCDATA|%inline;|name|thanks|inst)*> +<!ELEMENT name (#PCDATA|%inline;)*> +<!ATTLIST name %basic;> +<!ELEMENT thanks (#PCDATA|%inline;|newline)*> +<!ATTLIST thanks %basic;> +<!ELEMENT inst (#PCDATA|%inline;|newline)*> +<!ATTLIST inst %basic;> +<!ELEMENT date (#PCDATA)> +<!ATTLIST date %basic;> +<!ELEMENT abstract (par+)> +<!ATTLIST abstract %basic;> +<!-- structuring --> +<!ENTITY % sect "stitle, (par|%likepara;|%floats;)* "> +<!ELEMENT stitle (#PCDATA|%inline;)*> +<!ATTLIST stitle %basic;> +<!ELEMENT part (%sect;, (chapter|section|subsection|subsubsection)*)> +<!ATTLIST part %basic;> +<!ELEMENT chapter (%sect;, section*)> +<!ATTLIST chapter %basic;> +<!ELEMENT section (%sect;, subsection*)> +<!ATTLIST section %basic;> +<!ELEMENT subsection (%sect;, subsubsection*)> +<!ATTLIST subsection %basic;> +<!ELEMENT subsubsection (%sect;, paragraph*)> +<!ATTLIST subsubsection %basic;> +<!ELEMENT paragraph (%sect;, subparagraph*)> +<!ATTLIST paragraph %basic;> +<!ELEMENT subparagraph (%sect;)> +<!ATTLIST subparagraph %basic;> +<!ELEMENT appendix EMPTY> +<!-- backmatter: index and glossary --> +<!ELEMENT index (par|%likepara;)*> +<!ATTLIST index %basic;> +<!ELEMENT glossary (par|%likepara;)*> +<!ATTLIST glossagry %basic;> +<!-- LaTeX math constructs --> +<!ENTITY % LaTeXmath "INCLUDE"> +<!ENTITY % latexmath.dtd SYSTEM "latexmath.dtd"> +<![ %LaTeXmath; [ +%latexmath.dtd; +]]> +<!ENTITY % MathML "IGNORE"> +<!ENTITY % latexmml.dtd SYSTEM "latexmml.dtd"> +<![ %MathML; [ +%latexmml.dtd; +]]> +<!-- Basic XML entities --> +<!ENTITY lt "<"> <!-- "<" --> +<!ENTITY gt ">"> <!-- ">" --> +<!ENTITY amp "&"> <!-- "&" --> +<!ENTITY apos "'"> <!-- "'" --> +<!ENTITY quot """> <!-- '"' --> diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/minilatex.xsl b/Master/texmf-dist/doc/latex/latex-web-companion/apb/minilatex.xsl new file mode 100644 index 00000000000..a907797c32b --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/minilatex.xsl @@ -0,0 +1,342 @@ +<?xml version='1.0'?> +<!-- minilatex.xsl --> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns="http://www.tug.org/latex"> + +<xsl:output method="text" indent="no" encoding="ISO-8859-1"/> + +<xsl:strip-space elements="*"/> + +<xsl:template name="label"> + <xsl:apply-templates/> + <xsl:if test="../@id"><xsl:text>\label{</xsl:text> + <xsl:value-of select="../@id"/><xsl:text>}</xsl:text></xsl:if> +<xsl:text>} +</xsl:text> +</xsl:template> + +<xsl:template match="document"> +<xsl:text>\documentclass[]{</xsl:text> +<xsl:value-of select="@class"/> +<xsl:text>} +\usepackage[dvips]{graphicx} +\usepackage[T1]{fontenc} +\begin{document} +</xsl:text> +<xsl:apply-templates/> +<xsl:text>\end{document} +</xsl:text> +</xsl:template> + +<!-- ================ Frontmatter element ======================= --> +<xsl:template match="frontmatter"> + <xsl:apply-templates/> +<xsl:text> +\maketitle +</xsl:text> +</xsl:template> +<xsl:template match="frontmatter/title"> +<xsl:text> +\title{</xsl:text> + <xsl:apply-templates/> +<xsl:text>}</xsl:text> +</xsl:template> +<xsl:template match="frontmatter/author"> +<xsl:text> +\author{</xsl:text> + <xsl:apply-templates/> +<xsl:text>} +</xsl:text> +</xsl:template> +<xsl:template match="frontmatter/author/name"> + <xsl:apply-templates/> +</xsl:template> +<xsl:template match="frontmatter/author/thanks"> +<xsl:text> +\thanks{</xsl:text> + <xsl:apply-templates/> +<xsl:text>}</xsl:text> +</xsl:template> +<xsl:template match="frontmatter/author/inst"> +<xsl:text> +\thanks{</xsl:text> + <xsl:apply-templates/> +<xsl:text>}</xsl:text> +</xsl:template> +<xsl:template match="frontmatter/date"> +<xsl:text> +\date{</xsl:text> + <xsl:apply-templates/> +<xsl:text>} +</xsl:text> +</xsl:template> +<xsl:template match="frontmatter/abstract"> +<xsl:text> +\begin{abstract} +</xsl:text> + <xsl:apply-templates/> +<xsl:text> +\end{abstract} +</xsl:text> +</xsl:template> +<xsl:template match="frontmatter/keywords"> +<xsl:text>\keywords{</xsl:text> + <xsl:apply-templates/> +<xsl:text>}</xsl:text> +</xsl:template> + +<!-- ===================== Bodymatter element =================== --> +<xsl:template match="bodymatter|part|chapter|section|subsection| + subsubsection|paragraph|subparagraph"> + <xsl:apply-templates/> +</xsl:template> +<!-- =================== Section headings ======================= --> +<xsl:template match="part/stitle"> + <xsl:text>\part{</xsl:text><xsl:call-template name="label"/> +</xsl:template> +<xsl:template match="chapter/stitle"> + <xsl:text>\chapter{</xsl:text><xsl:call-template name="label"/> +</xsl:template> +<xsl:template match="section/stitle"> + <xsl:text>\section{</xsl:text><xsl:call-template name="label"/> +</xsl:template> +<xsl:template match="subsection/stitle"> + <xsl:text>\subsection{</xsl:text><xsl:call-template name="label"/> +</xsl:template> +<xsl:template match="subsubsection/stitle"> + <xsl:text>\subsubsection{</xsl:text><xsl:call-template name="label"/> +</xsl:template> +<xsl:template match="paragraph/stitle"> + <xsl:text>\paragraph{</xsl:text><xsl:call-template name="label"/> +</xsl:template> +<xsl:template match="subparagraph/stitle"> + <xsl:text>\subparagraph{</xsl:text><xsl:call-template name="label"/> +</xsl:template> +<!-- ===================== Font changes ========================= --> +<xsl:template match="emph"> +<xsl:text>\emph{</xsl:text> + <xsl:apply-templates/> +<xsl:text>}</xsl:text> +</xsl:template> +<xsl:template match="textbf"> +<xsl:text>\textbf{</xsl:text> + <xsl:apply-templates/> +<xsl:text>}</xsl:text> +</xsl:template> +<xsl:template match="textsc"> +<xsl:text>\textsc{</xsl:text> + <xsl:apply-templates/> +<xsl:text>}</xsl:text> +</xsl:template> +<xsl:template match="textsf"> +<xsl:text>\textsf{</xsl:text> + <xsl:apply-templates/> +<xsl:text>}</xsl:text> +</xsl:template> +<xsl:template match="textsl"> +<xsl:text>\textsl{</xsl:text> + <xsl:apply-templates/> +<xsl:text>}</xsl:text> +</xsl:template> +<xsl:template match="texttt"> +<xsl:text>\texttt{</xsl:text> + <xsl:apply-templates/> +<xsl:text>}</xsl:text> +</xsl:template> +<!-- =================== Cross-references ======================= --> +<xsl:template match="cite"> + <xsl:text>\cite{</xsl:text> + <xsl:value-of select="@refid"/> + <xsl:text>}</xsl:text> +</xsl:template> +<xsl:template match="pageref"> + <xsl:text>\pageref{</xsl:text> + <xsl:value-of select="@refid"/> + <xsl:text>}</xsl:text> +</xsl:template> +<xsl:template match="ref"> + <xsl:text>\ref{</xsl:text> + <xsl:value-of select="@refid"/> + <xsl:text>}</xsl:text> +</xsl:template> +<!-- =============== quotes, footnotes, verbatim ================ --> +<xsl:template match="footnote"> +<xsl:text>\footnote{</xsl:text> + <xsl:apply-templates/> +<xsl:text>}</xsl:text> +</xsl:template> +<xsl:template match="quote"> +<xsl:text> +\begin{quote}</xsl:text> + <xsl:apply-templates/> +<xsl:text>\end{quote}</xsl:text> +</xsl:template> +<xsl:template match="quotation"> +<xsl:text> +\begin{quotation}</xsl:text> + <xsl:apply-templates/> +<xsl:text>\end{quotation}</xsl:text> +</xsl:template> +<xsl:template match="verbatim"> +<xsl:text> +\begin{verbatim}</xsl:text> + <xsl:apply-templates/> +<xsl:text>\end{verbatim}</xsl:text> +</xsl:template> +<!-- ========================= Lists ============================ --> +<xsl:template match="description"> +<xsl:text> +\begin{description} +</xsl:text> + <xsl:apply-templates/> +<xsl:text> +\end{description} +</xsl:text> +</xsl:template> +<xsl:template match="description/term"> +<xsl:text> +\item[</xsl:text> + <xsl:apply-templates/> +<xsl:text>]</xsl:text> +</xsl:template> +<xsl:template match="description/item"> + <xsl:apply-templates/> +</xsl:template> +<xsl:template match="enumerate"> +<xsl:text> +\begin{enumerate} +</xsl:text> + <xsl:apply-templates/> +<xsl:text>\end{enumerate} +</xsl:text> +</xsl:template> +<xsl:template match="itemize"> +<xsl:text> +\begin{itemize} +</xsl:text> + <xsl:apply-templates/> +<xsl:text>\end{itemize} +</xsl:text> +</xsl:template> +<xsl:template match="enumerate|itemize/item"> +<xsl:text> +\item </xsl:text> + <xsl:apply-templates/> +</xsl:template> +<xsl:template match="bibliography"> +<xsl:text> +\begin{thebibliography}{99} +</xsl:text> + <xsl:apply-templates/> +<xsl:text> +\end{thebibliography} +</xsl:text> +</xsl:template> +<xsl:template match="bibliography/bibitem"> +<xsl:text>\bibitem{</xsl:text> +<xsl:value-of select="@id"/> +<xsl:text>}</xsl:text> +<xsl:apply-templates/> +</xsl:template> +<!-- ====================== Mathematics ========================= --> +<xsl:template match="inlinemath"> +<xsl:text>$</xsl:text> + <xsl:apply-templates/> +<xsl:text>$</xsl:text> +</xsl:template> +<xsl:template match="displaymath"> +<xsl:text> +\begin{displaymath} +</xsl:text> + <xsl:apply-templates/> +<xsl:text> +\end{displaymath} +</xsl:text> +</xsl:template> +<xsl:template match="equation"> +<xsl:text> +\begin{equation} +</xsl:text> + <xsl:apply-templates/> +<xsl:text> +\end{equation} +</xsl:text> +</xsl:template> +<xsl:template match="eqnarray"> +<xsl:text> +\begin{eqnarray} +</xsl:text> + <xsl:apply-templates/> +<xsl:text> +\end{eqnarray} +</xsl:text> +</xsl:template> +<!-- ====================== A paragraph ========================= --> +<xsl:template match="par"> +<xsl:text> +\par +</xsl:text> + <xsl:apply-templates/> +</xsl:template> +<!-- ======================== Tabular =========================== --> +<xsl:template match="tabular"> +<xsl:text> +\begin{tabular}{</xsl:text> + <xsl:value-of select="@preamble"/><xsl:text>} +</xsl:text> + <xsl:apply-templates/> +<xsl:text> +\end{tabular} +</xsl:text> +</xsl:template> +<xsl:template match="tabular/row"> +<xsl:apply-templates/> +<xsl:text>\\ +</xsl:text> +</xsl:template> +<xsl:template match="tabular/row/cell"> +<xsl:apply-templates/><xsl:text>&</xsl:text> +</xsl:template> +<xsl:template match="tabular/row/cell[position()=last()]" priority="2"> +<xsl:apply-templates/> +</xsl:template> +<!-- ================== "floats" and their contents ============= --> +<xsl:template match="figure"> +<xsl:text> +\begin{figure}\centering +</xsl:text> + <xsl:apply-templates/> +<xsl:text>\end{figure} +</xsl:text> +</xsl:template> +<xsl:template match="table"> +<xsl:text> +\begin{table}\centering +</xsl:text> + <xsl:apply-templates/> +<xsl:text>\end{table} +</xsl:text> +</xsl:template> +<xsl:template match="figure/caption | table/caption"> + <xsl:text>\caption{</xsl:text><xsl:call-template name="label"/> +</xsl:template> +<!-- ==================== Includegraphics ======================= --> +<xsl:template match="includegraphics"> +<xsl:text> +\includegraphics[</xsl:text> +<xsl:if test="@width"><xsl:text>width=</xsl:text> + <xsl:value-of select="@width"/><xsl:text>, </xsl:text></xsl:if> +<xsl:if test="@height"><xsl:text>height=</xsl:text> + <xsl:value-of select="@height"/><xsl:text>, </xsl:text></xsl:if> +<xsl:if test="@bb"><xsl:text>bb="</xsl:text> + <xsl:value-of select="@bb"/><xsl:text>, </xsl:text></xsl:if> +<xsl:if test="@angle"><xsl:text>angle=</xsl:text> + <xsl:value-of select="@angle"/><xsl:text>, </xsl:text></xsl:if> +<xsl:if test="@scale"><xsl:text>scale=</xsl:text> + <xsl:value-of select="@scale"/><xsl:text></xsl:text></xsl:if> +<xsl:text>]{</xsl:text><xsl:value-of select="@file"/><xsl:text>} +</xsl:text> +</xsl:template> + +</xsl:stylesheet> diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/minilatexexa.tex b/Master/texmf-dist/doc/latex/latex-web-companion/apb/minilatexexa.tex new file mode 100644 index 00000000000..720477f73db --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/minilatexexa.tex @@ -0,0 +1,120 @@ +\documentclass[]{article} +\usepackage[dvips]{graphicx} +\usepackage[T1]{fontenc} +\begin{document} + +\title{The \LaTeX{} DTD and multiple languages} +\author{Michel Goossens +\thanks{Partly from an example in \emph{The \LaTeX{} Companion}}} + +\date{August 4th, 1998} + +\maketitle +\section{The basic principles\label{sec-en}} + +\par + +This is an example input file. We start in English to show the +principle. You should especially pay attention that we have used +slightly different notation for some of the common \LaTeX{} constructs, +such as the dashes, which come in three sizes: an intra-word dash, a +medium dash for number ranges like 1--2, and a punctuation +dash---like this. Text can be emphasized as \emph{shown +here}. An ellipsis is made with \dots Footnotes\footnote{This +is a simple footnote. +\par +It can also contain \texttt{par} +elements.} are tricky constructs, since one must be +careful not to nest them. +\subsection{Dealing with special characters} + +\par + +XML has a different set of reserved characters than \LaTeX{}, in +particular, when you want to use any of the three characters +\texttt{\&}, \texttt{<}, +and \texttt{>}, you should enter them as +\texttt{\&}, \texttt{\<}, and +\texttt{\>}, respectively. +\subsection{\LaTeX{} and mathematical formulae\label{sec-math}} + +\par + +\LaTeX{} and \emph{a fortiori} \TeX{} are very good at typesetting +mathematical formulae, like +$x- 3 y + z < 7$ or +$a_{1} > x^{2n} + y^{2n} > x'$ or +$(A, B) = \sum_{i} a_{i} b_{i}$. +Do not forget that for reasons of consistency, if you want to refer to +a variable in one of the formulae, such as the symbol +$x$, you must also use math mode in the text. +\section{Beispiel eines Textes in deutscher Sprache} +\subsection{Eine EPS Abbildung} + +\par + +Dieser Abschnitt zeigt, wie man eine PostScript-Abbildung +\cite{bib-PS} in ein Dokument einbinden kann. +Abbildung~\ref{fig-psfig} wurde mit dem Befehl + +\begin{verbatim} +\includegraphics[width="3cm"]{file="colorcir.eps} +\end{verbatim} +in den Text aufgenommen. + +\begin{figure}\centering + +\includegraphics[width=3cm, scale=.5]{colorcir} +\caption{Ein EPS Bild\label{fig-psfig}} +\end{figure} +\subsection{Beispiel einer Tabelle} + +\par +Die Tabelle~\ref{tab-exag} auf Seite~\pageref{tab-exag} zeigt eine Tabelle. + +\begin{table}\centering +\caption{ +Eingabe der deutschen Zusatzzeichen in \LaTeX{}\label{tab-exag}} + +\begin{tabular}{ccccccc} +\texttt{"a}~ä&\texttt{"A}~Ä&\texttt{"o}~ö&\texttt{"O}~Ö&\texttt{"u}~ü&\texttt{"U}~Ü&\texttt{"s}~ß\\ + +\end{tabular} +\end{table} +\section{Continuation du texte en français} +\subsection{Traiter les listes\label{sec-list}} + +\par + +Les listes sont utilisées fréquemment pour structurer ou mettre +en évidence certains éléments d'un document (voir \cite{bib-Liste}). + +\begin{itemize} + +\item Ceci est le premier élément d'une liste non-ordonnée. Chaque élément + de ce type de liste est précédé d'un signe distinctif, comme une + puce, un tiret, etc. + +\item Ce second élément de la même liste contient une liste de + \emph{description} imbriquée. + +\begin{description} + +\item[XML]Meta langage pour définir des classes de documents +\item[XLL]Langage pour définir des hyperliens entre différentes + parties de documents XML +\end{description} + + Nous continuons notre texte à l'intérieur de la première liste. + \end{itemize} + +\begin{thebibliography}{99} +\bibitem{bib-PS} +Adobe Inc. \emph{PostScript Handbuch (2. Auflage)} + Addison-Wesley (Deutschland) GmbH, Bonn, 1991. +\bibitem{bib-Liste} +Michel Goossens. Personnaliser les listes \LaTeX{}. + \emph{Cahiers GUTenberg}, 17:32--48, mai 1994. + +\end{thebibliography} +\end{document} diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/minilatexexa.xml b/Master/texmf-dist/doc/latex/latex-web-companion/apb/minilatexexa.xml new file mode 100644 index 00000000000..5b6f67fd551 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/minilatexexa.xml @@ -0,0 +1,138 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE document SYSTEM "minilatex.dtd"[ +<!ENTITY LaTeX "\LaTeX{}"> +<!ENTITY TeX "\TeX{}"> +<!ENTITY dots "\dots"> +<!ENTITY endash "--"> +<!ENTITY emdash "---"> +<!ENTITY nbsp "~"> +<!ENTITY % inline.new "|footnote"> +<!ELEMENT footnote (#PCDATA|par)*> +]> +<document class="article" xml:lang="en"> +<frontmatter> +<title>The &LaTeX; DTD and multiple languages</title> +<author><name>Michel Goossens</name> +<thanks>Partly from an example in <emph>The &LaTeX; Companion</emph> +</thanks></author> +<date>August 4th, 1998</date> +</frontmatter> +<bodymatter> +<section id="sec-en"> +<stitle>The basic principles</stitle> +<par> +This is an example input file. We start in English to show the +principle. You should especially pay attention that we have used +slightly different notation for some of the common &LaTeX; constructs, +such as the dashes, which come in three sizes: an intra-word dash, a +medium dash for number ranges like 1&endash;2, and a punctuation +dash&emdash;like this. Text can be emphasized as <emph>shown +here</emph>. An ellipsis is made with &dots; Footnotes<footnote>This +is a simple footnote.<par>It can also contain <texttt>par</texttt> +elements.</par></footnote> are tricky constructs, since one must be +careful not to nest them. +</par> +<subsection> +<stitle>Dealing with special characters</stitle> +<par> +XML has a different set of reserved characters than &LaTeX;, in +particular, when you want to use any of the three characters +<texttt><![CDATA[\&]]></texttt>, <texttt><![CDATA[<]]></texttt>, +and <texttt><![CDATA[>]]></texttt>, you should enter them as +<texttt>\&amp;</texttt>, <texttt>\&lt;</texttt>, and +<texttt>\&gt;</texttt>, respectively. +</par> +</subsection> +<subsection id="sec-math"> +<stitle>&LaTeX; and mathematical formulae</stitle> +<par> +&LaTeX; and <emph>a fortiori</emph> &TeX; are very good at typesetting +mathematical formulae, like +<inlinemath><![CDATA[x- 3 y + z < 7]]></inlinemath> or +<inlinemath><![CDATA[a_{1} > x^{2n} + y^{2n} > x']]></inlinemath> or +<inlinemath><![CDATA[(A, B) = \sum_{i} a_{i} b_{i}]]></inlinemath>. +Do not forget that for reasons of consistency, if you want to refer to +a variable in one of the formulae, such as the symbol +<inlinemath>x</inlinemath>, you must also use math mode in the text. +</par> +</subsection> +</section> +<section xml:lang="de"> +<stitle>Beispiel eines Textes in deutscher Sprache</stitle> +<subsection> +<stitle>Eine EPS Abbildung</stitle> +<par> +Dieser Abschnitt zeigt, wie man eine PostScript-Abbildung +<cite refid="bib-PS"/> in ein Dokument einbinden kann. +Abbildung <ref refid="fig-psfig"/> wurde mit dem Befehl +<verbatim> +<![CDATA[\includegraphics[width="3cm"]{file="colorcir.eps}]]> +</verbatim> +in den Text aufgenommen. +</par> +<figure id="fig-psfig"> +<includegraphics width="3cm" file="colorcir"/> +<caption xml:lang="de">Ein EPS Bild</caption> +</figure> +</subsection> +<subsection> +<stitle>Beispiel einer Tabelle</stitle> +<par>Die Tabelle <ref refid="tab-exag"/> auf Seite <pageref +refid="tab-exag"/> zeigt eine Tabelle. +</par> +<table id="tab-exag"> +<caption xml:lang="de"> +Eingabe der deutschen Zusatzzeichen in &LaTeX;</caption> +<tabular preamble="ccccccc"> +<row> +<cell><texttt>"a</texttt> ä</cell> +<cell><texttt>"A</texttt> Ä</cell> +<cell><texttt>"o</texttt> ö</cell> +<cell><texttt>"O</texttt> Ö</cell> +<cell><texttt>"u</texttt> ü</cell> +<cell><texttt>"U</texttt> Ü</cell> +<cell><texttt>"s</texttt> ß</cell> +</row> +</tabular> +</table> +</subsection> +</section> +<section xml:lang="fr"> +<stitle>Continuation du texte en français</stitle> +<subsection id="sec-list"> +<stitle>Traiter les listes</stitle> +<par> +Les listes sont utilisées fréquemment pour structurer ou mettre +en évidence certains éléments d'un document (voir <cite refid="bib-Liste"/>). +</par> +<itemize> + <item>Ceci est le premier élément d'une liste non-ordonnée. Chaque élément + de ce type de liste est précédé d'un signe distinctif, comme une + puce, un tiret, etc. + </item> + <item>Ce second élément de la même liste contient une liste de + <emph>description</emph> imbriquée. + <description> + <term>XML</term> + <item>Meta langage pour définir des classes de documents</item> + <term>XLL</term> + <item>Langage pour définir des hyperliens entre différentes + parties de documents XML</item> + </description> + Nous continuons notre texte à l'intérieur de la première liste. + </item> +</itemize> +</subsection> +</section> +<bibliography> +<bibitem id="bib-PS" xml:lang="de"> +Adobe Inc. <emph>PostScript Handbuch (2. Auflage)</emph> + Addison-Wesley (Deutschland) GmbH, Bonn, 1991. +</bibitem> +<bibitem id="bib-Liste" xml:lang="fr"> +Michel Goossens. Personnaliser les listes &LaTeX;. + <emph>Cahiers GUTenberg</emph>, 17:32&endash;48, mai 1994. +</bibitem> +</bibliography> +</bodymatter> +</document> diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/mybiblio.dtd b/Master/texmf-dist/doc/latex/latex-web-companion/apb/mybiblio.dtd new file mode 100644 index 00000000000..b7f6665960b --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/mybiblio.dtd @@ -0,0 +1,24 @@ +<!-- mybiblio.dtd (refers to "biblioxml2.dtd" --> +<!ENTITY % biblio.dtd SYSTEM "biblioxml2.dtd"> + +<!ENTITY AW "Addison-Wesley"> +<!ENTITY AW:adr "Reading, Massachusetts"> +<!ENTITY emdash "---"> +<!ENTITY endash "--"> +<!ENTITY ouml '\"o'> +<!ENTITY j-TUGboat "TUGboat"> +<!ENTITY LaTeX "\LaTeX{}"> +<!ENTITY TeX "\TeX{}"> +<!ENTITY WEB "\textsc{web}"> +<!ENTITY % local.info "| url |annote"> +<!ELEMENT url (#PCDATA)> +<!ENTITY % local.biblio "| webdocument"> + +%biblio.dtd; + +<!-- Document published on the Web --> +<!ELEMENT webdocument (title,author?,(%info;)*)> +<!ATTLIST webdocument %keys; + organization CDATA #IMPLIED + %month; + year CDATA #IMPLIED> diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apb/utf82latin1.sh b/Master/texmf-dist/doc/latex/latex-web-companion/apb/utf82latin1.sh new file mode 100644 index 00000000000..ac5d5423c10 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apb/utf82latin1.sh @@ -0,0 +1,24 @@ +#!/bin/sh +# xt.sh Script to run file through J. Clark's XT XSL processor +# Author: M.Goossens / IT +# Last mod: Jan 16 1999 + +Name=`basename $0` +Usage="Usage: $Name UTF8-file Latin1-file" + +if [ $# -lt 2 ]; then # too few parameters + echo $Usage >&2 # display error message + exit 1 # abort +fi + +DIR=/afs/cern.ch/project/tex/java/michel +CLASSPATH=$DIR:$CLASSPATH + +echo "The CLASSPATH is set to:" +echo $CLASSPATH +echo " " + +export CLASSPATH + +java utf8tolatin1 $1 $2 + |