summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2020-06-10 00:32:10 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2020-06-10 00:32:10 +0000
commit215363fec9737e98288cfeb81ab9fa654f5f186f (patch)
tree3421c618471259fd74e503052f36036b7dfa86e6
parenteae4dd4d9259aba78201eadd603736587ee8400f (diff)
[CWEB] Add 'language' for PDF creation.
Run 'cweave -lp+' followed by 'tex'+'dvipdfm' or 'xetex'. git-svn-id: svn://tug.org/texlive/trunk@55498 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/cwebdir/ChangeLog9
-rw-r--r--Build/source/texk/web2c/cwebdir/texinputs/p+cwebmac.tex5
2 files changed, 12 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog
index be8a2326b86..afad20247c0 100644
--- a/Build/source/texk/web2c/cwebdir/ChangeLog
+++ b/Build/source/texk/web2c/cwebdir/ChangeLog
@@ -1,3 +1,8 @@
+2020-06-10 Andreas Scherer <https://ascherer.github.io>
+
+ * texinputs/p+cwebmac.tex: Switch on PDF creation with 'cweave -lp+'
+ followed by 'tex'+'dvipdfm' or 'xetex' on your CWEB source.
+
2020-06-07 Andreas Scherer <https://ascherer.github.io>
* comm-w2c.ch,
@@ -34,7 +39,7 @@
2020-06-01 Andreas Scherer <https://ascherer.github.io>
- * texinputs/pdfwebtocfront.tex: Adapt to 'pwebmac.tex 4.5.2.
+ * texinputs/pdfwebtocfront.tex: Adapt to 'pwebmac.tex 4.5.2'.
2020-05-31 Andreas Scherer <https://ascherer.github.io>
@@ -55,7 +60,7 @@
2020-05-07 Andreas Scherer <https://ascherer.github.io>
- * texinputs/Xcwebmac.tex: Amend macros from knuth.drv (n
+ * texinputs/Xcwebmac.tex: Amend macros from knuth.drv (in
github.com/oberdiek/latex-tds) to move table-of-contents
up front in PDF output (on second TeX run).
diff --git a/Build/source/texk/web2c/cwebdir/texinputs/p+cwebmac.tex b/Build/source/texk/web2c/cwebdir/texinputs/p+cwebmac.tex
new file mode 100644
index 00000000000..a7da7a8193b
--- /dev/null
+++ b/Build/source/texk/web2c/cwebdir/texinputs/p+cwebmac.tex
@@ -0,0 +1,5 @@
+% 'Language' to switch on PDF creation with standard 'tex' and 'xetex'
+% created by Andreas Scherer in June 2020. Used with 'cweave -lp+'.
+% This file is not copyrighted and can be used freely.
+\ifx\undefined\botofcontents \let\pdf+ \input cwebmac % switch on PDF
+\else\endinput\fi % too late, baby!