Re: [NTG-context] how to redefine section headers

2010-12-14 Thread Philipp A.
2010/12/14 Wolfgang Schuster > \setuplabeltext[de][aufgabe={Aufgabe ,}] > > \define[1]\TaskCommand > {\doifsomething{#1}{: #1}} > > \definehead[thetask][section] > > \setuphead > [thetask] > [style=sansbold, >bodypartlabel=aufgabe, >distance=0pt, >deeptextcommand=\TaskCommand] >

Re: [NTG-context] how to redefine section headers

2010-12-14 Thread Wolfgang Schuster
Am 14.12.2010 um 21:34 schrieb Philipp A.: > hi! > > i want to achieve the effect i see when using the following code, only in a > semantically correct way (and without defining a \MyHeader macro like in some > examples) > > […] > And maybe somebody knows a cool way to do this: > > \starttex

Re: [NTG-context] How to avoid that \writetolist becomes a page-breaker

2010-12-14 Thread Marco Pessotto
Marco Pessotto writes: > Probably due to my abuse of \writetolist, I noticed that inserting > \writetolist right after \subject makes TeX to think that it can break > the page there without problems. > > See the following minimal example: > > %===cut here= > > \definelist[

Re: [NTG-context] how to insert a imagefile like a letter?

2010-12-14 Thread Wolfgang Schuster
Am 14.12.2010 um 14:10 schrieb Jonas Stein: >>> bell.pdf provides a small bell in black and white as >>> vectordrawing >>> i'd like to get that bell in height of the current letter "f" >>> on the position where i type \bell >>> >>> my first test with >>> \externalfigure[bell][width=1em] >>> cre

[NTG-context] how to redefine section headers

2010-12-14 Thread Philipp A.
hi! i want to achieve the effect i see when using the following code, only in a semantically correct way (and without defining a \MyHeader macro like in some examples) \setuphead[section][numbercommand=\headtext{section}~] \setupheadtext[de][section=Aufgabe] \def\task{\section{}} so if my docume

[NTG-context] Marginal line numbers

2010-12-14 Thread Jon Crump
All, Thanks to Thomas's help, I've been making my way up the learning curve. My TEI xml has empty lb elements indicating lines in the original and corresponding lb elements in the translation. I'd like to be able to set these numbers in the margin so that readers may coordinate the lineation. So

[NTG-context] How to avoid that \writetolist becomes a page-breaker

2010-12-14 Thread Marco Pessotto
Probably due to my abuse of \writetolist, I noticed that inserting \writetolist right after \subject makes TeX to think that it can break the page there without problems. See the following minimal example: %===cut here= \definelist[myrandompart] \starttext \dorecurse{1

Re: [NTG-context] how to insert a imagefile like a letter?

2010-12-14 Thread Jaroslav Hajtmar
Hello Jonas, here is dimensional correction according to the dimensions in the parameter: \def\bell#1{\setbox0=\hbox{#1}\framed[offset=none, frame=off, width=\the\wd0, height=\the\ht0]{\externalfigure[bell.pdf][width=\the\wd0,height=\the\ht0]}} Jaroslav Dne 14.12.2010 14:10, Jonas Stein na

Re: [NTG-context] how to insert a imagefile like a letter?

2010-12-14 Thread Jaroslav Hajtmar
Hello Jonas, I did not know about \definefiguresymbol - it's a great idea. I would not tackled through framed. For example: \def\bell{\framed[offset=none, frame=off, width=1em]{\externalfigure[bell.pdf][width=1em]}} It does not solve your problem? Jaroslav Dne 14.12.2010 14:10, Jonas Stein

Re: [NTG-context] Minimal ConTeXt and texfont!

2010-12-14 Thread Florian Wobbe
On Dec 14, 2010, at 14:06 , Verhaag, G.C.H.M. wrote: > mtxrun --script fonts --list --all --pattern=*snow* > > which yielded the following output: > > plymouthrocksnowdusted plymouthrocksnowdusted PlymouthSnowDusted.ttf > plymouthrocksnowdustednormal plymouthrocksnowdusted Plymouth

Re: [NTG-context] Minimal ConTeXt and texfont!

2010-12-14 Thread Taco Hoekwater
On 12/14/2010 02:06 PM, Verhaag, G.C.H.M. wrote: Marco Pessotto wrote: Mojca Miklavec writes: On Tue, Dec 14, 2010 at 11:53, Verhaag, G.C.H.M. wrote: Hi, I've put the ttf-file into the texmf-fonts/fonts/data directory, without the subdirectories, right? You either have to put the font

Re: [NTG-context] Minimal ConTeXt and texfont!

2010-12-14 Thread Marco Pessotto
"Verhaag, G.C.H.M." writes: > Well I've put my ttf into: texmf-fonts/fonts/data, and entered the > following sequence of commands: > > mktexlsr > > mtxrun --scripts fonts --reload > > context --generate > > Then I checked using the following command: > > mtxrun --script fonts --list --all --patt

Re: [NTG-context] how to insert a imagefile like a letter?

2010-12-14 Thread Jonas Stein
>> bell.pdf provides a small bell in black and white as >> vectordrawing >> i'd like to get that bell in height of the current letter "f" >> on the position where i type \bell >> >> my first test with >> \externalfigure[bell][width=1em] >> creates a bell with lentgh of 1em... but >> >> How can i

Re: [NTG-context] Minimal ConTeXt and texfont!

2010-12-14 Thread Verhaag, G.C.H.M.
Marco Pessotto wrote: Mojca Miklavec writes: On Tue, Dec 14, 2010 at 11:53, Verhaag, G.C.H.M. wrote: Hi, I've put the ttf-file into the texmf-fonts/fonts/data directory, without the subdirectories, right? You either have to put the font into texmf-fonts/fonts/truetype/any

Re: [NTG-context] beta

2010-12-14 Thread Hans Hagen
On 14-12-2010 12:37, Alan BRASLAU wrote: backgroundscreen is broken. minimal example: \starttext \setupbackgrounds [page] [background=screen,backgroundscreen=.65] Some text. \stoptext ! LuaTeX error:1: unexpected symbol near ')'. \dosetrastercolor ..."_raster_",\@@rastervalue ))} one ) to

Re: [NTG-context] Minimal ConTeXt and texfont!

2010-12-14 Thread Marco Pessotto
Marco Pessotto writes: > Mojca Miklavec writes: > >> On Tue, Dec 14, 2010 at 11:53, Verhaag, G.C.H.M. wrote: >>> >>> Hi, >>> >>> I've put the ttf-file into the texmf-fonts/fonts/data directory, without the >>> subdirectories, right? >> >> You either have to put the font into >> texmf-fonts/f

Re: [NTG-context] Minimal ConTeXt and texfont!

2010-12-14 Thread Marco Pessotto
Mojca Miklavec writes: > On Tue, Dec 14, 2010 at 11:53, Verhaag, G.C.H.M. wrote: >> >> Hi, >> >> I've put the ttf-file into the texmf-fonts/fonts/data directory, without the >> subdirectories, right? > > You either have to put the font into > texmf-fonts/fonts/truetype/anywhere > or > tex

Re: [NTG-context] Minimal ConTeXt and texfont!

2010-12-14 Thread Mojca Miklavec
On Tue, Dec 14, 2010 at 11:53, Verhaag, G.C.H.M. wrote: > > Hi, > > I've put the ttf-file into the texmf-fonts/fonts/data directory, without the > subdirectories, right? You either have to put the font into texmf-fonts/fonts/truetype/anywhere or texmf-fonts/fonts/data/anywhere (You can us

Re: [NTG-context] Section upper part

2010-12-14 Thread Wolfgang Schuster
Am 14.12.2010 um 12:15 schrieb luigi scarso: > My question is: can I go "under" part ? Sectionblocks! Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : nt

Re: [NTG-context] beta

2010-12-14 Thread Alan BRASLAU
backgroundscreen is broken. minimal example: \starttext \setupbackgrounds [page] [background=screen,backgroundscreen=.65] Some text. \stoptext ! LuaTeX error :1: unexpected symbol near ')'. \dosetrastercolor ..."_raster_",\@@rastervalue ))} \

Re: [NTG-context] latest beta

2010-12-14 Thread Alan BRASLAU
On Thursday 09 December 2010 16:47:03 Thomas Schmitz wrote: > Hi Hans, > > the latest beta is looking for files > > ! I can't find file > `/mnt/shared/context/tex/texmf-context/tex/context/base/symb-mis.tex'. > > and > > ! I can't find file > `/mnt/shared/context/tex/texmf-context/tex/context/b

[NTG-context] Horizontal space in math subscript generated by Lua

2010-12-14 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I encountered a strange effect. Let's have a code that generates the same math, firstly by Ctx and secondly by Lua: --- \starttext \startformula M_{t,WnT} = 1000 \stopformula \startluacode context.startformula() context("M_{t,WnT} = 1000") context.stopformula()

Re: [NTG-context] Section upper part

2010-12-14 Thread luigi scarso
On Tue, Dec 14, 2010 at 12:09 PM, Aditya Mahajan wrote: > On Tue, 14 Dec 2010, luigi scarso wrote: > >> In mkii can I define a section before \part, ie something like >> \definesection[section-0] >> \definehead[book][section=section-0] >> >> (part is >> \definehead[part][section=section-1] >> ) >>

Re: [NTG-context] Section upper part

2010-12-14 Thread Aditya Mahajan
On Tue, 14 Dec 2010, luigi scarso wrote: In mkii can I define a section before \part, ie something like \definesection[section-0] \definehead[book][section=section-0] (part is \definehead[part][section=section-1] ) ?TIA Half in jest, half serious: \definehead[book][section=section-1] \define

[NTG-context] Section upper part

2010-12-14 Thread luigi scarso
In mkii can I define a section before \part, ie something like \definesection[section-0] \definehead[book][section=section-0] (part is \definehead[part][section=section-1] ) ?TIA -- luigi ___ If your question is of i

Re: [NTG-context] Minimal ConTeXt and texfont!

2010-12-14 Thread Verhaag, G.C.H.M.
Wolfgang Schuster wrote: Am 14.12.2010 um 11:15 schrieb Verhaag, G.C.H.M.: Thanks for the tips! But now a real example. I've downloaded a font file called: PlymouthRock 'SnowDusted'.ttf, (Just a nice font to write Christmas cards; view it with Konqueror!) and put it into texmf-fonts/tex/

Re: [NTG-context] writebetweenlist regression (mkiv)

2010-12-14 Thread Steffen Wolfrum
Am 14.12.2010 um 10:26 schrieb Marco Pessotto: > Hans Hagen writes: > >> On 13-12-2010 11:20, Steffen Wolfrum wrote: >>> >>> Am 08.11.2010 um 23:03 schrieb Marco: >>> Hello there. Currently \writebetweenlist doesn't work as advised. It inserts the argument before th

Re: [NTG-context] issue with \usesymbols[mvs]

2010-12-14 Thread views63
Thank you, I see. 2010/12/14 Hans Hagen : > On 14-12-2010 7:03, views63 wrote: > >> define fonts>  forced type ttf of marvosym not found >> define fonts>  font with name marvosym is not found >> define fonts>  unknown font marvosym, loading aborted >> define fonts>  unable to define marvosym.ttf a

Re: [NTG-context] Minimal ConTeXt and texfont!

2010-12-14 Thread Wolfgang Schuster
Am 14.12.2010 um 11:15 schrieb Verhaag, G.C.H.M.: > Thanks for the tips! But now a real example. I've downloaded a font file > called: > > PlymouthRock 'SnowDusted'.ttf, > > (Just a nice font to write Christmas cards; view it with Konqueror!) > > and put it into texmf-fonts/tex/truetype/plymo

Re: [NTG-context] Minimal ConTeXt and texfont!

2010-12-14 Thread Verhaag, G.C.H.M.
Henning Hraban Ramm wrote: Am 2010-12-13 um 15:21 schrieb Verhaag, G.C.H.M.: I use the latest ConTeXt MkIV version on a Linux (kernel 2.4) based PC; so I use LuaTeX! Good, that's most easy for fonts. I understand that I don't need to use texfont when using ttf-fonts, with this version o

[NTG-context] Help: tweaking bibliography style

2010-12-14 Thread Nicola
Hi, currently, in my document, an article reference looks like this: [1] Thor, A. U. (2010). ConTeXt is great. My Own Publishing, 2(4), 23-34. with the title in italics. How to make the year appear at the end and how to make the publisher in italics, too? I would like such changes to apply to o

Re: [NTG-context] writebetweenlist regression (mkiv)

2010-12-14 Thread Marco Pessotto
Hans Hagen writes: > On 13-12-2010 11:20, Steffen Wolfrum wrote: >> >> Am 08.11.2010 um 23:03 schrieb Marco: >> >>> >>> Hello there. >>> >>> Currently \writebetweenlist doesn't work as advised. It inserts the >>> argument before the last entry of the list. The minimal example is >>> provided by t

Re: [NTG-context] installation on debian testing/unstable

2010-12-14 Thread Alan BRASLAU
On Tuesday 14 December 2010 02:03:17 Jonas Stein wrote: > within the time Norbert Preining prepared a new .deb package > including context (2010.07.30-1) > > its status is "experimental" for now. > > There will be context 2009 in debian 6.0 stable. > So this might be a good solution for most debi

[NTG-context] Is there a way to split TABLE and TABLE caption for longtables

2010-12-14 Thread barney schwartz
Group, Hans. Wolfgang, Help PLEASE I have numerous loong tables to publish. attached find minimal example. I need these tables to mimic \longtables LaTeX package. I got a recode from Wolfgang using the TABLE module which works well for the header, footer and TABLEbody however: I need table

Re: [NTG-context] how to insert a imagefile like a letter?

2010-12-14 Thread Wolfgang Schuster
Am 14.12.2010 um 05:49 schrieb Jonas Stein: > bell.pdf provides a small bell in black and white as > vectordrawing > > > i'd like to get that bell in height of the current letter "f" > on the position where i type \bell > > my first test with > \externalfigure[bell][width=1em] > creates a bel

Re: [NTG-context] issue with \usesymbols[mvs]

2010-12-14 Thread Hans Hagen
On 14-12-2010 7:03, views63 wrote: define fonts> forced type ttf of marvosym not found define fonts> font with name marvosym is not found define fonts> unknown font marvosym, loading aborted define fonts> unable to define marvosym.ttf as \**currentsymbolfont** backends> using xmp file '/opt