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
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
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
\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
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
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
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
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
\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
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
\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
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
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
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
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
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
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
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
,
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
)]
\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
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
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
? :)
\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
;
\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
:= 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
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
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
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
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
-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
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
\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
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
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
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
]
\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
,
\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
=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
]
% \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
国、『国』、『国』、『国』、『国
]
% \definefont[testfont][heiseikakugostd-w5][script=kana,language=jan]
\definefont[testfont][heiseiminstd-w3] [script=kana,language=jan]
\testfont
\starttext
\startscript[nihongo]
\startlines
国、『国』、『国』、『国』、『国』、『国』、
\hbox to 3em{国、『国』、『国』、『国』、『国』、『国』、}
国:国:国:国:国:国:国
\stopitem
\stopitemize
\stoprpara
\startrpara
Work\crlf Experience % or use \startlines … \stoplines
\nextrpara
\startitemize
\startitem UCLA BoA \stopitem
\startitem LMU BSCS \stopitem
\stopitemize
\stoprpara
\stoptext
\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
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
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
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
{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
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
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
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
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
Μῆνιν
\|\| 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
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
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
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
? 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
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
=
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
\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
][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
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
}
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
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
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
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
,
bottomoffset=0.5cm]
\startbackground
\startlines
},
after={
\stoplines
\stopbackground
\crlf
},
commands={\setupalign[right]},
style=type]
\starttext
Hello World
\startCodeExample
\starttyping
Hello World
,
rightoffset=0.5cm,
bottomoffset=0.5cm]
\startbackground
\startlines
},
after={
\stoplines
\stopbackground
\crlf
},
commands={\setupalign[right]},
style=type
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
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
, 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
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
=,bottom=]
\setuplines[before=,after=]
\starttext
\startstandardmakeup[doublesided=no,page=yes]
\strut
\godown[.25\textheight]
\startalignment[middle]
\startlines
{\bfd Der Titel}
\blank[line
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
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
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
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
... \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
=-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
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
}}
\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
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
\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
\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
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
ligatures
\font\devnagari=Lohit-Hindi at 12pt
\starttext
\startTEXpage[foregroundstyle=\devnagari]
\stopmkiipreamble
\startmkiipostamble
\stopTEXpage
\stoptext
\stopmkiipostamble
\starttext
Check if this works.
\startmkii
\startlines
जाति न पूछो साधु की, पूछ लीजिए ग्यान।
मोल करो तलवार
\startTEXpage[foregroundstyle=\devnagari]
\stopmkiipreamble
\startmkiipostamble
\stopTEXpage
\stoptext
\stopmkiipostamble
\starttext
Check if this works.
\startmkii
\startlines
जाति न पूछो साधु की, पूछ लीजिए ग्यान।
मोल करो तलवार के, पड़ा रहन दो म्यान।।
\stoplines
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
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
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
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
}|]
\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
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
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
% 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
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
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
]
\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
[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
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
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
[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
201 - 300 of 531 matches
Mail list logo