Re: [NTG-context] Captials in section head

2010-05-06 Thread Carsten Fechtmann
Is there also a way how to achieve this in MkII ? (other than by hand) Cheers Carsten Am 04.06.2009 um 16:34 schrieb richard.steph...@converteam.com: Am 04.06.2009 um 14:56 schrieb richard.steph...@converteam.com: I need all section heads to be in full-size capitals, so I tried:

Re: [NTG-context] Captials in section head

2010-05-06 Thread Marius
Try \uppercased instead of \uppercase (Just guess, untested) On Wed, May 5, 2010 at 4:22 PM, Carsten Fechtmann carsten.fechtm...@zarm.uni-bremen.de wrote: Is there also a way how to achieve this in MkII ? (other than by hand) Cheers Carsten Am 04.06.2009 um 16:34 schrieb

Re: [NTG-context] Captials in section head

2010-05-06 Thread Wolfgang Schuster
Am 05.05.10 15:22, schrieb Carsten Fechtmann: Is there also a way how to achieve this in MkII ? (other than by hand) \setuphead[...][deeptextcommand=\WORD] Wolfgang ___ If your question is of interest to

Re: [NTG-context] strange page break

2010-05-06 Thread Peter Münster
On Wed, May 05 2010, Wolfgang Schuster wrote: The *strict prevents widows and orphans (comment \setuplayout in this example) but the important setting here is \setupalign[line]. Hello Wolfgang, I know that \setupalign[line] means: last line should touch the bottom. It can be useful, but

Re: [NTG-context] strange page break

2010-05-06 Thread Otared Kavian
Hi Peter, I had noticed such strange page breaks before and since it was always in small documents (maths problem sheets), I used an elementary workaround which consists in adding a \medskip or \smallskip before every \section. Actually analogous bad page breaks happen in Plain TeX with

Re: [NTG-context] strange page break

2010-05-06 Thread Wolfgang Schuster
Am 06.05.10 10:46, schrieb Otared Kavian: Hi Peter, I had noticed such strange page breaks before and since it was always in small documents (maths problem sheets), I used an elementary workaround which consists in adding a \medskip or \smallskip before every \section. Actually analogous bad

Re: [NTG-context] Article titles not capitalized in bibliography

2010-05-06 Thread Taco Hoekwater
Tom wrote: Book titles retain proper capitalization from the .bib file but articles from periodicals do not. Only the first word of an article title is capitalized in the .bbl file. Even proper names in titles lose their capitalization. Is there an option that needs to be set to cause article

Re: [NTG-context] strange page break

2010-05-06 Thread Otared Kavian
On 6 mai 2010, at 11:13, Wolfgang Schuster wrote: Am 06.05.10 10:46, schrieb Otared Kavian: Hi Peter, I had noticed such strange page breaks before and since it was always in small documents (maths problem sheets), I used an elementary workaround which consists in adding a \medskip or

Re: [NTG-context] strange page break

2010-05-06 Thread Peter Münster
On Thu, May 06 2010, Wolfgang Schuster wrote: \setuphead[section][before={\allowbreak\blank[2*big]}] Thanks for this workaround! The problem is indeed that ConTeXt tries to keep the header and the material before the header together And does this make sense? Keeping header and the material

Re: [NTG-context] tooltips and glossary

2010-05-06 Thread Hans Hagen
On 4-5-2010 11:44, Michael Saunders wrote: Thanks, but that looks like it's just some extracts from cont-eni translated from Engijsh into Engrish along with a distracting background that makes it hard to read. The stuff about the not very useful abbreviation command is there again, but I'm

Re: [NTG-context] \installlanguage questions

2010-05-06 Thread Taco Hoekwater
Tomáš Pustelník wrote: Hello, I have few questions about command \installlanguage. First, in file lang-ini is command \setuplanguage for default language. It has parameters lefthyphen, righthyphen and hyphen. I would like to ask if these parameters can be used in command \installlanguage or not

Re: [NTG-context] strange page break

2010-05-06 Thread Hans Hagen
On 6-5-2010 11:33, Otared Kavian wrote: On 6 mai 2010, at 11:13, Wolfgang Schuster wrote: Am 06.05.10 10:46, schrieb Otared Kavian: Hi Peter, I had noticed such strange page breaks before and since it was always in small documents (maths problem sheets), I used an elementary workaround

Re: [NTG-context] tooltips and glossary

2010-05-06 Thread Taco Hoekwater
Just being helpful here: Hans Hagen wrote: Aangezien een antwoord in het engels voor jou meer vragen oproept dan antwoorden, reageer ik maar even in het Nederlands. Wellicht dat de google translator je een perfecte vertaling oplevert. Since an answer in English you calls more questions

[NTG-context] TeX comments in Lua strings - message: Undefined control sequence

2010-05-06 Thread Jaroslav Hajtmar
Hello, Is there any possibility use TeX comments (text behind character %) in Lua strings? When I use comment char % inside luastring, then rest of string (i.e. next TeX definitions) are for TeX invisible. For example: When I make string : TeXDefsByLua=[[ \def\printline{

Re: [NTG-context] strange page break

2010-05-06 Thread Peter Münster
On Thu, May 06 2010, Hans Hagen wrote: \setuphead[section][before={\allowbreak\blank[2*big]}] {\testpage[5]\blank[2*big]} Hello Hans, When you take my example from this morning, then you'll see, that \allowbreak really helps, whereas \testpage[5] only helps in some cases. Cheers, Peter --

Re: [NTG-context] strange page break

2010-05-06 Thread Wolfgang Schuster
Am 06.05.10 12:09, schrieb Peter Münster: On Thu, May 06 2010, Hans Hagen wrote: \setuphead[section][before={\allowbreak\blank[2*big]}] {\testpage[5]\blank[2*big]} Hello Hans, When you take my example from this morning, then you'll see, that \allowbreak really helps,

Re: [NTG-context] tooltips and glossary

2010-05-06 Thread luigi scarso
On Wed, May 5, 2010 at 6:36 AM, Michael Saunders odrad...@gmail.com wrote: About glossaries: Thank you, everyone.  I'm not much of a TeXpert and certainly not a lua expert, but I'm trying to understand your different solutions and integrate them into a working system.  There seem to be three

Re: [NTG-context] strange page break

2010-05-06 Thread Hans Hagen
On 6-5-2010 12:09, Peter Münster wrote: On Thu, May 06 2010, Hans Hagen wrote: \setuphead[section][before={\allowbreak\blank[2*big]}] {\testpage[5]\blank[2*big]} Hello Hans, When you take my example from this morning, then you'll see, that \allowbreak really helps, whereas \testpage[5]

Re: [NTG-context] strange page break

2010-05-06 Thread Peter Münster
On Thu, May 06 2010, Hans Hagen wrote: When you take my example from this morning, then you'll see, that \allowbreak really helps, whereas \testpage[5] only helps in some cases. yes but allowbreak introduces a penalty node that can interfere with spacing Anyway, I don't consider

Re: [NTG-context] tooltips and glossary

2010-05-06 Thread Michael Saunders
Philipp: Thank you---I appreciate your effort on glossarium.lua very much, but I don't want to be dependent on you every time I want to tweek my glossary. I find it difficult to change the appearance and behavior of anything in Context, but I think my chances are better with it than with trying

Re: [NTG-context] strange page break

2010-05-06 Thread Hans Hagen
On 6-5-2010 1:17, Peter Münster wrote: On Thu, May 06 2010, Hans Hagen wrote: When you take my example from this morning, then you'll see, that \allowbreak really helps, whereas \testpage[5] only helps in some cases. yes but allowbreak introduces a penalty node that can interfere with

Re: [NTG-context] tooltips and glossary

2010-05-06 Thread luigi scarso
All along I have been assuming that Context was like LaTeX:  a system for end-users, a language where an author could easily manipulate the appearance of his document.  Apparently, it's more like a supporting infrastructure for that.  Maybe it needs a layer of macros sitting on top of it to

[NTG-context] 4th ConTeXt Meeting, registration call for submissions

2010-05-06 Thread Taco Hoekwater
Early-bird registration (till May 31, 2010) for the 4th ConTeXt Meeting is now open. The 4th ConTeXt Meeting will take place in Brejlov, Czech Republic on September 13-18, 2010. For more information visit: http://meeting.contextgarden.net/2010/ *Call for submissions* As in previous years,

[NTG-context] new issue with page break

2010-05-06 Thread Peter Münster
Hello, IMHO there should never be a page break right *after* a section header, but here it is: \starttext \dorecurse{660}{text } \section{bla} % \par\page[no] % does not help \startTEX bla bla \stopTEX \stoptext My actual work-around: \page before \section{} Is there a better solution? TIA

Re: [NTG-context] new issue with page break

2010-05-06 Thread Hans Hagen
On 6-5-2010 2:39, Peter Münster wrote: Hello, IMHO there should never be a page break right *after* a section header, but here it is: \starttext \dorecurse{660}{text } \section{bla} % \par\page[no] % does not help \startTEX bla bla \stopTEX \stoptext My actual work-around: \page before

Re: [NTG-context] problem with package.path

2010-05-06 Thread Hans Hagen
On 4-5-2010 10:28, Peter Münster wrote: Hello, I need to include lua-modules from different directories, but package.path does not seem to work: \startbuffer[test] bla = nil \stopbuffer \savebuffer[test][../mytest.lua] \starttext \startluacode package.path = ../?.lua;; require(mytest)

Re: [NTG-context] mistake in lang-cjk.mkiv

2010-05-06 Thread Hans Hagen
On 3-5-2010 8:43, Tomáš Pustelník wrote: Hi, I have found a glitch in lang-cjk.mkiv in definition of Japanese language name of days are shifted. It begins at line 136, sunday is actualy monday etc. In source code it looks like that: \setuplabeltext [\s!ja][\v!sunday=月曜日] \setuplabeltext

Re: [NTG-context] \installlanguage questions

2010-05-06 Thread Hans Hagen
On 5-5-2010 3:48, Tomáš Pustelník wrote: Hello, I have few questions about command \installlanguage. First, in file lang-ini is command \setuplanguage for default language. It has parameters lefthyphen, righthyphen and hyphen. I would like to ask if these parameters can be used in command

Re: [NTG-context] [NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII

2010-05-06 Thread Hans Hagen
On 3-5-2010 10:09, Honza Pohanka wrote: Hello, the Storm font support by Vit Zyka is broken in actual version of MKII. I spoke with him, but unfortunately he uses old version and does not have the time for updates. I discovered that renaming the enco-*.tex files to enco-*.mkii solves a part of

Re: [NTG-context] simple bibliography and dots after section numbering

2010-05-06 Thread Rogutės Sparnuotos
Otared Kavian otared at gmail.com writes: On 5 mai 2010, at 09:25, Marius wrote: On Wed, May 5, 2010 at 5:12 AM, rogutes at googlemail.com wrote: 1. How does one add a dot after the numerals in headings, so that \section{First} becomes 1. First instead of 1 First

Re: [NTG-context] simple bibliography and dots after section numbering

2010-05-06 Thread rogutes
rogu...@googlemail.com (2010-05-05 05:12): 2. I would like to use something like this for bibliography: http://wiki.contextgarden.net/Simple_Bibliography#Another_Approach but adapting it seems too hard for me. Perhaps someone could help? A very crude example:

[NTG-context] PPCHTEX with PSTricks option

2010-05-06 Thread Helge Kruse
The minimal example shows diagonal lines. Since the line output of pictex is limited, I would choose PSTricks as output driver for better quality. When I enable the pstricks option, these diagonal lines collide with the radical atoms. You can easily reproduce this by removing the % comment