Re: [NTG-context] Modules, namespaces, Luacode etc..

2010-10-01 Thread Jaroslav Hajtmar
Thanx Wolfgang puzzle starts to fit itself ... Jarda Dne 30.9.2010 20:53, Wolfgang Schuster napsal(a): Am 30.09.2010 um 20:40 schrieb Jaroslav Hajtmar: Hello my wise masters of the Force and teachers of Jedi... It seems that my first module (SCANCSV of scancsv.lua library of CTM in

Re: [NTG-context] Two layer in a document

2010-10-01 Thread R. Bastian
On Thu, 30 Sep 2010 19:42:34 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 30.09.2010 um 11:49 schrieb Daniel Grycman: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the

[NTG-context] Verbatim text loaded from a file?

2010-10-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'd need to show contents of a (text) file like verbatim text (with a monospace font). So to do something being described at http://wiki.contextgarden.net/Verbatim_text using \startcode SOME TEXT \stop code, but the difference is that I don't need to write SOME TEXT manually but I

Re: [NTG-context] Two layer in a document

2010-10-01 Thread Daniel Grycman
It works in MKIV, but I don't what it does in MKII. Daniel On 01.10.10 09:51, R. Bastian rbast...@free.fr wrote: On Thu, 30 Sep 2010 19:42:34 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 30.09.2010 um 11:49 schrieb Daniel Grycman: Hi list, I am typesetting a

[NTG-context] structure affects protrusion

2010-10-01 Thread Steffen Wolfrum
Hi, please have look at the minimal example below: Using the latest beta (20100929) with structure set to stop: protrusion works. With structure set to start: the hyphen doesn't get protruded! (but the comma still does ...?) Steffen --- \enabletrackers[structure.tags]

Re: [NTG-context] Two layer in a document

2010-10-01 Thread Peter Rolf
Am 01.10.2010 09:51, schrieb R. Bastian: On Thu, 30 Sep 2010 19:42:34 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 30.09.2010 um 11:49 schrieb Daniel Grycman: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to

Re: [NTG-context] Verbatim text loaded from a file?

2010-10-01 Thread Henning Hraban Ramm
Am 2010-10-01 um 09:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: I'd need to show contents of a (text) file like verbatim text (with a monospace font). So to do something being described at http://wiki.contextgarden.net/Verbatim_text using \startcode SOME TEXT \stop code, but the

Re: [NTG-context] Verbatim text loaded from a file?

2010-10-01 Thread Henning Hraban Ramm
Am 2010-10-01 um 11:06 schrieb Henning Hraban Ramm: Moreover, I'd need to have the following options: - To alter the font used for numbering lines, so that it would be smaller than the normal text. \definetyping[MyStyle] \setuptyping[MyStyle][style={\tfx\tt}] see

Re: [NTG-context] Verbatim text loaded from a file?

2010-10-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, Sorry, I guess I misunderstood you: You mean the font of the numbers? I mean font (or or its size) used for printing for line numbers - see http://ftp.cstug.cz/pub/CTAN/macros/latex/contrib/fancyvrb/fancyvrb.pdf, pg. 11: line numbers which are turned on by numbers=left are printed

Re: [NTG-context] font sizes (again)

2010-10-01 Thread Florian Wobbe
On Sep 30, 2010, at 15:27 , Mojca Miklavec wrote: On Wed, Sep 29, 2010 at 14:30, Florian Wobbe wrote: Hi, please regard this minimal example: \setupbodyfont[10pt] \starttext \title{Title} \section{Section} {\switchtobodyfont[big] big} {\switchtobodyfont[small] small} {\tfxx tfxx}

Re: [NTG-context] Two layer in a document

2010-10-01 Thread Steffen Wolfrum
Am 01.10.2010 um 11:00 schrieb Peter Rolf: Am 01.10.2010 09:51, schrieb R. Bastian: On Thu, 30 Sep 2010 19:42:34 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 30.09.2010 um 11:49 schrieb Daniel Grycman: Hi list, I am typesetting a template for internal

Re: [NTG-context] Consolas

2010-10-01 Thread Florian Wobbe
On Sep 30, 2010, at 21:01 , Patrick Gundlach wrote: Hi, several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this: \definetypeface [mainface] [rm] [serif] [cambria] [default] \definetypeface [mainface] [ss] [sans] [corbel] [default] [rscale=auto]

Re: [NTG-context] Computer Modern Unicode fonts

2010-10-01 Thread Mojca Miklavec
On Fri, Oct 1, 2010 at 05:53, Vladimir Lomov wrote: Hi Mojca. source.contextgarden.net: 2010-03-30: not sure what this means. This means that source browser for ConTeXt dates back to the times when Hans was releasing a new current version of ConTeXt every few days. Now he started distributing

[NTG-context] typewriter text in formula

2010-10-01 Thread Patrick Gundlach
Hi, how do I get typewriter text in formula? I've tried: \startformula r = \mono{foo} \stopformula but that gives mono from a different font. I'd like to have consolas, but it looks like courier new. And a related question: How do I get an underscore in this: \startformula r =

Re: [NTG-context] typewriter text in formula

2010-10-01 Thread Khaled Hosny
On Fri, Oct 01, 2010 at 12:25:54PM +0200, Patrick Gundlach wrote: Hi, how do I get typewriter text in formula? I've tried: \startformula r = \mono{foo} \stopformula but that gives mono from a different font. I'd like to have consolas, but it looks like courier new. You should

Re: [NTG-context] typewriter text in formula

2010-10-01 Thread Patrick Gundlach
how do I get typewriter text in formula? I've tried: \startformula r = \mono{foo} \stopformula but that gives mono from a different font. I'd like to have consolas, but it looks like courier new. You should get the math mono from the math font you are using (Cambria, I guess)

Re: [NTG-context] typewriter text in formula

2010-10-01 Thread Khaled Hosny
On Fri, Oct 01, 2010 at 02:04:09PM +0200, Patrick Gundlach wrote: how do I get typewriter text in formula? I've tried: \startformula r = \mono{foo} \stopformula but that gives mono from a different font. I'd like to have consolas, but it looks like courier new. You

Re: [NTG-context] typewriter text in formula

2010-10-01 Thread Patrick Gundlach
\mono{}? which you are already using. I tried the file below, and all the three r's are Cambria's, and the last two are mono. \setupbodyfont[cambria] \starttext \startformula r=\mono{r}{\tt r} \stopformula \stoptext Thats what I get, too, but this is not what I want! This looks

Re: [NTG-context] typewriter text in formula

2010-10-01 Thread Patrick Gundlach
Hi all, \setupbodyfont[cambria] \starttext \startformula r=\mono{r}{\tt r} \stopformula \stoptext Mojca gave me the right hint to use \text{.} around the text. And my other problem is solved as well (underscores). Thanks!

Re: [NTG-context] Two layer in a document

2010-10-01 Thread luigi scarso
The 'nuke_my_computer_by_running_context' module is no longer part of the official distribution ;-) I must admit that I had some 'burn_my_computer_by_running_context' beta releases under windows7 with luatex compiled by me (fat burst of laughters here) on my EeePC T101. -- luigi

[NTG-context] No bleeding with 2UP arranging

2010-10-01 Thread Vianney le Clément
Hello, When using 2UP arranging, the pages are clipped to their bounding box, loosing any bleeding. Example: \setuppapersize[A6][A4,landscape] \setuparranging[2UP] \setuplayout[location=middle] \setuppagenumbering[alternative=doublesided] \showframe \startreusableMPgraphic{background}

Re: [NTG-context] Problem with latest beta: \placepublications

2010-10-01 Thread Thomas A. Schmitz
Hans Hagen pragma at wxs.nl writes: On 30-9-2010 11:00, Alan BRASLAU wrote: Thanks to the course given by Taco, I now know all about 'nil'... However, I did not track down the error, as Hans will find it immediately! ah, I wanted to log off but you force me to check it now ... in

[NTG-context] rotated (landscape) pages in portrait document

2010-10-01 Thread Mojca Miklavec
Dear list, First one question: what is the MKIV-way of doing something like \startbuffer[a] % set text width for formula somehow \startformula\startalign \NC a \NC = b \NR \stopalign\stopformula \stopbuffer \framed{\rotate[rotation=90]{\externalfigure[\jobname-a.tmp]}} possibly adjusting width

Re: [NTG-context] rotated (landscape) pages in portrait document

2010-10-01 Thread Wolfgang Schuster
Am 01.10.2010 um 17:41 schrieb Mojca Miklavec: Dear list, First one question: what is the MKIV-way of doing something like \startbuffer[a] % set text width for formula somehow \startformula\startalign \NC a \NC = b \NR \stopalign\stopformula \stopbuffer

Re: [NTG-context] Two layer in a document

2010-10-01 Thread Aditya Mahajan
On Oct 1, 2010, at 5:00 AM, Peter Rolf indi...@gmx.net wrote: Does this work in Mk II ? You can set your mind at rest and test it yourself. The 'nuke_my_computer_by_running_context' module is no longer part of the official distribution ;-) Does that mean that my

Re: [NTG-context] rotated (landscape) pages in portrait document

2010-10-01 Thread Wolfgang Schuster
Am 01.10.2010 um 17:41 schrieb Mojca Miklavec: And the other question: is there some quick trick that would rotate the whole page inside a document, so that the page would still be portrait, but text would be rotated with textwidth and textheight swapped, but with preserved main header (in

[NTG-context] Interline spacing in lists

2010-10-01 Thread Elias Oltmanns
Hi there, how can I change the interline space when placing the list of figures? before=\blank is not what I'm looking for since that won't help when a caption contains an explicit \crlf. Thanks in advance for your help, Elias

Re: [NTG-context] Interline spacing in lists

2010-10-01 Thread Wolfgang Schuster
Am 01.10.2010 um 18:36 schrieb Elias Oltmanns: Hi there, how can I change the interline space when placing the list of figures? before=\blank is not what I'm looking for since that won't help when a caption contains an explicit \crlf. Thanks in advance for your help,

Re: [NTG-context] Interline spacing in lists

2010-10-01 Thread Elias Oltmanns
Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 01.10.2010 um 18:36 schrieb Elias Oltmanns: Hi there, how can I change the interline space when placing the list of figures? before=\blank is not what I'm looking for since that won't help when a caption contains an explicit

[NTG-context] one line caption

2010-10-01 Thread Patrick Gundlach
Hi, how do I get the caption as wide as possible? \starttext \placefigure [here] [foo] {A very long caption, isn't it?} {\externalfigure[cow][width=2cm]} \stoptext I also tried without luck

Re: [NTG-context] one line caption

2010-10-01 Thread Mojca Miklavec
On Fri, Oct 1, 2010 at 21:43, Patrick Gundlach wrote: Hi, how do I get the caption as wide as possible? \starttext \placefigure [here] [foo] {A very long caption, isn't it?} {\externalfigure[cow][width=2cm]} Don't sue me; this is what I

Re: [NTG-context] one line caption

2010-10-01 Thread Peter Münster
On Fri, Oct 01 2010, Patrick Gundlach wrote: I also tried without luck \setupcaptions[minwidth=fit] (no effect) and \setupcaptions[minwidth=\textwidth] (left aligned) \setupcaptions[minwidth=\textwidth, align=middle] Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] one line caption

2010-10-01 Thread Patrick Gundlach
\setupcaptions[minwidth=fit] (no effect) and \setupcaptions[minwidth=\textwidth] (left aligned) \setupcaptions[minwidth=\textwidth, align=middle] [palm-slap to the forehead] Yes. Thanks! Patrick ___ If

Re: [NTG-context] typewriter text in formula

2010-10-01 Thread Hans Hagen
On 1-10-2010 2:38, Patrick Gundlach wrote: Hi all, \setupbodyfont[cambria] \starttext \startformula r=\mono{r}{\tt r} \stopformula \stoptext Mojca gave me the right hint to use \text{.} around the text. And my other problem is solved as well (underscores). fyi: there is a typewriter

Re: [NTG-context] typewriter text in formula

2010-10-01 Thread Patrick Gundlach
fyi: there is a typewriter alphabet in math (unicode) but indeed in your case you need \text in order to get more than the alphabet (and another font). I remember that I came across that (U+1D670 and further) a few days ago and wondered Patrick

Re: [NTG-context] change register entry separator

2010-10-01 Thread Hans Hagen
On 1-10-2010 12:02, Jano Kula wrote: Hi, any way to change register entry and subentry separator from + to something else? Preferably to kanji character, so I'm sure it will not appear in the text. Entries and subentries are autoflushed, so it can be really anything. Other way around: I

Re: [NTG-context] Consolas

2010-10-01 Thread Hans Hagen
On 1-10-2010 12:42, Florian Wobbe wrote: On Sep 30, 2010, at 21:01 , Patrick Gundlach wrote: Hi, several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this: \definetypeface [mainface] [rm] [serif] [cambria] [default] \definetypeface [mainface] [ss] [sans]

Re: [NTG-context] Consolas

2010-10-01 Thread Khaled Hosny
On Fri, Oct 01, 2010 at 11:26:04PM +0200, Hans Hagen wrote: On 1-10-2010 12:42, Florian Wobbe wrote: On Sep 30, 2010, at 21:01 , Patrick Gundlach wrote: Hi, several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this: \definetypeface [mainface] [rm] [serif]

Re: [NTG-context] Consolas

2010-10-01 Thread Florian Wobbe
On Oct 1, 2010, at 23:26 , Hans Hagen wrote: On 1-10-2010 12:42, Florian Wobbe wrote: On Sep 30, 2010, at 21:01 , Patrick Gundlach wrote: Hi, several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this: \definetypeface [mainface] [rm] [serif] [cambria]

Re: [NTG-context] Consolas

2010-10-01 Thread Hans Hagen
On 1-10-2010 11:41, Florian Wobbe wrote: On Oct 1, 2010, at 23:26 , Hans Hagen wrote: On 1-10-2010 12:42, Florian Wobbe wrote: On Sep 30, 2010, at 21:01 , Patrick Gundlach wrote: Hi, several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this: \definetypeface

[NTG-context] mixed English and Arabic using Simplefonts?

2010-10-01 Thread Talal Al-Azem
My apologies if I'm dumbing down the level of discussion here. But I'm trying to get my head around fonts and bidirectionality using ConTeXt MkIV (as a rather unsophisticated user, not as a developer). To begin with, since it's all bit much at once, I'm trying to use simplefonts. I am unclear

Re: [NTG-context] mixed English and Arabic using Simplefonts?

2010-10-01 Thread Wolfgang Schuster
Am 02.10.2010 um 02:16 schrieb Talal Al-Azem: My apologies if I'm dumbing down the level of discussion here. But I'm trying to get my head around fonts and bidirectionality using ConTeXt MkIV (as a rather unsophisticated user, not as a developer). To begin with, since it's all bit much