Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Taco Hoekwater
Alan BRASLAU wrote: Maybe unrelated, but maybe a luatex error as well: transparency seems to work correctly when viewed with okular (same library as evince) but not when view with acroread, (including the windows version). What is 'not'? If you means that the rest of the page looks crappy,

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Taco Hoekwater
Thomas A. Schmitz wrote: On Nov 25, 2009, at 8:15 AM, luigi scarso wrote: 1. In evince under linux, the file looked fine, no problems were apparent. what about xpdf and ghostscript? Can you also try with mupdf ? mupdf quite often crashes on completely valid pdf documents, effectively making

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread luigi scarso
On Wed, Nov 25, 2009 at 8:48 AM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On Nov 25, 2009, at 8:15 AM, luigi scarso wrote: 1. In evince under linux, the file looked fine, no problems were apparent. what about xpdf and ghostscript? Can you also try with mupdf ? That wasn't the

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread luigi scarso
ah I've seen it just now On Wed, Nov 25, 2009 at 9:40 AM, Taco Hoekwater t...@elvenkind.com wrote: mupdf quite often crashes on completely valid pdf documents, effectively making it useless in practice. hm bad news, What's worse: those bugs are hard to fix because some really bad

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Taco Hoekwater
luigi scarso wrote: ah I've seen it just now On Wed, Nov 25, 2009 at 9:40 AM, Taco Hoekwater t...@elvenkind.com wrote: mupdf quite often crashes on completely valid pdf documents, effectively making it useless in practice. hm bad news, What's worse: those bugs are hard to fix because some

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread luigi scarso
On Wed, Nov 25, 2009 at 10:00 AM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: Using the C stack for recursion is the main problem. Pdfs with a large number of objects (annots) are likely to exhaust the stack, resulting in a hard crash of mupdf. can we make a good pdf with

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Hans Hagen
Thomas A. Schmitz wrote: On Nov 25, 2009, at 8:15 AM, luigi scarso wrote: 1. In evince under linux, the file looked fine, no problems were apparent. what about xpdf and ghostscript? Can you also try with mupdf ? That wasn't the point, I was not trying to give a comparative table of

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Hans Hagen
Thomas A. Schmitz wrote: On Nov 22, 2009, at 10:19 PM, Hans Hagen wrote: that line says data_state = resolvers.data_state(), so resolvers has no data_state entry which in turn means that you run an old mtxrun, so maybe you need top copy mtxrun.lua manually to where it currently sits

Re: [NTG-context] first-setup.sh on MacOSX problem...

2009-11-25 Thread Mojca Miklavec
On Tue, Nov 24, 2009 at 15:24, Bernhard Rosensteiner wrote: Hello all, after my new OSX installation i did first-setup.sh as always but now i get: This is LuaTeX, Version beta-0.40.6-2009100310 (TeX Live 2009) (INITEX)  \write18 enabled.

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Taco Hoekwater
luigi scarso wrote: On Wed, Nov 25, 2009 at 10:00 AM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: Using the C stack for recursion is the main problem. Pdfs with a large number of objects (annots) are likely to exhaust the stack, resulting in a hard crash of mupdf. can we make

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Alan BRASLAU
On Wednesday 25 November 2009 09:54:36 luigi scarso wrote: That wasn't the point, I was not trying to give a comparative table of pdf-viewers. luatex was buggy, but some viewers displayed the pdf nonetheless. Doesn't make sense to test a dozen viewers because next time around, the subset

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Hans Hagen
Alan BRASLAU wrote: On Wednesday 25 November 2009 09:54:36 luigi scarso wrote: That wasn't the point, I was not trying to give a comparative table of pdf-viewers. luatex was buggy, but some viewers displayed the pdf nonetheless. Doesn't make sense to test a dozen viewers because next time

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Alan BRASLAU
On Wednesday 25 November 2009 09:37:11 Taco Hoekwater wrote: Alan BRASLAU wrote: Maybe unrelated, but maybe a luatex error as well: transparency seems to work correctly when viewed with okular (same library as evince) but not when view with acroread, (including the windows version).

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Taco Hoekwater
Alan BRASLAU wrote: On Wednesday 25 November 2009 09:37:11 Taco Hoekwater wrote: Alan BRASLAU wrote: Maybe unrelated, but maybe a luatex error as well: transparency seems to work correctly when viewed with okular (same library as evince) but not when view with acroread, (including the windows

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread luigi scarso
On Wed, Nov 25, 2009 at 11:59 AM, Alan BRASLAU alan.bras...@cea.fr wrote: On Wednesday 25 November 2009 09:54:36 luigi scarso wrote: Not dozen, only   2~3 but code independent .My choices are 1) xpdf (same codebase of luatex) I understood that xpdf has been replaced by poppler, a rewritten PDF

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Martin Schröder
2009/11/25 Alan BRASLAU alan.bras...@cea.fr: If this is different from the codebase used by luatex, should luatex eventually be migrated to popplar? Yes, and you can already compile luatex with poppler (texlive does that). For more see my talk at EuroTeX 2009:

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Hans Hagen
Alan BRASLAU wrote: On Wednesday 25 November 2009 09:37:11 Taco Hoekwater wrote: Alan BRASLAU wrote: Maybe unrelated, but maybe a luatex error as well: transparency seems to work correctly when viewed with okular (same library as evince) but not when view with acroread, (including the windows

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Hans Hagen
Alan BRASLAU wrote: On Wednesday 25 November 2009 09:37:11 Taco Hoekwater wrote: Alan BRASLAU wrote: Maybe unrelated, but maybe a luatex error as well: transparency seems to work correctly when viewed with okular (same library as evince) but not when view with acroread, (including the windows

[NTG-context] hyphenation problem using |-| in composed words -- bug?

2009-11-25 Thread Oliver Heins
Hi, when using |-| in a word as a non exclusive dash, this produces wrong hyphenation. For example, the word »longer-word-to-be-hyphenated« should be hyphenated e.g. like this: longer- word- to- be- hy- phen- ated but actually it is hyphenated like this: longer -word -to -be -hy- phen- ated

[NTG-context] Problem with font mapping

2009-11-25 Thread Mika Ritola
Hello again, I seem to be running into all sorts of font problems. Now my document has suddenly turned bold. For example, running the following code results in Test. being rendered in bold characters. \usemodule[simplefonts] \setmainfont[Adobe Garamond Pro] \starttext Test. \stoptext Running

Re: [NTG-context] Metapost - Seems like weird behavior. Is it a bug?

2009-11-25 Thread Curiouslearn
Taco, thanks for the suggestions. I will try using intersectiontimes. It would be great if, as you said, this is solved with Metapost 2.0. Any idea when that version is coming out? Thanks. On Wed, Nov 25, 2009 at 2:47 AM, Taco Hoekwater t...@elvenkind.com wrote: Taco Hoekwater wrote: The

Re: [NTG-context] Problem with font mapping

2009-11-25 Thread Hans Hagen
Mika Ritola wrote: Hello again, I seem to be running into all sorts of font problems. Now my document has suddenly turned bold. For example, running the following code results in Test. being rendered in bold characters. \usemodule[simplefonts] \setmainfont[Adobe Garamond Pro] \starttext

Re: [NTG-context] Metapost - Seems like weird behavior. Is it a bug?

2009-11-25 Thread Taco Hoekwater
Curiouslearn wrote: Taco, thanks for the suggestions. I will try using intersectiontimes. It would be great if, as you said, this is solved with Metapost 2.0. Any idea when that version is coming out? Next summer

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread luigi scarso
On Wed, Nov 25, 2009 at 11:02 AM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: can we make a good pdf with luatex to check this ? I don't see why not, but I'll pass. I have enough to do already. Maybe something like this %\pdfcompresslevel0 %\pdfobjcompresslevel0

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread luigi scarso
On Wed, Nov 25, 2009 at 12:09 PM, Alan BRASLAU alan.bras...@cea.fr wrote: No transparancy, or perhaps total transparancy, my test cannot tell as I am using transparancy in metafun to produce a gradient from .5white to black. Printing the page under acroread then hangs. Alan P.S. looks OK

Re: [NTG-context] hyphenation problem using |-| in composed words -- bug?

2009-11-25 Thread Oliver Heins
To comment on myself: Oliver Heins o...@sopos.org writes: Hi, when using |-| in a word as a non exclusive dash, this produces wrong hyphenation. [...] longer -word -to -be -hy- phen- ated This is a workaround: \definetextmodediscretionary {-}

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Hans Hagen
luigi scarso wrote: On Wed, Nov 25, 2009 at 12:09 PM, Alan BRASLAU alan.bras...@cea.fr wrote: No transparancy, or perhaps total transparancy, my test cannot tell as I am using transparancy in metafun to produce a gradient from .5white to black. Printing the page under acroread then hangs.

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Taco Hoekwater
Hans Hagen wrote: luigi scarso wrote: On Wed, Nov 25, 2009 at 12:09 PM, Alan BRASLAU alan.bras...@cea.fr wrote: No transparancy, or perhaps total transparancy, my test cannot tell as I am using transparancy in metafun to produce a gradient from .5white to black. Printing the page under

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread Hans Hagen
Taco Hoekwater wrote: Same here. And actually, xpdf often does a better job than acroread (I suspect that the implementation of the colormodel AR switches to in that case is less-than-perfect) also, acrobat has this 'simulate paper' mechanism that influences the rendering Hans

Re: [NTG-context] Problem with font mapping

2009-11-25 Thread Mika Ritola
2009/11/25 Hans Hagen pra...@wxs.nl Mika Ritola wrote: Hello again, I seem to be running into all sorts of font problems. Now my document has suddenly turned bold. For example, running the following code results in Test. being rendered in bold characters. \usemodule[simplefonts]

Re: [NTG-context] font-syn.lua error

2009-11-25 Thread luigi scarso
On Wed, Nov 25, 2009 at 7:18 PM, Taco Hoekwater t...@elvenkind.com wrote: I believe it is safe to say that that rendering is quite wrong. ;) The problem is that pratically this pdf is wrong because Acroread is not able to print. AR also shows something different from xpdf , gs shows the same

Re: [NTG-context] How to show footer only with chapter head

2009-11-25 Thread Willi Egger
Hi Elliot, Please look into the big ConTeXt manual on page 81: Suppose that a default setup looks like this: \setupheadertexts[pagenumber] \setupfootertexts[chapter][paragraph] At the first page of new chapters this may look not too good. Therefore we could state:

[NTG-context] Layout - once again!

2009-11-25 Thread Curiouslearn
Why does the following does not center the text? I am choosing a letter size paper which is 8.5 inches wide. I have both margins at 1.5in and all other distances equal to 0 in. Should the text be not centered. Thanks. \setuppapersize[letter][letter]

Re: [NTG-context] Layout - once again!

2009-11-25 Thread Mojca Miklavec
On Thu, Nov 26, 2009 at 05:19, Curiouslearn wrote: Why does the following does not center the text? I am choosing a letter size paper which is 8.5 inches wide. I have both margins at 1.5in That's width of box called margin (the one where you put side notes etc). You need to set backspace=1.5in

Re: [NTG-context] hyphenation problem using |-| in composed words -- bug?

2009-11-25 Thread Taco Hoekwater
Hi olli, Oliver Heins wrote: To comment on myself: Oliver Heins o...@sopos.org writes: Hi, when using |-| in a word as a non exclusive dash, this produces wrong hyphenation. Verified. Same problems here, in both mkii and mkiv. Best wishes, Taco