Re: [NTG-context] Broken Nightly Chokes on \rotate

2011-12-29 Thread Wolfgang Schuster
Am 30.12.2011 um 05:55 schrieb Kip Warner: > Hey folks, > > The nightly for Dec 29th seems to choke on \rotate. I have a statement: > >\midaligned{\rotate[rotation=42]{\color[red] \bft THIS IS A DRAFT!}} > > ConTeXt emits the following: > > ! Undefined control sequence. > \dodorotatenextb

[NTG-context] generating PDF from XML

2011-12-29 Thread Pablo Rodríguez
Hi there, http://meeting.contextgarden.net/2011/talks/day2_03_thomas_xml-tutorial/ contains some files that allow generating PDF from XML source files. context --purgeall --environment=mysecondstyle.tex myexample.xml with ConTeXt stable from TL2011 should do the work, shouldn't it? Well

[NTG-context] three issues with streams

2011-12-29 Thread Pablo Rodríguez
Hi there, after tweaking with the example provided by Wolfgang (http://www.ntg.nl/pipermail/ntg-context/2011/063353.html), I tried to generate a bilingual poetry document with original Greek text and facing Spanish translation (using ConTeXt stable as provided by TL2011). Here is the basic struct

Re: [NTG-context] Page Size to Figure Size

2011-12-29 Thread Aditya Mahajan
On Thu, 29 Dec 2011, Kip Warner wrote: Hey list, I have a lot of fairly large diagrams in my book that don't always match the aspect ratio of the page in landscape mode, though they usually are closer to landscape than a portrait layout for the page dimension. How can I insert a figure so that

[NTG-context] Broken Nightly Chokes on \rotate

2011-12-29 Thread Kip Warner
Hey folks, The nightly for Dec 29th seems to choke on \rotate. I have a statement: \midaligned{\rotate[rotation=42]{\color[red] \bft THIS IS A DRAFT!}} ConTeXt emits the following: ! Undefined control sequence. \dodorotatenextbox ... \@@rorotation \@@layerxpos

[NTG-context] how to handle the fonts whose name contains a blank space?

2011-12-29 Thread dalyoung
Dear all, Sometime ago, I asked the same question and got replies. However, I couldn't make it work and I didn't try since then. Now, I am asking the same question again with a hope. I have several Korean fonts whose name contains a blank space. For example, in KoPubBatang_Pro family, there are

[NTG-context] Page Size to Figure Size

2011-12-29 Thread Kip Warner
Hey list, I have a lot of fairly large diagrams in my book that don't always match the aspect ratio of the page in landscape mode, though they usually are closer to landscape than a portrait layout for the page dimension. How can I insert a figure so that it is of a given size, with the page size

Re: [NTG-context] Minimals on an arm-processor

2011-12-29 Thread Mojca Miklavec
On Thu, Dec 22, 2011 at 21:48, Gerhard Kugler wrote: > Hi, > > on my new netbook (Hercules eCafe) I have an ubuntu. It would be > possible to install the official packages of texlive and/or context. > But I would prefer a new minimal installation for a single user. If I > call "first-setup.sh" I ge

Re: [NTG-context] Whitespacing and Interlinespacing for \startitemize ... \stopitemize

2011-12-29 Thread Wolfgang Schuster
Am 30.12.2011 um 00:17 schrieb Jan Heinen: > Hello two questions for \startitemize > > (1) Start ... Stop for interlinespacing > > How can I declare some spacing only for an itemization: \setupinterlinespace > [0.4em]{ ... } does not work: > > […] > > (2) How to define whitespacing? > > >

[NTG-context] Whitespacing and Interlinespacing for \startitemize ... \stopitemize

2011-12-29 Thread Jan Heinen
Hello two questions for \startitemize (1) Start ... Stop for interlinespacing How can I declare some spacing only for an itemization: \setupinterlinespace [0.4em]{ ... } does not work: \starttext \setupinterlinespace [0.4em]{ \startitemize \item aaa aaa a

Re: [NTG-context] Broken Nightly Still

2011-12-29 Thread Kip Warner
On Thu, 2011-12-29 at 09:49 +0100, Hans Hagen wrote: > On 29-12-2011 04:09, Kip Warner wrote: > > Hey folks, > > > > Since I upgraded from the Nov 29th nightly to today's Dec 28th, my > > > ! Undefined control sequence. > > \@cmstyle > > must be something older ... in chem-str.mkiv replace this

[NTG-context] setup indentation

2011-12-29 Thread Herbert Voss
this worked some weeks ago: \setupindentations[sample={Sprecher A},separator={:},distance=.5em] \defineindenting[ra][text=Sprecher A] \defineindenting[rb][text=Sprecher B] \defineindenting[rc][text=Sprecher C] \starttext \startpacked \ra Wie geht es dir?\par \ra Ich fragte, wie es dir geht?\par \

Re: [NTG-context] orphans and widow control not working

2011-12-29 Thread Pablo Rodríguez
On 12/29/2011 08:21 PM, Wolfgang Schuster wrote: > Am 29.12.2011 um 20:16 schrieb Pablo Rodríguez: >> Hi there, >> >> trying to avoid widow and orphan lines in my texts, Hans suggested about >> three weeks ago the following settings >> (http://www.ntg.nl/pipermail/ntg-context/2011/063746.html). >>

Re: [NTG-context] bug with --purgeall?

2011-12-29 Thread Pablo Rodríguez
On 12/29/2011 07:49 PM, Hans Hagen wrote: > On 29-12-2011 17:12, Pablo Rodríguez wrote: >> On 12/29/2011 04:01 PM, Hans Hagen wrote: >>> how should it know? >> >> By name and by modification date and time. >> >> But in any case, the following command: >> >> context --purgeall >> >> should give

[NTG-context] paragraph numbering

2011-12-29 Thread Herbert Voss
current beta: \starttext Some text. \setupparagraphnumbering[state=start] first numbered paragraph. This is another numbered paragraph. It's long enough to wrap around onto more than one line, so as to show that these are paragraph numbers and not line numbers.\par A third numbered paragrap

Re: [NTG-context] orphans and widow control not working

2011-12-29 Thread Wolfgang Schuster
Am 29.12.2011 um 20:16 schrieb Pablo Rodríguez: > Hi there, > > trying to avoid widow and orphan lines in my texts, Hans suggested about > three weeks ago the following settings > (http://www.ntg.nl/pipermail/ntg-context/2011/063746.html). > > But the following sample doesn't compile: > >

[NTG-context] orphans and widow control not working

2011-12-29 Thread Pablo Rodríguez
Hi there, trying to avoid widow and orphan lines in my texts, Hans suggested about three weeks ago the following settings (http://www.ntg.nl/pipermail/ntg-context/2011/063746.html). But the following sample doesn't compile: \setuplayout[setups=*lessstrict] \startsetups[*lessstric

Re: [NTG-context] xmlbeforedocumentsetup?

2011-12-29 Thread Hans Hagen
On 29-12-2011 16:19, Hans van der Meer wrote: I would like to execute an xmlsetup each time before the start of the (root) node. Following --I think-- the code from the xml document: \startxmlsetups xml:xam:initial Starting the problem.\crlf \stopxmlsetups \xmlbeforedocumentsetup{\xmldocumen

Re: [NTG-context] bug with --purgeall?

2011-12-29 Thread Hans Hagen
On 29-12-2011 17:12, Pablo Rodríguez wrote: On 12/29/2011 04:01 PM, Hans Hagen wrote: On 29-12-2011 07:24, Pablo Rodríguez wrote: Hi there, yesterday I ran the following command: context --purgeall --environment=mysecondstyle.tex --mode=myexample.xml I know that the source file is missing (I

Re: [NTG-context] Huge PDFs

2011-12-29 Thread Hans Hagen
On 29-12-2011 19:44, Jan Heinen wrote: I found another way to compress PDFs: The ConText-command \pdfcompresslevel=9 qpdf and ghostwriter also helped. use \maximumpdfcompression instead if the low level \pdf* command -

Re: [NTG-context] itemize and \its

2011-12-29 Thread Hans Hagen
On 29-12-2011 16:11, Herbert Voss wrote: this one also worked some weeks ago: \mainlanguage[de] \starttext \startitemize[8,packed] [width=8em,distance=2em,items=5] \ran {no\hss yes} \its I can not do it without \TeX. \mar{+} I use \TeX\ with other packages. \its I hardly use \TeX. \ran{\hss The

Re: [NTG-context] Huge PDFs

2011-12-29 Thread Jan Heinen
I found another way to compress PDFs: The ConText-command \pdfcompresslevel=9 qpdf and ghostwriter also helped. Thanx Jannis ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] spaceskip in \framed bug

2011-12-29 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 29 Dec 2011 07:55:37 -0700, Hans Hagen wrote: On Sun, 25 Dec 2011 13:07:44 -0700, Idris Samawi Hamid ادريس سماوي حامد The following used to work in mkiv, but no longer (works in mkii): Setups come before setting the alignment and alignments sets the spaceskip too. Are you sur

Re: [NTG-context] Huge PDFs

2011-12-29 Thread luigi scarso
On Thu, Dec 29, 2011 at 5:34 PM, Jan Heinen wrote: >> pdf -> pdftops ->ps ->ghostscript ->pdf >> seems to be more robust and gives better results >> -- >> luigi > > I will give it a try: > Can you tell me the commands with all the parameters I need ? > > > I have tried the following: > > #!/b

Re: [NTG-context] Huge PDFs

2011-12-29 Thread Jan Heinen
/ pdf -> pdftops ->ps ->ghostscript ->pdf />/ seems to be more robust and gives better results />/ -- />/ luigi / I will give it a try: Can you tell me the commands with all the parameters I need ? I have tried the following: #!/bin/sh suffix="_opt.pdf" pdftops -paper match -level3

Re: [NTG-context] bug with --purgeall?

2011-12-29 Thread Pablo Rodríguez
On 12/29/2011 04:01 PM, Hans Hagen wrote: > On 29-12-2011 07:24, Pablo Rodríguez wrote: >> Hi there, >> >> yesterday I ran the following command: >> >> context --purgeall --environment=mysecondstyle.tex --mode=myexample.xml >> >> I know that the source file is missing (I discovered it later). This

[NTG-context] xmlbeforedocumentsetup?

2011-12-29 Thread Hans van der Meer
I would like to execute an xmlsetup each time before the start of the (root) node . Following --I think-- the code from the xml document: \startxmlsetups xml:xam:initial Starting the problem.\crlf \stopxmlsetups \xmlbeforedocumentsetup{\xmldocument}{xml:xam:initial}{xml:xam:problem} xml:xam:pr

[NTG-context] itemize and \its

2011-12-29 Thread Herbert Voss
this one also worked some weeks ago: \mainlanguage[de] \starttext \startitemize[8,packed] [width=8em,distance=2em,items=5] \ran {no\hss yes} \its I can not do it without \TeX. \mar{+} I use \TeX\ with other packages. \its I hardly use \TeX. \ran{\hss The future\hss} \its I will

Re: [NTG-context] bug with --purgeall?

2011-12-29 Thread Hans Hagen
On 29-12-2011 07:24, Pablo Rodríguez wrote: Hi there, yesterday I ran the following command: context --purgeall --environment=mysecondstyle.tex --mode=myexample.xml I know that the source file is missing (I discovered it later). This is not my issue. The problem is that the --purgeall option

Re: [NTG-context] itemize with conversion

2011-12-29 Thread Hans Hagen
On 29-12-2011 13:55, Herbert Voss wrote: \defineconversion[ordinal][\enordinaldaynumber] use \defineconversion[ordinal][\ordinaldaynumber] instead ... it adapts itself to the current language (I'm cleaning up modules and removing off cases and that was one of them, as it makes no sense to l

Re: [NTG-context] spaceskip in \framed bug

2011-12-29 Thread Hans Hagen
On 29-12-2011 15:21, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Did not hear back on this, trying again ... Best wishes Idris On Sun, 25 Dec 2011 13:07:44 -0700, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, The following used to work in mkiv, but no longer (works in m

[NTG-context] Huge PDFs

2011-12-29 Thread Jan Heinen
pdf -> pdftops ->ps ->ghostscript ->pdf seems to be more robust and gives better results -- luigi I will give it a try: Can you tell me the commands with all the parameters I need ? Regards Jannis ___ If your

Re: [NTG-context] Is there a replacement for \tracechinesetrue in mkiv?

2011-12-29 Thread Hans Hagen
On 29-12-2011 04:22, Zhichu Chen wrote: All right, after some readings, I came out with a node solution. The major idea is listed below and works just fine. "n" from node_traverse (head) and n.id==node.id ('glyph') My question is: is there a better way? Because these codes are so dirty. I prefer

Re: [NTG-context] spaceskip in \framed bug

2011-12-29 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Did not hear back on this, trying again ... Best wishes Idris On Sun, 25 Dec 2011 13:07:44 -0700, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, The following used to work in mkiv, but no longer (works in mkii): === % stretchline.tex \startsetups stretchl

Re: [NTG-context] Is there a replacement for \tracechinesetrue in mkiv?

2011-12-29 Thread Hans Hagen
On 29-12-2011 04:22, Zhichu Chen wrote: All right, after some readings, I came out with a node solution. The major idea is listed below and works just fine. "n" from node_traverse (head) and n.id==node.id ('glyph') My question is: is there a better way? Because these codes are so dirty. I prefer

Re: [NTG-context] Huge PDFs

2011-12-29 Thread luigi scarso
On Thu, Dec 29, 2011 at 2:19 PM, Hans Hagen wrote: > On 29-12-2011 13:45, luigi scarso wrote: >> >> On Thu, Dec 29, 2011 at 12:16 PM, Jan Heinen  wrote: >>> >>> Hello, >>> >>> lots of my images are huge 200x250mm. I reduce their size with: >>> \externalfigure[cow][width=20mm, heigth=25mm] >>> >>>

Re: [NTG-context] Huge PDFs

2011-12-29 Thread Hans Hagen
On 29-12-2011 13:45, luigi scarso wrote: On Thu, Dec 29, 2011 at 12:16 PM, Jan Heinen wrote: Hello, lots of my images are huge 200x250mm. I reduce their size with: \externalfigure[cow][width=20mm, heigth=25mm] After generating the PDF, the pdf is very huge. 1. Can't Context put the reduced i

[NTG-context] itemize with conversion

2011-12-29 Thread Herbert Voss
This worked some weeks ago: \defineconversion[ordinal][\enordinaldaynumber] \starttext \startitemize[ordinal] \item Test \item Test \item Test \item Test \item Test \stopitemize \stoptext current beta from today Herbert ! Undefined control sequence. system > tex > error on li

Re: [NTG-context] Huge PDFs

2011-12-29 Thread luigi scarso
On Thu, Dec 29, 2011 at 12:16 PM, Jan Heinen wrote: > Hello, > > lots of my images are huge 200x250mm. I reduce their size with: > \externalfigure[cow][width=20mm, heigth=25mm] > > After generating the PDF, the pdf is very huge. > > 1. Can't Context put the reduced image into the PDF? > 2. How can

[NTG-context] Huge PDFs

2011-12-29 Thread Jan Heinen
Hello, lots of my images are huge 200x250mm. I reduce their size with: \externalfigure[cow][width=20mm, heigth=25mm] After generating the PDF, the pdf is very huge. 1. Can't Context put the reduced image into the PDF? 2. How can I generate one PDF version for printing (300dpi) and one for the

Re: [NTG-context] Broken Nightly Still

2011-12-29 Thread Hans Hagen
On 29-12-2011 04:09, Kip Warner wrote: Hey folks, Since I upgraded from the Nov 29th nightly to today's Dec 28th, my ! Undefined control sequence. \@cmstyle must be something older ... in chem-str.mkiv replace this: \unexpanded\def\dosetchemicaltext {\dousestyleparameter\@@cmstyle \

Re: [NTG-context] problems with t-letter - reference line

2011-12-29 Thread Thomas Engel
* Wolfgang Schuster [111229 08:35]: Hello Wolfgang, > When I comment the mentioned line above I get “Datum” and “28. Dezember 2011” > in the reference line. thanks, it's working now. Is there also a new "Correspondence" manual with examples for the new interface available? Thomas ___