[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]}
\def\nodoone[#1]%
{[#1]}
% \two, \two{…} and \two{…} (no spaces between “{}{}” allowed)
\def\two
{\dodoublegroupempty\dotwo}
\def\dotwo#1#2%
{\ifsecondargument
[#1:#2]%
\else\iffirstargument
[#1]%
\else
[]%
\fi\fi}
\starttext
\startlines
\one text
,refcommand=authoryear]
\setupbibtex[database=sample]
\starttext
\startlines
%\cite[hh2010a] % commenting this out does not work
\stoplines
\citep[, p.\ 1][hh2010a].\par
\citep[, p.\ 1][hh2010a] more text.\par
\citep[see][, p.\ 1][hh2010a].\par
\citep[see][][hh2010a] more text.\par
\startlines
\cite[hh2010a
problem: Adding
\setupinteraction[state=start]
\starttext
and\footnote{\one[1]} etc. do not work. Why not?
Florian
\startlines
\one text
\one[1] text
\one[1][2] text
\stoplines
\stoptext
___
If your question
]%
{\strictdoifnextoptionalelse{\dodoone[#1]}{\nodoone[#1]}}
\def\dodoone[#1][#2]%
{[#1:#2]}
\def\nodoone[#1]%
{[#1]}
One more problem: Adding
\setupinteraction[state=start]
\starttext
and\footnote{\one[1]} etc. do not work. Why not?
Florian
\startlines
\one text
\one
2010/12/21 Wolfgang Schuster schuster.wolfg...@googlemail.com
Make a example where this occurs, in the following example all dashes are
correct in the typing environment with mkii and mkiv.
\starttext
\startlines
-
--
---
\stoplines
\starttyping
-
--
---
\stoptyping
\stoptext
{%
\language[cz]
\blank[line]
\WORDS{Jenom nad Brnem ne}
\blank[line]
\startlines
\getbuffer[jenomnadbrnemne]
\stoplines
}
\def\partest[#1]{%
\section{Ludvík Kundera napsal}
{#1\kundera\par}
\section{Ernst Mayr wrote}
{#1\mayr\par}
\section{Stanisław Lem napisał}
{#1\lem \lem \lem
}
\def\TestThree[#whatever][#more]%
{this is: #more and #whatever}
\def\TestFour[#one]#two%
{\def\TestFive[#alpha][#one]%
{#one, #two, #alpha}}
\starttexdefinition TestSix #oeps
here: #oeps
\stoptexdefinition
\starttext
\startlines
\TestOne [one]
\TestTwo
%
{\def\TestFive[#alpha][#one]%
{#one, #two, #alpha}}
\starttexdefinition TestSix #oeps
here: #oeps
\stoptexdefinition
\starttext
\startlines
\TestOne [one]
\TestTwo {one}
\TestThree[one][two]
\TestFour [one]{two}
\TestFive [one
[test1]
\definetwo[test2][something=two]
\definetwo[test3][test2]
\starttext
\startlines
\namedtwoparameter{test1}{whatever}
\namedtwoparameter{test2}{whatever}
\namedtwoparameter{test2}{something}
\namedtwoparameter{test3}{something}
\stoplines
\stoptext
This gives
one
two
Why is the value
between two lines of source
is too large.
That is by design. Currently, 2context.vim simply adds some markup, and
the resutant file is read using
\startlines
\stoplines
\start-stop-lines converts each line to a paragraph. You can try
\startsetups vim:setups
\setupwhitespace[none]
\stopsetups
] % OK
\starttext
\startlines
\formula {A \centercolon B}
\formula {A \colonminusB}
\formula {A \minuscolonB}
\formula {A \colonequals B}
\formula {A \equalscolon B}
\formula {A \colonapprox B}
\formula {A \approxcolon B}
\formula {A \colonsim B
. In the following example:
···8
\setuplines[space=on]
\starttext
\startlines
A one, two, a one two three four
Half a {\em{bee}}, philosophically,
must, ipso facto, half not be.
But half the bee has got to be,
vis a vis its entity. {\bf
I thought I'd give the mailing list a small change of pace---instead of
asking how to do it, I will show you :)
The short answer is:
\starttext
My Concrete Poem
\startlines
All the whitespace
will print !
\stoplines
\stoptext
However, \startlines
---instead of
asking how to do it, I will show you :)
The short answer is:
\starttext
My Concrete Poem
\startlines
All the whitespace
will print !
\stoplines
\stoptext
However, \startlines..\stoplines is not available when defining a macro.
I've
the mailing list a small change of pace---instead of
asking how to do it, I will show you :)
The short answer is:
\starttext
My Concrete Poem
\startlines
All the whitespace
will print !
\stoplines
\stoptext
However, \startlines..\stoplines
Am 16.09.2010 um 00:38 schrieb Aditya Mahajan:
However, \startlines..\stoplines is not available when defining a macro.
What do you mean by that these macros are not available?
Doesn't the following work? (untested, but I will be really surprised if it
doesn't work)
\def\startpoety
is:
\starttext
My Concrete Poem
\startlines
All the whitespace
will print !
\stoplines
\stoptext
However, \startlines..\stoplines is not available when defining a macro.
What do you mean by that these macros are not available?
Doesn't the following
What Wolfgange said :)
On Wed, Sep 15, 2010 at 10:42 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Am 16.09.2010 um 00:38 schrieb Aditya Mahajan:
However, \startlines..\stoplines is not available when defining a
macro.
What do you mean by that these macros
On Thu, 16 Sep 2010, Wolfgang Schuster wrote:
Am 16.09.2010 um 00:38 schrieb Aditya Mahajan:
However, \startlines..\stoplines is not available when defining a macro.
What do you mean by that these macros are not available?
Doesn't the following work? (untested, but I will be really
:
Am 16.09.2010 um 00:38 schrieb Aditya Mahajan:
However, \startlines..\stoplines is not available when defining a macro.
What do you mean by that these macros are not available?
Doesn't the following work? (untested, but I will be really surprised if
it doesn't work)
\def\startpoety
the divine comedy. Don't ask how I figured out the right
value of the inbetween key :)
\setupindenting [medium,yes]
\setuplines[inbetween={\crlf\par\setupindenting[next]\testpage[3]},indenting=next]
\starttext
\startlines
Midway upon the journey of our life
I found myself within a forest dark
\startlines
Midway upon the journey of our life
I found myself within a forest dark,
For the straightforward pathway had been lost.
Ah me! how hard a thing it is to say
What was this forest savage, rough, and stern,
Which in the very thought renews the fear.
So bitter is it, death is little more
is that \startlines or \starttyping can't be used anymore
inside of a letter.
The second method you can use is to drop the letter environment and set
the values for the address and name with \setupletter and store the content
with the lettercontent environment (just a names buffer). The letter itself
},
toaddress={\street\\\Zipcode\ \Town},
...]
This, I came to the conclusion … \Mygreeting
\stopletter
...}
The disadvantage is that \startlines or \starttyping can't be used anymore
inside of a letter.
The second method you can use is to drop the letter environment and set
Hi,
\mainlanguage[pl]
\starttext
\placeregister[index][criterium=text,n=1]
\startlines
aaa\index{aaa}
Aaa\index{Aaa}
aab\index{aab}
Aab\index{Aab}
\stoplines
\stoptext
typesets
a
aaa 1
Aaa 1
aab 1
Aab 1
aaa
aab
Aaa
Aab
so, what order do you expect here
in the next:
\def\SKIP
{\doglobal\increment\SKIPcount
\xypos{NP:\SKIPcount}%
\par\hskip\dimexpr\MPx{NP:\SKIPcount}-\MPx{text:\realfolio}\relax}
\def\LASTSKIP
{\par\hskip\dimexpr\MPx{NP:\SKIPcount}-\MPx{text:\realfolio}\relax}
\starttext
\startlines
here we now see you ~~ already in grief
%
\indentl=\wd0%
}
\def\addtosavewidth#1{%
\setbox0=\hbox{#1}%
\mindent\copy0%
\advance\indentl by \wd0%
}
\def\mindent{\hskip\indentl}
\starttext
\startlines
here we now see you ~~ already in grief
as you see ~~ yourselves ~~ as the last of the lasts
\savewidth{we are mirrors of your
into
an \mbox to avoid a line break. As an example:
\startlines
here we now see you ~~ already in grief
as you see ~~ yourselves ~~ as the last of the lasts
we are mirrors of your consciousness
\mbox{\phantom{we are mirrors of your consciousness} as you see the end}
and you see
]
\definefontsynonym [MathSymbol] [Asana-Math]
\definefontsynonym [MathRoman][ComputerModernMath-Roman]
\definefontsynonym [MathExtension][ComputerModernMath-Extension]
\stoptypescript
\usetypescript[math]
\starttext
\startlines
0x222B normal integral $\int_{a}^{b}$
0x222C
between ints, see below):
\usetypescript[asana]
\setupbodyfont[asana]
\starttext
\startlines
0x222B normal integral $\int$
0x222C double integral $\iint$
0x222D triple integral $\iiint$
0x222E contour integral $\oint$
0x222F surface integral $\oiint$
0x2230 volume integral $\oiiint
Hello,
Is there a way to sort the content of \startlines envinroment by the
alphabet? I have a list of songs in arbitrary order, and what to output
it in alphabetical one.
ex.:
\starttext
\subject{My set-list}
\startcolumns\startlinenumbering\startlines
Fly me to the moon
Hit the road jack
% \doprocessseplista,b,c\relax
% \def\test#1{[#1]}
% \startlines
% \processseplist{,}\test ,2,,\relax
% \processseplist{,}\test ,,,44\relax
% \processseplist{,}\test ,,33,44\relax
% \processseplist{,}\test 11,,33,44\relax
% \processseplist{,}\test 1,2,3,4\relax
% \stoplines
\newtoks\separatedlistdata
Am 17.04.10 11:35, schrieb Wolfgang Werners-Lucchini:
Hallo,
I have to typeset a division and have two diverent solutions but they
both have problems.
\setuplines[style=type]
\startlines
110011:11=10001
11
...
~0
\stoplines
\stoptext
\setuplines[style=type,space=on]
\startlines
= 4
}
}
MkII:
\setuplines[space=on]
\starttext
\startlines\tt
%\startlines[style=mono] % works only in MkIV
{\bf def} ra():
a = 3
b = 4
\stoplines
\stoptext
Wolfgang
___
1. I use
\fgras = cmbtt10
{\tt
{\obeylines
{\fgras def} ra():
\ \ \ \ a = 3
\ \ \ \ b = 4
}
}
MkII:
\setuplines[space=on]
\starttext
\startlines\tt
%\startlines[style=mono] % works only in MkIV
{\bf def} ra():
a = 3
b = 4
\stoplines
\stoptext
On Fri, 09 Apr 2010 12:00:05 +0200
Wolfgang Schuster schuster.wolfg...@googlemail.com scribit:
\setuplines[space=on]
\starttext
\startlines\tt
%\startlines[style=mono] % works only in MkIV
compiled by context (== mak iv ?)
\startlines[style=mono] prints [style=mono]
{\bf def} ra
Am 16.04.10 23:41, schrieb R. Bastian:
%\startlines[style=mono] % works only in MkIV
compiled by context (== mak iv ?)
\startlines[style=mono] prints [style=mono]
Direct setups are now gone because they produced unwanted side effects.
What you can in Mark 4 (MkIV) is to define you own
Am 09.04.10 11:20, schrieb R. Bastian:
Hello,
how to translate in context the following plain tex:
\font\fgras = cmbtt10
{\tt
{\obeylines
{\fgras def} ra():
\ \ \ \ a = 3
\ \ \ \ b = 4
}
}
MkII:
\setuplines[space=on]
\starttext
\startlines\tt
%\startlines[style=mono] % works only
= 4
}
}
MkII:
\setuplines[space=on]
\starttext
\startlines\tt
%\startlines[style=mono] % works only in MkIV
{\bf def} ra():
a = 3
b = 4
\stoplines
\stoptext
Wolfgang
Thanks Wolfhang. It goes better, but there is still a little bug:
{\bf def} inserts a white
On Fri, Apr 09 2010, R. Bastian wrote:
but remains that every {\bf } introduces a white space;
how to force context to make a backspace ?
\setuplines[space=on]
\starttext
\startlines[style=mono]
{\bf{}def} ra():
a = 3
b = 4
\stoplines
\stoptext
Cheers, Peter
--
Contact
On Fri, Apr 9, 2010 at 5:24 PM, Peter Münster pmli...@free.fr wrote:
On Fri, Apr 09 2010, R. Bastian wrote:
but remains that every {\bf } introduces a white space;
how to force context to make a backspace ?
\setuplines[space=on]
\starttext
\startlines[style=mono]
{\bf{}def} ra
Am 09.04.10 13:35, schrieb R. Bastian
Thanks Wolfhang. It goes better, but there is still a little bug:
{\bf def} inserts a white space in front of the line
Compare:
{\bf def} ra():
def ra():
a = 3
b = 4
\startlines
\bold{def} ra():
...
\stoplines
Wolfgang
\iftypesettinglines % otherwise problems with \type crlf {xxx}
\ignorelines % makes footnotes work in \startlines ...
\stoplines
\fi
\ifnotesymbol
\dolastnotesymbol
\else
\unskip\unskip
\globallet\lastnotesymbol\dolastnotesymbol
Hi,
Here is an interesting example
\starttext
\startlines
one %
two %
three %
\stoplines
\stoptext
This gives no linebreaks! Can this be prevented? I doubt it since
TeX never sees the \n. In which case, we should call it a
feature :-)
Aditya
Am 04.04.10 21:08, schrieb Aditya Mahajan:
Hi,
Here is an interesting example
\starttext
\startlines
one %
two %
three %
\stoplines
\stoptext
This gives no linebreaks! Can this be prevented? I doubt it since
TeX never sees the \n. In which case, we should call it a feature :-)
\bgroup
Hello,
I'm just curious, why line mumbers appear mirrored (on the right side of
text) in the rightmost column?
\starttext
\startcolumns\startlinenumbering\startlines
Fly me to the moon
Hit the road jack
Sway
Libertango
Sunny
Besame mucho (Em)
La Bamba
Hey-na-na-na
Venus (Dm)
El Talisman
Oye
]%
\startnarrower[left]% blockindent only left
\startlines%
},after={%
\stoplines%
\stopnarrower%
\setuplines[indenting={no}]% must be reseted
\endgraf%
}]
\starttext
Three lines, first should be broken:
\startverse
FIRST---this should
\startnarrower[2em]%% hanging indent
\startalignment[flushleft]% % even inter-word-dist.
\startlines%% no justification
\indenting[first]}%
,after={\stoplines%
\stopalignment%
\stopnarrower%
\endgraf
,
color=red] % \goto and \from
\setupurl
[color=orange] % \url
\useURL[149][http://xkcd.com/149/][][I prefer hot dogs.]
\useURL[224][http://xkcd.com/224/]
\starttext
\startlines
\goto{In Lua, array indices start from one.}[url(http://www.xkcd.com/163/)]
\from[149]
\url [224]
\stoplines
Hi Wolfgang
Nice, and your example works. But why mine does not??
\setupinteraction
[state=start,
color=red] % \goto and \from
\setupurl
[color=orange] % \url
\useURL[149][http://xkcd.com/149/][][I prefer hot dogs.]
\useURL[224][http://xkcd.com/224/]
\starttext
\startlines
\goto
the following example,
\setupexternalfigures[location={local,default}]
\starttext
\getfiguredimensions[cow]
\startlines
width: \the\dimexpr\figurewidth\relax
height: \the\dimexpr\figureheight\relax
\stoplines
\stoptext
In MkII I get,
width: 276.03125pt
height: 200.75pt
In MkIV I get,
width
On 23-2-2010 19:17, Aditya Mahajan wrote:
\setupexternalfigures[location={local,default}]
\starttext
\getfiguredimensions[cow]
\startlines
width: \the\dimexpr\figurewidth\relax
height: \the\dimexpr\figureheight\relax
\stoplines
\stoptext
hm, i get
width: 276.03125pt
height: 200.75pt
in mkiv
On Tue, 23 Feb 2010, Hans Hagen wrote:
On 23-2-2010 19:17, Aditya Mahajan wrote:
\setupexternalfigures[location={local,default}]
\starttext
\getfiguredimensions[cow]
\startlines
width: \the\dimexpr\figurewidth\relax
height: \the\dimexpr\figureheight\relax
\stoplines
\stoptext
hm, i get
tex.write(s)
end
\stopluacode
\def\calculate#1{%
\start
\def\Expression{\ctxlua{userdata.filter_expression(#1)}}
\def\Result{\ctxlua{userdata.filter_result(#1)}}
\calcmath{\Expression=\ctxlua{userdata.result_as_string(\Result)}}
\stop
}
\starttext
\startlines
\calculate{1+2
)}}
\stop
}
\starttext
\startlines
\calculate{1+2}
\calculate{3/2-1}
\calculate{3*2}
\calculate{sqrt(2)}
\calculate{2*π}
\stoplines
\stoptext
I've noticed that one can even use such things as \calculate{3^2},
\calculate{2^3} out of the box and it's easy to add
[e] = math.exp(1
\startlines
\calculate{1+2}
\calculate{3/2-1}
\calculate{3*2}
\calculate{sqrt(2)}
\calculate{2*pi}
\stoplines
\stoptext
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact/
___
If your
\calculate#1{\calcmath{\ctxlua{my_equation(#1, #1)}}}
\starttext
\startlines
\calculate{1+2}
\calculate{3/2-1}
\calculate{3*2}
\calculate{sqrt(2)}
\calculate{2*pi}
\stoplines
\stoptext
That’s nice! Thank you very much!
I've found an posting on the LuaTeX-mailing-list and incorporated
]
\getcheckedparameters[test][xx][c = c]
\getcheckedparameters[test][xx][d = d d , e = e ,f = f ]
\getcheckedparameters[test][xx][g={oeps {oeps}}]
\getcheckedparameters[test][xx][crap=whatever]
\startlines
[a:\getvalue{xxa}][a]
[b:\getvalue{xxb}][b]
[c:\getvalue{xxc}][c]
[d:\getvalue{xxd}][d d ]
[e:\getvalue{xxe}][e
][xx][a=a]
\getcheckedparameters[test][xx][b= b]
\getcheckedparameters[test][xx][c = c]
\getcheckedparameters[test][xx][d = d d , e = e ,f = f ]
\getcheckedparameters[test][xx][g={oeps {oeps}}]
\getcheckedparameters[test][xx][crap=whatever]
\startlines
[a:\getvalue{xxa}][a]
[b:\getvalue{xxb
On Tue, Jan 12, 2010 at 03:48, Vyatcheslav Yatskovsky wrote:
Hello,
How to put chord names above the lyrics? I have the following in mind
\starttext
\setupinterlinespace[big]
\startlines
\chord[C6]Pardon me, boy
Is that the Chattanooga choo choo?
Track twenty-nin\chord[Gadd9/D]e
Boy
.
\starttext
\def\Ch#1{%
\strut\hbox to 0pt{\raisebox{0.45\baselineskip}\hbox{\bf#1}\hss}}
\setupinterlinespace[big]
\startlines
\Ch{E}Cvet dišeč z \Ch{H7}jutrom se od\Ch{cis}pre,
\Ch{A}sonce od\Ch{E}pira o\Ch{H}či.
\Ch{E}Polje z vetrom v \Ch{H7}plesu ziblje \Ch{cis}se.
Gos\Ch{E}pod, pov\Ch{H}sod vidim
Thanks, Wolfgang!
Good toy )
\usemodule[ruby]
\define[1]\chord{\dontleavehmode\ruby[position=before,align=left,inbetween={\blank[big]}]{}{#1}}
\starttext
\setupinterlinespace[big]
\startlines
\chord{E}Cvet dišeč z \chord{H7}jutrom se od\chord{cis}pre,
\chord{A}sonce od\chord{E}pira o
Hello,
How to put chord names above the lyrics? I have the following in mind
\starttext
\setupinterlinespace[big]
\startlines
\chord[C6]Pardon me, boy
Is that the Chattanooga choo choo?
Track twenty-nin\chord[Gadd9/D]e
Boy, you can gimme a sh\chord[C6]ine
\stoplines
\setupinterlinespace
.
i'll look into it
concerning pt ... tex internally uses sp so this is what mkiv uses
in tex-lua communications
you can use:
\startlines
width: \the\dimexpr\figurewidth\relax
height: \the\dimexpr\figureheight\relax
\stoplines
]
\startlines
width: \figurewidth
height:\figureheight
\stoplines
\stoptext
In MkII I get,
width: 276.03125pt
height: 200.75pt
In MkIV I get,
width: 7592528sp
height: 5694396sp
which translates to (why doesn't MkIV use pt as units?)
width:115.85pt
height:86.889pt
I don't know
[Mincho][file:ヒラギノ明朝 Pro W3][features=default] %
/Library/Fonts/ヒラギノ明朝 Pro W3.otf
\definefontsynonym[Gothic][file:ヒラギノ角ゴ Pro W3][features=default] %
/Library/Fonts/ヒラギノ角ゴ Pro W3.otf
\starttext
\startlines
\definedfont[Mincho]Hiragino Mincho Pro
\definedfont[Gothic]Hiragino Kaku Gothic Pro
\stoplines
. \TPJ\ formats the
%D header as
%D \startlines
%D The PracTeX Journal, year, No. number
%D Article revision year/mm/dd
%D \stoplines
%D If a copyright notice is present, it is printed right aligned on the bottom
%D of first page. Otherwise the footer on the first page is empty.
\startlocalsetups
that effort if verbatim is going to be fixed soon anyway.
When you don't need syntax highlighting you can use \startlines
\setuplines[space=on]
\startlines\tt
IF A==B THEN
do this
ELSE
do that
END
\stoplines
Wolfgang
be. (Please see the attached PDF.)
Please, does anyone know what to do with this problem? Thank you very much.
Best regards,
Tomas
\setuppapersize[A6][A6]
\setupindenting[small,yes]
\def\startMyQuote{
\startlines}
\def\stopMyQuote{
\stoplines
\indenting[next]
}
\starttext
\startMyQuote
Quote
,
Tomas
\setuppapersize[A6][A6]
\setupindenting[small,yes]
\def\startMyQuote{
\startlines}
\def\stopMyQuote{
\stoplines
\indenting[next]
}
\starttext
\startMyQuote
Quote line
\stopMyQuote
Text line
\startMyQuote
Quote line
\stopMyQuote
Text line
\startMyQuote
Quote line
\stopMyQuote
Text line
,yes]
\def\startMyQuote{
\startlines}
\def\stopMyQuote{
\stoplines
\indenting[next]
}
\starttext
\startMyQuote
Quote line
\stopMyQuote
Text line
\startMyQuote
Quote line
\stopMyQuote
Text line
\startMyQuote
Quote line
\stopMyQuote
Text line
\startMyQuote
Quote line
\stopMyQuote
Text line
{\currentreferencedefault}% was
\currentreferencetext
\ifx\fline\tline#2\else#3\fi}
{\unknownreference{#1}#2}}
{\unknownreference{#1}#2}}
\def\startMyCite[#1]%
{\def\stopMyCite
{\setuplines[before=,after=]%
\startlines\startline[#1]\getbuffer[#1]\stopline[#1
Hi Hans,
here is a new attempt to get a more generalized version of the
startlines macros, now mkiv only.
Wolfgang
\unprotect
\def\linesparameter #1{\csname\dolinesparameter{\??rg\@@lines}
#1\endcsname}
\def\dolinesparameter #1#2{\ifcsname#1#2\endcsname#1#2\else
to store the letter content which
was changed due to some limitations (e.g. \startlines is not possible).
You can force the old processing method with \setupletterstyle
[method=store].
Other solutions are to add \relay after \startletter because this stops
contexts optional argument grabber
-- snip
\setupcolors[state=start]
\setupinteraction[state=start]
%
\definestartstop[Vorgang] [before={\bgroup \startlines},
after={\stoplines \egroup \blank}] % Mark II and Mark IV
%
%\definestartstop[Vorgang] [before={\bgroup \startlines},
after={\stoplines \egroup \vspacing[medium,strong]
I was too tired. All is fine with recent mkIV.
P.
2009/9/7 Wolfgang Schuster schuster.wolfg...@googlemail.com:
Am 07.09.2009 um 23:17 schrieb Piotr Kopszak:
Hello list,
Maybe I'm just too tired but I can't find a way to force long stanzas
between \startlines and \stoplines to break
Hello list,
Maybe I'm just too tired but I can't find a way to force long stanzas
between \startlines and \stoplines to break and turn up on next page.
Instead the stanza is simply truncated. Actually in my case the poems
are not really divided into stanzas (i.e one stanza is one poem).
Piotr
On Mon, Sep 7, 2009 at 11:17 PM, Piotr Kopszakkops...@gmail.com wrote:
Hello list,
Maybe I'm just too tired but I can't find a way to force long stanzas
between \startlines and \stoplines to break and turn up on next page.
Instead the stanza is simply truncated. Actually in my case the poems
Am 07.09.2009 um 23:17 schrieb Piotr Kopszak:
Hello list,
Maybe I'm just too tired but I can't find a way to force long stanzas
between \startlines and \stoplines to break and turn up on next page.
Instead the stanza is simply truncated. Actually in my case the poems
are not really divided
{\#}\mono{\letterhash}
\startlines
\mono{bla}blub
\stoplines
\stoptext
What about \mono{Dies|Das}?
Is'nt it frustrating?
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki
'?
\starttext
%\type{%}
%\type{{}
\retype{#}
\startlines
\retype{bla}blub
\stoplines
\stoptext
Thank you
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
{\letterpercent}
\mono{\{}\mono{\letterleftbrace} % \mono{\{} works only with MkIV
\mono{\#}\mono{\letterhash}
\startlines
\mono{bla}blub
\stoplines
\stoptext
why is in the following example '#' -- '##'?
why is there a newline between 'bla' and 'blub'?
Has to do with the way how \retype works, a solution
the the split happens.
add this to your local cont-new.tex file (after \protect):
\def\startlines
{\@@rgbefore
\pushmacro\checkindentation
\whitespace
%\page[\v!preference]} gaat mis na koppen, nieuw: later \nobreak
\begingroup
\setupindenting[\@@rgindenting]%
\typesettinglinestrue
wanted to end the line and go to the next
line, I had to put a \par, but in the second one I just put \obeylines which
is the same that means ecah end of my lines will be treated like a \par.
\startlines
I am a Plain \TeX\ user,
and you are a Con\TeX t user.
There are other people who use La\TeX
\startstandardmakeup
\setlayer[blocks][preset=rightbottom]{%
\externalfigure[g-wurf][height=4.7cm]}
\setlayer[blocks][preset=middletop,voffset=1mm]%
{\ZapfinoMedium Title}
\startbuffer
\vbox{%
\startlines
Some Names
of Some Cats
\vskip-3pt\tfx smaller
\vskip-5pt text
\stoplines
[utf]
\mainlanguage[pt]
\setuppapersize[a5][a5]
\usetypescript[gentium]
\setupbodyfont[gentium,20pt]
\setupindenting[small]
\indenting[yes]
\setupwhitespace[small]
\definestartstop [verse]
[before=\vbox\bgroup\startlines,
after=\stoplines\egroup]
\defineselector
On Thu, May 14, 2009 at 09:11:04AM +0200, Hans Hagen wrote:
Corsair wrote:
Hi guys,
I find that the `lines' environment (or description, itemize, etc.)
after text in margin does not align right. Consider the following
code:
in that case you can try \margintext {...} which saves the
Hi guys,
I find that the `lines' environment (or description, itemize, etc.)
after text in margin does not align right. Consider the following
code:
\starttext
\inmargin{What I want}
First line \crlf
Second line
\vskip 1cm
\inmargin{What it renders}
\startlines
First line
Second line
]
\definefontsynonym [Serif] [Song]
\stoptypescript
\definetypeface [chinese] [rm] [serif] [chinese] [default]
\setscript[hanzi]
\setupbodyfont[chinese,rm,12pt]
\starttext
\startlines
\tf 今时之人不然也,以酒为浆,以妄为常,
\bf 醉以入房,以欲竭其精,以耗散其真,
\it 不知持满,不时御神,
\sl 务快其心,逆于生乐,起居无节,故半百而衰也。
\stoplines
\stoptext
[MinBase][name:minionpro-regular*base]
\definefont[MinNode][name:minionpro-regular*node]
% \definefont[MinBase][Serif*base]
% \definefont[MinNode][Serif*node]
\starttext
\startbuffer[Kerning]
\startlines
Wer
Tat
Ver
VAI
\stoplines
\stopbuffer
\startTEXpage
\startoverlay
{\hbox
[node][mode=node,kern=yes]
\definefont[MinBase][name:minionpro-regular*base]
\definefont[MinNode][name:minionpro-regular*node]
% \definefont[MinBase][Serif*base]
% \definefont[MinNode][Serif*node]
\starttext
\startbuffer[Kerning]
\startlines
Wer
Tat
Ver
VAI
\stoplines
\stopbuffer
-regular*base]
\definefont[MinNode][name:minionpro-regular*node]
% \definefont[MinBase][Serif*base]
% \definefont[MinNode][Serif*node]
\starttext
\startbuffer[Kerning]
\startlines
Wer
Tat
Ver
VAI
\stoplines
\stopbuffer
\startTEXpage
\startoverlay
{\hbox to 1cm {\vbox
Hi,
I setup this test:
%%%
\starttext
\startlines
\input test.tex
\stoplines
\stoptext
%%%
File 'test.tex' contains just a 'Hello world!'
line. This test goes okay when I use 'texexec'
from default Ubuntu package. When I use 'context'
from minimals, I get a message
On Sat, 28 Mar 2009, Maurício wrote:
%%%
\starttext
\startlines
\input test.tex
\stoplines
\stoptext
%%%
File 'test.tex' contains just a 'Hello world!'
line. This test goes okay when I use 'texexec'
from default Ubuntu package. When I use 'context'
from
,
this is
\number\dimexpr\dimen0/\dimen2\relax.
Before I want to say if this number is or good let's see what the
value of
the second number is before we changed the value for dimension 6 and
after
we changed it:
\startlines
Before: \dimen6=30pt \number\dimexpr\dimen4/\dimen6\relax
After
you didn't find it yourself: use
\startlines
for your poetry
\stoplines
Regarding documents:
There are some at http://wiki.contextgarden.net/Sample_documents
But most of them are rather old.
It's always a hassle to strip sample documents of all copyrighted text
or customer data...
Or you know
On Mon January 26 2009 8:14:11 am Wolfgang Schuster wrote:
Hi Bart,
Is there a way to pass in my own defined parameters to such a function?
I would like to be able to do something similar to the following:
\startCenteredText[myownparm=This is a test]
\startlines
My own
}
\starttext
\startCenteredText[myownparm=This is a test]
\startlines
My own parm is: \myownparm
\stoplines
\stopCenteredText
\stoptext
Yes, a much simpler solution, but I appreciate having both.
Thanks,
Bart
to the left. How do I fix this?
\defineframedtext[CenteredText][width=fit,location=middle]
\starttext
\startCenteredText
\startlines
The quick brown fox jumps over the lazy dog.
\stoplines
\stopCenteredText
\stoptext
Wolfgang
301 - 400 of 532 matches
Mail list logo