[texhax] multiple pdfs from one dtx

Arno Trautmann Arno.Trautmann at gmx.de
Mon Dec 27 12:47:54 CET 2010


Heiko Oberdiek wrote:
> On Mon, Dec 27, 2010 at 11:48:31AM +0100, Arno Trautmann wrote:
> 
>> Heiko Oberdiek wrote:
>>> On Sun, Dec 26, 2010 at 10:17:23PM +0100, Arno Trautmann wrote:
>>>
>>>> Is it possible to start a second TeX-run from the first one without
>>>> having to specify --shell-escape?
>>>
>>> No.
>>
>> I guess even luaTeX won?t help here?
> 
> AFAIK no.
>
>> Then I'll go the easy way and just split the pdf after generation ?
> 
> There are tools for splitting (pdftk, ghostscript). But
> there are problems with links and you need to know the
> page ranges.
>   IMHO it's easier to generate the two files in the first place.

If it was a complex document, I'd agree. But as these packages are very
simple, I rather thought about producing a small LaTeX-Dokument using
pdfpages to split it correctly. In that document, the correct page
numbers can be used. There are many ways to do this task, I was just
looking for the one with the least number of steps and files. (A make
file would also help etc. …)

cheers
Arno

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/texhax/attachments/20101227/887d3abf/attachment.bin>


More information about the texhax mailing list