;
> \definenumber[number]
>
> \setuphead[chapter,section,subsection,subsubsection
> [after={\resetnumber[number]}]
>
> \def\MyMark[#1]
> {\textreference[#1]{Para. \currentheadnumber / \getnumber[number]}}
\def\MyMark[#1]%
{\expanded{\textreference[#1]{Para. \currentheadn
]
{\textreference[#1]{Para. \currentheadnumber / \getnumber[number]}}
\definestartstop[MyPara]
[before=
{\blank[medium]\incrementnumber[number]%
\inothermargin{\getnumber[number]~}},
after={\blank[medium]}]
\starttext
\section
\startMyPara
blabla blabla blabla blabla
ent
> margins, etc. that's what i want to set up with \setupquotation
> a lot of publisher make even typeset these in smaller fonts.
>
> how can i make this happen? this is really important for typesetting
> books, it is not?
Just roll your own! Here is what i use:
serif,11pt]
> \setuphead[section][style=ssb]
> \setupsection[section][conversion=Romannumerals]
>
> \setupitemize[each][a][stopper=:]
>
> \definestartstop[Beweis][
> before={{\bf Beweis:}\endgraf\blank},
> after={\rightaligned{{\bf q.e.d.}}}
> ]
>
> \startte
Am 31.07.2007 um 10:18 schrieb Karsten Heymann:
> Hello,
>
> I try to prevent indention after a custom enviroment used for
> quotations which uses \startnarrower ... \stopnarrower:
Here you are:
\setupindenting [0.5cm]
\indenting[yes,next]
\definestartstop[Zitat]
[before={\sta
Hello,
I try to prevent indention after a custom enviroment used for
quotations which uses \startnarrower ... \stopnarrower:
\setupindenting [0.5cm]
\indenting[yes,next]
\definestartstop[Zitat]
[before={\startnarrower[2*left]},
after=\stopnarrower\noindent]
\starttext
\input knuth
\eTR
> \eTABLE
> \stoptext
Here is an other example!
Remove the three-line-comment, and the error is gone!
Strange what?
Wolfgang
-
\setupbodyfont[sansserif,11pt]
\setuphead[section][style=ssb]
\setupsection[section][conversion=Romannumerals]
\setupi
How to get rid of it?
>
> \definestartstop
> [verse]
> [before=\vbox\bgroup\startlines,
>after=\stoplines\egroup]
>
> \definestartstop
> [chorus]
> [before=\startnarrower\startlines,
>after=\stoplines\stopnarrower]
\setuplines[before=\nowhitespace,after=\nowhitespac
Hello,
Please, help me with the following. The \vbox and \bgroup\egroup tags are
intend to keep a verse on a page, but they also add extra spacing (an extra
line?) between the verse and chorus. How to get rid of it?
\definestartstop
[verse]
[before=\vbox\bgroup\startlines,
after
Hi Vyatcheslav,
Vyatcheslav Yatskovsky schrieb:
> Hello,
>
> Pleeease, I need a help.
>
> I might formulate my previous question badly, so let me restate it.
>
> How to handle optional arguments (one or two) with \definestartstop? More
> specifically, how to replac
Hello,
Pleeease, I need a help.
I might formulate my previous question badly, so let me restate it.
How to handle optional arguments (one or two) with \definestartstop? More
specifically, how to replace hard-coded "Logging-On" string so that I could
write
\startusecase[Logging-Ou
Hello,
I want to convert my following code into a custom \start \stop pair.
\starttextrule{Use Case: Logging-On}\startpacked
Text
\stoppacked\stoptextrule
It seems to me that using \definestartstop[usecase][...] command is the most
approprate, but I cannot get how to achieve different
Wolfgang Schuster wrote:
> 2007/6/26, Vyatcheslav Yatskovsky <[EMAIL PROTECTED]>:
>> Hello,
>>
>> And how to indent a chorus block?
>>
>> My naive
>> \definestartstop[chorus][before={\startlines[indenting=2em]},
>> after=\stoplines]
Wolfgang Schuster wrote:
> 2007/6/26, Vyatcheslav Yatskovsky <[EMAIL PROTECTED]>:
>> Hello,
>>
>> I have a simple question about verses. How can I prevent a verse to be
>> breaked across pages?
>>
>> Now I use:
>>
>> \defin
2007/6/26, Vyatcheslav Yatskovsky <[EMAIL PROTECTED]>:
> Hello,
>
> And how to indent a chorus block?
>
> My naive
> \definestartstop[chorus][before={\startlines[indenting=2em]},
> after=\stoplines]
> doesn't work.
>
> --
> Best,
> Vyatcheslav
2007/6/26, Vyatcheslav Yatskovsky <[EMAIL PROTECTED]>:
> Hello,
>
> I have a simple question about verses. How can I prevent a verse to be
> breaked across pages?
>
> Now I use:
>
> \definestartstop[verse][before=\startlines,
> after=\stoplines]
>
> --
&
On Tue, 26 Jun 2007, Vyatcheslav Yatskovsky wrote:
> Hello,
>
> I have a simple question about verses. How can I prevent a verse to be
> breaked across pages?
>
> Now I use:
>
> \definestartstop[verse][before=\startlines,
> after=\stoplines]
My first reaction was to u
Hello,
And how to indent a chorus block?
My naive
\definestartstop[chorus][before={\startlines[indenting=2em]},
after=\stoplines]
doesn't work.
--
Best,
Vyatcheslav mailto:[EMAIL PROT
Hello,
I have a simple question about verses. How can I prevent a verse to be breaked
across pages?
Now I use:
\definestartstop[verse][before=\startlines,
after=\stoplines]
--
Best,
Vyatcheslav
is to
>
> \definetextbackground[underline]
> [location=text,alternative=1,background=,frame=off]
>
> \definestartstop [underline]
> [before={\starttextbackground[underline]},
>after=\stoptextbackground]
>
> which does not introduce any interaction (interaction means that
ng[interaction=off]?
Depends on how you define \startunderline. The usual way is to
\definetextbackground[underline]
[location=text,alternative=1,background=,frame=off]
\definestartstop [underline]
[before={\starttextbackground[underline]},
after=\stoptextbackground]
which does not introdu
sd f
>> \stoptheorem
>>
>> the text is indented a little bit after the begginning of the line. We
>> could have a normal indentation (like AMS theorem do)?
>>
>> 5) Is there an equivalent to \newenvironment in latex? I think about the
>> demostration
skjdskad sda sdas dsad asdas das dsafs f
> dsfsdfsdf dfsdf sdf dsfsd fsdfsd fds fdsf ds fsd fds fsdfsdfs fdsfsd f
> \stoptheorem
>
> the text is indented a little bit after the begginning of the line. We
> could have a normal indentation (like AMS theorem do)?
>
> 5) I
Dear syndicate,
For looong footnotes it would be nice to have \start-\stop footnotes for
easier editing, but these are not defined in ConTeXt. So I tried
\definestartstop
[footnote]
[before=\footnote\bgroup,
after=\egroup]
\startbuffer[footnote]%
test
ots of flexibility in the interline and interparagraph
space, so you can do something like this:
\definestartstop[kleiner]
[before={\startcolumns[n=2]
\setupinterlinespace[stretch=1.5]
\setupwhitespace [bigger]},
after={\stopcolumns }]
and that works like a charm
I have been setting bibliographies using the following instructions:
\definehead[BibTitle][subject]
\setupsectionblock[BibTitle][number=no,page=right]
\setuphead[BibTitle][style={sc},after={\blank}]
\def\hangover{\hangafter=1\hangindent=1.5pc\raggedright}
\definestartstop[bibliography
) that has broken my
>> definitions for setting extracts in the body text.
>>
>> \defineblank[extractdistance][3pt]
>>
>> \definestartstop[extract][
>>before={[extractdistance]
>> \setupnarrower[left=1.5pc,right=1.5pc]
>> \star
,
> headstyle=bold,
> text=Theorem,
> number=yes,
> after=]
> \definestartstop[theorem]
>[before=\startTheorem,
> after=\stopTheorem]
>
> \defineenumeration[Proof]
>[location=serried,
> headstyle=slanted,
> text=Proof,
&g
l? or Is there
any method to reduce the spaces?
Thank you for reading.
Dalyoung
%Here is the definition following Mr. Taco's method
\defineenumeration[Theorem]
[location=serried,
headstyle=bold,
text=Theorem,
number=yes,
after=]
\definestartstop[theorem]
[before
topul
\definetextbackground[ul]
[location=text,alternative=1,background="">
\definestartstop[ul]
[before={\starttextbackground[ul]
},
after={\stoptextbackground\
}]
Below is a sample .tex file that
I have been playing with: -
\usemodule [contml]
\autoXMLna
gt;
> >> \startnarrower \stopnarrower
> >>
> >>> obey lines,
> >>
> >> \startlines ... \stoplines (it is more customizable than \obeylines)
> >>
> >> You can actually say
> >>
> >> \setupindenting[medium] \star
customizable than \obeylines)
>>
>> You can actually say
>>
>> \setupindenting[medium] \startlines[indenting=yes] (other options are
>> no, yes, odd, even) and see which one you like.
>>
>>> and the lines should be close together, not like separate
together, not like separate paragraphs.
>
> \setupinterlinespace[line=2em] \endgraf (default is 2.4 em)
>
> > So far I've got
> >
> > \definestartstop[verse][commands=\obeylines]
>
> So you can try
>
> \def\startverse%
>{\bgroup
> \setupinterlinespa
ey lines,
>>> and the lines should be close together, not like separate paragraphs.
>>> So far I've got
>>>
>>> \definestartstop[verse][commands=\obeylines]
>>>
>>>
>>> What next?
>>>
>>>
>> \startlines...\s
like separate paragraphs.
>> So far I've got
>>
>> \definestartstop[verse][commands=\obeylines]
>>
>>
>> What next?
>>
> \startlines...\stoplines
>
> has provisions for odd/even indentation and such
>
> also, indentation settings can handle odd/
me poetry. It should be indented, obey lines,
> > and the lines should be close together, not like separate paragraphs.
> > So far I've got
> >
> > \definestartstop[verse][commands=\obeylines]
> >
> >
> > What next?
> >
> > All best,
> >
On Tuesday 22 August 2006 23:39, Derek Schmidt wrote:
> Hi,
>
> Another simple question--have at it!
>
> I'd like to typeset some poetry. It should be indented, obey lines,
> and the lines should be close together, not like separate paragraphs.
> So far I've
Derek Schmidt wrote:
> Hi,
>
> Another simple question--have at it!
>
> I'd like to typeset some poetry. It should be indented, obey lines,
> and the lines should be close together, not like separate paragraphs.
> So far I've got
>
> \definestartstop[verse]
nes)
You can actually say
\setupindenting[medium] \startlines[indenting=yes] (other options are
no, yes, odd, even) and see which one you like.
> and the lines should be close together, not like separate paragraphs.
\setupinterlinespace[line=2em] \endgraf (default is 2.4 em)
> So f
Hi,
Another simple question--have at it!
I'd like to typeset some poetry. It should be indented, obey lines,
and the lines should be close together, not like separate paragraphs.
So far I've got
\definestartstop[verse][commands=\obeylines]
What next?
All b
Am 10.08.2006 um 22:47 schrieb Aditya Mahajan:
> You can always define your own startstop.
>
> \definestartstop[italic][before={\bgroup \it},after={\egroup}]
>
> and then do
>
> \startitalic
> This is italic
> \stopitalic
>
> When a command takes an optional a
de not easier.
You can always define your own startstop.
\definestartstop[italic][before={\bgroup \it},after={\egroup}]
and then do
\startitalic
This is italic
\stopitalic
When a command takes an optional agrument, you can do use something like
this
\def\startfootnote%
{\unskip\dosinglee
eau, columns are correctly aligned.
It seems the problem exists only when table 1 and table 2 have not the
same number of columns.
Thanks for your help,
Nicolas Grilly
%testfile
\setuppapersize [A4, landscape] [A4, landscape]
\definestartstop[tableau][
before={\blank[2*big]},
comma
Nicolas Grilly wrote:
>
> Why does it break column alignment? Is it normal?
A quick test looks fine to me. What precisely is wrong?
Taco
% testfile
\setupTABLE[column][each][aligncharacter=yes, alignmentcharacter={,}]
\definestartstop[tableau][
before={\blank[2*big]},
co
I'm sorry to come with another problem related to character alignment...
My natural tables are enclosed in a \starttableau \stoptableau pair
that breaks character alignment:
\starttableau
\bTABLE
...
\eTABLE
\stoptableau
These command is defined this way:
\definestartstop[tableau][
b
hing
> like
>
> \unprotect
> \def\dosetvalue#1#2#3%
>{\dodosetvalue{#1}[#2]#3}
>
>\def\dodosetvalue#1[#2#3]#4%
>{\doifelse{#3}{\space}
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
>
> With this
>
> \dosetvalue {one}{a }{ b}
> (\onea)
>
es and their value. For example, doing:
>
> \startpublication[k = ArcticCorsairTrawling,
> t = misc]
>
> instead of
>
> \startpublication[k=ArcticCorsairTrawling,
> t=misc]
>
> 2) When trying to define an abstract command:
> \definestartstop
>
irTrawling,
t = misc]
instead of
\startpublication[k=ArcticCorsairTrawling,
t=misc]
2) When trying to define an abstract command:
\definestartstop
[abstract]
[before={\midaligned{\bf Abstract} \startnarrower[2*middle]},
after={\stopnarrower \blank[big]}]
In thi
ave a few) ends up being a
> column of one page but just running from the page.
>
> So, it seems \defineparagraphs is out, because I do not get page breaks
> inside the quote. But what should I do?
Does this work?
\definestartstop
[BookQuote]
[before={\startnarrower\whitespace\setup
Hans Hagen wrote:
> Karsten Heymann wrote:
>> Great, works like a charm! By the way: What's the benefit of
>> \definestartstop over \def\start..., \def\stop...?
> looks nicer and is configurable (style,color etc)
So it doesn't insert a extra level ouf grouping
Karsten Heymann wrote:
> Hans Hagen wrote:
>
>> \definestartstop
>> [exdent]
>> [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
>>after=\stopnarrower]
>>
>
>
\setuphead[section][indentnext=first]
> Can you make the
Karsten Heymann wrote:
>> \definestartstop
>> [exdent]
>> [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
>>after=\stopnarrower]
>>
>
> Great, works like a charm! By the way: What's the benefit of
> \definestartstop over \def\
Hans Hagen wrote:
> \definestartstop
> [exdent]
> [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
>after=\stopnarrower]
Can you make the following work too? Adding \indenting[yes] to before=
doesn't help.
\startexdent
\section{Test}
\input tufte \end
Hans Hagen wrote:
> Karsten Heymann wrote:
>> what's the context'ish way of creating a start-stop environment in
>> which each paragraph is indented from the 2nd line on?
> \definestartstop
> [exdent]
> [before={\startnarrower[left]\setupindenting[-\leftsk
ith alternate explanations and examples
>for a number of key subjects, updates describing more recent
>additions to ConTeXt, and detailed solutions to some tricky problems.
> %
>
> Yours,
> Karsten
>
\starttext
\definestartstop
[exdent]
[before={\startnarrower[left]\se
\switchtobodyfont[omarb]}
% For separate Arabic-script paragraphs
\def\ArabicDirPar{\textdir TRT\pardir TRT}
\definestartstop
[arabutf]
[commands=%
{\usefiltersequence[UTFArabic]
\switchtobodyfont[omarb]%
\ArabicDirPar}]
\definestartstop
[arabiso]
[comman
doable with:
\starttext
\startsetups whatever
\defineshortcut [b] [style=bold]
\defineshortcut [e] [style=slanted]
\stopsetups
\definestartstop[whatever][commands=\setups{whatever}]
\input tufte
oeps or
\startwhatever
oeps or
\stopwhatever
oeps or
\input tufte
\stoptext
Many
ther uses.
i have no idea why you use shortcuts (i implemented it as a gimmick -)
grouping is doable with:
\starttext
\startsetups whatever
\defineshortcut [b] [style=bold]
\defineshortcut [e] [style=slanted]
\stopsetups
\definestartstop[whatever][commands=\setups{whatever}]
\input
Quoting Jörg Hagmann <[EMAIL PROTECTED]>:
On Dec 2, 2005, at 8:30 AM, [EMAIL PROTECTED] wrote:
-> I'm trying to put a metapost graphic in the margin like te
example in the manual reference (page 47) using the following
command:
\definestartstop[important][command={\inmarge{\use
hic in the margin like te
example in the manual reference (page 47) using the following command:
\definestartstop[important][command={\inmarge{\useMPgraphic{bang}
[width=\marginwidth]}}]
But (of course :) it does not work at all and put some blank pages.
Any idea?
For these two, others will have to
On Dec 2, 2005, at 8:30 AM, [EMAIL PROTECTED] wrote:
-> I'm trying to put a metapost graphic in the margin like te
example in the manual reference (page 47) using the following command:
\definestartstop[important][command={\inmarge{\useMPgraphic{bang}
[width=\marginwidth]}}]
But (o
ike te example
in the manual reference (page 47) using the following command:
\definestartstop[important][command={\inmarge{\useMPgraphic{bang}[width=\marginwidth]}}]
But (of course :) it does not work at all and put some blank pages. Any idea?
Thanks a lot for your help. And thanks a lot to all th
I've done similar things like this:
\defineenumeration[Preuve]
[location=serried,
headstyle=slanted,
text=Preuve,
number=no,
after=]
\definestartstop[preuve]
[before=\startPreuve,
after=\hfil\QED\stopPreuve]
Greetings, Taco
[EMAIL PROTECTED] wrote:
Dear Co
//
In body text
\defineblank[extractdistance][3pt]
\definestartstop[extract][
before={ \blank[extractdistance,force]
\setupnarrower[left=1.5pc,right=1.5pc]
\startnarrower[left,right]
\noindent},
after={\stopnarrower
\blank[extractdistance,force]
\indenting
same problem. A.
% Extracts or Long Quotations
//
In body text
\defineblank[extractdistance][3pt]
\definestartstop[extract][
before={ \blank[extractdistance,force]
\setupnarrower[left=1.5pc,right=1.5pc]
\startnarrower
.
% Extracts or Long
Quotations//
In body text
\defineblank[extractdistance][3pt]
\definestartstop[extract][
before={ \blank[extractdistance,force]
\setupnarrower[left=1.5pc,right=1.5pc]
\startnarrower[left,right
=yes]
\setupfootnotes[interaction=yes]
\setupnotedefinition[footnote][indenting={big,yes}]
% Extract setup
\definestartstop[extract][
before={\godown[0.10pc]
\indenting[next]
\setupnarrower[left=1.5pc,right=1.5pc]
\startnarrower[left,right]},
after={\stopnarrower
tes[conversion=numbers,
> way=bytext,location=page,rule=on,bodyfont=10.1pt,style=normal]
> \setupfootnotes[indenting=yes]
> \setupfootnotes[interaction=yes]
> \setupnotedefinition[footnote][indenting={big,yes}]
>
> % Extract setup
> \definestartstop[extract][
&
\definestartstop[extract][
before={\godown[0.10pc]
\indenting[next]
\setupnarrower[left=1.5pc,right=1.5pc]
\startnarrower[left,right]},
after={\stopnarrower
\godown[0.25pc]
\indenting[yes]}]
\starttext
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi
x27;t need this \setup.. for this example to work (I think it
is intended for setting up \Caps)
\definestartstop[abstract]
[before={\sc Abstract.\hskip1em}]
You will probably want an extra set of braces here, the outer
brace level is stripped off, so the entire abstract will be
in \sc.
I have Palatino as main font set up with
\usetypescript[adobekb][8r]
\loadmapfile[context-base]
\usetypescript[palatino][8r]
\setupbodyfont[palatino,rm,12pt]
\switchtobodyfont[12pt]
Plus I have
\setupcapitals[sc=yes]
\definestartstop[abstract]
[before={\sc Abstract.\hskip1em}]
But
\starttext
] % does not indent
%\setupindenting[medium,next] % need both to indent
\definestartstop
[quote]
[before={\startnarrower[1*middle]\blank[big]},
after={\stopnarrower\blank[big]}]
\starttext
\input knuth
\startquote
\input knuth
\stopquote
\input knuth
\stoptext
Stuart Jansen wrote:
Reading the list archives, it looks like there are certain advantages,
to performing underlining according to my example below:
=
\setupcolors[state=start]
\definetextbackground[underline][location=text,alternative=1,background=,frame=off]
\definestartstop
[underline
Stuart Jansen wrote:
> Reading the list archives, it looks like there are certain advantages,
> to performing underlining according to my example below:
>
> =
> \setupcolors[state=start]
> \definetextbackground[underline][location=text,alternative=1,background=,frame=off]
Reading the list archives, it looks like there are certain advantages,
to performing underlining according to my example below:
=
\setupcolors[state=start]
\definetextbackground[underline][location=text,alternative=1,background=,frame=off]
\definestartstop
[underline]
[before
ghtskip) 0.0
===
===
\setupoutput[pdftex]%
\definestartstop
[quote]
[before={\startnarrower[1*left,1*right]\blank[big]},
after={\stopnarrower\blank[big]}]
\starttext
\startquote
\input knuth \inmargin{This is a test.}
\stopquot
Hi Taco and all,
I found a temporary solution: Given a \start-\stopnarrower environment like
===
\definestartstop
[quote]
[before={\startnarrower[1*middle]\blank[big]},
after={\stopnarrower\blank[big
\def\inmargin#1{{\parindent0pt\normalinmargin{#1}}}
\definestartstop
[quote]
[before={\startnarrower[1*left,1*right]\blank[big]},
after={\stopnarrower\blank[big]}]
\starttext
\startquote
\input knuth \inmargin{This is a test.}
\input knuth {\parindent0pt\inmargin{This is a test.}}
\stop
is very ugly.
Does anyone know how I can solve this problem.
My columndefinition is
\startcolumns[n=2,rule=off,balance=yes,blank={fixed,small}]
and I defined the dictionary article enviromnent as follows:
\definestartstop[lemma][
before={}, %
after={\crlf}]%
use
anyone know how I can solve this problem.
My columndefinition is
\startcolumns[n=2,rule=off,balance=yes,blank={fixed,small}]
and I defined the dictionary article enviromnent as follows:
\definestartstop[lemma][
before={}, %
after={\crlf}]%
thanks,
Sjoerd
replace LaTeX's description. In the
environment file:
===
\startenvironment env_teoada
\project project_teoada
\definedescription [description]
[location=hanging, margin=standard, headstyle=bold]
\definestartstop [descriptions] [before=\blank\startpacked,
aft
ter
(to keep the use of it event simpler)
But as the "père Noël" Hans give me a "Christmas present"
(see next post) It is no more usefull!
\definestartstop[Algo][
before={
\start
\tx
\def\H{\phantom{- }}% H for Hyphen (espace cor
\other
\language[greek]
\switchtobodyfont[cbgreek]
\stopsetups
\definestartstop
[greek]
[commands=\directsetup{cbgreek}]
\doifnotmode{demo}{\endinput}
% The following sample file was submitted to the \CONTEXT\
% mailing list by Giuseppe Bilotta, along with the right
% typescripts.
% al
r=Hans Hagen,
> %D date=\currentdate,
> %Dsuggestions=Giuseppe Bilotta,
> %D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
> %C
> %C This module is part of the \CONTEXT\ macro||package and is
> %C therefore copyrighted by \PRAGMA. See mreadme.pdf for
> %C details.
for
%C details.
\usetypescriptfile[type-cbg]
\usetypescript [all] [cbgreek]
\startsetups [cbgreek]
\catcode`~=\other
\catcode`|=\other
\language[greek]
\switchtobodyfont[cbgreek]
\stopsetups
\definestartstop
[greek]
[commands=\directsetup{cbgreek}]
\doifnotmode{demo}{\endinput}
% The following s
'm finding myself wanting to do this in ConTeXt, with of
course replacing \newenvironment with \definestartstop. Is there by
any chance a built-in ConTeXt macro that can do this? Or even things
that would make a decent foundation for building such a thing?
The \grabuntil and \processbetwe
f wanting to do this in ConTeXt, with of course
replacing \newenvironment with \definestartstop. Is there by any chance a
built-in ConTeXt macro that can do this? Or even things that would make a
decent foundation for building such a thing?
The \grabuntil and \processbetween commands, as
At 01:37 AM 8/2/2004, you wrote:
> Anyhow, I'm finding myself wanting to do this in ConTeXt, with of
> course replacing \newenvironment with \definestartstop.
I didn't want to fiddle with \definestartstop, but here is a quick
hack:
--
[...]
> Anyhow, I'm finding myself wanting to do this in ConTeXt, with of
> course replacing \newenvironment with \definestartstop.
I didn't want to fiddle with \definestartstop, but here is a quick
hack:
--
\long\def\foo#1{ Hell
urse
replacing \newenvironment with \definestartstop. Is there by any chance a
built-in ConTeXt macro that can do this? Or even things that would make a
decent foundation for building such a thing?
Thanks much,
- Brooks
[1] http://www.tex.ac.uk/cgi-bin/texfaq2html
-context] Best source of ConTeXt documentation?
> In my efforts to learn ConTeXt, I'm continually getting stuck by a lack of
> having complete documentation. For example, consider the \definestartstop
> command, which I was recently looking at.
>
> * In the cont-enp.pdf manual,
In my efforts to learn ConTeXt, I'm continually getting stuck by a lack of
having complete documentation. For example, consider the \definestartstop
command, which I was recently looking at.
* In the cont-enp.pdf manual, it's not mentioned.
* In the mp-cp-en.pdf manual, there'
[underline][location=text,alternative=1,background=,frame=off]
\definestartstop
[underline]
[before={\starttextbackground[underline]},
after=\stoptextbackground]
\starttext
\input tufte
\starttextbackground[underline]\input tufte \stoptextbackground
\input tufte
\startunderline\input tufte
* Hans Hagen <[EMAIL PROTECTED]> [Jun 01, 2004 21:20]:
> \definestartstop[BNF][before=\startlines\setups{myBNF},after=\stoplines]
>
> \startsetups[myBNF]
> \defineactivecharacter "
> {\bgroup\tttf\setupinlineverbatim\defineactivecharacter " {\egroup}}
> \def
t; where . is also an
activated character for terminating a production in the grammar.
Any suggestions on how to go about this? I mean, the obvious solution
is simply to write
: ; , "\type{\|}", .
instead, but I would like to keep the input as clean as possible.
nikolai
\defi
On Fri, 7 May 2004, Hans Hagen wrote:
> \definetabulate[test][|l|p|l|]
Thank you, Hans!
Here you see, how I use it:
\define[3]\FLine{\NC#1\NC#2\NC#3\NC\AR}% First line
\define[2]\Line{\NC\NC#1\NC#2\NC\AR} % normal line
\define[3]\SLine{\Line{\hbox{\hbox to 0pt{\hskip-3em #1}#2}}{#3}}% special
At 21:31 06/05/2004, you wrote:
Hello,
how could I create a new start-stop-pair that uses \starttabulate ?
The following example does not seem to work...
\definestartstop[Tab][before={\starttabulate[|c|]},
after={\stoptabulate}]
\starttext
\startTab
\NC test \NC\AR
\stopTab
\stoptext
Hello,
how could I create a new start-stop-pair that uses \starttabulate ?
The following example does not seem to work...
\definestartstop[Tab][before={\starttabulate[|c|]},
after={\stoptabulate}]
\starttext
\startTab
\NC test \NC\AR
\stopTab
\stoptext
TIA for any help, Peter
--
http
}% sorry for the stupid macro name
>
> \definestartstop[hangingarea]
> [before={\bgroup\appendtoks\hangover\to\everypar},
> after=\egroup]
>
> \starthangingarea
> \input tufte
>
> \input tufte
>
> \stophan
Hi,
Very quick hack:
\starttext
\def\hangover{\hangafter=1\hangindent=1em }% sorry for the stupid macro name
\definestartstop[hangingarea]
[before={\bgroup\appendtoks\hangover\to\everypar},
after=\egroup]
\starthangingarea
\input tufte
\input tufte
\stophangingarea
\input tufte
401 - 500 of 500 matches
Mail list logo