* pdfsplit
@ 2009-04-09 15:59 Wolfgang Schuster
2009-04-10 7:23 ` pdfsplit Hans Hagen
2009-04-10 7:24 ` pdfsplit Alan BRASLAU
0 siblings, 2 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2009-04-09 15:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Hans,
the pdfsplit option for texexec use the name texexec.pdf for each of
the document and only the last page remains because all other are
overwritten, can you add the pagenumber (texexec-1.pdf, texexec-2.pdf
etc.) to the filename.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pdfsplit
2009-04-09 15:59 pdfsplit Wolfgang Schuster
@ 2009-04-10 7:23 ` Hans Hagen
2009-04-10 8:03 ` pdfsplit Wolfgang Schuster
2009-04-10 7:24 ` pdfsplit Alan BRASLAU
1 sibling, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2009-04-10 7:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
> Hi Hans,
>
> the pdfsplit option for texexec use the name texexec.pdf for each of the
> document and only the last page remains because all other are
> overwritten, can you add the pagenumber (texexec-1.pdf, texexec-2.pdf
> etc.) to the filename.
line 289:
job.setvariable('result',"texexec-#{n}")
should do the job
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pdfsplit
2009-04-09 15:59 pdfsplit Wolfgang Schuster
2009-04-10 7:23 ` pdfsplit Hans Hagen
@ 2009-04-10 7:24 ` Alan BRASLAU
2009-04-10 7:48 ` pdfsplit Hans Hagen
1 sibling, 1 reply; 9+ messages in thread
From: Alan BRASLAU @ 2009-04-10 7:24 UTC (permalink / raw)
To: ntg-context
On Thursday 09 April 2009 17:59:18 Wolfgang Schuster wrote:
> the pdfsplit option for texexec use the name texexec.pdf for each of
> the document and only the last page remains because all other are
> overwritten, can you add the pagenumber (texexec-1.pdf, texexec-2.pdf
> etc.) to the filename.
Does the option pdfsplit exist for mkiv?
Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pdfsplit
2009-04-10 7:24 ` pdfsplit Alan BRASLAU
@ 2009-04-10 7:48 ` Hans Hagen
0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2009-04-10 7:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
Alan BRASLAU wrote:
> On Thursday 09 April 2009 17:59:18 Wolfgang Schuster wrote:
>> the pdfsplit option for texexec use the name texexec.pdf for each of
>> the document and only the last page remains because all other are
>> overwritten, can you add the pagenumber (texexec-1.pdf, texexec-2.pdf
>> etc.) to the filename.
>
> Does the option pdfsplit exist for mkiv?
this is somewhat tricky as in mkiv (context script) we no longer have
these pdf goodies internal but in mtx-context-* styles in the base path
(i wonder who noticed it) and so we run from inside luatex; currently
luatex cannot restart a pdf document so for the moment this is texexec
only; also, the feature itself is unrelated to mkiv and mkii as well as
pdftex will stay around forever
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pdfsplit
2009-04-10 7:23 ` pdfsplit Hans Hagen
@ 2009-04-10 8:03 ` Wolfgang Schuster
2009-04-10 8:13 ` pdfsplit Hans Hagen
0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2009-04-10 8:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 10.04.2009 um 09:23 schrieb Hans Hagen:
> Wolfgang Schuster wrote:
>> Hi Hans,
>> the pdfsplit option for texexec use the name texexec.pdf for each
>> of the document and only the last page remains because all other
>> are overwritten, can you add the pagenumber (texexec-1.pdf,
>> texexec-2.pdf etc.) to the filename.
>
> line 289:
>
> job.setvariable('result',"texexec-
> #{n}")
>
> should do the job
works but didn't it makes more sense to create 'filename-number' by
default and
'resultname-number' with with 'texexec --pdfsplit --result=resultname
myfile.pdf'
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pdfsplit
2009-04-10 8:03 ` pdfsplit Wolfgang Schuster
@ 2009-04-10 8:13 ` Hans Hagen
2009-04-10 8:28 ` pdfsplit Wolfgang Schuster
0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2009-04-10 8:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
>
> Am 10.04.2009 um 09:23 schrieb Hans Hagen:
>
>> Wolfgang Schuster wrote:
>>> Hi Hans,
>>> the pdfsplit option for texexec use the name texexec.pdf for each of
>>> the document and only the last page remains because all other are
>>> overwritten, can you add the pagenumber (texexec-1.pdf, texexec-2.pdf
>>> etc.) to the filename.
>>
>> line 289:
>>
>> job.setvariable('result',"texexec-#{n}")
>>
>> should do the job
>
> works but didn't it makes more sense to create 'filename-number' by
> default and
> 'resultname-number' with with 'texexec --pdfsplit --result=resultname
> myfile.pdf'
result = @commandline.checkedoption('result','texexec')
nofpages.times do |i|
if f = File.open(tempfile,"w") then
...
job.setvariable('result',"#{result}-#{n}")
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pdfsplit
2009-04-10 8:13 ` pdfsplit Hans Hagen
@ 2009-04-10 8:28 ` Wolfgang Schuster
2009-04-10 8:47 ` pdfsplit Hans Hagen
0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2009-04-10 8:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 10.04.2009 um 10:13 schrieb Hans Hagen:
>> works but didn't it makes more sense to create 'filename-number' by
>> default and
>> 'resultname-number' with with 'texexec --pdfsplit --
>> result=resultname myfile.pdf'
>
> result = @commandline.checkedoption('result','texexec')
> nofpages.times do |i|
> if f = File.open(tempfile,"w") then
> ...
> job.setvariable('result',"#{result}-#{n}")
nearly perfect, only the log files for each file remains when I use
result,
e.g. with 'texexec --pdfsplit --result=splitfile myfile.tex' the file
splitfile-n.log
is still there.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pdfsplit
2009-04-10 8:28 ` pdfsplit Wolfgang Schuster
@ 2009-04-10 8:47 ` Hans Hagen
2009-04-10 8:53 ` pdfsplit Wolfgang Schuster
0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2009-04-10 8:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
>
> Am 10.04.2009 um 10:13 schrieb Hans Hagen:
>
>>> works but didn't it makes more sense to create 'filename-number' by
>>> default and
>>> 'resultname-number' with with 'texexec --pdfsplit --result=resultname
>>> myfile.pdf'
>>
>> result = @commandline.checkedoption('result','texexec')
>> nofpages.times do |i|
>> if f = File.open(tempfile,"w") then
>> ...
>> job.setvariable('result',"#{result}-#{n}")
>
> nearly perfect, only the log files for each file remains when I use result,
> e.g. with 'texexec --pdfsplit --result=splitfile myfile.tex' the file
> splitfile-n.log
> is still there.
you can add
job.setvariable('purge',true)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pdfsplit
2009-04-10 8:47 ` pdfsplit Hans Hagen
@ 2009-04-10 8:53 ` Wolfgang Schuster
0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2009-04-10 8:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 10.04.2009 um 10:47 schrieb Hans Hagen:
>> nearly perfect, only the log files for each file remains when I use
>> result,
>> e.g. with 'texexec --pdfsplit --result=splitfile myfile.tex' the
>> file splitfile-n.log
>> is still there.
>
> you can add
>
> job.setvariable('purge',true)
did not help
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-04-10 8:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-09 15:59 pdfsplit Wolfgang Schuster
2009-04-10 7:23 ` pdfsplit Hans Hagen
2009-04-10 8:03 ` pdfsplit Wolfgang Schuster
2009-04-10 8:13 ` pdfsplit Hans Hagen
2009-04-10 8:28 ` pdfsplit Wolfgang Schuster
2009-04-10 8:47 ` pdfsplit Hans Hagen
2009-04-10 8:53 ` pdfsplit Wolfgang Schuster
2009-04-10 7:24 ` pdfsplit Alan BRASLAU
2009-04-10 7:48 ` pdfsplit Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).