summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexpand
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-06-17 22:45:48 +0000
committerKarl Berry <karl@freefriends.org>2015-06-17 22:45:48 +0000
commit48dba2f7367a45f534ab7a002fa4f6d28bde546c (patch)
tree6b9c306df936f3dffa550ca9727892dd66c3b49c /Master/texmf-dist/doc/support/latexpand
parentf39aca5510e127142b8c5995b74304d916dbd655 (diff)
latexpand (24may15)
git-svn-id: svn://tug.org/texlive/trunk@37592 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/latexpand')
-rw-r--r--Master/texmf-dist/doc/support/latexpand/README31
-rw-r--r--Master/texmf-dist/doc/support/latexpand/version.txt4
2 files changed, 32 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/support/latexpand/README b/Master/texmf-dist/doc/support/latexpand/README
index 1103a78b5b9..9d96208d8ab 100644
--- a/Master/texmf-dist/doc/support/latexpand/README
+++ b/Master/texmf-dist/doc/support/latexpand/README
@@ -29,6 +29,10 @@ SYNOPSIS
colon-separated list of possible graphics extensions
(used by --show-graphics to find the actual graphics files)
--fatal Die in case a file can't be found.
+ --makeatletter Insert a \makeatletter in the preamble. In some
+ rare cases it may break your document, but it
+ may help fixing bad interactions between
+ @-commands and inclusion (see BUGS section).
USES
The most common use of latexpand is to simplify distribution of source
@@ -52,10 +56,12 @@ BUGS
Please, report bugs to Matthieu Moy <Matthieu.Moy@imag.fr>.
Known bugs
+ Verbatim
latexpand currently ignores \begin{verbatim} ... \end{verbatim}, and
will therefore process any \include, \input, ... directives that appear
within verbatim environments (while it shouldn't).
+ Comment environment
It would be nice to remove code between \begin{comment} and
\end{comment} too if \usepackage{comment} is used.
@@ -71,11 +77,34 @@ BUGS
A workaround is to use --empty-comments when such tricky usage of the
comments package is done.
+ \makeatletter and use with transfig/xfig with \scalebox{}
+ If \input{} or \include{} appears as argument to a command, and the file
+ included contains \makeatletter, then after expansion, the \makeatletter
+ and the @-command appear as argument to the command, which is forbidden
+ because the argument is parsed (and the @-command badly tokenized)
+ before being executed.
+
+ This happens with
+
+ \scalebox{ \input{file-generated-by-xfig.pdf_t} }
+
+ Workaround: add \makeatletter before the scalebox manually in your code,
+ like
+
+ \makeatletter{}
+ \scalebox{ \input{file-generated-by-xfig.pdf_t} }
+ \makeatother{}
+
+ In the case of xfig generated files, it is necessary only for the first
+ occurence.
+
+ A more brute-force workaround is to use latexpand --makeatletter.
+
SEE ALSO
Instructions to include only the relevant .bib items (french):
https://lacl.fr/~caubert/notes/portabilite-du-tex.html#dependances
VERSION
- This is latexpand version v1.1.1.
+ This is latexpand version v1.2-1-g47e2cee.
diff --git a/Master/texmf-dist/doc/support/latexpand/version.txt b/Master/texmf-dist/doc/support/latexpand/version.txt
index ddf593e422c..c3d559da51a 100644
--- a/Master/texmf-dist/doc/support/latexpand/version.txt
+++ b/Master/texmf-dist/doc/support/latexpand/version.txt
@@ -1,2 +1,2 @@
-latexpand version v1.1.1 (931b9665fee76da7e6f9c902c4d7f629f791def1).
-Committed on Fri Jan 23 10:55:18 2015 +0100.
+latexpand version v1.2-1-g47e2cee (47e2ceee9a43e8f7be9be9fc1c5bd191b96820bf).
+Committed on Sun May 24 15:05:43 2015 +0200.