[NTG-context] typefile behaviour

2010-06-22 Thread Gery Debongnie
Dear ConTeXt list, I encountered a weird behaviour while using typefile. Here is a minimal example, to illustrate what I am saying. We have two files, test.txt and test.tex, respectively (between the -). - 1 2 3 4 5 --- \setuptyping [before={\start

Re: [NTG-context] Testing non-existent counter in Lua

2010-06-22 Thread Jaroslav Hajtmar
Thanx Taco, can I learn about these things somewhere read more? I tried luatexref-t.pdf and I didnt in fact guided. Thanx Jaroslav Dne 22.6.2010 7:55, Taco Hoekwater napsal(a): Jaroslav Hajtmar wrote: Hi, all. How do I know (due Lua) that the counter has not been defined in ConTeXt (throu

Re: [NTG-context] Omitting hyphenation

2010-06-22 Thread Marco
On Mon, 21 Jun 2010 20:03:22 +0200, Wolfgang Schuster wrote: [...] > \starttext > \dontleavehmode\hbox{test} text text > \blank > \mbox{test} text text > \stoptext What about using |test|? Marco ___ If your questio

Re: [NTG-context] Testing non-existent counter in Lua

2010-06-22 Thread Taco Hoekwater
Jaroslav Hajtmar wrote: Hi, all. How do I know (due Lua) that the counter has not been defined in ConTeXt (through the command newcount)? I am trying testing : if tex.count.mycount == nil then... or if tex.count.mycount == 'error' then... then when counter isnt defined due \newcount\mycou

Re: [NTG-context] Omitting hyphenation

2010-06-22 Thread Hans Hagen
On 21-6-2010 10:16, Wolfgang Schuster wrote: \unexpanded\def\mbox {\ifmmode\normalmbox\else\dontleavehmode\normalhbox\fi} as i never use this command it won't break my documents -) thanks, this looks good in retrospect it's tricky ... \setbox0\mbox{...} will break then --

Re: [NTG-context] \writetolist fails in footnotes when interaction is on

2010-06-22 Thread Hans Hagen
On 21-6-2010 7:11, Michael Saunders wrote: \setupinteraction[state=start,color=,contrastcolor=,option=fit] \definelabel[demonum][text=,before=,after=,way=bytext] \definelist[demos] \setuplist[demos][interaction=all,alternative=b,after=] \starttext \footnote{\writetolist[demos]{\nextdemonum}{de

Re: [NTG-context] Omitting hyphenation

2010-06-22 Thread Hans Hagen
On 21-6-2010 10:22, Wolfgang Schuster wrote: Am 21.06.10 22:00, schrieb Hans Hagen: Wolfgang (who wonders why there is no context alternative for \hyphenation) so there is room for improvements \starttext \dorecurse{50}{\kern\recurselevel\dimexpr.2pt\relax {\nohyphens nothyphenatedword}, hyph

[NTG-context] problem with \setcharacterspacing

2010-06-22 Thread Peter Münster
Hello, The setting is lost in the header: \setcharacterspacing[frenchpunctuation] \setupheadertexts[bla: bla] \starttext bla: bla \stoptext Workaround: \setupheadertexts[{\setcharacterspacing[frenchpunctuation]bla: bla}] Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___

Re: [NTG-context] Testing non-existent counter in Lua

2010-06-22 Thread Taco Hoekwater
Jaroslav Hajtmar wrote: > Thanx Taco, > can I learn about these things somewhere read more? I tried > luatexref-t.pdf and I didnt in fact guided. It is in there, but as it goes in reference manuals, you have to know what to look for. At this moment, there are no tutorials or something like that

Re: [NTG-context] Omitting hyphenation

2010-06-22 Thread Wolfgang Schuster
Am 22.06.10 09:18, schrieb Hans Hagen: On 21-6-2010 10:22, Wolfgang Schuster wrote: Am 21.06.10 22:00, schrieb Hans Hagen: Wolfgang (who wonders why there is no context alternative for \hyphenation) so there is room for improvements \starttext \dorecurse{50}{\kern\recurselevel\dimexpr.2pt\re

Re: [NTG-context] Omitting hyphenation

2010-06-22 Thread Wolfgang Schuster
Am 22.06.10 09:10, schrieb Hans Hagen: On 21-6-2010 10:16, Wolfgang Schuster wrote: \unexpanded\def\mbox {\ifmmode\normalmbox\else\dontleavehmode\normalhbox\fi} as i never use this command it won't break my documents -) thanks, this looks good in retrospect it's tricky ... \setbox0\mbox{.

[NTG-context] \setcharacterspacing[frenchpunctuation] in mkiv

2010-06-22 Thread Otared Kavian
Hi Hans, and all gurus, I noticed that the mkiv command \setcharacterspacing[frenchpunctuation] influences even the \type environment: is this behavior wanted or is it a side effect? Have a look at the following example in which \type{http://wiki.contextgarden.net} results in a space between «

[NTG-context] Wrong typesetting of "pages" in AMS-style publication list

2010-06-22 Thread Stefan Müller
Hi, I've encountered an issue with the AMS-style publication list (Mark IV). When the bibliography items in my document are typeset in the publication list, the attribute "pages" (from the .bib file; a range of pages is specified, e.g. "pages = {12--34}") is sometimes preceded by "p." (e.g. fo

Re: [NTG-context] Wrong typesetting of "pages" in AMS-style publication list

2010-06-22 Thread Taco Hoekwater
Stefan Müller wrote: > Hi, > > I've encountered an issue with the AMS-style publication list (Mark > IV). When the bibliography items in my document are typeset in the > publication list, the attribute "pages" (from the .bib file; a range > of pages is specified, e.g. "pages = {12--34}") is som

Re: [NTG-context] \setcharacterspacing[frenchpunctuation] in mkiv

2010-06-22 Thread Peter Münster
On Tue, Jun 22 2010, Otared Kavian wrote: > I noticed that the mkiv command > \setcharacterspacing[frenchpunctuation] > influences even the \type environment: is this behavior wanted or is it a > side effect? Hello, I don't know, but I have these line in most of my environments: \setuptype[sty

Re: [NTG-context] \setcharacterspacing[frenchpunctuation] in mkiv

2010-06-22 Thread Otared Kavian
Hi Peter, Many thanks for your hint: indeed you had the solution! Best regards: OK On 22 juin 2010, at 19:18, Peter Münster wrote: > > Hello, > > I don't know, but I have these line in most of my environments: > > \setuptype[style={\setcharacterspacing[reset]\tt}] > \setuptyping[style={\setch

[NTG-context] [OT][Fwd: Re: Proposal of a new Q&A site centered on Latex]

2010-06-22 Thread Taco Hoekwater
Well, nearly off-topic, at least. But it is an interesting idea. Best wishes, Taco Original Message Subject: Re: Proposal of a new Q&A site centered on Latex Date: Tue, 22 Jun 2010 03:53:00 -0700 (PDT) From: Julián Lamas Organization: http://groups.google.com Newsgroups: comp.

Re: [NTG-context] [OT][Fwd: Re: Proposal of a new Q&A site centered on Latex]

2010-06-22 Thread Mojca Miklavec
On Tue, Jun 22, 2010 at 20:57, Taco Hoekwater wrote: > > Well, nearly off-topic, at least. But it is an interesting idea. First off-topic question: Do you know a good place to buy latex clothing [products]? First on-topic question: Why do we need [to] \protect? This will rate as x-page on search

Re: [NTG-context] [OT][Fwd: Re: Proposal of a new Q&A site centered on Latex]

2010-06-22 Thread Martin Schröder
2010/6/22 Mojca Miklavec : > First off-topic question: Do you know a good place to buy latex > clothing [products]? http://www.getdigital.de/products/Latex :-) Best Martin ___ If your question is of interest to oth

Re: [NTG-context] Wrong typesetting of "pages" in AMS-style, publication list

2010-06-22 Thread Warrence
Taco Hoekwater wrote: Stefan M?ller wrote: > Hi, > > I've encountered an issue with the AMS-style publication list (Mark > IV). When the bibliography items in my document are typeset in the > publication list, the attribute "pages" (from the .bib file; a range > of pages is specified, e.g.

Re: [NTG-context] blurred shadow on images?

2010-06-22 Thread Henning Hraban Ramm
Am 2010-06-21 um 08:42 schrieb Taco Hoekwater: Henning Hraban Ramm wrote: I'd like to place some plain photos rotated (say 12°) and with a blurred shadow above some colored elements, i.e. the shadow must use transparency. I guess I could get such using ImageMagick, but is there a possibili

[NTG-context] textbackground and protrusion

2010-06-22 Thread Paul Schalck
Hi! Currently (Context beta 2010-06-20 / Luatex 0.60.1), textbackground and protrusion don't work together. Here's a little test file: --- \showframe \definefontfeature[test][mode=node,script=latn,kern=yes,trep=yes,tlig=yes,protrusion=quality] \definetextbackground[MyTextbackground

[NTG-context] textbackground and protrusion (update)

2010-06-22 Thread Paul Schalck
It seems that the typographical quotation marks got lost in my test file. It has thus become pretty much useless. Just enter some other character instead to make protrusion visible. ___ If your question is of inter