-
Notifications
You must be signed in to change notification settings - Fork 66
/
project.ptx
64 lines (64 loc) · 2.26 KB
/
project.ptx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="utf-8"?>
<!--
This file provides the overall configuration for your PreTeXt
project. To edit the content of your document, open `source/main.ptx`
(default location).
-->
<project>
<targets>
<target name="html">
<format>html</format>
<source>source/dmoi.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>output/html</output-dir>
<stringparam key="html.css.extra" value="external/custom-styles.css"/>
<xsl>xsl/dmoi-html.xsl</xsl>
</target>
<target name="runestone">
<format>html</format>
<source>source/dmoi.ptx</source>
<publication>publication/runestone.ptx</publication>
<output-dir>published/dmoi</output-dir>
<stringparam key="html.css.extra" value="external/custom-styles.css" />
<stringparam key="debug.fixwwid" value="yes" />
<xsl>xsl/dmoi-html.xsl</xsl>
</target>
<target name="latex">
<format>latex</format>
<source>source/dmoi.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>output/latex</output-dir>
<xsl>xsl/dmoi-latex.xsl</xsl>
</target>
<target name="pdf" pdf-method="xelatex">
<format>pdf</format>
<source>source/dmoi.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>output/pdf</output-dir>
<xsl>xsl/dmoi-latex.xsl</xsl>
</target>
<!-- To quickly build the html of a subset of your project, edit main-subset.ptx
and run `pretext build subset` (or `view` with watch option) -->
<target name="subset">
<format>html</format>
<source>source/main-subset.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>output/subset</output-dir>
<stringparam key="debug.skip-knowls" value="yes"/>
</target>
</targets>
<executables>
<latex>latex</latex>
<pdflatex>pdflatex</pdflatex>
<xelatex>xelatex</xelatex>
<pdfsvg>pdf2svg</pdfsvg>
<asy>asy</asy>
<sage>sage</sage>
<pdfpng>convert</pdfpng>
<pdfeps>pdftops</pdfeps>
<pdfcrop>pdf-crop-margins</pdfcrop>
<pageres>pageres</pageres>
<node>node</node>
<liblouis>file2brl</liblouis>
</executables>
</project>