Re: [NTG-context] using `` '' the output is wrong.
On Tue, Jan 19, 2010 at 9:26 PM, Aditya Mahajan adit...@umich.edu wrote: % is problmeatic because you need a character to start a comment and there is AFAIK no way to get the same result from % with a macro \comment{something} better something like this where the comment ends at the end of the line \bgroup \obeylines \gdef\texcomment% {\begingroup% \obeylines% \dotextcomment} \gdef\dotextcomment#1 {\endgroup} \egroup \starttext Auf% lage Auf\texcomment test lage \stoptext 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 ___
Re: [NTG-context] XML schema or DTD for describing pages or ads?
Am 2010-01-28 um 20:58 schrieb William Adams: Does anyone have any such? Or links? The only reasonable one I'm finding on-line is for an INX builder tool (which makes .inx files which can be loaded into InDesign). In 2004 I tried to find a XML representation for newspaper ads (we needed a transport format between different systems). I had a look at Scribus' format, but at least the version of that time was rather messy and badly documented. I looked at OpenOffice XML and noticed they use a SVG subset for graphics. So we settled on SVG. After a while I even got the developers of our online-ad-builder to deliver usable SVG (they refused to read the specs...). SVG Print specs looked rather usable at that time and I expected a RFC release soon - today there's still none, and the working draft of 2007-12 is the latest... :-( http://www.w3.org/TR/SVGPrint/ Since we weren't interested in multi-page documents, our only problems were colors (CMYK, Spot and ICC-based). If you'd like to go the Adobe way - there's not only INX (InDesign Interchange format), but also another XML format that's produced if you pull snippets to the Desktop. And vjoon (ex K4) developers told me, they'd use that format for their InDesign-based editorial system. I don't know how similar those two are. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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 ___
Re: [NTG-context] XML schema or DTD for describing pages or ads?
On Feb 3, 2010, at 9:44 AM, Henning Hraban Ramm wrote: If you'd like to go the Adobe way - there's not only INX (InDesign Interchange format), but also another XML format that's produced if you pull snippets to the Desktop. And vjoon (ex K4) developers told me, they'd use that format for their InDesign-based editorial system. I don't know how similar those two are. Thanks! Snippets are supposed to be a sub-set of IDML (which is the replacement for INX). I was hoping for something more generic (there isn't such a thing in the JDF schema?), but that's an interesting idea William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. ___ 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 ___
[NTG-context] Figure not placed at margin
The following code fragment places the desired graphic at the beginning of the chapter but indents it to the right a quarter or 3/8 of an inch. The text (parameter #2, the chapter title) prints to the right of the figure but sometimes extends into the right margin. Other times, it wraps down to following lines as it should. The text begins right against the graphic (in a blank space) as it should, but the whole thing, graphic and text, are offset to the right rather than being aligned with the left margin. All other figures in the document are where they are supposed to be. Any ideas? \def\Myheader#1#2{ \setupfloats[offset=none,margin=0 in] \startfiguretext [left] [fig:graphic] {none} {\externalfigure[graphic][frame=off]} {\switchtobodyfont[26pt] {\ss\bf\sl #1}} \godown[.5in] {\ss\bf #2} \stopfiguretext} Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey ___ 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 ___
Re: [NTG-context] Figure not placed at margin
On 3-2-2010 18:56, Tom wrote: The following code fragment places the desired graphic at the beginning of the chapter but indents it to the right a quarter or 3/8 of an inch. The text (parameter #2, the chapter title) prints to the right of the figure but sometimes extends into the right margin. Other times, it wraps down to following lines as it should. The text begins right against the graphic (in a blank space) as it should, but the whole thing, graphic and text, are offset to the right rather than being aligned with the left margin. All other figures in the document are where they are supposed to be. Any ideas? \def\Myheader#1#2{ \setupfloats[offset=none,margin=0 in] \startfiguretext [left] [fig:graphic] {none} {\externalfigure[graphic][frame=off]} {\switchtobodyfont[26pt] {\ss\bf\sl #1}} \godown[.5in] {\ss\bf #2} \stopfiguretext} see details.pdf on how to define you own float class and configure it - 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] XML schema or DTD for describing pages or ads?
Am 2010-02-03 um 17:20 schrieb William Adams: On Feb 3, 2010, at 9:44 AM, Henning Hraban Ramm wrote: If you'd like to go the Adobe way - there's not only INX (InDesign Interchange format), but also another XML format that's produced if you pull snippets to the Desktop. And vjoon (ex K4) developers told me, they'd use that format for their InDesign-based editorial system. I don't know how similar those two are. Thanks! Snippets are supposed to be a sub-set of IDML (which is the replacement for INX). Eh, yes - I still use CS2, no need to update... I was hoping for something more generic (there isn't such a thing in the JDF schema?), but that's an interesting idea JDF allows for the inclusion of arbitrary content data (besides all that workflow stuff) but doesn't define any itself. Greetlings from Lake Constance! Hraban --- http://www.fiee.net https://www.cacert.org (I'm an assurer) ___ 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 ___