Re: [NTG-context] Indenting in \setuplines

2013-06-05 Thread Hans Hagen
On 6/5/2013 11:06 PM, Marcin Borkowski wrote: Dnia 2013-06-03, o godz. 15:20:45 Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a): Hi, I'd like to have my \startlines ... \stoplines indented in the following way: the first two lines unindented, the next two indented, and so on. Basically

Re: [NTG-context] Indenting in \setuplines

2013-06-05 Thread Marcin Borkowski
Dnia 2013-06-06, o godz. 00:22:04 Hans Hagen pra...@wxs.nl napisał(a): On 6/5/2013 11:06 PM, Marcin Borkowski wrote: Dnia 2013-06-03, o godz. 15:20:45 Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a): Hi, I'd like to have my \startlines ... \stoplines indented in the following way

[NTG-context] Indenting in \setuplines

2013-06-03 Thread Marcin Borkowski
Hi, I'd like to have my \startlines ... \stoplines indented in the following way: the first two lines unindented, the next two indented, and so on. Basically, this means that I'd like the pattern to be based on (mod 4) arithmetic and not (mod 2). Is it possible? If yes, how? TIA, -- Marcin

Re: [NTG-context] Percent symbol inside \type{}?

2013-05-21 Thread Sander Maijers
\startlines \mono{foo \% bar} \mono{foo \letterpercent\ bar} \asciimode \mono{foo % bar} \stoplines \stoptext That works, thanks! Marco PS: Please don't hijack threads. Start a new thread for each new issue. I have used a new subject line. If you see any problem

Re: [NTG-context] Percent symbol inside \type{}?

2013-05-20 Thread Marco Patzer
On 2013–05–20 Sander Maijers wrote: What is the most straightforward way to print a percent symbol inside the argument to \type{} (or, if necessary, more generally: monospace type) I'd say the most straightforward way is using \asciimode: \starttext \startlines \mono{foo \% bar

[NTG-context] Why does startlines not work in a function

2013-04-26 Thread Cecil Westerhof
I have the following code: \startlines \startalignment[center] \setupindenting[no] \doifelse {\getvariable{meta}{personalInfo}} {long} { longline 1 longline 2 longline 3 longline 4 longline 5 longline 6

Re: [NTG-context] Why does startlines not work in a function

2013-04-26 Thread Hans Hagen
On 4/26/2013 5:19 PM, Cecil Westerhof wrote: I have the following code: ... But then the text becomes one line instead of several lines. because catcode changes are involved \startbuffer [meta:personalInfo:long] \startlines longline 1 longline 2 longline 3 longline 4 longline 5 longline 6

Re: [NTG-context] Why does startlines not work in a function

2013-04-26 Thread Cecil Westerhof
2013/4/26 Hans Hagen pra...@wxs.nl: On 4/26/2013 5:19 PM, Cecil Westerhof wrote: I have the following code: ... But then the text becomes one line instead of several lines. because catcode changes are involved \startbuffer [meta:personalInfo:long] \startlines longline 1 longline 2

Re: [NTG-context] Basic \def error?

2013-04-25 Thread Verhaag, G.C.H.M.
\def\one{One} \unexpanded\def\two{Two} \edef\expandedone{\one} \edef\expandedtwo{\two} \startlines \one:\expandedone \two:\expandedtwo \stoplines \def\one{First} \def\two{Second} \startlines \one:\expandedone \two:\expandedtwo \stoplines \stoptext Wolfgang

Re: [NTG-context] Basic \def error?

2013-04-23 Thread Wolfgang Schuster
the same result. The reason why \expandedtwo show “Second” is that \unexpanded\def prevented the expansion of \two in \edef\expandedtwo{…}. \starttext \def\one{One} \unexpanded\def\two{Two} \edef\expandedone{\one} \edef\expandedtwo{\two} \startlines \one:\expandedone \two:\expandedtwo

Re: [NTG-context] Nabla operator appears italic in formula

2013-03-24 Thread Hans Hagen
\startlines \type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0} \type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0} \type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0} \type{bi}: \mathematics{\bi \nabla \phi = ∇ ϕ = 0} \type{tf}: \mathematics{\tf

Re: [NTG-context] Nabla operator appears italic in formula

2013-03-24 Thread Xenia
with: \starttext \startTEXpage \startlines \type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0} \type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0} \type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0} \type{bi}: \mathematics{\bi \nabla

[NTG-context] Getting the content of source lines in a \startlines \stoplines env?

2013-02-04 Thread Ingo Hohmann
Hi, in another thread I got an answer to the question, how to format lines in an environment automatically. Is there a way to get the content of source lines? For example, to save the line content into a variable? Thank you in advance, Ingo

Re: [NTG-context] Getting the content of source lines in a \startlines \stoplines env?

2013-02-04 Thread Wolfgang Schuster
Am 04.02.2013 um 18:11 schrieb Ingo Hohmann cont...@ingohohmann.de: Hi, in another thread I got an answer to the question, how to format lines in an environment automatically. Is there a way to get the content of source lines? For example, to save the line content into a variable? You

Re: [NTG-context] Getting the content of source lines in a \startlines \stoplines env?

2013-02-04 Thread Aditya Mahajan
On Mon, 4 Feb 2013, Wolfgang Schuster wrote: context({\\bf %s},l) context(true) What does context(true) do? Aditya ___ If your question is of interest to others as

Re: [NTG-context] Getting the content of source lines in a \startlines \stoplines env?

2013-02-04 Thread luigi scarso
On Mon, Feb 4, 2013 at 7:05 PM, Aditya Mahajan adit...@umich.edu wrote: On Mon, 4 Feb 2013, Wolfgang Schuster wrote: context({\\bf %s},l) context(true) What does context(true) do? Aditya Newline tokens are injected by passing true to the

[NTG-context] Broken scripts

2013-02-01 Thread Vyatcheslav Yatskovsky
Hi, I found that my scripts don't work now. E.g, \intro, defined as \def\intro{\dosingleempty\dointro} \def\dointro[#1]#2{% \startlines {\mi\cap\tfx INTRO} \doiftext{#2}{\inmargin{#2}} \doiftext{#1}{\tfx #1} \stoplines

Re: [NTG-context] setupblock with starttyping doesn't work

2013-01-31 Thread Hans Hagen
the two more complex mechanisms .. the ones that intercept the input stream \setupblock[Address][ before=\startlines\tt, after=\stoplines, ] will work ok for most text cases \starttext \beginAddress Peter Pan Somewhere over the Rainbow Neverland \endAddress \useblocks[Address] Some more

Re: [NTG-context] setupblock with starttyping doesn't work

2013-01-31 Thread Aditya Mahajan
, after=\stoptyping ] you pick the two more complex mechanisms .. the ones that intercept the input stream \setupblock[Address][ before=\startlines\tt, after=\stoplines, ] will work ok for most text cases \starttext \beginAddress Peter Pan Somewhere over the Rainbow Neverland

Re: [NTG-context] Consistent Colors

2013-01-29 Thread Wolfgang Schuster
)] \starttext \startlines \color[test-1]{1.00} \color[test-2]{0.75} \color[test-3]{0.50} \color[test-4]{0.25} \stoplines \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] buffers (append)

2013-01-15 Thread Sietse Brouwer
and best, From the wide zone through dizzying circles hurled, To that still centre where the spinning world Sleeps on its axis, to the heart of rest. \stopbuffer \startlines \getbuffer[x] \stoplines -- \startappendbuffer[x] \inmargin{Lord Peter Wimsey} Lay on thy whips, O Love, that we

Re: [NTG-context] buffers (append)

2013-01-14 Thread Wolfgang Schuster
cleanly as conTeXt macros. I imagine that this might be quite trivial for our TeX programming experts... (for once, a [useful?] suggestion that in the end will not entail many hours of work? :) \startbuffer[a] Line 1 \stopbuffer \startbuffer[b] Line 2 \stopbuffer \starttext \startlines \getbuffer

Re: [NTG-context] buffers (append)

2013-01-14 Thread Alan BRASLAU
? :) \startbuffer[a] Line 1 \stopbuffer \startbuffer[b] Line 2 \stopbuffer \starttext \startlines \getbuffer[a,b] \stoplines \stoptext Wolfgang Thank you Wolfgang, this is useful. However, it would still be helpful to be able to generically add to a buffer without having to rename

Re: [NTG-context] Metafun textext()

2013-01-10 Thread Aditya Mahajan
; \stopbuffer \startlines Only draw T: \processMPbuffer[initialize,T] Only draw Q: \processMPbuffer[initialize,Q] Draw T Q : \processMPbuffer[initialize,T,Q] Draw Q T : \processMPbuffer[initialize,Q,T] \stoplines Aditya

Re: [NTG-context] Metafun textext()

2013-01-10 Thread Hans Hagen
:= textext(Hello); picture Q; Q := T; \stopbuffer \startbuffer[T] draw T withcolor blue; \stopbuffer \startbuffer[Q] draw Q shifted (-1mm, 1mm) withcolor red; \stopbuffer \startlines Only draw T: \processMPbuffer[initialize,T] Only draw Q: \processMPbuffer[initialize,Q] Draw T Q

Re: [NTG-context] different vertical space with \definelines and \setuplines

2012-12-09 Thread Wolfgang Schuster
the value from the “inbetween” key. \starttext \startlines[inbetween=INBETWEEN] this is a verse this is a verse \stoplines \stoptext You can remove the line by setting “inbetween=”. 2. The \startnarrow command is already defined in the core as narrower command. \definenarrower[mynarrow][left=4em

Re: [NTG-context] \unit problem with powers of ten.

2012-11-23 Thread Sietse Brouwer
not supported? not supported .. i've added it to the upcoming beta: \starttext \startlines \unit{10^12 meter} \unit{10^{-12} second} \unit{10^{12} second} \unit{10e12 meter} \unit{10e{-12} second} \unit{10e{12} second} \stoplines \stoptext needs testing as usual (and wiki adaption as well

Re: [NTG-context] \unit problem with powers of ten.

2012-11-23 Thread Romain Diss
Process Management 0.60 mtx-context | current version: 2012.11.23 17:35 but your following code doesn't work completely: \starttext \startlines \unit{10^12 meter} \unit{10^{-12} second} \unit{10^{12} second} \unit{10e12 meter} \unit{10e{-12} second} \unit{10e{12} second} \stoplines

Re: [NTG-context] \unit problem with powers of ten.

2012-11-23 Thread Hans Hagen
mtx-context | ConTeXt Process Management 0.60 mtx-context | current version: 2012.11.23 17:35 but your following code doesn't work completely: \starttext \startlines \unit{10^12 meter} \unit{10^{-12} second} \unit{10^{12} second} \unit{10e12 meter} \unit{10e{-12} second} \unit{10e{12

Re: [NTG-context] \unit problem with powers of ten.

2012-11-22 Thread Hans Hagen
-4 kilogram}. Is this a bug or are these expressions not supported? not supported .. i've added it to the upcoming beta: \starttext \startlines \unit{10^12 meter} \unit{10^{-12} second} \unit{10^{12} second} \unit{10e12 meter} \unit{10e{-12} second} \unit{10e{12} second} \stoplines \stoptext

[NTG-context] Multipass Datasets doesn't work

2012-10-29 Thread Martin Fechner
2,y=Value Y 2] \setdataset[test-2][a][name=Ben Lee User,job=Manager] \setdataset[test-2][b][title=TeX by Topic] \startlines \datasetvariable{test-1}{1}{x}:\datasetvariable{test-1}{1}{y} \datasetvariable{test-1}{2}{x}:\datasetvariable{test-1}{2}{y} \stoplines Name: \datasetvariable{test-2}{a}{name

Re: [NTG-context] Multipass Datasets doesn't work

2012-10-29 Thread Wolfgang Schuster
\setdataset[test-1][x=Value X 1,y=Value Y 1] \setdataset[test-1][x=Value X 2,y=Value Y 2] \setdataset[test-2][a][name=Ben Lee User,job=Manager] \setdataset[test-2][b][title=TeX by Topic] \startlines \datasetvariable{test-1}{1}{x}:\datasetvariable{test-1}{1}{y} \datasetvariable{test-1}{2}{x

Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Sietse Brouwer
and refer to it later in text: \someline[tag]; refer back with \inline[tag] or \inlinerange[tag] (the former has a spurious space before the number). The low-level backreferences are \in[lr:b:tag] and \in[lr:e:tag]; see page-lin.mkiv (d) ditto for line ranges: \startlines[tag] ... \stoplines[tag]; refer

[NTG-context] Linenumbering

2012-05-25 Thread Willi Egger
Hi all, may be i am mistaken, but I can't get line numbering to show in the beta of yesterday afternoon. \starttext \setuplinenumbering[step=5,location=intext] \startlines Een nieuwe lente en een nieuw geluid: Ik wil dat dit lied klinkt als het gefluit, Dat ik vaak hoorde voor een zomernacht

Re: [NTG-context] Linenumbering

2012-05-25 Thread Hans Hagen
On 25-5-2012 10:07, Willi Egger wrote: Hi all, may be i am mistaken, but I can't get line numbering to show in the beta of yesterday afternoon. \starttext \setuplinenumbering[step=5,location=intext] \startlines Een nieuwe lente en een nieuw geluid: Ik wil dat dit lied klinkt als het gefluit

Re: [NTG-context] Linenumbering

2012-05-25 Thread Willi Egger
] \startlines Een nieuwe lente en een nieuw geluid: Ik wil dat dit lied klinkt als het gefluit, Dat ik vaak hoorde voor een zomernacht, In een oud stadje, langs de watergracht --- In huis was 't donker, maar de stille straat Vergaarde schemer, aan de lucht blonk laat Nog licht, er viel een gouden

Re: [NTG-context] Linenumbering

2012-05-25 Thread Rogers, Michael K
, \domakelinenumber undefined: \starttext \setuplinenumbering[step=5,location=middle] \startlinenumbering \startlines Een nieuwe lente en een nieuw geluid: Ik wil dat dit lied klinkt als het gefluit, Dat ik vaak hoorde voor een zomernacht, In een oud stadje, langs de watergracht --- In huis was 't

Re: [NTG-context] Asian Language Support

2012-05-08 Thread KUROKI Yusuke
=kana,language=jan] \testfont \starttext \startscript[nihongo] \startlines 国、『国』、『国』、『国』、『国』、『国』、 \hbox to 3em{国、『国』、『国』、『国』、『国』、『国』、} 国:国:国:国:国:国:国:国:国:国 \hbox to 3em{国:国:国:国:国:国:国:国:国:国} \stoplines \stopscript \stoptext A question for Yusuke: what script name should we use? More (simple

Re: [NTG-context] Asian Language Support

2012-05-07 Thread Hans Hagen
] % \enabletrackers[scripts.injections] \enabletrackers[scripts.details] % \definefont[testfont][heiseikakugostd-w5][script=kana,language=jan] \definefont[testfont][heiseiminstd-w3] [script=kana,language=jan] \testfont \starttext \startscript[nihongo] \startlines 国、『国』、『国』、『国』、『国

Re: [NTG-context] Asian Language Support

2012-05-07 Thread KUROKI Yusuke
] % \definefont[testfont][heiseikakugostd-w5][script=kana,language=jan] \definefont[testfont][heiseiminstd-w3] [script=kana,language=jan] \testfont \starttext \startscript[nihongo] \startlines 国、『国』、『国』、『国』、『国』、『国』、 \hbox to 3em{国、『国』、『国』、『国』、『国』、『国』、} 国:国:国:国:国:国:国

Re: [NTG-context] Indentation for beginner

2012-05-03 Thread hwitloc
\stopitem \stopitemize \stoprpara \startrpara Work\crlf Experience % or use \startlines … \stoplines \nextrpara \startitemize \startitem UCLA BoA \stopitem \startitem LMU BSCS \stopitem \stopitemize \stoprpara \stoptext

Re: [NTG-context] [***SPAM***] Indentation for beginner

2012-05-02 Thread Marco
\startitem is here today \stopitem \stopitemize \stoprpara \startrpara Work\crlf Experience % or use \startlines … \stoplines \nextrpara \startitemize \startitem UCLA BoA \stopitem \startitem LMU BSCS \stopitem \stopitemize

[NTG-context] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Marco Pessotto
Dear list, I use \(start|stop)lines[spaces=on] to typeset poetry, which seems the right thing to do to preserve eventual initial whitespace. Anyway, I encounter the following issues: = cut here = % \starttext this is normal text. \startlines[space

Re: [NTG-context] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Philipp Gesang
this is normal text. \startlines[space=on] this is a {\em test} with a long long long long line\footnote{this is a test with a long long long long line this is a test with a long long long long line this is a test with a long long long long line this is a test with a long long

Re: [NTG-context] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Marco Pessotto
Philipp Gesang ges...@stud.uni-heidelberg.de writes: On 2012-04-22 17:16, Marco Pessotto wrote: n I remember I brought this up a while ago: http://archive.contextgarden.net/message/20100916.124413.0e12af0e.en.html Seems like one can avoid the spaces through grouping (or with

Re: [NTG-context] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Philipp Gesang
{off} \stopsetups \setupnote[footnote][setups=get_back_my_spacing] \starttext \startlines[space=on] this is a {\em test} with a long long long long line\footnote{this is a test with a long long long long line this is a test with a long long long long line this is a test with a long long long

Re: [NTG-context] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Marco Pessotto
but finally: And indeed it works like a charm. Thanks a lot. \startsetups get_back_my_spacing \activatespacehandler{off} \stopsetups \setupnote[footnote][setups=get_back_my_spacing] \starttext \startlines[space

Re: [NTG-context] Buffers vs. \def

2012-04-18 Thread Hans Hagen
On 18-4-2012 11:48, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, a question - I'm just curious: What is advantage (or maybe intension) of using buffers over \def? better test with \startlines test test \stoplines also, bufferes can be flushed verbatim, as tex, as ... while macros

Re: [NTG-context] Broken Nightly 2012.03.02

2012-03-04 Thread Wolfgang Schuster
with the lines environment and a minimal example does also show the same message. \definetextbackground[test]%[state=stop] \starttext \showframe %\blank[force,35*line] \blank[force,36*line] \starttest \startlines One Two Three Four Five \stoplines \stoptest \stoptext Wolfgang

[NTG-context] issue with \setuplabeltext

2012-01-22 Thread Pablo Rodríguez
Hi there, I have the following sample code: \mainlanguage[agr] \usemodule[simplefonts][size=11pt] \setmainfont[Theano Didot] \setuplabeltext[chapter=Ῥαψωδία~] \setuphead[chapter][align=center] \starttext \completecontent \chapter{\mbox{}} \startlines Μῆνιν

Re: [NTG-context] Unicode character for \,?

2012-01-15 Thread Wolfgang Schuster
\|\| nothing\par \|~\| \type{~}\par \| \| NO-BREAK SPACE (U+00A0) (seems ok to me) \stoptext \starttext \startlines \|\| \|\,\| \|\sixperemspace\| \stoplines \stoptext Wolfgang ___ If your question is of interest

Re: [NTG-context] indenting \startlines... \stoplines

2012-01-01 Thread Wolfgang Schuster
Am 31.12.2011 um 20:33 schrieb Pablo Rodríguez: Hi there, I want to be a \startlines... \stoplines environment to be 10cm away from the left margin. I know this is a basic question, but I have no idea how to do it. As the lines environment has no margin keys you need the narrower

Re: [NTG-context] indenting \startlines... \stoplines

2012-01-01 Thread Pablo Rodríguez
On 01/01/2012 10:30 AM, Wolfgang Schuster wrote: Am 31.12.2011 um 20:33 schrieb Pablo Rodríguez: Hi there, I want to be a \startlines... \stoplines environment to be 10cm away from the left margin. I know this is a basic question, but I have no idea how to do it. As the lines

[NTG-context] indenting \startlines... \stoplines

2011-12-31 Thread Pablo Rodríguez
Hi there, I want to be a \startlines... \stoplines environment to be 10cm away from the left margin. I know this is a basic question, but I have no idea how to do it. Since this is my last question to the list (this year ;-)), I'd really appreciate, if anyone would be so kind to answer

[NTG-context] three issues with streams

2011-12-29 Thread Pablo Rodríguez
? It doesn't seem to work, since it gives an error (\startlines ... \stoplines works fine). How can I get that elements on the left page (or outputstream[agr]) are independent from the right page [or outputstream[es])? I mean that sectioning numbers and footnote numbers are independent in each stream

[NTG-context] Two questions about sort lists

2011-12-24 Thread Vyatcheslav Yatskovsky
Hi! I have two questions about sort lists. 1) Is there a way to reset (empty) the sorting list, to reuse it several times? \definesorting[song][songs] \unexpanded\def\SongEntry#1#2#3% {#2 \crlf} \starttext \startlinenumbering \startlines \setupinterlinespace[big] \song{Sway} \song{Hit

[NTG-context] fun with markings

2011-12-20 Thread Henning Hraban Ramm
= 3 ,ny = 1 ,dx =0mm,dy=0mm,topspace=19mm,backspace=10.5mm,page=A7,paper={A4,landscape}] \setuparranging [XY] \definemarking[MyNam] \setupheadertexts[][{\getmarking[MyNam][first]–\getmarking[MyNam] [last]}] \def\Name#1{#1\expanded{\marking[MyNam]{#1}}} \starttext \startlines \Name{A} \Name

Re: [NTG-context] optical centering...

2011-12-17 Thread Hans Hagen
\scratchbox\hbox\bgroup\framed[width=fit,align=right]\bgroup \startlines \getbuffer[versecontent] \stoplines \egroup\egroup \getvalue{\??zv:\@@zvalign}% \startlines \getbuffer[versecontent] \stoplines \endgroup} % \protect \starttext \showframe \startverse[align=flushleft

Re: [NTG-context] optical centering...

2011-12-16 Thread Wolfgang Schuster
][startverse][stopverse]} \def\stopverse {\setbox\scratchbox\hbox\bgroup\framed[width=fit,align=right]\bgroup \startlines \getbuffer[versecontent] \stoplines \egroup\egroup \leftskip\the\dimexpr(\textwidth-\wd\scratchbox)/2\relax \startlines \getbuffer[versecontent

[NTG-context] beta

2011-11-23 Thread Hans Hagen
Hi, Todays beta ... - some improvements/more options to xtables (see manual) -- experimental degrees in units: \starttext \startlines \unit{10° celsius} \unit{10 deg celsius} \unit{10 degree celsius} \unit{10 degrees celsius} \stoplines \stoptext -- speedup of alignment settings (nice

Re: [NTG-context] Small issue with dimensions

2011-11-14 Thread Romain Diss
} 12: \unit{125 g / l} 13: \unit{125 km/s} 14: \unit{125 m/s} 15: \unit{125 mA/s} 16: 1\unit{bit / second} \stopbuffer \typebuffer Result: \startlines \getbuffer \stoplines \stoptext All the best. -- Romain Diss romain.d...@yahoo.fr

Re: [NTG-context] Fatal error

2011-11-04 Thread Wolfgang Schuster
something better next time. What you defined was the following piece of code: \crlf \setupbackground[..,.=.,..] \startbackground \startlines[style=type] \setupalign[right] \starttyping … \stoptyping \stoplines \stopbackground \crlf 1. You used \crlf to add a empty line at the begin and end

Re: [NTG-context] Fatal error

2011-11-04 Thread Kip Warner
but I’m going to explain what was wrong, this will help you write something better next time. What you defined was the following piece of code: \crlf \setupbackground[..,.=.,..] \startbackground \startlines[style=type] \setupalign[right] \starttyping … \stoptyping \stoplines

[NTG-context] \unit problem

2011-11-03 Thread Romain Diss
GW} 107: \unit{345 mW} 108: \unit{152.20 mHz} 109: \unit{55.5 mmol} 110: \unit{6.7 mol/l} 111: \unit{125 g/l} 112: \unit{125 g / l} 113: \unit{125 km/s} 114: \unit{125 m/s} 115: \unit{125 mA/s} \stopbuffer \typebuffer Result: \startlines \getbuffer \stoplines \stoptext Thank you for your help

[NTG-context] Fatal error

2011-11-02 Thread Kip Warner
, bottomoffset=0.5cm] \startbackground \startlines }, after={ \stoplines \stopbackground \crlf }, commands={\setupalign[right]}, style=type] \starttext Hello World \startCodeExample \starttyping Hello World

Re: [NTG-context] Fatal error

2011-11-02 Thread Wolfgang Schuster
, rightoffset=0.5cm, bottomoffset=0.5cm] \startbackground \startlines }, after={ \stoplines \stopbackground \crlf }, commands={\setupalign[right]}, style=type

Re: [NTG-context] processing style inside verbatim in XML

2011-10-24 Thread Hans Hagen
cannot color the numbers. When I use, according to Wolfgang's suggestion, \startxmlsetups pre \setuplines[style=mono,space=yes] \startlines \xmlflush{#1} \stoplines \stopxmlsetups then all the spaces are eaten up by XML parser (or somewhere else), so that I don't get the desired result. Any ideas

Re: [NTG-context] Standardmakeup

2011-10-21 Thread Willi Egger
before \stopstandardmakeup. \setupmakeup[standard][top=,bottom=] \setuplines[before=,after=] \starttext \startstandardmakeup[doublesided=no,page=yes] \strut \godown[.25\textheight] \startalignment[middle] \startlines {\bfd Der Titel

[NTG-context] processing style inside verbatim in XML

2011-10-21 Thread Mojca Miklavec
, according to Wolfgang's suggestion, \startxmlsetups pre \setuplines[style=mono,space=yes] \startlines \xmlflush{#1} \stoplines \stopxmlsetups then all the spaces are eaten up by XML parser (or somewhere else), so that I don't get the desired result. Any ideas about this? I'm also sending a self-contained

Re: [NTG-context] Standardmakeup

2011-10-20 Thread Wolfgang Schuster
with inserting an empty line. Add \vfill before \stopstandardmakeup. \setupmakeup[standard][top=,bottom=] \setuplines[before=,after=] \starttext \startstandardmakeup[doublesided=no,page=yes] \strut \godown[.25\textheight] \startalignment[middle] \startlines

Re: [NTG-context] Standardmakeup

2011-10-19 Thread Willi Egger
=,bottom=] \setuplines[before=,after=] \starttext \startstandardmakeup[doublesided=no,page=yes] \strut \godown[.25\textheight] \startalignment[middle] \startlines {\bfd Der Titel} \blank[line

[NTG-context] Spurious space when using space=on with \startlines

2011-10-16 Thread Marco
Hi, \startlines with the space=on option produces a spurious space. Is that intended? I don't see a reason to introduce a space. \setuplines [style=mono] \starttext % for whatever \startlines for {\it whatever} \stoplines % for whatever \startlines [space=on] for {\it whatever

Re: [NTG-context] Spurious space when using space=on with \startlines

2011-10-16 Thread Wolfgang Schuster
Am 16.10.2011 um 16:31 schrieb Marco: Hi, \startlines with the space=on option produces a spurious space. Is that intended? I don't see a reason to introduce a space. \setuplines [style=mono] \starttext % for whatever \startlines for {\it whatever} \stoplines

Re: [NTG-context] Spurious space when using space=on with \startlines

2011-10-16 Thread Marco
On 2011-10-16 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: % for whatever \startlines [space=on] for {\it whatever} for \italic{whatever} This works, thanks. However I still don't know, where the space comes from, since the space after \it is eaten by TeX. Marco

Re: [NTG-context] Exporting verbatim text

2011-10-15 Thread Hans Hagen
than catcoded characters will do (also, keep in mind that people might want to pass the generated code around as arguments in which case catcodes can create a mess \setupbackend[export=yes] \starttext \startlines \zwnj \char32\char32\char32 test \char32 test test \zwnj \char32\char32 test \char32

Re: [NTG-context] Exporting verbatim text

2011-10-15 Thread Aditya Mahajan
... \stoptyping. (Maybe I will provice a \process...buffer to take care of that). \setupbackend[export=yes] \starttext \startlines \zwnj \char32\char32\char32 test \char32 test test \zwnj \char32\char32 test \char32 test test \zwnj \char32 test \char32 test test test \char32 test test \stoplines

Re: [NTG-context] nice friends-book with ConText - quite ready

2011-10-14 Thread Marco
=-10mm, voffset=100mm, align=right ]{% \startlines Infobox: Peter New York 0171/782801 t...@test.de \stoplines} \setlayerframed [Kontaktdaten] [ width=30mm, height=40mm, %frame=\LayoutTest, frame=off, hoffset=-10mm, voffset=60mm, strut

Re: [NTG-context] writing date with ordinal numbers (\enordinaldaynumber) in mkiv

2011-09-28 Thread Wolfgang Schuster
Am 28.09.2011 um 23:58 schrieb Mojca Miklavec: Hello, MKII contains a macro \enordinaldaynumber which I don't find in MKIV. My main question: how can I setup the date to display 23\high{rd} Sep, 2011? \starttext \currentdate[day+,space,month,space,year] \startlines \language[en

Re: [NTG-context] styling \at

2011-08-15 Thread Wolfgang Schuster
}} \stopsetups \definereferenceformat[refa][type=page] \definereferenceformat[refb][type=page,style=italic] \definereferenceformat[refc][setups=reference:c,color=red] \starttext \pagereference[test] \startlines A:\refa[test] B:\refb[test] C:\refc[test] \stoplines \stoptext Wolfgang

Re: [NTG-context] List of special characters

2011-08-15 Thread Wolfgang Schuster
characters in my document? Also: is there somewhere a 'complete' list? I found several, but they where all for LaTeX and are not completely the same. For example LaTeX uses \textbackslash which does not work in ConTeXt which uses \backslash. \starttext [ ] @ _ ^ % normal characters \startlines

Re: [NTG-context] styling \at

2011-08-15 Thread stdin
\pagereference[test] \startlines A:\refa[test] B:\refb[test] C:\refc[test] \stoplines \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] List of special characters

2011-08-15 Thread Cecil Westerhof
\startlines \textbackslash\ or \letterbackslash \textbraceleft\ or \letterleftbrace\ or \{ \textbraceright\ or \letterrightbrace\ or \} \percent\ or \letterpercent\ or \% \textdollar\ or \letterdollar\ or \$ \letterampersand\ or \ \letterhash\ or \# \stoplines \asciimode

[NTG-context] `\setupinterlinespace` and `\{start, stop}standardmakeup`

2011-07-26 Thread Paul Menzel
somewhere when `setupinterlinespace` has no effect? Please find my tests attached. Thanks, Paul [1] http://www.ntg.nl/pipermail/ntg-context/2011/056536.html [2] http://wiki.contextgarden.net/Reference/en/setupinterlinespace space.pdf Description: Adobe PDF document \starttext \startlines

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-24 Thread Aditya Mahajan
ligatures \font\devnagari=Lohit-Hindi at 12pt \starttext \startTEXpage[foregroundstyle=\devnagari] \stopmkiipreamble \startmkiipostamble \stopTEXpage \stoptext \stopmkiipostamble \starttext Check if this works. \startmkii \startlines जाति न पूछो साधु की, पूछ लीजिए ग्‍यान। मोल करो तलवार

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-24 Thread Kip Warner
\startTEXpage[foregroundstyle=\devnagari] \stopmkiipreamble \startmkiipostamble \stopTEXpage \stoptext \stopmkiipostamble \starttext Check if this works. \startmkii \startlines जाति न पूछो साधु की, पूछ लीजिए ग्‍यान। मोल करो तलवार के, पड़ा रहन दो म्‍यान।। \stoplines

Re: [NTG-context] beta

2011-06-12 Thread Otared Kavian
export I decided to finish and integrate an old experiment with units. Details can change as can configuration. \usemodule[dimensions] \setupbackend[export=yes] \starttext \startlines $10\su{km/h}$ $\su{10 km/h}$ \su{10 km/h} 10\su{km/h} 10 \su{km/h} $10 \su{km/h}$ 10 \su{KiloMeter

[NTG-context] beta

2011-06-11 Thread Hans Hagen
Hi, In the process of extending math export I decided to finish and integrate an old experiment with units. Details can change as can configuration. \usemodule[dimensions] \setupbackend[export=yes] \starttext \startlines $10\su{km/h}$ $\su{10 km/h}$ \su{10 km/h} 10\su{km/h} 10 \su{km/h

Re: [NTG-context] \crlf breaks alignment inheritance

2011-05-26 Thread Wolfgang Schuster
the alignment of the content with the align key of the environment, e.g. \startlines[align=middle] … \stoplines or change the settings global (i.e. \setuplines[align=middle]). Wolfgang ___ If your question is of interest

Re: [NTG-context] \crlf breaks alignment inheritance

2011-05-26 Thread Marco Pessotto
line is also the end of a paragraph, you can also change the alignment of the content with the align key of the environment, e.g. \startlines[align=middle] … \stoplines or change the settings global (i.e. \setuplines[align=middle]). Wolfgang Ok, thanks for your answers. -- Marco

Re: [NTG-context] Macro for acronyms

2011-03-19 Thread Wolfgang Schuster
}|] \HC {M}ust\NC\NR \HC {S}hould \NC\NR \HC {C}ould \NC\NR \HC {N}ot now \NC\NR \stoptabulate \startlines \Acronym{M}ust \Acronym{S}hould \Acronym{C}ould \Acronym{N}ot now \stoplines \stoptext Wolfgang

Re: [NTG-context] Why do \startlines and \crlf give different results in this example?

2011-03-12 Thread Wolfgang Schuster
Am 12.03.2011 um 05:48 schrieb mathew: % First request no space before \setuplines[before=\nowhitespace,after=\nowhitespace] % Now use startlines... \framed[width=fit,align=right]{\startlines One Two Three\stoplines} \framed [width=fit,align=right,strut=no] {\startlines

Re: [NTG-context] Why do \startlines and \crlf give different results in this example?

2011-03-12 Thread mathew
On Mar 12, 2011, at 02:15, Wolfgang Schuster wrote: \framed [width=fit,align=right,strut=no] {\startlines[before=,after=] One Two Three \stoplines} Awesome, thanks. I added a note to the wiki page about \framed, and subsequently discovered the information was hidden on the page

[NTG-context] Why do \startlines and \crlf give different results in this example?

2011-03-11 Thread mathew
% First request no space before \setuplines[before=\nowhitespace,after=\nowhitespace] % Now use startlines... \framed[width=fit,align=right]{\startlines One Two Three\stoplines} % ...then compare with \crlf. \framed[width=fit,align=right]{One\crlf Two\crlf Three} Why do these give

Re: [NTG-context] Line spacing on a cover page

2011-03-10 Thread Wolfgang Schuster
Am 10.03.2011 um 18:28 schrieb John Haltiwanger: \startalignment[left] \bgroup \switchtobodyfont[72pt] {\ss Freed \par by \par Design} \egroup \startlines[align=flushright,style={\switchtobodyfont[72pt,ss]}] Freed by Design \stoplines Wolfgang

Re: [NTG-context] Line spacing on a cover page

2011-03-10 Thread John Haltiwanger
Thanks Verdan and Wolfgang. As I suspected, \startlines was the way to go. On Thu, Mar 10, 2011 at 6:56 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 10.03.2011 um 18:28 schrieb John Haltiwanger: \startalignment[left] \bgroup \switchtobodyfont[72pt

Re: [NTG-context] references

2011-02-28 Thread Stefan Müller
] \startbuffer \PageOne[two] \PageTwo[two] \PageThree[two] \PageFour[two] \at{(}{)}[two] \at{!}[two] \at{page}[two] \at[two] \stopbuffer \typebuffer \startlines \getbuffer \stoplines \chapter[two]{Two} \typebuffer[definitions] \startbuffer \PageOne[one] \PageTwo[one] \PageThree[one] \PageFour[one

Re: [NTG-context] references

2011-02-28 Thread Stefan Müller
[two] \PageTwo[two] \PageThree[two] \PageFour[two] \at{(}{)}[two] \at{!}[two] \at{page}[two] \at[two] \stopbuffer \typebuffer \startlines \getbuffer \stoplines \chapter[two]{Two} \typebuffer[definitions] \startbuffer \PageOne[one] \PageTwo[one] \PageThree[one] \PageFour[one] \at{(}{)}[one

Re: [NTG-context] Unexpected indentation

2011-02-18 Thread Wolfgang Schuster
addr line 3 \stopalignment \stopnarrower \startnarrower[2*left] \startlines 2/99 addr line 1 addr line 2 addr line 3 \stoplines \stopnarrower Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] [OS X TeX] \ne in a definetyping environment in context

2011-02-15 Thread Wolfgang Schuster
symbol produced by amsmath? Use the \startlines environment. MkII: \startlines\tt If int(N/2) $\ne$ N/2 Then Disp N MUST BE EVEN Stop End \stoplines MkIV: \definelines[XXX][style=mono] \startXXX If int(N/2) $\ne$ N/2 Then Disp N MUST BE EVEN Stop End \stopXXX or \startlines[style=mono] If int

[NTG-context] references

2011-02-11 Thread Hans Hagen
[definitions] \starttext \chapter[one]{One} \typebuffer[definitions] \startbuffer \PageOne[two] \PageTwo[two] \PageThree[two] \PageFour[two] \at{(}{)}[two] \at{!}[two] \at{page}[two] \at[two] \stopbuffer \typebuffer \startlines \getbuffer \stoplines \chapter[two]{Two} \typebuffer[definitions

<    1   2   3   4   5   6   >