-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial setup for plastex conversion * Some progress * work in temp directory * get themes working * closer to math working * further improvements * add more templates * more templates * add more templates * update index * work on sections * allow input/includes * put introductions only when needed into chapters * smart switch between book and article * nicer file names * set default chunking * fix up strange characters * improve citations * update changelog * update poetry.lock * format * update types * update types * revert
- Loading branch information
1 parent
de80558
commit 6798022
Showing
44 changed files
with
1,668 additions
and
440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: center centering centerline | ||
<!-- \begin{center} --> | ||
{{ obj }} | ||
<!-- \end{center} --> | ||
{# #} | ||
|
||
name: flushleft raggedright leftline | ||
<!-- \begin{flushleft} --> | ||
{{ obj }} | ||
<!-- \end{flushleft} --> | ||
{# #} | ||
|
||
|
||
name: raggedleft flushright llap | ||
<!-- \begin{flushright} --> | ||
{{ obj }} | ||
<!-- \end{flushright} --> | ||
{# #} | ||
|
||
name: raggedbottom | ||
<!-- \begin{raggedbottom} --> | ||
{{ obj }} | ||
<!-- \end{raggedbottom} --> | ||
{# #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: tabular array tabular* tabularx | ||
<tabular> | ||
{% for row in obj %} | ||
<row> | ||
{% for cell in row %} | ||
<cell>{{ cell }}</cell> | ||
{% endfor %} | ||
</row> | ||
{% endfor %} | ||
</tabular> | ||
|
||
name: multicolumn | ||
{{ obj }} | ||
|
||
name: cline toprule bottomrule midrule cmidrule morecmidrules addlinespace specialrule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: thebibliography | ||
<references> | ||
{% for item in obj %} | ||
<biblio xml:id="{{ item.id }}">{{ item }}</biblio> | ||
{% endfor %} | ||
</references> | ||
|
||
name: bibliography | ||
<references> | ||
|
||
{{ obj }} | ||
|
||
</references> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: mbox makebox | ||
<!-- \mbox{ -->{{ obj }}<!-- } --> | ||
|
||
name: fbox framebox | ||
<!-- \fbox{ -->{{ obj }}<!-- } --> | ||
|
||
name: parbox | ||
<!-- \parbox -->{{ obj }}<!-- } --> | ||
|
||
name: minipage | ||
<!-- \minipage{ -->{{ obj }}<!-- } --> | ||
|
||
name: raisebox rule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
name: linebreak \ newline pagebreak newpage clearpage cleardoublepage | ||
<!-- break: {{ obj.nodeName }} --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: ref | ||
{% if 'label' in obj.idref and obj.idref.label.ref %}<xref ref="{{obj.idref.label.url}}">{{obj.idref.label.ref}}</xref>{% else %}??{% endif %} | ||
|
||
name: eqref | ||
{% if 'label' in obj.idref and obj.idref.label.ref %}<xref ref="{{obj.idref.label.url}}">{{obj.idref.label.ref}}</xref>{% else %}??{% endif %} | ||
|
||
name: cref Cref | ||
{% if 'label' in obj.idref and obj.idref.label.ref %}<xref ref="{{obj.idref.label.url}}">{{ obj.refname() }} {{obj.idref.label.ref}}</xref>{% else %}??{% endif %} | ||
|
||
name: pageref | ||
{% if 'label' in obj.idref and obj.idref.label.ref %}<xref ref="{{ obj.idref.label.url }}"/>{% else %}??{% endif %} | ||
|
||
name: label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: figure figure* | ||
<figure {% if obj.title %}xml:id="{{ obj.title.id }}"{% endif %}> | ||
{{ obj }} | ||
</figure> | ||
|
||
name: table table* | ||
<table xml:id="{% if obj.title %}{{ obj.title.id}}{% else %}{{ obj.id }}{% endif %}"> | ||
{{ obj }} | ||
</table> | ||
|
||
name: marginpar | ||
<aside>{{ obj.attributes.right }}</aside> | ||
|
||
name: caption | ||
<caption> | ||
{{ obj }} | ||
</caption> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
name: mdseries textmd | ||
<!-- \textmd{ -->{{ obj }}<!-- }--> | ||
|
||
name: bfseries textbf | ||
<!-- \textbf --><term>{{ obj }}</term> | ||
|
||
name: rmfamily textrm | ||
<!-- \textrm{ -->{{ obj }}<!-- } --> | ||
|
||
name: sffamily textsf | ||
<!-- \textsf --><init>{{ obj }}</init> | ||
|
||
name: ttfamily texttt | ||
<!-- \texttt --><c>{{ obj }}</c> | ||
|
||
name: upshape textup | ||
<!-- \textup --><init>{{ obj }}</init> | ||
|
||
name: itshape textit | ||
<!-- \textit --><em>{{ obj }}</em> | ||
|
||
name: slshape textsl | ||
<!-- \textsl --><em>{{ obj }}</em> | ||
|
||
name: scshape textsc | ||
<!-- \textsc --><init>{{ obj }}</init> | ||
|
||
name: textnormal | ||
<!-- \textnormal{ -->{{ obj }}<!-- } --> | ||
|
||
name: rm | ||
<!-- \rm{ -->{{ obj }}<!-- } --> | ||
|
||
name: cal | ||
<!-- \cal{ -->{{ obj }}<!-- } --> | ||
|
||
name: it | ||
<!-- \it --><em>{{ obj }}</em> | ||
|
||
name: sl | ||
<!-- \sl{ -->{{ obj }}<!-- } --> | ||
|
||
name: bf | ||
<!-- \bf{ -->{{ obj }}<!-- } --> | ||
|
||
name: tt | ||
<!-- \tt --><init>{{ obj }}</inti> | ||
|
||
name: sc | ||
<!-- \sc --><init>{{ obj }}</init> | ||
|
||
|
||
name: tiny | ||
<!-- \tiny{ -->{{ obj }}<!-- } --> | ||
|
||
|
||
name: scriptsize | ||
<!-- \scriptsize{ -->{{ obj }}<!-- } --> | ||
|
||
name: footnotesize | ||
<!-- \footnotesize{ -->{{ obj }}<!-- } --> | ||
|
||
name: small | ||
<!-- \small{ -->{{ obj }}<!-- } --> | ||
|
||
name: normalsize | ||
<!-- \normalsize{ -->{{ obj }}<!-- } --> | ||
|
||
name: large | ||
<!-- \large{ -->{{ obj }}<!-- } --> | ||
|
||
name: Large | ||
<!-- \xlarge{ -->{{ obj }}<!-- } --> | ||
|
||
name: LARGE | ||
<!-- \xxlarge{ -->{{ obj }}<!-- } --> | ||
|
||
name: huge | ||
<!-- \huge{ -->{{ obj }}<!-- } --> | ||
|
||
name: Huge | ||
<!-- \xhuge{ -->{{ obj }}<!-- } --> | ||
|
||
|
||
name: symbol | ||
<!-- \symbol{} -->{{obj}}<!-- } --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: footnote | ||
<fn>{{ obj }}</fn> | ||
|
||
name: footnotemark | ||
<fn>{{ obj }}</fn> | ||
|
||
name: footnotetext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: theindex printindex | ||
<index> | ||
<title>Index</title> | ||
<index-list /> | ||
</index> | ||
|
||
name: index | ||
<idx><h>{{obj.argSource[1:-1]}}</h></idx> | ||
|
||
name: see seealso | ||
<idx><h>{{ obj.captionName }}</h></idx> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: itemize | ||
<ul> | ||
{% for item in obj %} | ||
<li>{{ item }}</li> | ||
{% endfor %} | ||
</ul> | ||
|
||
name: enumerate | ||
<ol> | ||
{% for item in obj %} | ||
<li>{{ item }}</li> | ||
{% endfor %} | ||
</ol> | ||
|
||
name: list trivlist description | ||
<dl> | ||
{% for item in obj %} | ||
<title>{{ item.attributes.term or obj.attributes.defaultlabel }}</title> | ||
<li>{{ item }}</li> | ||
{% endfor %} | ||
</dl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
name: picture | ||
<image source="{{ obj.image.url }}" alt="{{ obj.source }}" width="{{ obj.image.width.px }}"> | ||
<shortdescription> | ||
{{ obj.source }} | ||
</shortdescription> | ||
</image> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: quote | ||
<blockquote> | ||
{{ obj }} | ||
</blockquote> | ||
|
||
name: quotation | ||
<blockquote> | ||
{{ obj }} | ||
</blockquote> | ||
|
||
name: verse | ||
<poem> | ||
{{ obj }} | ||
</poem> |
Oops, something went wrong.