Re: [NTG-context] Dropped caps, \startlines\stoplines, and indentation question

2006-01-28 Thread Adrian Drury
Radhelorn wrote:Adrian Drury wrote: Hello, I'm having trouble using dropped caps within \startlines\stoplines. I'm trying to typeset some poetry and I'm using \setuplines[space=yes]. I'd like to use dropped caps and have the indented lines be additionally indented by any space at the beginning

Re: [NTG-context] Dropped caps, \startlines\stoplines, and indentation question

2006-01-25 Thread Radhelorn
Adrian Drury wrote: Hello, I'm having trouble using dropped caps within \startlines\stoplines. I'm trying to typeset some poetry and I'm using \setuplines[space=yes]. I'd like to use dropped caps and have the indented lines be additionally indented by any space at the beginning

Re: [NTG-context] A few questions about eating spaces in macros

2006-01-24 Thread Radhelorn
for any suggestions. - \setuplines[before=,after=] \def\startcommand{\dosingleargument\dostartcommand} \def\dostartcommand[#1]% {\bgroup\defineshortcut[style=bold]#1\startlines\startsidebar} \def\stopcommand{\stopsidebar\stoplines\egroup} \starttext \startcommand this must

Re: [NTG-context] A feq questions about eating spaces in macros

2006-01-23 Thread Hans Hagen
. - \setuplines[before=,after=] \def\startcommand{\dosingleargument\dostartcommand} \def\dostartcommand[#1]% {\bgroup\defineshortcut[style=bold]#1\startlines\startsidebar} \def\stopcommand{\stopsidebar\stoplines\egroup} \starttext \startcommand this must be bold \input knuth this is bold

[NTG-context] A feq questions about eating spaces in macros

2006-01-22 Thread Radhelorn
this with various manipulations with \noindent with moderate success. Another problem is necessity to explicitly add % character before \stopcommand to ignore newline. How to do this inside macro with this combination of lines and sidebar? Thanks in advance for any suggestions. - \setuplines

[NTG-context] Dropped caps, \startlines\stoplines, and indentation question

2006-01-21 Thread Adrian Drury
Hello, I'm having trouble using dropped caps within \startlines\stoplines. I'm trying to typeset some poetry and I'm using \setuplines[space=yes]. I'd like to use dropped caps and have the indented lines be additionally indented by any space at the beginning of the lines. See the following

Re: [NTG-context] An idea

2005-12-04 Thread Nikolai Weibull
\startcolor[#1]\processinlineverbatim{\stopcolor\egroup}} \setuplines[space=yes] \starttext \startlines \setverbatimspaceskip \frenchspacing \parindent\zeropoint \verbatimfont \highlight[Comment]{/*} \highlight[Comment]{ * contents: A minimal C program.} \highlight[Comment]{ *} \highlight[Comment

Re: [NTG-context] 3 problems with framed

2005-11-01 Thread Peter Münster
On Mon, 31 Oct 2005, Hans Hagen wrote: \Numero uses \high and this command sets the height/depth to strut height/depth put a \obeydepth after \stoplines (and also say: \setuplines[before=,after=]) \section{More vertical space with \tex{startlines}} \framed[align=flushleft, top

Re: [NTG-context] 3 problems with framed

2005-10-31 Thread Peter Rolf
by \framed, but \startlines .. \stoplines, so you have to fiddle with \setuplines[before={\blank[???]}, after={\blank[???]}, inbetween={\blank[???]}} % with ???=.xx\bodyfontsize to be font size independent \framed[align=flushleft, top=\vskip-1.9\lineheight,bottom=\vskip-0.75\lineheight

[NTG-context] startlines space width

2005-09-17 Thread Stuart Jansen
with embedded floats. What do I need to fix so that the default \def\normalspace{ } has the correct width for the current font? Below is an example file that renders fine with lm/cm, but not my font. %\usetypescript [gurulabs] \starttext \setuplines[space=yes] \bgroup\tt\startlines 1 3 5 7 9 11 13 15

Re: [NTG-context] Position Box On Bottom Right Side

2005-07-22 Thread Taco Hoekwater
Christoph Czarnetzki wrote: Hello! i want to put a box on the right, bottom side of my initial page. Its like Like so? \starttext \startstandardmakeup \setupalign[flushright] \setuplines[after=,before=\vfill\hairline] \startlines line 1 line 2 line 3 \stoplines

Re: [NTG-context] Position Box On Bottom Right Side

2005-07-22 Thread Christoph Czarnetzki
Taco Hoekwater schrieb: Christoph Czarnetzki wrote: Hello! i want to put a box on the right, bottom side of my initial page. Its like Like so? \starttext \startstandardmakeup \setupalign[flushright] \setuplines[after=,before=\vfill\hairline] \startlines line 1 line 2

[NTG-context] new beta

2005-07-19 Thread Hans Hagen
, the following should work ok \setupindenting[medium] \setuplines[indenting=no] \startlines first second third fourth \stoplines \setuplines[indenting=yes] \startlines first second third fourth \stoplines \setuplines[indenting=odd] \startlines first second third fourth \stoplines \setuplines

Re: [NTG-context] startlines bug(s)

2005-06-17 Thread Taco Hoekwater
-effect of using \obeyspaces. Here is an example of the needed source changes to get your expected output: \starttext \bgroup\tt \ConTeXt\ is A\bgroup\ttsl maz\egroup ing \setuplines[space=yes] \startlines \ConTeXt\ is A{\ttsl{}maz}ing I didn't expect spaces around maz \stoplines

[NTG-context] startlines bug(s)

2005-06-16 Thread Stuart Jansen
Below is a simple test case that illustrates what I suspect are bugs with \startlines. I suspect that fixing them will be tricky, so I'm wondering if anyone can think of work arounds. \starttext \bgroup\tt \ConTeXt\ is A\bgroup\ttsl maz\egroup ing \setuplines[space=yes] \startlines \ConTeXt

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

2005-01-03 Thread Maurice Diamantini
Le 25 déc. 04, à 20:03, John Culleton a écrit : On Friday 24 December 2004 09:23, Mojca Miklavec wrote: Maurice Diamantini wrote: Well I agree that it's no more typing any more! So a special option for \setuplines would be more appropriate? Exactly, \starttyping does exactly that what you don't

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

2005-01-03 Thread Maurice Diamantini
to startLines with other hack, but it doesn't seem to be suffisant (but I didn't expect to!). Any way thank you for the solution ! \unprotect \setuplines[\c!space=\v!default] \def\startlines {\@@rgbefore \whitespace %\page[\v!preference]} gaat mis na koppen, nieuw: later \nobreak

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

2005-01-03 Thread Hans Hagen
, but it doesn't seem to be suffisant (but I didn't expect to!). no, just the same command, but with an option: \setuplines[space=on] if there is real demand for it i can always make a \definelines[lines] \definelines[Lines][space=on] Hans

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

2004-12-27 Thread h h extern
Christmas present ... \unprotect \setuplines[\c!space=\v!default] \def\startlines {\@@rgbefore \whitespace %\page[\v!preference]} gaat mis na koppen, nieuw: later \nobreak \begingroup \def\@@rgstepyes{\parindent\zeropoint}% \def\@@rgstepno {\parindent\zeropoint}% \edef

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

2004-12-25 Thread John Culleton
On Friday 24 December 2004 09:23, Mojca Miklavec wrote: Maurice Diamantini wrote: Well I agree that it's no more typing any more! So a special option for \setuplines would be more appropriate? Exactly, \starttyping does exactly that what you don't want: it disables math and expansion

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

2004-12-24 Thread Maurice Diamantini
for \setuplines would be more appropriate? Le 24 déc. 04, à 09:07, Maurice Diamantini a écrit : Bonjour à tous, I'm trying to white some algorithms in natural language (versus pseudo-computing langage) I need to keep some typing for write space (i.e. indentation of text) while being able to white TeX commands

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

2004-12-24 Thread Mojca Miklavec
Maurice Diamantini wrote: Well I agree that it's no more typing any more! So a special option for \setuplines would be more appropriate? Exactly, \starttyping does exactly that what you don't want: it disables math and expansion of TeX commands. Also, perhaps my request is simply an option

Re: [NTG-context] Centering lines of poetry.

2003-10-21 Thread Erik Hetzner
font changes are allowed. Of course \centerline{} works but this requires tagging each line. Any thoughts, anyone? This worked for me: \startalignment[middle] \setuplines[indenting=no] \startlines {\it Out of his mouth a red, red rose! Out of his heart a white! For who can say by what strange

Re: [NTG-context] Centering lines of poetry.

2003-10-21 Thread Erik Hetzner
font changes are allowed. Of course \centerline{} works but this requires tagging each line. Any thoughts, anyone? This worked for me: \startalignment[middle] \setuplines[indenting=no] \startlines {\it Out of his mouth a red, red rose! Out of his heart a white! For who can say by what strange

<    1   2