Re: [NTG-context] crop PDF pages

2011-09-19 Thread luigi scarso
On Tue, Sep 20, 2011 at 4:08 AM, Yue Wang wrote: > Hi, powerful context users: > > I'm wondering why there is no crop setting for \externalfigure or > \insertpages. > I have a lot of scanned books in PDF format, most of them are double sided. > I want to read them on kindle but the huge margins t

Re: [NTG-context] crop PDF pages

2011-09-19 Thread Henning Hraban Ramm
Am 2011-09-20 um 04:08 schrieb Yue Wang: Hi, powerful context users: I'm wondering why there is no crop setting for \externalfigure or \insertpages. I have a lot of scanned books in PDF format, most of them are double sided. I want to read them on kindle but the huge margins take too much

[NTG-context] crop PDF pages

2011-09-19 Thread Yue Wang
Hi, powerful context users: I'm wondering why there is no crop setting for \externalfigure or \insertpages. I have a lot of scanned books in PDF format, most of them are double sided. I want to read them on kindle but the huge margins take too much space and as a result the texts are too small. I

[NTG-context] Footnote numbering delimeter

2011-09-19 Thread Kip Warner
Hey folks, How do I ensure that when a sentence has more than one footnote at the same place, that those numbers above the sentence are separated with a comma? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This i

Re: [NTG-context] metafun shared code

2011-09-19 Thread Marcin Borkowski
Dnia 2011-09-19, o godz. 17:43:29 Aditya Mahajan napisał(a): > On Mon, 19 Sep 2011, Marcin Borkowski wrote: > > > Dnia 2011-09-19, pon o godzinie 11:19 -0400, Aditya Mahajan pisze: > >> On Mon, 19 Sep 2011, Marcin Borkowski wrote: > >> > >>> I'd like to have some MP code shared between unique gr

Re: [NTG-context] Console Verbosity & Optimized Output Generation

2011-09-19 Thread Kip Warner
On Fri, 2011-09-16 at 14:23 +0200, Wolfgang Schuster wrote: > Separate you document in components and process only the component your > working on, this is faster then the whole book (product). I've done that already. The whole book is one product, but each chapter is its own component. When one c

Re: [NTG-context] Console Verbosity & Optimized Output Generation

2011-09-19 Thread Kip Warner
On Fri, 2011-09-16 at 19:01 +0200, Hans Hagen wrote: > there's also also --directives=logs.blocked,system.nostatistics Tried that and didn't seem to make any difference. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Descripti

Re: [NTG-context] Console Verbosity & Optimized Output Generation

2011-09-19 Thread Kip Warner
On Sat, 2011-09-17 at 09:47 +0200, Hans Hagen wrote: > just runt with > > context ... > void.log But then I won't even see errors. If I try just... $ context 1> /dev/null I still see no errors when there are some. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred htt

Re: [NTG-context] metafun shared code

2011-09-19 Thread Aditya Mahajan
On Mon, 19 Sep 2011, Marcin Borkowski wrote: Dnia 2011-09-19, pon o godzinie 11:19 -0400, Aditya Mahajan pisze: On Mon, 19 Sep 2011, Marcin Borkowski wrote: I'd like to have some MP code shared between unique graphics (in MkIV). One example: I'd like to have drawoptions for all graphics.

Re: [NTG-context] problem with letter module

2011-09-19 Thread Henning Hraban Ramm
Am 2011-09-19 um 22:02 schrieb Wolfgang Schuster: And now? Will you reinstate it? Must Wolfgang change his code? Should I investigate further? I uploaded a new version. Dankeschön! My invoices compile again, so I won't starve next month. Greetlings from Lake Constance! Hraban --- http://ww

Re: [NTG-context] problem with letter module

2011-09-19 Thread Wolfgang Schuster
Am 19.09.2011 um 14:13 schrieb Henning Hraban Ramm: > > Am 2011-09-19 um 12:35 schrieb Hans Hagen: >>> system > tex > error on line 272 in file invoicesetup.tex: Undefined >>> control sequence ... >>> >>> \dodododosetupcorrespondencelayer ...sname \@EAEA >> >> interesting .. I removed that one

Re: [NTG-context] metafun shared code

2011-09-19 Thread Marcin Borkowski
Dnia 2011-09-19, pon o godzinie 11:19 -0400, Aditya Mahajan pisze: > On Mon, 19 Sep 2011, Marcin Borkowski wrote: > > > I'd like to have some MP code shared between unique graphics (in MkIV). > > > > One example: I'd like to have drawoptions for all graphics. > > \startMPinclusions >drawopti

Re: [NTG-context] metafun shared code

2011-09-19 Thread Peter Rolf
Am 19.09.2011 17:01, schrieb Marcin Borkowski: > Hi all, > > I'd like to have some MP code shared between unique graphics (in MkIV). > > One example: I'd like to have drawoptions for all graphics. > > Another one: I'd like to have two similar (but different) unique > graphics, and I'd like them

Re: [NTG-context] metafun shared code

2011-09-19 Thread Meer, H. van der
I am using code between \startMPinclusions .. \stopMPinclusions while later additions can be accumulated with \startMPinclusions[+] .. \stopMPinclusions Hans van der Meer On 19 sep. 2011, at 17:01, Marcin Borkowski wrote: > Hi all, > > I'd like to have some MP code shared between unique graphi

Re: [NTG-context] metafun shared code

2011-09-19 Thread Aditya Mahajan
On Mon, 19 Sep 2011, Marcin Borkowski wrote: I'd like to have some MP code shared between unique graphics (in MkIV). One example: I'd like to have drawoptions for all graphics. \startMPinclusions drawoptions(...) ; \stopMPinclusions Another one: I'd like to have two similar (but differen

[NTG-context] metafun shared code

2011-09-19 Thread Marcin Borkowski
Hi all, I'd like to have some MP code shared between unique graphics (in MkIV). One example: I'd like to have drawoptions for all graphics. Another one: I'd like to have two similar (but different) unique graphics, and I'd like them to share some code. How to do these two things? Best -- Ma

Re: [NTG-context] Disabling specific ligatures

2011-09-19 Thread Aditya Mahajan
On Sun, 18 Sep 2011, Wolfgang Schuster wrote: Am 18.09.2011 um 03:13 schrieb Aditya Mahajan: On Sun, 18 Sep 2011, Khaled Hosny wrote: On Sat, Sep 17, 2011 at 08:02:43PM -0400, Aditya Mahajan wrote: In MkII, one can disable ligatures by inserting {} at the appropriate place. For example `se

Re: [NTG-context] sizing MPpage

2011-09-19 Thread Meer, H. van der
Thanks, This does the trick for me. Hans van der Meer On 19 sep. 2011, at 15:49, Aditya Mahajan wrote: > On Mon, 19 Sep 2011, Meer, H. van der wrote: > >> How can one set the size of a \startMPpage..\stopMPpage generated picture. >> For example forcing its dimensions to 5X4cm. Or better still,

Re: [NTG-context] \setupcaptions hangs

2011-09-19 Thread Aditya Mahajan
On Mon, 19 Sep 2011, Hans Hagen wrote: On 19-9-2011 09:10, Wolfgang Schuster wrote: - \let\currenfloat\currentcaption + \let\currenfloat\currentfloatcaption + \let\currentfloat\currentfloatcaption Thanks. Aditya __

Re: [NTG-context] Multipages registers

2011-09-19 Thread Aditya Mahajan
I want to use the following macro taken from the ConTeXt garden : \define[1]\SlideTitle{\framed[height=1.5\lineheight,frame=off, bottomframe=on, topframe=on, width=broad]{\leftaligned{\tfb \chapter {#1}}\pagenumber}} Ouch. There is no need to resort to such macros. A nicer definition will b

Re: [NTG-context] sizing MPpage

2011-09-19 Thread Aditya Mahajan
On Mon, 19 Sep 2011, Meer, H. van der wrote: How can one set the size of a \startMPpage..\stopMPpage generated picture. For example forcing its dimensions to 5X4cm. Or better still, derived from variables in the code. Add something like setbounds currentpicture to (fullsquare xyscaled (5cm,4

Re: [NTG-context] MetaPost visibly drawing at 0pt

2011-09-19 Thread Peter Rolf
Am 19.09.2011 14:31, schrieb Meer, H. van der: > I used to put an invisible frame around figures in MetaPost by setting a pen > scaled at 0pt. That left no trace, but defined the area. > However I (now) see a thin line drawn by code: > > pickup pencircle scaled 0pt; > draw origi

[NTG-context] sizing MPpage

2011-09-19 Thread Meer, H. van der
How can one set the size of a \startMPpage..\stopMPpage generated picture. For example forcing its dimensions to 5X4cm. Or better still, derived from variables in the code. Hans van der Meer ___ If your question is

[NTG-context] MetaPost visibly drawing at 0pt

2011-09-19 Thread Meer, H. van der
I used to put an invisible frame around figures in MetaPost by setting a pen scaled at 0pt. That left no trace, but defined the area. However I (now) see a thin line drawn by code: pickup pencircle scaled 0pt; draw origin--(w,h); Did I always mis this or has something cha

Re: [NTG-context] Tikz and \color

2011-09-19 Thread Felix Ingram
Excellent. Thanks Hans - that works brilliantly. However, it's now made me realise that I'm using movesidefloat incorrectly! (need to float something higher than the start of the paragraph). Back to the details manual! Thanks again, Felix On 19 September 2011 12:41, Hans Hagen wrote: > On 19

Re: [NTG-context] problem with letter module

2011-09-19 Thread Henning Hraban Ramm
Am 2011-09-19 um 12:35 schrieb Hans Hagen: system > tex > error on line 272 in file invoicesetup.tex: Undefined control sequence ... \dodododosetupcorrespondencelayer ...sname \@EAEA interesting .. I removed that one (could not find any usage) And now? Will you reinstate it? Must Wolfgang c

Re: [NTG-context] IPA symbols in MKIV

2011-09-19 Thread Hans Hagen
On 19-9-2011 11:56, Otso Helenius wrote: Hello, I'm having a trouble getting IPA symbols to show up with MKIV. I've read through the old threads about using IPA, and it seems there is no module like tipa for ConTeXt for easy input. I've tried also using SIL Gentium as the main font and entering

Re: [NTG-context] Tikz and \color

2011-09-19 Thread Hans Hagen
On 19-9-2011 13:10, Felix Ingram wrote: Hello all, I'm using Tikz to draw some fancy text boxes, but I've bumped into an annoying problem. If you run the example below then the body text will be rendered in red. If you remove the "REMOVE ME" text, then it will be rendered in black. I would expec

[NTG-context] Tikz and \color

2011-09-19 Thread Felix Ingram
Hello all, I'm using Tikz to draw some fancy text boxes, but I've bumped into an annoying problem. If you run the example below then the body text will be rendered in red. If you remove the "REMOVE ME" text, then it will be rendered in black. I would expect the black version to be the correct vers

Re: [NTG-context] problem with letter module

2011-09-19 Thread Hans Hagen
On 19-9-2011 10:41, Henning Hraban Ramm wrote: Hello Wolfgang, with the latest beta I get a problem with your letter module. If this error message is not enough, I can investigate further later today. This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277) \write18 enabled. ConTeXt ver: 2011.

Re: [NTG-context] \setupcaptions hangs

2011-09-19 Thread Hans Hagen
On 19-9-2011 09:10, Wolfgang Schuster wrote: - \let\currenfloat\currentcaption + \let\currenfloat\currentfloatcaption > + \let\currentfloat\currentfloatcaption - Hans Hagen | PRAGMA

Re: [NTG-context] \setupcaptions hangs

2011-09-19 Thread Hans Hagen
On 19-9-2011 03:42, Aditya Mahajan wrote: Hi, \setupcaptions[width=\textwidth] hangs with an infinite loop. fixed (we noticed it here too) Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] \startstaticMPfigure

2011-09-19 Thread Peter Rolf
Am 19.09.2011 11:17, schrieb Meer, H. van der: >>From the Wiki I learn about \startstaticMPfigure that it "creates a separate >>pdf file containing the graphic". But when I exercise the example given I do >>not see those staticMPfigure's in sepaarte pdf's. What am I missing? I >>thought to use t

[NTG-context] IPA symbols in MKIV

2011-09-19 Thread Otso Helenius
Hello, I'm having a trouble getting IPA symbols to show up with MKIV. I've read through the old threads about using IPA, and it seems there is no module like tipa for ConTeXt for easy input. I've tried also using SIL Gentium as the main font and entering the IPA symbols directly as UTF-8, bu

[NTG-context] \startstaticMPfigure

2011-09-19 Thread Meer, H. van der
>From the Wiki I learn about \startstaticMPfigure that it "creates a separate >pdf file containing the graphic". But when I exercise the example given I do >not see those staticMPfigure's in sepaarte pdf's. What am I missing? I thought >to use this for generating a series of separate pdf's, to b

[NTG-context] problem with letter module

2011-09-19 Thread Henning Hraban Ramm
Hello Wolfgang, with the latest beta I get a problem with your letter module. If this error message is not enough, I can investigate further later today. This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277) \write18 enabled. ConTeXt ver: 2011.09.18 22:35 MKIV fmt: 2011.9.19 int: en

Re: [NTG-context] \setupcaptions hangs

2011-09-19 Thread Wolfgang Schuster
Am 19.09.2011 um 03:42 schrieb Aditya Mahajan: > Hi, > > \setupcaptions[width=\textwidth] > > hangs with an infinite loop. The following let you compile your document but captions are missing, it’s something for Hans to fix. str-flt.mkiv %D Individial settings: -\presetstructurecounterset