* A pdf-file per XML-node @ 2010-11-10 21:58 Daniel Grycman 2010-11-10 22:04 ` Martin Schröder 2010-11-11 9:08 ` Hans Hagen 0 siblings, 2 replies; 9+ messages in thread From: Daniel Grycman @ 2010-11-10 21:58 UTC (permalink / raw) To: mailing list for ConTeXt users Hi list, | <worker> | <surname>xxx</surname> | <name>xxx</name> | </worker> | <worker> | <surname>xxx</surname> | <name>xxx</name> | </worker> | <worker> | <surname>xxx</surname> | <name>xxx</name> | </worker> | <worker> | <surname>xxx</surname> | <name>xxx</name> | </worker> For every <worker> a separate pdf is needed. It would be also nice to have the <name>-entry as a file-name. Any ideas? Daniel ___________________________________________________________________________________ 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] 9+ messages in thread
* Re: A pdf-file per XML-node 2010-11-10 21:58 A pdf-file per XML-node Daniel Grycman @ 2010-11-10 22:04 ` Martin Schröder 2010-11-11 4:20 ` Latest info for Correspondance module Russell Urquhart 2010-11-11 9:00 ` A pdf-file per XML-node Hans Hagen 2010-11-11 9:08 ` Hans Hagen 1 sibling, 2 replies; 9+ messages in thread From: Martin Schröder @ 2010-11-10 22:04 UTC (permalink / raw) To: mailing list for ConTeXt users 2010/11/10 Daniel Grycman <daniel.grycman@rub.de>: > For every <worker> a separate pdf is needed. It would be also nice to have > the <name>-entry as a file-name. Any ideas? We would have to extend luatex to allow the generation of multiple pdf files from one source document. Not trivial, but quite interesting. :-) http://tracker.luatex.org/view.php?id=510 Best Martin ___________________________________________________________________________________ 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] 9+ messages in thread
* Latest info for Correspondance module 2010-11-10 22:04 ` Martin Schröder @ 2010-11-11 4:20 ` Russell Urquhart 2010-11-11 5:23 ` Wolfgang Schuster 2010-11-11 9:00 ` A pdf-file per XML-node Hans Hagen 1 sibling, 1 reply; 9+ messages in thread From: Russell Urquhart @ 2010-11-11 4:20 UTC (permalink / raw) To: mailing list for ConTeXt users HI, Is the the info at: http://dl.contextgarden.net/modules/t-letter/doc/context/third/letter/correspondence.pdf The latest for this module? I've tried the fromname and signature attribute of \setupletter and i get errors. Just wanted to check. Thanks, Russ ___________________________________________________________________________________ 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] 9+ messages in thread
* Re: Latest info for Correspondance module 2010-11-11 4:20 ` Latest info for Correspondance module Russell Urquhart @ 2010-11-11 5:23 ` Wolfgang Schuster 2010-11-11 13:16 ` Russell Urquhart 0 siblings, 1 reply; 9+ messages in thread From: Wolfgang Schuster @ 2010-11-11 5:23 UTC (permalink / raw) To: mailing list for ConTeXt users Am 11.11.2010 um 05:20 schrieb Russell Urquhart: > HI, > > Is the the info at: http://dl.contextgarden.net/modules/t-letter/doc/context/third/letter/correspondence.pdf > > The latest for this module? I've tried the fromname and signature attribute of \setupletter and i get errors. > > Just wanted to check. Example! 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Latest info for Correspondance module 2010-11-11 5:23 ` Wolfgang Schuster @ 2010-11-11 13:16 ` Russell Urquhart 2010-11-11 13:31 ` Wolfgang Schuster 0 siblings, 1 reply; 9+ messages in thread From: Russell Urquhart @ 2010-11-11 13:16 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 2042 bytes --] Sorry, please see attached file. BTW, here is the last part of the error that is generated. The toaddress works, however. correspondence : loading letter extension addrentry.nle (/Users/russ/context/tex/texmf-context/tex/context/third/letter/extension/addrentry.nle)) correspondence : letter style user.nls not found ! Missing { inserted. <argument> ...ox 259000\\Dallas, Texas 75225-9000} \setsomevalue #1#2->\@EA \def \csname #1 #2\endcsname \p!doassign ...EAEA \setsomevalue \fi \fi {#1}{#2} {#3} \xprocesscommaitem ...@relax@ #1==\empty \@relax@ \@EAEAEA \xprocesscommaite... <argument> fromname={Russ Urquhart}, f romaddress={4645 Portrait Ln\\Plano TX... \xdogetparameters #1]->\xprocesscommaitem #1 ,],\@relax@ ... l.7 ...address={4645 Portrait Ln\\Plano TX 75024}] ? On Thu, Nov 11, 2010 at 06:23:45AM +0100, Wolfgang Schuster wrote: > > Am 11.11.2010 um 05:20 schrieb Russell Urquhart: > > > HI, > > > > Is the the info at: http://dl.contextgarden.net/modules/t-letter/doc/context/third/letter/correspondence.pdf > > > > The latest for this module? I've tried the fromname and signature attribute of \setupletter and i get errors. > > > > Just wanted to check. > > Example! > > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ [-- Attachment #2: pres.tex --] [-- Type: application/x-tex, Size: 394 bytes --] [-- 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] 9+ messages in thread
* Re: Latest info for Correspondance module 2010-11-11 13:16 ` Russell Urquhart @ 2010-11-11 13:31 ` Wolfgang Schuster 2010-11-11 13:37 ` Russell Urquhart 0 siblings, 1 reply; 9+ messages in thread From: Wolfgang Schuster @ 2010-11-11 13:31 UTC (permalink / raw) To: mailing list for ConTeXt users Am 11.11.2010 um 14:16 schrieb Russell Urquhart: > Sorry, please see attached file. > > BTW, here is the last part of the error that is generated. The toaddress works, however. You need more \setupletter commands in your setup, what you currently write is \setupletter [..,..=..,..] [..,..=..,..] [..,..=..,..] but you need \setupletter [..,..=..,..] \setupletter [..,..=..,..] \setupletter [..,..=..,..] This means your values need to be set as \setupletter [toname={President George W. Bush}, toaddress={Office of George W. Bush\\Post Office Box 259000\\Dallas, Texas 75225-9000}] \setupletter [fromname={Russ Urquhart}, fromaddress={4645 Portrait Ln\\Plano TX 75024}] \setupletter [signature={Russ Urquhart}] or \setupletter [toname={President George W. Bush}, toaddress={Office of George W. Bush\\Post Office Box 259000\\Dallas, Texas 75225-9000}, fromname={Russ Urquhart}, fromaddress={4645 Portrait Ln\\Plano TX 75024}, signature={Russ Urquhart}] 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Latest info for Correspondance module 2010-11-11 13:31 ` Wolfgang Schuster @ 2010-11-11 13:37 ` Russell Urquhart 0 siblings, 0 replies; 9+ messages in thread From: Russell Urquhart @ 2010-11-11 13:37 UTC (permalink / raw) To: mailing list for ConTeXt users Ah, that's it! Thanks, that did the trick. (I guess i misread the docs on this. I interpreted the command a different way!) Thanks, Russ ___________________________________________________________________________________ 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] 9+ messages in thread
* Re: A pdf-file per XML-node 2010-11-10 22:04 ` Martin Schröder 2010-11-11 4:20 ` Latest info for Correspondance module Russell Urquhart @ 2010-11-11 9:00 ` Hans Hagen 1 sibling, 0 replies; 9+ messages in thread From: Hans Hagen @ 2010-11-11 9:00 UTC (permalink / raw) To: mailing list for ConTeXt users On 10-11-2010 11:04, Martin Schröder wrote: > 2010/11/10 Daniel Grycman<daniel.grycman@rub.de>: >> For every<worker> a separate pdf is needed. It would be also nice to have >> the<name>-entry as a file-name. Any ideas? > > We would have to extend luatex to allow the generation of multiple pdf > files from one source document. Not trivial, but quite interesting. :-) quite tricky indeed as macro packages would need restart events as well (plus probably some macro related mem cleanup) 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] 9+ messages in thread
* Re: A pdf-file per XML-node 2010-11-10 21:58 A pdf-file per XML-node Daniel Grycman 2010-11-10 22:04 ` Martin Schröder @ 2010-11-11 9:08 ` Hans Hagen 1 sibling, 0 replies; 9+ messages in thread From: Hans Hagen @ 2010-11-11 9:08 UTC (permalink / raw) To: mailing list for ConTeXt users On 10-11-2010 10:58, Daniel Grycman wrote: > Hi list, > > |<worker> > |<surname>xxx</surname> > |<name>xxx</name> > |</worker> > |<worker> > |<surname>xxx</surname> > |<name>xxx</name> > |</worker> > |<worker> > |<surname>xxx</surname> > |<name>xxx</name> > |</worker> > |<worker> > |<surname>xxx</surname> > |<name>xxx</name> > |</worker> > For every<worker> a separate pdf is needed. It would be also nice to have > the<name>-entry as a file-name. Any ideas? you can make a worker.lua file that does it, something (untested) ... local x = xml.load("workers.xml") local i = 0 for e in xml.collected(x,"worker") do i = 1 + 1 logs.simple("processing worker %s",i) os.execute("context worker --worker=" .. i) end and run that with mtxrun --script worker.lua where the worker.tex file looks like ... usual xml setups using workers.xml ... \xmlfilter {main} {worker[position()==\getdocumentargument{worker}]} {xml:worker} ... special worker setup \startxmlsetup xml:worker ... \stopxmlsetup etc etc 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] 9+ messages in thread
end of thread, other threads:[~2010-11-11 13:37 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-11-10 21:58 A pdf-file per XML-node Daniel Grycman 2010-11-10 22:04 ` Martin Schröder 2010-11-11 4:20 ` Latest info for Correspondance module Russell Urquhart 2010-11-11 5:23 ` Wolfgang Schuster 2010-11-11 13:16 ` Russell Urquhart 2010-11-11 13:31 ` Wolfgang Schuster 2010-11-11 13:37 ` Russell Urquhart 2010-11-11 9:00 ` A pdf-file per XML-node Hans Hagen 2010-11-11 9:08 ` 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).