* Pdfselect in texexec not working!? @ 2011-01-26 9:39 Verhaag, G.C.H.M. 2011-01-26 9:40 ` Thomas Schmitz 0 siblings, 1 reply; 6+ messages in thread From: Verhaag, G.C.H.M. @ 2011-01-26 9:39 UTC (permalink / raw) To: mailing list for ConTeXt users Hi, I use ConTeXt minimals (MkIV, MTXrun | current version: 2011.01.18 19:34) and want to select a few pages from a larger pdf-file using the familiar --pdfselect switch from texexec. However this option is not working any more; the run ends with the following error message: ..... (\end occurred inside a group at level 1) ### simple group (level 1) entered at line 17 ({) ### bottom level No pages of output. Transcript written on texexec.log. TeXExec | runtime: 1.237985 Perhaps something has changed of which I am unaware? Regards, Gerard Verhaag ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Pdfselect in texexec not working!? 2011-01-26 9:39 Pdfselect in texexec not working!? Verhaag, G.C.H.M. @ 2011-01-26 9:40 ` Thomas Schmitz 2011-01-26 9:49 ` Hans Hagen 0 siblings, 1 reply; 6+ messages in thread From: Thomas Schmitz @ 2011-01-26 9:40 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, 26 Jan 2011 10:39:46 +0100 "Verhaag, G.C.H.M." <verhaaggchm@ziggo.nl> wrote: > Hi, > > I use ConTeXt minimals (MkIV, MTXrun | current version: >2011.01.18 19:34) and want to select a few pages from a >larger pdf-file using the familiar --pdfselect switch >from texexec. > > However this option is not working any more; the run >ends with the following error message: > > ..... > (\end occurred inside a group at level 1) > > ### simple group (level 1) entered at line 17 ({) > ### bottom level > No pages of output. > Transcript written on texexec.log. > TeXExec | runtime: 1.237985 > > Perhaps something has changed of which I am unaware? > > Regards, You have to update. This has been fixed (and discussed here). Thomas ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Pdfselect in texexec not working!? 2011-01-26 9:40 ` Thomas Schmitz @ 2011-01-26 9:49 ` Hans Hagen 2011-01-26 10:16 ` Verhaag, G.C.H.M. 2011-01-27 10:13 ` Verhaag, G.C.H.M. 0 siblings, 2 replies; 6+ messages in thread From: Hans Hagen @ 2011-01-26 9:49 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Thomas Schmitz On 26-1-2011 10:40, Thomas Schmitz wrote: > You have to update. This has been fixed (and discussed here). also, there is now a mkiv variant: context --extra=select --help (in due time all those texexec extras will become mkiv ones i.e. no longer hard coded in the script but a special sort of style) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Pdfselect in texexec not working!? 2011-01-26 9:49 ` Hans Hagen @ 2011-01-26 10:16 ` Verhaag, G.C.H.M. 2011-01-27 10:13 ` Verhaag, G.C.H.M. 1 sibling, 0 replies; 6+ messages in thread From: Verhaag, G.C.H.M. @ 2011-01-26 10:16 UTC (permalink / raw) To: mailing list for ConTeXt users Hans Hagen wrote: > On 26-1-2011 10:40, Thomas Schmitz wrote: > >> You have to update. This has been fixed (and discussed here). > > > also, there is now a mkiv variant: > > context --extra=select --help > > (in due time all those texexec extras will become mkiv ones i.e. no > longer hard coded in the script but a special sort of style) > > Hans > > .... Hi, Thanks a lot, and sorry for the noise! Regards, Gerard Verhaag ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Pdfselect in texexec not working!? 2011-01-26 9:49 ` Hans Hagen 2011-01-26 10:16 ` Verhaag, G.C.H.M. @ 2011-01-27 10:13 ` Verhaag, G.C.H.M. 2011-01-27 10:13 ` Hans Hagen 1 sibling, 1 reply; 6+ messages in thread From: Verhaag, G.C.H.M. @ 2011-01-27 10:13 UTC (permalink / raw) To: mailing list for ConTeXt users Hans Hagen wrote: > On 26-1-2011 10:40, Thomas Schmitz wrote: > >> You have to update. This has been fixed (and discussed here). > > > also, there is now a mkiv variant: > > context --extra=select --help > > (in due time all those texexec extras will become mkiv ones i.e. no > longer hard coded in the script but a special sort of style) > > Hans > > ... Hi, Sorry for bothering you all again about selecting pages to print! Yesterday I updated and now use ConTeXt ver: 2011.01.26 11:02 MKIV fmt: 2011.1.26! When I enter the command: context --extra=select --help no output is generated! When I enter for example the command context --extra=combine --help a set of options is described as aspected! The subject was discussed in this forum according to Hans, but I can't find it, sorry! Regards Gerard Verhaag ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Pdfselect in texexec not working!? 2011-01-27 10:13 ` Verhaag, G.C.H.M. @ 2011-01-27 10:13 ` Hans Hagen 0 siblings, 0 replies; 6+ messages in thread From: Hans Hagen @ 2011-01-27 10:13 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 601 bytes --] On 27-1-2011 11:13, Verhaag, G.C.H.M. wrote: > The subject was discussed in this forum according to Hans, but I can't > find it, sorry! add the attached to context/base and run "mtxrun --generate" ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- [-- Attachment #2: mtx-context-select.tex --] [-- Type: text/x-tex, Size: 2811 bytes --] % engine=luatex %D \module %D [ file=mtx-context-select, %D version=2008.11.10, % about that time i started playing with this %D title=\CONTEXT\ Extra Trickry, %D subtitle=Listing Files, %D author=Hans Hagen, %D date=\currentdate, %D copyright=\PRAGMA] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. %D This is a \TEXEXEC\ features that has been moved to \MKIV. % begin help % % usage: context --extra=select [options] list-of-files % % --sort : sort filenames first % --topspace=dimension : distance above first line % --backspace=dimension : distance before left margin % --selection=list : n:m,p:q,... % --paperformat=spec : paper*print or paperxprint or 'fit' % --interaction : add hyperlinks % % end help \input mtx-context-common.tex \setuppapersize [\getdocumentargumentdefault{paperformat_from}{A4}] [\getdocumentargumentdefault{paperformat_to}{A4}] \setuppaper [offset=\getdocumentargumentdefault{paperformat_to}{0pt}] \setuplayout [width=middle, height=middle, topspace=\getdocumentargumentdefault{topspace}{0pt}, backspace=\getdocumentargumentdefault{backspace}{0pt}, location=middle, header=0pt, footer=0pt] \doif {\getdocumentargument{marking}} {yes} { \setuplayout [marking=on] } \doif {\getdocumentargument{interaction}} {yes} { \setupinteraction [state=start] \setupexternalfigures [interaction=yes] } \setupexternalfigures [directory=] \doifelse {\getdocumentargument{paperformat_paper}} {fit} { \doifdocumentfilename {1} { \getfiguredimensions [\getdocumentfilename{1}] \definepapersize [fit] [width=\figurewidth, height=\figureheight] \setuppapersize [fit] [fit] } } \starttext \startluacode local papersize = document.arguments.paperformat_paper or "A4" local printsize = document.arguments.paperformat_print or "A4" local selection = document.arguments.selection or "" local textwidth = document.arguments.textwidth or "0cm" -- needed ? if #document.files == 0 then context("no files given") elseif selection == "" then context("no selection given") else if document.arguments.sort then table.sort(document.files) end for _, filename in ipairs(document.files) do if not string.find(filename,"^mtx%-context%-") then context.filterpages ( { filename }, { selection }, { width = textwidth } ) end end end \stopluacode \stoptext [-- Attachment #3: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-01-27 10:13 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-01-26 9:39 Pdfselect in texexec not working!? Verhaag, G.C.H.M. 2011-01-26 9:40 ` Thomas Schmitz 2011-01-26 9:49 ` Hans Hagen 2011-01-26 10:16 ` Verhaag, G.C.H.M. 2011-01-27 10:13 ` Verhaag, G.C.H.M. 2011-01-27 10:13 ` 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).