Re: [NTG-context] Russian letters transliterated

2006-07-31 Thread Arkady Shraer
Hans Hagen: can you try ... \usetypescriptfile[type-pre] \enableregime[utf] \mainlanguage[ru] \usetypescript[lh-t2a] \setupbodyfont[modern,10pt] this assumes cm-super to be present it would be nice if we had cyrillic on the latin modern fonts ... Hans I got cyrillic letters ok. But

[NTG-context] Bug in ctxtools --documentation

2006-07-31 Thread Aditya Mahajan
Hi Hans, ctxtools.rb says that %D is the documetation marker. However, while matching it uses when /^[%\#]D/io then Doesn't /i stand for ignorecase, which means that %d is also matched? Is this a bug or a feature? Try generating documentation of core-fnt.tex for an interesting

[NTG-context] No page break

2006-07-31 Thread David Arnold
All, Anyone know why my Answers and Exercises don't break to a new page? \setupwhitespace[medium] \setupindenting[medium,yes] \usemodule[colors] \setupcolors[state=start] \definecolor[gridlines][s=0.7] \definecolor[exercolor][r=0.0,g=0.3,b=0.7] \definecolor[oceanfoam][b=1,g=0.75,t=0.12,a=1]

Re: [NTG-context] Russian letters transliterated

2006-07-31 Thread Hans Hagen
Arkady Shraer wrote: Hans Hagen: can you try ... \usetypescriptfile[type-pre] \enableregime[utf] \mainlanguage[ru] \usetypescript[lh-t2a] \setupbodyfont[modern,10pt] this assumes cm-super to be present it would be nice if we had cyrillic on the latin modern fonts ... Hans I

Re: [NTG-context] Bug in ctxtools --documentation

2006-07-31 Thread Hans Hagen
Aditya Mahajan wrote: Hi Hans, ctxtools.rb says that %D is the documetation marker. However, while matching it uses when /^[%\#]D/io then Doesn't /i stand for ignorecase, which means that %d is also matched? Is this a bug or a feature? an undocumented feature (which will remain

Re: [NTG-context] several questions

2006-07-31 Thread Taco Hoekwater
Jorge Manuel de Almeida Magalhães wrote: 2. Did you know how to force the section number to start in the number 0, not in 1 (default)? That took some experimenting: \setuphead[section][chapternumber=yes] \setuphead[chapter][after={\setupheadnumber[section][-1]}] Cheers, Taco

Re: [NTG-context] TOC and Contents entry

2006-07-31 Thread Taco Hoekwater
The Wizard wrote: Can I get this with either \completecontent or \placecontent, or will I have to use some other method? Does this help? \chapter{Contents} \placecontent[alternative=c,pagestyle=slanted, interaction=pagenumber,criterium=all] Cheers, taco

Re: [NTG-context] Another q, about setups

2006-07-31 Thread Taco Hoekwater
The Wizard wrote: All - I have a small block which creates a DRAFT watermark as the page background: % Create Draft watermark for later use \doifmode{draft}{ % Put a DRAFT watermark in Sun Blue \defineoverlay[Draft][{\sunbluet \scale[factor=max]{\rotate[rotation=60]{~DRAFT~}}}]

Re: [NTG-context] No page break

2006-07-31 Thread Taco Hoekwater
David Arnold wrote: All, Anyone know why my Answers and Exercises don't break to a new page? I don't know what is wrong, but this works: \setuphead [exercises] [before={\page[right]}] Cheers, taco ___ ntg-context mailing list

Re: [NTG-context] Lucida Bright Font Problem

2006-07-31 Thread Taco Hoekwater
Helin Gai wrote: Hi all, I'm trying to set up ConTeXt to use the Lucida Bright Font. I've already installed the font in the LaTeX way and it works pretty well in LaTeX. But when I use the following: As far as I know, using only this command should have worked: \setupbodyfont[lbr]

Re: [NTG-context] Lucida Bright Font Problem

2006-07-31 Thread Helin Gai
I wrote a typescriptfile according to the manual of TeXfont (attached below) and with the following code \usetypescriptfile[lucida] \definetypeface[lucida][rm][serif][lucida][default][encoding=texnansi] \definetypeface[lucida][ss][sans] [lucida][default][encoding=texnansi]

Re: [NTG-context] Lucida Bright Font Problem

2006-07-31 Thread Helin Gai
Problem Solved. \usetypescriptfile[type-buy] % loads commercial font definitions \usetypescript[lucida][texnansi] % defines a lucida typeface \setupbodyfont[lucida,12pt] This worked. Colin On Jul 31, 2006, at 5:28 PM, Helin Gai wrote: I wrote a typescriptfile according to the manual of

Re: [NTG-context] setuphead, setuplist

2006-07-31 Thread Steffen Wolfrum
I have tried ... \setuplist[chapter] [label=no,prefix=no,sectionnumber=no,alternative=a,textcommand= \midaligned,distance=0cm,margin=0cm,width=0cm] ... but still there is the sectionnumber shown in the content. Is this because of our special setuphead[chapter] command? Is there no way to

Re: [NTG-context] Lucida Bright Font Problem

2006-07-31 Thread Hans Hagen
Taco Hoekwater wrote: Helin Gai wrote: Hi all, I'm trying to set up ConTeXt to use the Lucida Bright Font. I've already installed the font in the LaTeX way and it works pretty well in LaTeX. But when I use the following: As far as I know, using only this command should have

Re: [NTG-context] setuphead, setuplist

2006-07-31 Thread Hans Hagen
Steffen Wolfrum wrote: That's it. Now the corresponding entry in the TOC should be without sectionnumber, but setuplist[...][sectionnumber=no] doesn't work. And looking in the manual I saw that this command is listed for setuplist, but listed italic?! has to do with prefixes, like

[NTG-context] column overflow at times

2006-07-31 Thread David Arnold
Hans, We are using: \setupcolumns [tolerance=stretch, balance=yes, blank=flexible, rule=off, distance=2.5em] However, once in a while we get column overflow. See page 55 on: http://msenux.redwoods.edu/IntAlgText/chapter0/chapter0.pdf Are we doing this

Re: [NTG-context] Lucida Bright Font Problem

2006-07-31 Thread Hans Hagen
Helin Gai wrote: Weird, the method you proposed actually doesn't work... Sincerely, Colin On Jul 31, 2006, at 11:10 PM, Hans Hagen wrote: Taco Hoekwater wrote: Helin Gai wrote: Hi all, I'm trying to set up ConTeXt to use the Lucida Bright Font. I've already

[NTG-context] Rule under length of last line

2006-07-31 Thread Duncan Hothersall
I've had a last-minute impossible request for a typesetting style, and having already told the person it can't be done in the time available, wondered whether it can actually be done at all. The request is for a subsection heading to have a continuous horizontal rule under both its number and

Re: [NTG-context] Rule under length of last line

2006-07-31 Thread Taco Hoekwater
Duncan Hothersall wrote: We generate the ConTeXt code from XML, so ideally a solution wouldn't require the last line to be set separately, but would just work whether the heading was single or multiple line. What I'm really looking for is a subsection setup that will automatically do this

Re: [NTG-context] Rule under length of last line

2006-07-31 Thread Hans Hagen
Duncan Hothersall wrote: I've had a last-minute impossible request for a typesetting style, and having already told the person it can't be done in the time available, wondered whether it can actually be done at all. depends on the amount of time, and it the case of customers what they are

Re: [NTG-context] Rule under length of last line

2006-07-31 Thread Hans Hagen
Taco Hoekwater wrote: Duncan Hothersall wrote: We generate the ConTeXt code from XML, so ideally a solution wouldn't require the last line to be set separately, but would just work whether the heading was single or multiple line. What I'm really looking for is a subsection setup that will

Re: [NTG-context] Rule under length of last line

2006-07-31 Thread Duncan Hothersall
Wow, very cool. Will adapt and wikify. Thanks - it's even better to say no and then do it anyway. :) Thanks again. Duncan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] buffers

2006-07-31 Thread Hans van der Meer
The ConTeXt manual tells me on page 237: You can define your own buffer with: \definebuffer[...] ... name After this command /getbuffer and \typebuffer are available where buffer is the name of the buffer.I do: \definebuffer[left] \startbuffer[left] left\crlf \stopbuffer \typeleftand it gives me

Re: [NTG-context] Lucida Bright Font Problem

2006-07-31 Thread Mojca Miklavec
On 7/31/06, Hans Hagen wrote: Taco Hoekwater wrote: Helin Gai wrote: Hi all, I'm trying to set up ConTeXt to use the Lucida Bright Font. I've already installed the font in the LaTeX way and it works pretty well in LaTeX. But when I use the following: On 7/31/06, Helin Gai wrote: I

[NTG-context] colums

2006-07-31 Thread Hans van der Meer
When I do:\setupcolumns[n=2,balance=no,tolerance=verytolerant,rule=on] % and variations\startext\startcolumnsabc\columndef\stopcolumns\stoptext This produces two columns when typeset on the upper half of the page.Suddenly about halfway the page the columns are not put side by side but below each

Re: [NTG-context] Lucida Bright Font Problem

2006-07-31 Thread Hans Hagen
Mojca Miklavec wrote: But then again I didn't understand how it was possible that so many people were using lucida without any problems. (And that it was only me who had problems installing the font - I simply took all the files from the LaTeX world and forgot about using texfont, which caused

[NTG-context] grid and \textrule

2006-07-31 Thread wwl
Hallo! I use \setuplayout[grid=yes] and a chapterdefinition which looks like: Author - Title Text text text ... The hor. Line above is a \textrule and the vert. spacing between author and line and

Re: [NTG-context] buffers

2006-07-31 Thread Aditya Mahajan
On Mon, 31 Jul 2006, Hans van der Meer wrote: The ConTeXt manual tells me on page 237: You can define your own buffer with: \definebuffer[...] ... name After this command /getbuffer and \typebuffer are available where buffer is the name of the buffer. I do:

Re: [NTG-context] colums

2006-07-31 Thread Aditya Mahajan
On Mon, 31 Jul 2006, Hans van der Meer wrote: When I do: \setupcolumns[n=2,balance=no,tolerance=verytolerant,rule=on] % and variations \startext \startcolumns abc \column def \stopcolumns \stoptext This produces two columns when typeset on the upper half of the page. Suddenly about

[NTG-context] Figure number off one time

2006-07-31 Thread David Arnold
All, I would like to use: \placefigure [right][fig:pythagoras] {An early portrait of Pythagoras.} {\getbuffer[figure]} And I would like to turn off the figure number in this caption, but just for this graphic, not for any other I place. I want the number off, but I want to keep the caption

Re: [NTG-context] Figure number off one time

2006-07-31 Thread Aditya Mahajan
On Mon, 31 Jul 2006, David Arnold wrote: All, I would like to use: \placefigure [right][fig:pythagoras] {An early portrait of Pythagoras.} {\getbuffer[figure]} And I would like to turn off the figure number in this caption, but just for this graphic, not for any other I place. I want

Re: [NTG-context] Figure number off one time

2006-07-31 Thread David Arnold
Aditya, Most excellent. Thanks. On Jul 31, 2006, at 7:17 PM, Aditya Mahajan wrote: On Mon, 31 Jul 2006, David Arnold wrote: All, I would like to use: \placefigure [right][fig:pythagoras] {An early portrait of Pythagoras.} {\getbuffer[figure]} And I would like to turn off the figure

[NTG-context] Figure 1.

2006-07-31 Thread David Arnold
All, Anyone know how to put a period after Figure 1 in a figure caption? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context