forked from barbarer/ThinkCPP
-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathproject.ptx
53 lines (53 loc) · 1.79 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
<?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 xmlns:xi="http://www.w3.org/2001/XInclude">
<targets>
<!-- To build this target, run `pretext build web` -->
<target name="web">
<format>html</format>
<source>pretext/main.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>output/html</output-dir>
<xsl>pretext/main.xsl</xsl>
</target>
<target name="runestone">
<format>html</format>
<source>pretext/main.ptx</source>
<publication>pretext/publication-runestone.xml</publication>
<output-dir>published/think-cpp</output-dir>
<xsl>pretext/main.xsl</xsl>
</target>
<target name="print" pdf-method="xelatex">
<format>pdf</format>
<source>pretext/main.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>output/print</output-dir>
</target>
<target name="subset">
<!-- Usage: to build starting at XMLID, -->
<!-- pretext build subset -x XMLID -->
<!-- or use <xml-root>XMLID</xml-root> -->
<format>html</format>
<source>source/main.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>output/html</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>
<node>node</node>
<liblouis>file2brl</liblouis>
</executables>
</project>