\setupdelimitedtext[blockquote][left=‘,right=’]
> \startblockquote Hello world! \stopblockquote
> “Hello world!”\\
> «Hello world!»\\
> ‘Hello world!’\\
> \startquote Hello world! \stopquote\\
> \quote{Hello world!}\\
> \stoptext
>
> The text stream seems to have an additional
\setupquotation[left=«,right=»]
\startquotation Hello world! \stopquotation
\setupquotation[left=‘,right=’]
\startquotation Hello world! \stopquotation
\setupdelimitedtext[blockquote][left=‘,right=’]
\startblockquote Hello world! \stopblockquote
“Hello world!”\\
«Hello world!»\\
‘Hello world!’\\
\startquote Hello
Am 04.09.2020 um 16:04 schrieb Taco Hoekwater :
> \definenarrower[myquote]
> \setupnarrower[myquote]
> [left=2em,
> right=1.5em,
> before=\dontleavehmode\hskip-0.33em\startquote,
> after=\stopquote]
>
> \startmyquote
> Im übrigen ist der Mensch ein Lebewesen,
> Am 04.09.2020 um 16:04 schrieb Taco Hoekwater :
>
> Something like this?
>
> \definenarrower[myquote]
> \setupnarrower[myquote]
> [left=2em,
> right=1.5em,
> before=\dontleavehmode\hskip-0.33em\startquote,
> after=\stopquote]
>
> \startmyquote
>
Something like this?
\definenarrower[myquote]
\setupnarrower[myquote]
[left=2em,
right=1.5em,
before=\dontleavehmode\hskip-0.33em\startquote,
after=\stopquote]
\startmyquote
Im übrigen ist der Mensch ein Lebewesen, das klopft, schlechte Musik macht und
seinen Hund bellen läßt
On 7/12/2017 7:43 AM, Henri Menke wrote:
Dear list,
the example below throws an error.
\def\typo_delimited_repeat_indeed (n missing)
Cheers, Henri
---
\setupdelimitedtext[quote][repeat=yes]
\starttext
\startquote
\stopquote
\stoptext
---
tex error > tex error on line 4 in f
Dear list,
the example below throws an error.
Cheers, Henri
---
\setupdelimitedtext[quote][repeat=yes]
\starttext
\startquote
\stopquote
\stoptext
---
tex error > tex error on line 4 in file /home/henri/test.mkvi: !
Undefined control sequence
...\flushpostponednoded
, then you may define another
start-stop.
Here would be my suggestion, which gives a syntax that is a bit more
ConTeXt-like, I feel (but the coding can probably be improved):
\def\startQuote%
{\dosingleempty\dostartQuote}
\def\dostartQuote[#1]%
{\blank [line]
\iffirstargument
Hello,
quotation is linked to quote. Indeed, we have in typo-del.mkiv
\definedelimitedtext
[\v!quote][\v!quotation]
However, when the user then changes options using \setupquotation,
\startquote\stopquote also gets modified. In the minimal example below,
it is necessary to uncomment
t}]
>
> \definestartstop[quote]
> [before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switchtobodyfont[8.5pt]\setupinterlinespace[line=10.5pt]},after={\stopnarrower}]
>
>
> \starttext
>
> Test {\ss text} test\footnote{text {\ss text} test} test.
>
&
fault] [size]
\definebodyfont [10.5pt] [rm] [default]
\stoptypescript
\definebodyfontenvironment[10.5pt]
\usetypescript[times]
\setupbodyfont[times,10.5pt]
\setupfootnotes[bodyfont={rm,8.5pt}]
\definestartstop[quote]
[before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switc
y (see below) the example from tricky-002.tex and I would like to
>> achieve ...
>>
>> accession
>> Action Plan
>> association
>>
>> But none of the four methods (before, after, first, last) gives this result!!
>>
>> What is wrong?
>
>
four methods (before, after, first, last) gives this result!!
What is wrong?
Methods were rewritten to give more flexibility. From the Hans' explanation:
\startquote
[pzm][mc] = [plus|zero|minus offsets][mapping|cases]
uc == unicode order
ok, a bit cryptic but one can now choose methods
t;left=,
> right=,
>before={\blank[big]},
>after={\blank[big]}]
>
This can also be written as
\setupdelimitedtext
[quote]
[location=margin, % paragraph
left=,
right=,
spacebefore=big,
%spaceafter=big, % spaceafter is spacebefore by default
]
\starttext
&g
tquotation]}]
\setupdelimitedtext
[quotation]
[2]
[left={\symbol[leftquote]},
right={\symbol[rightquote]}]
\setupdelimitedtext
[quote]
[location=margin, % paragraph
left=,
right=,
before={\blank[big]},
after={\blank[big]}]
\starttext
\input knuth
\quotati
\definestartstop
[quote]
[before={\startnarrower[1*middle]\blank[big]},
after={\stopnarrower\blank[big]}]
This gives you the commands
\startquote-\stopquote
Just edit the definition to get the effect you want. And/or make new ones!
Note that ConTeXt by default is rather bland. The defaults are no
On Mon, 14 Aug 2006, Aditya Mahajan wrote:
>> And what would be the opposite?
>>
>> For example \startquote ... \stopquote
>> to something like {\MyQuote ... }
>
> AFAIK, there is no easy way to do this.
One can use \aftergroup trickery.
\def\MyQuote{\symbol[le
On Mon, 14 Aug 2006, Steffen Wolfrum wrote:
>
> Am 13.08.2006 um 15:29 schrieb Steffen Wolfrum:
>
>> And what would be the opposite?
>>
>> For example \startquote ... \stopquote
>> to something like {MyQuote ... }
>>
>> Steffen
>
>
> \def\MyQ
Am 13.08.2006 um 15:29 schrieb Steffen Wolfrum:
> And what would be the opposite?
>
> For example \startquote ... \stopquote
> to something like {MyQuote ... }
>
> Steffen
\def\MyQuote#1{\startquote#1\stopquote}
\MyQuote{something to be quoted}
... should work OK
> And what would be the opposite?
>
> For example \startquote ... \stopquote
> to something like {\MyQuote ... }
AFAIK, there is no easy way to do this.
Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/
grument, you can do use something
> like
> this
>
> \def\startfootnote%
> {\unskip\dosingleempty\dostartfootnote}
>
> \def\dostartfootnote[#1]#2\stopfootnote%
>{\footnote[#1]{#2}}
And what would be the opposite?
For example \startquote
pace is no
issue :-)
Kind regards
Willi
>--\startquote---
>Cleanup fmtutil
>
>Optionally, you can remove ConTeXt support from teTeX's configuration,
>because ConTeXt does not use fmtutil.
>
>Using
>
># fmtutil-sys --edi
frantisek holop wrote:
>
> the first step to upgrade context is:
>
> --\startquote---
> Fix texmf.cnf
> --\stopquote
>
> i deliberately skipped this one, and the new c
hi there,
my second question, is more like asking for pointers...
where can i read more about fmtutil, and how come that
context does not use it when (i assume) pdftex does?
--\startquote---
Cleanup fmtutil
Optionally, you can remove ConTeXt
oo long,
and so that people can answer to mails they know the answer to :)
the first one:
the first step to upgrade context is:
--\startquote---
Fix texmf.cnf
Now first you have to fix texmf.cnf as supplied with teTeX:
# vi /usr/local/teTeX/sh
] % 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
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
\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
28 matches
Mail list logo