On 1/12/2022 1:09 AM, jbf via ntg-context wrote:
For poetry that has non-regular indentations, I simply
\definelines[poem] and set that up the way I want, obviously, with
\setuplines[poem] e.g. [before={\blank
\setupinterlinespace[line=2.5ex]},after={\blank},indenting=first
For poetry that has non-regular indentations, I simply
\definelines[poem] and set that up the way I want, obviously, with
\setuplines[poem] e.g. [before={\blank
\setupinterlinespace[line=2.5ex]},after={\blank},indenting=first].
And then, but I guess it is still a hack, I use \hskip
juh via ntg-context schrieb am 26.12.2021 um 17:36:
Hi all,
I am looking for a way to make startstoplines likes this:
This is a long line
that breaks,
the second line,
the third line.
So if a line in the poem is too long it shall break and indent.
Short version:
\setuplines
line that breaks,
the second line,
the third line.
The second stanza starts.
\stopbuffer
\setupdelimitedtext[Poe][
rightmargin=\Poeminset,
leftmargin={\dimexpr\Poemindent+\Poeminset\relax},
before={\setuplines[
before
Tommaso Gordini schrieb am 02.07.2020 um 17:33:
I have found this, that works, buy I don't know if there's a possibility
of using less code:
[...]
The following example needs version 2020.07.02 or newer.
begin example
\definelines [poem]
\setuplines
[poem]
[
before
\or
\spac_indentation_no_toggle
\or
\spac_indentation_do_toggle
\or
\spac_indentation_tri_toggle
\fi}
\protect
% questo codice attiva il rientro
\setupindenting[yes,1em]
\setuplines[indenting=three]
\starttext
\startpoem
Per correr miglior acque alza le vele
omai la navicella del
Thanks, Wolfgang. Your example works, but the verse indentation (
\setuplines[indenting=three]) is lost.
There's a way to preserve it?
Tommy
___
If your question is of interest to others as well, please add an entry
Hans Hagen schrieb am 02.07.2020 um 16:48:
On 7/2/2020 4:15 PM, Wolfgang Schuster wrote:
Hans Hagen schrieb am 02.07.2020 um 15:40:
On 7/2/2020 3:01 PM, Tommaso Gordini wrote:
[...]
I'll add this
\setuplines[indentnext={0pt,10pt,15pt,20pt}]
% \setuplines[indentnext={0pt,*,*}]
which
, verse no. 2, 3, 5, and 6).
Is it possible to get what I ask for with ConTeXt?
The most I managed to do is this:
\starttext
\setupindenting[yes,1em]
\setuplines[indenting=even]
\startlines
Per correr miglior acque alza le vele
omai la navicella del mio ingegno,
che lascia dietro a sé mar sì
dentation_check_toggle
> {\ifcase\c_spac_indentation_toggle_state
> % nothing
> \or
> \spac_indentation_no_toggle
> \or
> \spac_indentation_do_toggle
> \or
> \spac_indentation_tri_toggle
> \fi}
> \protect
> %%
>
> to be used with:
&g
to get what I ask for with ConTeXt?
The most I managed to do is this:
\starttext
\setupindenting[yes,1em]
\setuplines[indenting=even]
\startlines
Per correr miglior acque alza le vele
omai la navicella del mio ingegno,
che lascia dietro a sé mar sì crudele;
e canterò di quel secondo regno
dove
\spac_indentation_check_toggle
{\ifcase\c_spac_indentation_toggle_state
% nothing
\or
\spac_indentation_no_toggle
\or
\spac_indentation_do_toggle
\or
\spac_indentation_tri_toggle
\fi}
\protect
%%
to be used with:
\setuplines[indenting=three]
Best wishes,
Taco
> On 2 Jul 2020, at 15
I managed to do is this:
\starttext
\setupindenting[yes,1em]
\setuplines[indenting=even]
\startlines
Per correr miglior acque alza le vele
omai la navicella del mio ingegno,
che lascia dietro a sé mar sì crudele;
e canterò di quel secondo regno
dove l'umano spirito si purga
e di salire al ciel
\setupindenting[yes,1em]
\setuplines[indenting=even]
\startlines
Per correr miglior acque alza le vele
omai la navicella del mio ingegno,
che lascia dietro a sé mar sì crudele;
e canterò di quel secondo regno
dove l'umano spirito si purga
e di salire al ciel diventa degno.
\stoplines
\stoptext
but that's
][
alternative=word,
style=PoemFirstWord,
n=1,
]
\definestartstop[poem][
before={\startlines \setfirstline[PoemFirstLine] \placeinitial},
after={\stoplines},
]
\setuplines[indenting=odd]
\starttext
\startpoem
Some say the world will end in fire,
Some say in ice.
From what I've tasted
,
n=1,
]
\definestartstop[poem][
before={\startlines \setfirstline[PoemFirstLine] \placeinitial},
after={\stoplines},
]
\setuplines[indenting=odd]
\starttext
\startpoem
Some say the world will end in fire,
Some say in ice.
From what I've tasted of desire
I hold with those who favor fire
n file
/Users/bowen1/Desktop/TestTeX/test-02.tex: ?
\setupdirections[bidi=global, method=one]%<——
\defineitemgroup[CList][levels=2]
\setupCList[1][n, broad, packed, autointro, repeat, continue]
[itemalign=flushright,
left={},right={},stopper={.},
margin=0pc,
before={\setupinterlinespace[off]
\s
, continue]
[itemalign=flushright,
left={},right={},stopper={.},
margin=0pc,
before={\setupinterlinespace[off]
\setuplines[before={}, after={}]
\startlines},
after={\stoplines}]
\setupCList[2][n, broad, packed, joinedup, autointro]
[itemalign=flushright,
left={}, right={}, stopper={},
margin=0pc,
]
\def
m, there are only a few "lines" sections, and of course
>> I checked these first.
>> I also checked all(?) other \start/stops, braces and brackets - of course I
>> could have overlooked some, it’s a whole book, but most cases are caught on
>> their own.
>&g
it might be something in my setups, but not in \setuplines, but don’t
know for what I should look, there’s too much...
Which other setups affect \start/stoplines?
The error could be due to some other mismatched group. Have you tried:
mtxrun --script
are caught on
their own.
I guess it might be something in my setups, but not in \setuplines, but don’t
know for what I should look, there’s too much...
Which other setups affect \start/stoplines?
Greetlings, Hraban
---
ntykwa] [default]
\setupbodyfont[antykwa]
\setuplines[option=packed,inbetween={\blank[line,preference]}]
\setuppapersize[A6]
\showframe
\starttext
\subsection{Co mě tak láká?}
\startlines
A ty se ptáš,
co mě tak láka, na tobě?
Odpoveď máš
tady i když v snivé podobě
Dostal jsem ochutnat
z poháru š
On 6/17/2013 1:39 AM, Wolfgang Schuster wrote:
Verse page.
You don’t need any tricks to prevent page breaks in a lines environment because
\setuplines[option=packed] already does it.
Wolfgang
You still need to make each stanza an individual lines environment,
don't you?
--
Bill Meahan
stanzas,
you can put each stanza in an non-bordered frame.
[...]
A frame will never be split across pages.
BTW this trickis on the wiki on the Verse page.
You don’t need any tricks to prevent page breaks in a lines environment
because
\setuplines[option=packed] already does it.
Many
Am 17.06.2013 um 15:50 schrieb Bill Meahan subscribed_li...@meahan.net:
On 6/17/2013 1:39 AM, Wolfgang Schuster wrote:
Verse page.
You don’t need any tricks to prevent page breaks in a lines environment
because
\setuplines[option=packed] already does it.
Wolfgang
You still need
.
e.g.:
% Set up the lines environment to put the contained lines in a frame so
they are kept together
\setuplines[indenting={yes,small,even}, -- whatever options you want
before={\startframedtext[frame=off]},
after=\stopframedtext]
% Then wrap your stanzas in individual line
each stanza in an non-bordered frame.
e.g.:
% Set up the lines environment to put the contained lines in a frame so they
are kept together
\setuplines[indenting={yes,small,even}, -- whatever options you want
before={\startframedtext[frame=off]},
after=\stopframedtext]
% Then wrap
consists of individual stanzas, you can put
each stanza in an non-bordered frame.
e.g.:
% Set up the lines environment to put the contained lines in a frame so they
are kept together
\setuplines[indenting={yes,small,even}, -- whatever options you want
before={\startframedtext[frame=off
On 6/6/2013 12:36 AM, Marcin Borkowski wrote:
Sorry to say that, but neither seems to work...
it is hard to say what goes wrong if you only show the error message and
no real code
Hans
-
Dnia 2013-06-06, o godz. 09:49:27
Hans Hagen pra...@wxs.nl napisał(a):
On 6/6/2013 12:36 AM, Marcin Borkowski wrote:
Sorry to say that, but neither seems to work...
it is hard to say what goes wrong if you only show the error message
and no real code
Sorry for that, my fault.
Now comes
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, this means that I'd like the pattern to be
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
- 3.5cm\relax,
distance=0.5cm,
align=middle,
]
\setuplines[align=middle]
\setupparagraphs[persoon][2][width=3cm]
\starttext
\startluacode
-- a table containing the material we want to typeset
local contents = {
{
text = [[
Naam
for \definelines doesn't mention the command= option. On the
other hand it does mention align= and this doesn't work. Neither does
\setuplines.
I always get undefined control sequence.
\definelines[doFirstBoldRight][command=\myLine]
\setupdoFirstBoldRight[align=flushleft]
\setuplines
it does mention align= and
this doesn't work. Neither does \setuplines.
I always get undefined control sequence.
...
Make a complete example.
I thought I could get away without it, because it's practically the
answer to my question, just with alignment.
For some reason, now that I started from
found that the
documentation for \definelines doesn't mention the command= option. On the
other hand it does mention align= and this doesn't work. Neither does
\setuplines.
I figured it out from the source, spac-lin.mkiv. One might see there that the
align key does not seem to be processed
= and this doesn't
work. Neither does \setuplines.
I always get undefined control sequence.
\definelines[doFirstBoldRight][command=\myLine]
\setupdoFirstBoldRight[align=flushleft]
OR
\definelines[doFirstBoldRight][align=flushleft,command=\myLine]
gives the same error.
Do you have any idea what I am doing
Hi Hans,
I have the following sample:
\definelines[narrow][before=\blank,after=\blank]
\stopsetups
\starttext
This is a paragraph.\par
\startnarrow
this is a verse
this is a verse
\stopnarrow
This is paragraph.\par
\stoptext
If I replace \definelines with \setuplines, before and after aren't
\stoptext
If I replace \definelines with \setuplines, before and after aren't honored.
\definelines adds an extra paragraph separation space within the lines
that isn't inserted with \setuplines.
Is this intended?
1. When you add a blank line in a “lines” environment context inserts
/feed/xml?amount=#1what=parasstart=yes}{}
\stopLoremLines
}
\starttext
\setupindenting[yes,20pt]
\setuplines[LoremLines][command=\blank,indenting=yes]
\Lorem{12}
\stoptext
I've added a module m-ipsum. I have no clue if it provides what one
expects from such a module
\usemodule[ipsum
}{}
\stopLoremLines
}
\starttext
\setupindenting[yes,20pt]
\setuplines[LoremLines][command=\blank,indenting=yes]
\Lorem{12}
\stoptext
This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential
environment
to increase the left margin.
\definenarrower[narrowlines][left=10cm]
\setuplines
[before={\startnarrowlines[left]},
after=\stopnarrowlines]
\starttext \showframe
\startlines
One
Two
Three
\stoplines
\stoptext
Wolfgang
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
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
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
% 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
tricky. This is what I did
once to typeset 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]
You don’t need \testpage to keep the lines
On 2010-09-15 22:26:38, John Haltiwanger wrote:
Apologies, as a very significant aspect of this process was omitted in the
previous email!
Don't forget to do:
\setuplines[space=on]
Hi all,
I'm sorry to hijack the thread but I have trouble understanding
how the [space=on] works
Apologies, as a very significant aspect of this process was omitted in the
previous email!
Don't forget to do:
\setuplines[space=on]
first!
On Wed, Sep 15, 2010 at 9:45 AM, John Haltiwanger
john.haltiwan...@gmail.com wrote:
I thought I'd give the mailing list a small change of pace
On Wed, 15 Sep 2010, John Haltiwanger wrote:
Apologies, as a very significant aspect of this process was omitted in the
previous email!
Don't forget to do:
\setuplines[space=on]
first!
On Wed, Sep 15, 2010 at 9:45 AM, John Haltiwanger
john.haltiwan...@gmail.com wrote:
I thought I'd give
in the
previous email!
Don't forget to do:
\setuplines[space=on]
first!
On Wed, Sep 15, 2010 at 9:45 AM, John Haltiwanger
john.haltiwan...@gmail.com wrote:
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
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
, typesetting poerty can be very tricky. This is what I did
once to typeset 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
]
\setupindenting[yes, 3mm]
\setupwhitespace[6mm]
\mainlanguage[fr]
\setupbodyfont[sansserif, 12pt]
\definepapersize[monpapier][width=210mm, height=297mm]
\definebodyfont[10pt][tt][bf=cmbtt10]
\setuplines[space=on]
\setupheadertexts[chapter]
\setuppagenumbering[alternative=doublesided,location={footer
]
\setupindenting[yes, 3mm]
\setupwhitespace[6mm]
\mainlanguage[fr]
\setupbodyfont[sansserif, 12pt]
\definepapersize[monpapier][width=210mm, height=297mm]
\definebodyfont[10pt][tt][bf=cmbtt10]
\setuplines[space=on]
\setupheadertexts[chapter]
\setuppagenumbering[alternative=doublesided,location={footer
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 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
On Fri, Apr 09 2010, luigi scarso wrote:
On Fri, Apr 09 2010, R. Bastian wrote:
but remains that every {\bf } introduces a white space;
I'm not able to see any white space in mkiv
Bastian refers to Wolfgang's solution with \setuplines[space=on].
Cheers, Peter
--
Contact
--
\setupoutput[dvi]
\setupwhitespace[1.2em]
\definestartstop[verse]
[command={%
\setupwhitespace[1.2em]%
},style={%
\raggedright\nohyphens%
},before={%
\setuplines[indenting={yes,-2em,first}]%
\setupnarrower[left=2em
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
\setuplines local) but it's what I can readfrom your description above and the code you showed in the previous message.Thank you very much for your help!I adapted your solution and it works as intended.There is an inherent "problem" as one can see in the attachment, but since mostly I ci
text in the appendix of the document. In the
body I'd like to cite out of it (with the same line numbers as in
the source/appendix). The appendix should stay unchanged.
For the beginning you can play with this code, it has to be changed
in a few parts (e.g. make \setuplines local) but it's
]
\def\definelines
{\dodoubleempty\dodefinelines}
\def\dodefinelines[#1][#2]%
{\getparameters[\??rg#1][\s!parent=\??rg,#2]%
\setvalue{\e!start#1}{\dostartlines[#1]}%
\setvalue{\e!stop #1}{\dostoplines}}
\def\setuplines
{\dodoubleempty\dosetuplines}
\def\dosetuplines[#1][#2
\dobetweenthelines}%
\activatespacehandler\@@rgspace
\GotoPar}
\def\dobetweenthelines
{\doifmeaningelse\next\obeyedline
{\@@rginbetween}
{\afterfirstobeyedline}}
\setuplines
[\c!option=,
\c!before=\blank,
\c!after=\blank,
\c!inbetween=\blank,
\c!indenting=\v!no,
\c
On Sun, Nov 30, 2008 at 5:09 PM, Zhaopeng Xing [EMAIL PROTECTED] wrote:
Hi,
Does anyone know how to describe algorithm procedures in similar way as
LaTeX algorithmic and algorithm packages? I tried to search it on wiki but
found nothing. Thanks.
\starttext
\setuplines[space=yes
packages? I tried to search it on wiki
but
found nothing. Thanks.
\starttext
\setuplines[space=yes]
\startlines
$sum \leftarrow 0$
\bold{for} $i \leftarrow 1,n$ \bold{do}
$sum \leftarrow sum + i$
\bold{end for}
\stoplines
\stoptext
Wolfgang
{\bf then}}
\def\ENDIF {{\bf end if}\par\egroup}
\def\WHILE ##1{\bgroup\doadaptleftskip{1em}{\bf while} ##1 {\bf do}}
\def\ENDWHILE {{\bf end while}\par\egroup}
\definecomplexorsimple\ELSE
\def\simpleELSE {{\bf else}}
\def\complexELSE[##1]{{\bf else} $//$ ##1}
\stopsetups
%\setuplines
[language code][settings]
# \setuplayer
\setuplayout[options]
\setuplegend[options]
\setuplinenumbering[options]
\setuplines[options]
\setuplinewidth[dimension]
\setuplist[names][options]
\setupmakeup[name][options]
\setupmarginblocks[options]
\setupmarginrules[level=number|rulethickness=dimension
is a
directive that says preserve whitespace but does not escape reserved
TeX characters.
Does any such thing exist in ConTeXt? Unfortunately, I'm inexperienced
with TeX so I don't know how feasible this is.
\setuplines[space=yes]
followed by
\startlines
verbatin text
\stoplines
Note
with TeX so I don't know how feasible this is.
\setuplines[space=yes]
followed by
\startlines
verbatin text
\stoplines
Note that everything between start-stop lines is normal tex code.
you mean start/stoplines need style and color keys.
Aditya
Wolfgang
On Thu, 29 Nov 2007, Mike Santy wrote:
Is there an environment that preserves whitespace (like typing), but still
processes \bf \it and other text formatting commands (unlike typing).
\setuplines[space=yes]
\startlines
write what you want
{\bf Either bold} or not
\stoplines
Aditya
[verse]
[before=\vbox\bgroup\startlines,
after=\stoplines\egroup]
\definestartstop
[chorus]
[before=\startnarrower\startlines,
after=\stoplines\stopnarrower]
\setuplines[before=\nowhitespace,after=\nowhitespace]
Wolfgang
\starttext
\startverse
We all came out to Montreux
on the page. Pagebreaks should only be possible
between stanzas at the \smallskip-mark. Could somebody tell me, how
to achieve this?
Probably, the easiest way to do that will be to add a bit of a markup.
Something like (untested)
\setuplines[after={\blank[small]}] %or after=\smallskip
. Pagebreaks should only be possible
between stanzas at the \smallskip-mark. Could somebody tell me, how
to achieve this?
Probably, the easiest way to do that will be to add a bit of a markup.
Something like (untested)
\setuplines[after={\blank[small]}] %or after=\smallskip
\defineframedtext[stanza
\stopframedtext
\stoptext
Hi Bert,
can you file with these settings
\setupframedtexts
[framedtext]
[width=\textwidth,
height=fit,
before=,
after=]
\setuplines
[before=\startframedtext,
after=\stopframedtext]
\starttext
\subsection{Novalis--An Tieck}
\startlines
Ein Kind voll
should only be possible
between stanzas at the \smallskip-mark. Could somebody tell me, how
to achieve this?
Probably, the easiest way to do that will be to add a bit of a markup.
Something like (untested)
\setuplines[after={\blank[small]}] %or after=\smallskip
\defineframedtext[stanza][width
[medium]
\setuplines[indenting=odd]
\starttext
\startlines
first
second
third
fourth
\stoplines
\stoptext
Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
(unless I misunderstood the feature)
\setupindenting[medium]
\setuplines[indenting=odd]
\starttext
\startlines
first
second
third
fourth
\stoplines
\stoptext
\showframe
\starttext
\setupindenting[medium,first]
\setuplines[indenting=no]
\startlines
first
second
third
fourth
first
\setuplines[indenting=yes]. Have a look
at the code posted by Hans sometime back.
Aditya
On 8/23/06, Aditya Mahajan [EMAIL PROTECTED] wrote:
On Tue, 22 Aug 2006, Derek Schmidt wrote:
Hi,
Another simple question--have at it!
I'd like to typeset some poetry. It should be
indented
Ok guys, thanks. I eventually went with this:
\setupindenting[medium,first]
\def\startverse%
{\bgroup
\setupinterlinespace[medium]
\setuplines[indenting=yes]
\startlines}
\def\stopverse%
{\stoplines
\endgraf\egroup}
On 8/23/06, Aditya Mahajan [EMAIL
.
\setuplines[before={\startnarrower[3cm]},after=\stopnarrower]
\midaligned{test}
\startlines
There snores -- I mean sleeps -- my wife so frail.
There snores -- I mean sleeps -- my wife so frail.
\stoplines
--
Aditya
___
ntg-context mailing list
ntg
hmm, on Tue, May 16, 2006 at 06:27:12PM -0400, Aditya Mahajan said that
Use the before and after mechanism.
\setuplines[before={\startnarrower[3cm]},after=\stopnarrower]
\midaligned{test}
\startlines
There snores -- I mean sleeps -- my wife so frail.
There snores -- I mean sleeps -- my
)
%
% \defineheadplacement[poemtitle][horizontal]#1#2%
% {\margintitle{\hskip\measure{SavedLeftSkip}#1\enspace#2}}
\defineheadplacement[poemtitle][vertical]#1#2%
{\setupparagraphintro[first][{\llap{\hbox to
\leftskip{#1\enspace#2\hss}}}]}
\setuplines[before=,after=]
\def\StartPoem#1%
{\startnarrower[5*left
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
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
1 - 100 of 122 matches
Mail list logo