Re: [NTG-context] value-copy - e.g. in \textreference

2007-08-30 Thread Wolfgang Schuster
; > \definenumber[number] > > \setuphead[chapter,section,subsection,subsubsection > [after={\resetnumber[number]}] > > \def\MyMark[#1] > {\textreference[#1]{Para. \currentheadnumber / \getnumber[number]}} \def\MyMark[#1]% {\expanded{\textreference[#1]{Para. \currentheadn

[NTG-context] value-copy - e.g. in \textreference

2007-08-30 Thread Peter Schorsch
] {\textreference[#1]{Para. \currentheadnumber / \getnumber[number]}} \definestartstop[MyPara] [before= {\blank[medium]\incrementnumber[number]% \inothermargin{\getnumber[number]~}}, after={\blank[medium]}] \starttext \section \startMyPara blabla blabla blabla blabla

Re: [NTG-context] setting up quotations

2007-08-22 Thread Idris Samawi Hamid
ent > margins, etc. that's what i want to set up with \setupquotation > a lot of publisher make even typeset these in smaller fonts. > > how can i make this happen? this is really important for typesetting > books, it is not? Just roll your own! Here is what i use:

Re: [NTG-context] itemize with zero start

2007-07-31 Thread Wolfgang Werners-Lucchini
serif,11pt] > \setuphead[section][style=ssb] > \setupsection[section][conversion=Romannumerals] > > \setupitemize[each][a][stopper=:] > > \definestartstop[Beweis][ > before={{\bf Beweis:}\endgraf\blank}, > after={\rightaligned{{\bf q.e.d.}}} > ] > > \startte

Re: [NTG-context] dont't indent after custom start-stopnarrower

2007-07-31 Thread Steffen Wolfrum
Am 31.07.2007 um 10:18 schrieb Karsten Heymann: > Hello, > > I try to prevent indention after a custom enviroment used for > quotations which uses \startnarrower ... \stopnarrower: Here you are: \setupindenting [0.5cm] \indenting[yes,next] \definestartstop[Zitat] [before={\sta

[NTG-context] dont't indent after custom start-stopnarrower

2007-07-31 Thread Karsten Heymann
Hello, I try to prevent indention after a custom enviroment used for quotations which uses \startnarrower ... \stopnarrower: \setupindenting [0.5cm] \indenting[yes,next] \definestartstop[Zitat] [before={\startnarrower[2*left]}, after=\stopnarrower\noindent] \starttext \input knuth

Re: [NTG-context] itemize with zero start

2007-07-29 Thread Wolfgang Werners-Lucchini
\eTR > \eTABLE > \stoptext Here is an other example! Remove the three-line-comment, and the error is gone! Strange what? Wolfgang - \setupbodyfont[sansserif,11pt] \setuphead[section][style=ssb] \setupsection[section][conversion=Romannumerals] \setupi

Re: [NTG-context] extra spacing between verse and chorus

2007-07-15 Thread Wolfgang Schuster
How to get rid of it? > > \definestartstop > [verse] > [before=\vbox\bgroup\startlines, >after=\stoplines\egroup] > > \definestartstop > [chorus] > [before=\startnarrower\startlines, >after=\stoplines\stopnarrower] \setuplines[before=\nowhitespace,after=\nowhitespac

[NTG-context] extra spacing between verse and chorus

2007-07-14 Thread Vyatcheslav Yatskovsky
Hello, Please, help me with the following. The \vbox and \bgroup\egroup tags are intend to keep a verse on a page, but they also add extra spacing (an extra line?) between the verse and chorus. How to get rid of it? \definestartstop [verse] [before=\vbox\bgroup\startlines, after

Re: [NTG-context] \definestartstop with arguments

2007-07-13 Thread Peter Rolf
Hi Vyatcheslav, Vyatcheslav Yatskovsky schrieb: > Hello, > > Pleeease, I need a help. > > I might formulate my previous question badly, so let me restate it. > > How to handle optional arguments (one or two) with \definestartstop? More > specifically, how to replac

[NTG-context] \definestartstop with arguments

2007-07-13 Thread Vyatcheslav Yatskovsky
Hello, Pleeease, I need a help. I might formulate my previous question badly, so let me restate it. How to handle optional arguments (one or two) with \definestartstop? More specifically, how to replace hard-coded "Logging-On" string so that I could write \startusecase[Logging-Ou

[NTG-context] \definestartstop with arguments

2007-07-13 Thread Vyatcheslav Yatskovsky
Hello, I want to convert my following code into a custom \start \stop pair. \starttextrule{Use Case: Logging-On}\startpacked Text \stoppacked\stoptextrule It seems to me that using \definestartstop[usecase][...] command is the most approprate, but I cannot get how to achieve different

Re: [NTG-context] intdenting a chorus

2007-06-26 Thread Hans Hagen
Wolfgang Schuster wrote: > 2007/6/26, Vyatcheslav Yatskovsky <[EMAIL PROTECTED]>: >> Hello, >> >> And how to indent a chorus block? >> >> My naive >> \definestartstop[chorus][before={\startlines[indenting=2em]}, >> after=\stoplines]

Re: [NTG-context] preventing page break in verses

2007-06-26 Thread Hans Hagen
Wolfgang Schuster wrote: > 2007/6/26, Vyatcheslav Yatskovsky <[EMAIL PROTECTED]>: >> Hello, >> >> I have a simple question about verses. How can I prevent a verse to be >> breaked across pages? >> >> Now I use: >> >> \defin

Re: [NTG-context] intdenting a chorus

2007-06-25 Thread Wolfgang Schuster
2007/6/26, Vyatcheslav Yatskovsky <[EMAIL PROTECTED]>: > Hello, > > And how to indent a chorus block? > > My naive > \definestartstop[chorus][before={\startlines[indenting=2em]}, > after=\stoplines] > doesn't work. > > -- > Best, > Vyatcheslav

Re: [NTG-context] preventing page break in verses

2007-06-25 Thread Wolfgang Schuster
2007/6/26, Vyatcheslav Yatskovsky <[EMAIL PROTECTED]>: > Hello, > > I have a simple question about verses. How can I prevent a verse to be > breaked across pages? > > Now I use: > > \definestartstop[verse][before=\startlines, > after=\stoplines] > > -- &

Re: [NTG-context] preventing page break in verses

2007-06-25 Thread Aditya Mahajan
On Tue, 26 Jun 2007, Vyatcheslav Yatskovsky wrote: > Hello, > > I have a simple question about verses. How can I prevent a verse to be > breaked across pages? > > Now I use: > > \definestartstop[verse][before=\startlines, > after=\stoplines] My first reaction was to u

[NTG-context] intdenting a chorus

2007-06-25 Thread Vyatcheslav Yatskovsky
Hello, And how to indent a chorus block? My naive \definestartstop[chorus][before={\startlines[indenting=2em]}, after=\stoplines] doesn't work. -- Best, Vyatcheslav mailto:[EMAIL PROT

[NTG-context] preventing page break in verses

2007-06-25 Thread Vyatcheslav Yatskovsky
Hello, I have a simple question about verses. How can I prevent a verse to be breaked across pages? Now I use: \definestartstop[verse][before=\startlines, after=\stoplines] -- Best, Vyatcheslav

Re: [NTG-context] non-interactive underlining

2007-06-06 Thread Alan Bowen
is to > > \definetextbackground[underline] > [location=text,alternative=1,background=,frame=off] > > \definestartstop [underline] > [before={\starttextbackground[underline]}, >after=\stoptextbackground] > > which does not introduce any interaction (interaction means that

Re: [NTG-context] non-interactive underlining

2007-06-06 Thread Aditya Mahajan
ng[interaction=off]? Depends on how you define \startunderline. The usual way is to \definetextbackground[underline] [location=text,alternative=1,background=,frame=off] \definestartstop [underline] [before={\starttextbackground[underline]}, after=\stoptextbackground] which does not introdu

Re: [NTG-context] Some questions about context

2007-03-07 Thread Xan
sd f >> \stoptheorem >> >> the text is indented a little bit after the begginning of the line. We >> could have a normal indentation (like AMS theorem do)? >> >> 5) Is there an equivalent to \newenvironment in latex? I think about the >> demostration

Re: [NTG-context] Some questions about context

2007-03-06 Thread Wolfgang Schuster
skjdskad sda sdas dsad asdas das dsafs f > dsfsdfsdf dfsdf sdf dsfsd fsdfsd fds fdsf ds fsd fds fsdfsdfs fdsfsd f > \stoptheorem > > the text is indented a little bit after the begginning of the line. We > could have a normal indentation (like AMS theorem do)? > > 5) I

[NTG-context] \start-\stop footnotes

2007-02-16 Thread Idris Samawi Hamid
Dear syndicate, For looong footnotes it would be nice to have \start-\stop footnotes for easier editing, but these are not defined in ConTeXt. So I tried \definestartstop [footnote] [before=\footnote\bgroup, after=\egroup] \startbuffer[footnote]% test

Re: [NTG-context] vertical space

2006-12-14 Thread Taco Hoekwater
ots of flexibility in the interline and interparagraph space, so you can do something like this: \definestartstop[kleiner] [before={\startcolumns[n=2] \setupinterlinespace[stretch=1.5] \setupwhitespace [bigger]}, after={\stopcolumns }] and that works like a charm

[NTG-context] ragged right control

2006-12-05 Thread Alan Bowen
I have been setting bibliographies using the following instructions: \definehead[BibTitle][subject] \setupsectionblock[BibTitle][number=no,page=right] \setuphead[BibTitle][style={sc},after={\blank}] \def\hangover{\hangafter=1\hangindent=1.5pc\raggedright} \definestartstop[bibliography

Re: [NTG-context] problem with \startnarrower (?)

2006-11-22 Thread Alan Bowen
) that has broken my >> definitions for setting extracts in the body text. >> >> \defineblank[extractdistance][3pt] >> >> \definestartstop[extract][ >>before={[extractdistance] >> \setupnarrower[left=1.5pc,right=1.5pc] >> \star

Re: [NTG-context] typesetting proofs

2006-11-14 Thread Hans Hagen
, > headstyle=bold, > text=Theorem, > number=yes, > after=] > \definestartstop[theorem] >[before=\startTheorem, > after=\stopTheorem] > > \defineenumeration[Proof] >[location=serried, > headstyle=slanted, > text=Proof, &g

[NTG-context] typesetting proofs

2006-11-06 Thread Dalyoung Jeong
l? or Is there any method to reduce the spaces? Thank you for reading. Dalyoung %Here is the definition following Mr. Taco's method \defineenumeration[Theorem] [location=serried, headstyle=bold, text=Theorem, number=yes, after=] \definestartstop[theorem] [before

[NTG-context] Problems mapping Xml into ConTeXt

2006-10-10 Thread Michael Wigston
topul \definetextbackground[ul]   [location=text,alternative=1,background=""> \definestartstop[ul]     [before={\starttextbackground[ul] },         after={\stoptextbackground\ }] Below is a sample  .tex file that I have been playing with: - \usemodule        [contml] \autoXMLna

Re: [NTG-context] typesetting verse?

2006-08-23 Thread Derek Schmidt
gt; > >> \startnarrower \stopnarrower > >> > >>> obey lines, > >> > >> \startlines ... \stoplines (it is more customizable than \obeylines) > >> > >> You can actually say > >> > >> \setupindenting[medium] \star

Re: [NTG-context] typesetting verse?

2006-08-23 Thread Aditya Mahajan
customizable than \obeylines) >> >> You can actually say >> >> \setupindenting[medium] \startlines[indenting=yes] (other options are >> no, yes, odd, even) and see which one you like. >> >>> and the lines should be close together, not like separate

Re: [NTG-context] typesetting verse?

2006-08-23 Thread Derek Schmidt
together, not like separate paragraphs. > > \setupinterlinespace[line=2em] \endgraf (default is 2.4 em) > > > So far I've got > > > > \definestartstop[verse][commands=\obeylines] > > So you can try > > \def\startverse% >{\bgroup > \setupinterlinespa

Re: [NTG-context] typesetting verse?

2006-08-23 Thread Hans Hagen
ey lines, >>> and the lines should be close together, not like separate paragraphs. >>> So far I've got >>> >>> \definestartstop[verse][commands=\obeylines] >>> >>> >>> What next? >>> >>> >> \startlines...\s

Re: [NTG-context] typesetting verse?

2006-08-23 Thread Aditya Mahajan
like separate paragraphs. >> So far I've got >> >> \definestartstop[verse][commands=\obeylines] >> >> >> What next? >> > \startlines...\stoplines > > has provisions for odd/even indentation and such > > also, indentation settings can handle odd/

Re: [NTG-context] typesetting verse?

2006-08-23 Thread Derek Schmidt
me poetry. It should be indented, obey lines, > > and the lines should be close together, not like separate paragraphs. > > So far I've got > > > > \definestartstop[verse][commands=\obeylines] > > > > > > What next? > > > > All best, > >

Re: [NTG-context] typesetting verse?

2006-08-23 Thread John R. Culleton
On Tuesday 22 August 2006 23:39, Derek Schmidt wrote: > Hi, > > Another simple question--have at it! > > I'd like to typeset some poetry. It should be indented, obey lines, > and the lines should be close together, not like separate paragraphs. > So far I've

Re: [NTG-context] typesetting verse?

2006-08-23 Thread Hans Hagen
Derek Schmidt wrote: > Hi, > > Another simple question--have at it! > > I'd like to typeset some poetry. It should be indented, obey lines, > and the lines should be close together, not like separate paragraphs. > So far I've got > > \definestartstop[verse]

Re: [NTG-context] typesetting verse?

2006-08-22 Thread Aditya Mahajan
nes) You can actually say \setupindenting[medium] \startlines[indenting=yes] (other options are no, yes, odd, even) and see which one you like. > and the lines should be close together, not like separate paragraphs. \setupinterlinespace[line=2em] \endgraf (default is 2.4 em) > So f

[NTG-context] typesetting verse?

2006-08-22 Thread Derek Schmidt
Hi, Another simple question--have at it! I'd like to typeset some poetry. It should be indented, obey lines, and the lines should be close together, not like separate paragraphs. So far I've got \definestartstop[verse][commands=\obeylines] What next? All b

Re: [NTG-context] the closing bracket (structuring syntax)

2006-08-13 Thread Steffen Wolfrum
Am 10.08.2006 um 22:47 schrieb Aditya Mahajan: > You can always define your own startstop. > > \definestartstop[italic][before={\bgroup \it},after={\egroup}] > > and then do > > \startitalic > This is italic > \stopitalic > > When a command takes an optional a

Re: [NTG-context] the closing bracket (structuring syntax)

2006-08-10 Thread Aditya Mahajan
de not easier. You can always define your own startstop. \definestartstop[italic][before={\bgroup \it},after={\egroup}] and then do \startitalic This is italic \stopitalic When a command takes an optional agrument, you can do use something like this \def\startfootnote% {\unskip\dosinglee

Re: [NTG-context] Context 2006.08.04 released

2006-08-08 Thread Nicolas Grilly
eau, columns are correctly aligned. It seems the problem exists only when table 1 and table 2 have not the same number of columns. Thanks for your help, Nicolas Grilly %testfile \setuppapersize [A4, landscape] [A4, landscape] \definestartstop[tableau][ before={\blank[2*big]}, comma

Re: [NTG-context] Context 2006.08.04 released

2006-08-08 Thread Taco Hoekwater
Nicolas Grilly wrote: > > Why does it break column alignment? Is it normal? A quick test looks fine to me. What precisely is wrong? Taco % testfile \setupTABLE[column][each][aligncharacter=yes, alignmentcharacter={,}] \definestartstop[tableau][ before={\blank[2*big]}, co

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Nicolas Grilly
I'm sorry to come with another problem related to character alignment... My natural tables are enclosed in a \starttableau \stoptableau pair that breaks character alignment: \starttableau \bTABLE ... \eTABLE \stoptableau These command is defined this way: \definestartstop[tableau][ b

Re: [NTG-context] texmfstart fails silently on incorrect input

2006-06-05 Thread Hans Hagen
hing > like > > \unprotect > \def\dosetvalue#1#2#3% >{\dodosetvalue{#1}[#2]#3} > >\def\dodosetvalue#1[#2#3]#4% >{\doifelse{#3}{\space} > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > > With this > > \dosetvalue {one}{a }{ b} > (\onea) >

Re: [NTG-context] texmfstart fails silently on incorrect input

2006-06-04 Thread Aditya Mahajan
es and their value. For example, doing: > > \startpublication[k = ArcticCorsairTrawling, > t = misc] > > instead of > > \startpublication[k=ArcticCorsairTrawling, > t=misc] > > 2) When trying to define an abstract command: > \definestartstop >

Re: [NTG-context] texmfstart fails silently on incorrect input

2006-06-04 Thread Guðmundur J. Kristjánsson
irTrawling, t = misc] instead of \startpublication[k=ArcticCorsairTrawling, t=misc] 2) When trying to define an abstract command: \definestartstop [abstract] [before={\midaligned{\bf Abstract} \startnarrower[2*middle]}, after={\stopnarrower \blank[big]}] In thi

Re: [NTG-context] Simple problem with quotation paragraph

2006-05-04 Thread Aditya Mahajan
ave a few) ends up being a > column of one page but just running from the page. > > So, it seems \defineparagraphs is out, because I do not get page breaks > inside the quote. But what should I do? Does this work? \definestartstop [BookQuote] [before={\startnarrower\whitespace\setup

Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Karsten Heymann
Hans Hagen wrote: > Karsten Heymann wrote: >> Great, works like a charm! By the way: What's the benefit of >> \definestartstop over \def\start..., \def\stop...? > looks nicer and is configurable (style,color etc) So it doesn't insert a extra level ouf grouping

Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Hans Hagen
Karsten Heymann wrote: > Hans Hagen wrote: > >> \definestartstop >> [exdent] >> [before={\startnarrower[left]\setupindenting[-\leftskip,yes]}, >>after=\stopnarrower] >> > > \setuphead[section][indentnext=first] > Can you make the

Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Hans Hagen
Karsten Heymann wrote: >> \definestartstop >> [exdent] >> [before={\startnarrower[left]\setupindenting[-\leftskip,yes]}, >>after=\stopnarrower] >> > > Great, works like a charm! By the way: What's the benefit of > \definestartstop over \def\

Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Karsten Heymann
Hans Hagen wrote: > \definestartstop > [exdent] > [before={\startnarrower[left]\setupindenting[-\leftskip,yes]}, >after=\stopnarrower] Can you make the following work too? Adding \indenting[yes] to before= doesn't help. \startexdent \section{Test} \input tufte \end

Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Karsten Heymann
Hans Hagen wrote: > Karsten Heymann wrote: >> what's the context'ish way of creating a start-stop environment in >> which each paragraph is indented from the 2nd line on? > \definestartstop > [exdent] > [before={\startnarrower[left]\setupindenting[-\leftsk

Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Hans Hagen
ith alternate explanations and examples >for a number of key subjects, updates describing more recent >additions to ConTeXt, and detailed solutions to some tricky problems. > % > > Yours, > Karsten > \starttext \definestartstop [exdent] [before={\startnarrower[left]\se

[NTG-context] Aleph in ConTeXt: A Guide to the Perplexed

2006-01-18 Thread Idris Samawi Hamid
\switchtobodyfont[omarb]} % For separate Arabic-script paragraphs \def\ArabicDirPar{\textdir TRT\pardir TRT} \definestartstop [arabutf] [commands=% {\usefiltersequence[UTFArabic] \switchtobodyfont[omarb]% \ArabicDirPar}] \definestartstop [arabiso] [comman

Re: [NTG-context] About \defineshortcut

2005-12-20 Thread Radhelorn
doable with: \starttext \startsetups whatever \defineshortcut [b] [style=bold] \defineshortcut [e] [style=slanted] \stopsetups \definestartstop[whatever][commands=\setups{whatever}] \input tufte oeps or \startwhatever oeps or \stopwhatever oeps or \input tufte \stoptext Many

Re: [NTG-context] About \defineshortcut

2005-12-20 Thread Hans Hagen
ther uses. i have no idea why you use shortcuts (i implemented it as a gimmick -) grouping is doable with: \starttext \startsetups whatever \defineshortcut [b] [style=bold] \defineshortcut [e] [style=slanted] \stopsetups \definestartstop[whatever][commands=\setups{whatever}] \input

Re: [NTG-context] lot of newbie questions

2005-12-02 Thread toto
Quoting Jörg Hagmann <[EMAIL PROTECTED]>: On Dec 2, 2005, at 8:30 AM, [EMAIL PROTECTED] wrote: -> I'm trying to put a metapost graphic in the margin like te example in the manual reference (page 47) using the following command: \definestartstop[important][command={\inmarge{\use

Re: [NTG-context] lot of newbie questions

2005-12-02 Thread Thomas A. Schmitz
hic in the margin like te example in the manual reference (page 47) using the following command: \definestartstop[important][command={\inmarge{\useMPgraphic{bang} [width=\marginwidth]}}] But (of course :) it does not work at all and put some blank pages. Any idea? For these two, others will have to

Re: [NTG-context] lot of newbie questions

2005-12-02 Thread Jörg Hagmann
On Dec 2, 2005, at 8:30 AM, [EMAIL PROTECTED] wrote: -> I'm trying to put a metapost graphic in the margin like te example in the manual reference (page 47) using the following command: \definestartstop[important][command={\inmarge{\useMPgraphic{bang} [width=\marginwidth]}}] But (o

[NTG-context] lot of newbie questions

2005-12-02 Thread toto
ike te example in the manual reference (page 47) using the following command: \definestartstop[important][command={\inmarge{\useMPgraphic{bang}[width=\marginwidth]}}] But (of course :) it does not work at all and put some blank pages. Any idea? Thanks a lot for your help. And thanks a lot to all th

Re: [NTG-context] typesetting proofs

2005-11-21 Thread Taco Hoekwater
I've done similar things like this: \defineenumeration[Preuve] [location=serried, headstyle=slanted, text=Preuve, number=no, after=] \definestartstop[preuve] [before=\startPreuve, after=\hfil\QED\stopPreuve] Greetings, Taco [EMAIL PROTECTED] wrote: Dear Co

Re: [NTG-context] long quotation problem

2005-11-09 Thread Alan Bowen
// In body text \defineblank[extractdistance][3pt] \definestartstop[extract][ before={ \blank[extractdistance,force] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right] \noindent}, after={\stopnarrower \blank[extractdistance,force] \indenting

Re: [NTG-context] long quotation problem

2005-11-09 Thread Hans Hagen
same problem. A. % Extracts or Long Quotations // In body text \defineblank[extractdistance][3pt] \definestartstop[extract][ before={ \blank[extractdistance,force] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower

Re: [NTG-context] long quotation problem

2005-10-21 Thread Alan Bowen
. % Extracts or Long Quotations// In body text \defineblank[extractdistance][3pt] \definestartstop[extract][ before={ \blank[extractdistance,force] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right

Re: [NTG-context] long quotation problem

2005-10-21 Thread Willi Egger
=yes] \setupfootnotes[interaction=yes] \setupnotedefinition[footnote][indenting={big,yes}] % Extract setup \definestartstop[extract][ before={\godown[0.10pc] \indenting[next] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right]}, after={\stopnarrower

Re: [NTG-context] long quotation problem

2005-10-21 Thread Peter Rolf
tes[conversion=numbers, > way=bytext,location=page,rule=on,bodyfont=10.1pt,style=normal] > \setupfootnotes[indenting=yes] > \setupfootnotes[interaction=yes] > \setupnotedefinition[footnote][indenting={big,yes}] > > % Extract setup > \definestartstop[extract][ &

[NTG-context] long quotation problem

2005-10-21 Thread Alan Bowen
\definestartstop[extract][ before={\godown[0.10pc] \indenting[next] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right]}, after={\stopnarrower \godown[0.25pc] \indenting[yes]}] \starttext Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi

Re: [NTG-context] No small caps?

2005-09-12 Thread Taco Hoekwater
x27;t need this \setup.. for this example to work (I think it is intended for setting up \Caps) \definestartstop[abstract] [before={\sc Abstract.\hskip1em}] You will probably want an extra set of braces here, the outer brace level is stripped off, so the entire abstract will be in \sc.

[NTG-context] No small caps?

2005-09-12 Thread Giuseppe Bilotta
I have Palatino as main font set up with \usetypescript[adobekb][8r] \loadmapfile[context-base] \usetypescript[palatino][8r] \setupbodyfont[palatino,rm,12pt] \switchtobodyfont[12pt] Plus I have \setupcapitals[sc=yes] \definestartstop[abstract] [before={\sc Abstract.\hskip1em}] But \starttext

[NTG-context] bug in indentation

2005-08-18 Thread Idris Samawi Hamid
] % does not indent %\setupindenting[medium,next] % need both to indent \definestartstop [quote] [before={\startnarrower[1*middle]\blank[big]}, after={\stopnarrower\blank[big]}] \starttext \input knuth \startquote \input knuth \stopquote \input knuth \stoptext

Re: [NTG-context] tweaking underlining

2005-07-15 Thread Hans Hagen
Stuart Jansen wrote: Reading the list archives, it looks like there are certain advantages, to performing underlining according to my example below: = \setupcolors[state=start] \definetextbackground[underline][location=text,alternative=1,background=,frame=off] \definestartstop [underline

Re: [NTG-context] tweaking underlining

2005-07-11 Thread Mojca Miklavec
Stuart Jansen wrote: > Reading the list archives, it looks like there are certain advantages, > to performing underlining according to my example below: > > = > \setupcolors[state=start] > \definetextbackground[underline][location=text,alternative=1,background=,frame=off]

[NTG-context] tweaking underlining

2005-07-08 Thread Stuart Jansen
Reading the list archives, it looks like there are certain advantages, to performing underlining according to my example below: = \setupcolors[state=start] \definetextbackground[underline][location=text,alternative=1,background=,frame=off] \definestartstop [underline] [before

RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-08 Thread Idris Samawi Hamid
ghtskip) 0.0 === === \setupoutput[pdftex]% \definestartstop [quote] [before={\startnarrower[1*left,1*right]\blank[big]}, after={\stopnarrower\blank[big]}] \starttext \startquote \input knuth \inmargin{This is a test.} \stopquot

RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-07 Thread Idris Samawi Hamid
Hi Taco and all, I found a temporary solution: Given a \start-\stopnarrower environment like === \definestartstop [quote] [before={\startnarrower[1*middle]\blank[big]}, after={\stopnarrower\blank[big

RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-07 Thread Idris Samawi Hamid
\def\inmargin#1{{\parindent0pt\normalinmargin{#1}}} \definestartstop [quote] [before={\startnarrower[1*left,1*right]\blank[big]}, after={\stopnarrower\blank[big]}] \starttext \startquote \input knuth \inmargin{This is a test.} \input knuth {\parindent0pt\inmargin{This is a test.}} \stop

Re: [NTG-context] empty lines at the top of the columns

2005-03-17 Thread Hans Hagen
is very ugly. Does anyone know how I can solve this problem. My columndefinition is \startcolumns[n=2,rule=off,balance=yes,blank={fixed,small}] and I defined the dictionary article enviromnent as follows: \definestartstop[lemma][ before={}, % after={\crlf}]% use

[NTG-context] empty lines at the top of the columns

2005-03-17 Thread sjoerd siebinga
anyone know how I can solve this problem. My columndefinition is \startcolumns[n=2,rule=off,balance=yes,blank={fixed,small}] and I defined the dictionary article enviromnent as follows: \definestartstop[lemma][ before={}, % after={\crlf}]% thanks, Sjoerd

[NTG-context] Learning ConTeXt, typical hurdle

2005-03-10 Thread Gerben Wierda
replace LaTeX's description. In the environment file: === \startenvironment env_teoada \project project_teoada \definedescription [description] [location=hanging, margin=standard, headstyle=bold] \definestartstop [descriptions] [before=\blank\startpacked, aft

Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2005-01-03 Thread Maurice Diamantini
ter (to keep the use of it event simpler) But as the "père Noël" Hans give me a "Christmas present" (see next post) It is no more usefull! \definestartstop[Algo][ before={ \start \tx \def\H{\phantom{- }}% H for Hyphen (espace cor

Re: [NTG-context] Re: Ancient Greek (bodyfont conflict?)

2004-09-02 Thread Hans Hagen
\other \language[greek] \switchtobodyfont[cbgreek] \stopsetups \definestartstop [greek] [commands=\directsetup{cbgreek}] \doifnotmode{demo}{\endinput} % The following sample file was submitted to the \CONTEXT\ % mailing list by Giuseppe Bilotta, along with the right % typescripts. % al

Re: [NTG-context] Ancient Greek / a few modules for SW with thanks to GB

2004-08-23 Thread Steffen Wolfrum
r=Hans Hagen, > %D date=\currentdate, > %Dsuggestions=Giuseppe Bilotta, > %D copyright={PRAGMA / Hans Hagen \& Ton Otten}] > %C > %C This module is part of the \CONTEXT\ macro||package and is > %C therefore copyrighted by \PRAGMA. See mreadme.pdf for > %C details.

Re: [NTG-context] Ancient Greek / a few modules for SW with thanks to GB

2004-08-23 Thread Hans Hagen Outside
for %C details. \usetypescriptfile[type-cbg] \usetypescript [all] [cbgreek] \startsetups [cbgreek] \catcode`~=\other \catcode`|=\other \language[greek] \switchtobodyfont[cbgreek] \stopsetups \definestartstop [greek] [commands=\directsetup{cbgreek}] \doifnotmode{demo}{\endinput} % The following s

Re: [NTG-context] Collecting command arguments in a startstop environment

2004-08-02 Thread Hans Hagen Outside
'm finding myself wanting to do this in ConTeXt, with of course replacing \newenvironment with \definestartstop. Is there by any chance a built-in ConTeXt macro that can do this? Or even things that would make a decent foundation for building such a thing? The \grabuntil and \processbetwe

Re: [NTG-context] Collecting command arguments in a startstop environment

2004-08-02 Thread Brooks Moses
f wanting to do this in ConTeXt, with of course replacing \newenvironment with \definestartstop. Is there by any chance a built-in ConTeXt macro that can do this? Or even things that would make a decent foundation for building such a thing? The \grabuntil and \processbetween commands, as

Re: [NTG-context] Re: Collecting command arguments in a startstop environment

2004-08-02 Thread Brooks Moses
At 01:37 AM 8/2/2004, you wrote: > Anyhow, I'm finding myself wanting to do this in ConTeXt, with of > course replacing \newenvironment with \definestartstop. I didn't want to fiddle with \definestartstop, but here is a quick hack: --

[NTG-context] Re: Collecting command arguments in a startstop environment

2004-08-02 Thread Patrick Gundlach
[...] > Anyhow, I'm finding myself wanting to do this in ConTeXt, with of > course replacing \newenvironment with \definestartstop. I didn't want to fiddle with \definestartstop, but here is a quick hack: -- \long\def\foo#1{ Hell

[NTG-context] Collecting command arguments in a startstop environment

2004-08-01 Thread Brooks Moses
urse replacing \newenvironment with \definestartstop. Is there by any chance a built-in ConTeXt macro that can do this? Or even things that would make a decent foundation for building such a thing? Thanks much, - Brooks [1] http://www.tex.ac.uk/cgi-bin/texfaq2html

Re: [NTG-context] Best source of ConTeXt documentation?

2004-08-01 Thread Gary Pajer
-context] Best source of ConTeXt documentation? > In my efforts to learn ConTeXt, I'm continually getting stuck by a lack of > having complete documentation. For example, consider the \definestartstop > command, which I was recently looking at. > > * In the cont-enp.pdf manual,

[NTG-context] Best source of ConTeXt documentation?

2004-08-01 Thread Brooks Moses
In my efforts to learn ConTeXt, I'm continually getting stuck by a lack of having complete documentation. For example, consider the \definestartstop command, which I was recently looking at. * In the cont-enp.pdf manual, it's not mentioned. * In the mp-cp-en.pdf manual, there'

Re: [NTG-context] overstrikes and hyphenation (was Re: synopsis / column(set)s?)

2004-07-14 Thread Hans Hagen
[underline][location=text,alternative=1,background=,frame=off] \definestartstop [underline] [before={\starttextbackground[underline]}, after=\stoptextbackground] \starttext \input tufte \starttextbackground[underline]\input tufte \stoptextbackground \input tufte \startunderline\input tufte

[NTG-context] Re: Wrapping \type{}

2004-06-01 Thread Nikolai Weibull
* Hans Hagen <[EMAIL PROTECTED]> [Jun 01, 2004 21:20]: > \definestartstop[BNF][before=\startlines\setups{myBNF},after=\stoplines] > > \startsetups[myBNF] > \defineactivecharacter " > {\bgroup\tttf\setupinlineverbatim\defineactivecharacter " {\egroup}} > \def

Re: [NTG-context] Wrapping \type{}

2004-06-01 Thread Hans Hagen
t; where . is also an activated character for terminating a production in the grammar. Any suggestions on how to go about this? I mean, the obvious solution is simply to write : ; , "\type{\|}", . instead, but I would like to keep the input as clean as possible. nikolai \defi

Re: [NTG-context] \definestartstop and \starttabulate

2004-05-07 Thread Peter Münster
On Fri, 7 May 2004, Hans Hagen wrote: > \definetabulate[test][|l|p|l|] Thank you, Hans! Here you see, how I use it: \define[3]\FLine{\NC#1\NC#2\NC#3\NC\AR}% First line \define[2]\Line{\NC\NC#1\NC#2\NC\AR} % normal line \define[3]\SLine{\Line{\hbox{\hbox to 0pt{\hskip-3em #1}#2}}{#3}}% special

Re: [NTG-context] \definestartstop and \starttabulate

2004-05-07 Thread Hans Hagen
At 21:31 06/05/2004, you wrote: Hello, how could I create a new start-stop-pair that uses \starttabulate ? The following example does not seem to work... \definestartstop[Tab][before={\starttabulate[|c|]}, after={\stoptabulate}] \starttext \startTab \NC test \NC\AR \stopTab \stoptext

[NTG-context] \definestartstop and \starttabulate

2004-05-06 Thread Peter Münster
Hello, how could I create a new start-stop-pair that uses \starttabulate ? The following example does not seem to work... \definestartstop[Tab][before={\starttabulate[|c|]}, after={\stoptabulate}] \starttext \startTab \NC test \NC\AR \stopTab \stoptext TIA for any help, Peter -- http

[NTG-context] Re: Again: "hanging" for a lot of paragraphs?

2004-02-18 Thread Steffen Wolfrum
}% sorry for the stupid macro name > > \definestartstop[hangingarea] > [before={\bgroup\appendtoks\hangover\to\everypar}, > after=\egroup] > > \starthangingarea > \input tufte > > \input tufte > > \stophan

[NTG-context] Re: Again: "hanging" for a lot of paragraphs?

2004-02-18 Thread Patrick Gundlach
Hi, Very quick hack: \starttext \def\hangover{\hangafter=1\hangindent=1em }% sorry for the stupid macro name \definestartstop[hangingarea] [before={\bgroup\appendtoks\hangover\to\everypar}, after=\egroup] \starthangingarea \input tufte \input tufte \stophangingarea \input tufte

<    1   2   3   4   5   6   >