diff options
author | Karl Berry <karl@freefriends.org> | 2015-06-17 22:45:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-06-17 22:45:48 +0000 |
commit | 48dba2f7367a45f534ab7a002fa4f6d28bde546c (patch) | |
tree | 6b9c306df936f3dffa550ca9727892dd66c3b49c /Master/texmf-dist/doc/support/latexpand/README | |
parent | f39aca5510e127142b8c5995b74304d916dbd655 (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/README')
-rw-r--r-- | Master/texmf-dist/doc/support/latexpand/README | 31 |
1 files changed, 30 insertions, 1 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. |