File tree Expand file tree Collapse file tree 4 files changed +15
-6
lines changed
lib/LaTeXML/resources/XSLT Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 9898 <xsl : apply-templates select =" *[
9999 not(self::ltx:title or self::ltx:creator or self::ltx:date or self::ltx:abstract or self::ltx:keywords)
100100 and not(self::ltx:acknowledgements or self::ltx:bibliography)
101+ and not(self::ltx:pubnote[@role='thanks'])
101102 and not(self::ltx:appendix)]" />
102103 </body >
103104 <back >
104- <xsl : apply-templates select =" ltx:acknowledgements" />
105+ <xsl : apply-templates select =" ltx:acknowledgements | ltx:pubnote[@role='thanks'] " />
105106 <xsl : apply-templates select =" ltx:bibliography" />
106107 <app-group >
107108 <xsl : apply-templates select =" //ltx:appendix" />
172173 <xsl : value-of select =" @close" />
173174 </xsl : template >
174175
176+ <!-- Need to figure out where these go; presumably by @role -->
177+ <xsl : template match =" ltx:pubnote" />
178+
175179 <xsl : template match =" ltx:date[@role='creation']" >
176180 <pub-date ><year ><xsl : apply-templates /></year ></pub-date >
177181 </xsl : template >
370374 <xsl : apply-templates />
371375 </xsl : template >
372376
373- <xsl : template match =" ltx:acknowledgements" >
377+ <xsl : template match =" ltx:acknowledgements | ltx:pubnote[@role='thanks'] " >
374378 <ack >
375379 <xsl : call-template name =" require_p" />
376380 </ack >
Original file line number Diff line number Diff line change 6161 <xsl : apply-templates select =" *[
6262 not(self::ltx:title or self::ltx:creator or self::ltx:date or self::ltx:abstract or self::ltx:keywords or self::ltx:classification)
6363 and not(self::ltx:acknowledgements or self::ltx:bibliography)
64+ and not(self::ltx:pubnote[@role='thanks'])
6465 and not(self::ltx:appendix)]" />
6566 </body >
6667 <back >
67- <xsl : apply-templates select =" ltx:acknowledgements" />
68+ <xsl : apply-templates select =" ltx:acknowledgements | ltx:pubnote[@role='thanks'] " />
6869 <xsl : apply-templates select =" ltx:bibliography" />
6970 <xsl : apply-templates select =" //ltx:appendix" />
7071 </back >
145146 <xsl : apply-templates />
146147 </xsl : template >
147148
149+ <!-- Need to figure out where these go; presumably by @role -->
150+ <xsl : template match =" ltx:pubnote" />
151+
148152 <xsl : template match =" ltx:creator[@role='author']" >
149153 <author >
150154 <xsl : apply-templates />
385389 </hi >
386390 </xsl : template >
387391
388- <xsl : template match =" ltx:acknowledgements" >
392+ <xsl : template match =" ltx:acknowledgements | ltx:pubnote[@role='thanks'] " >
389393 <div type =" acknowledgements" >
390394 <xsl : if test =" not(./ltx:p)" >
391395 <p >
Original file line number Diff line number Diff line change 2828 <keywords name =" Key words and phrases: " >ams,article,markup</keywords >
2929 <classification name =" 2000 Mathematics Subject Classification: " scheme =" 2000 Mathematics Subject Classification" >Primary </classification >
3030 <classification name =" 2000 Mathematics Subject Classification: " scheme =" 2000 Mathematics Subject Classification" >Other stuff </classification >
31- <acknowledgements >My Mommy.</acknowledgements >
31+ <pubnote name = " Thanks: " role = " thanks " >My Mommy.</pubnote >
3232 <section inlist =" toc" xml : id =" S1" >
3333 <tags >
3434 <tag >1</tag >
Original file line number Diff line number Diff line change 44<document xmlns =" http://dlmf.nist.gov/LaTeXML" class =" ltx_authors_1line" >
55 <resource src =" LaTeXML.css" type =" text/css" />
66 <resource src =" ltx-article.css" type =" text/css" />
7- <title >Testing Authors<note role = " thanks " >Whoppee!</ note >< /title >
7+ <title >Testing Authors</title >
88 <creator role =" author" >
99 <personname >Joe Blow</personname >
1010 <contact role =" thanks" >Somewhere</contact >
1414 <contact role =" thanks" >elsewhere</contact >
1515 </creator >
1616 <date role =" creation" >Today!</date >
17+ <pubnote >Whoppee!</pubnote >
1718 <section inlist =" toc" labels =" LABEL:sec:one" xml : id =" S1" >
1819 <tags >
1920 <tag >1</tag >
You can’t perform that action at this time.
0 commit comments