is
to use the spacebefore and spaceafter keys.
begin example
\setupquotation
[spacebefore=line,
spaceafter=line]
\starttext
\samplefile{knuth}
\startblockquote
\samplefile{knuth-gpt}
\stopblockquote
\samplefile{knuthmath}
\stoptext
end example
It would interesting to know what
]
\setuppapersize [A6]
\setupquotation[method=text]
Hi Wolfgang,
as always, thanks for the precise explanation. Is there a reason why
this behavior is not the default? I.e.: in what situations would the
default behavior be (more) desirable? Or is it just because
\setupquotation is a subset
On 8/19/23 17:51, Wolfgang Schuster wrote:
You can use the font method to have hyphenated words back.
The culprit which prevents hyphenation are the penalty settings
which are added by ConTeXt when the default method is used.
\mainlanguage [de]
\setuppapersize [A6]
\setupquotation[method
hyphenated words back.
The culprit which prevents hyphenation are the penalty settings
which are added by ConTeXt when the default method is used.
\mainlanguage [de]
\setuppapersize [A6]
\setupquotation[method=text]
\starttext
„Originalgenie“ „Originalgenie“ „Originalgenie“
\quotation
eight=12cm]
\definefontfeature [default]
[default]
[protrusion=quality]
\setupalign [hanging]
\setupquotation [method=font]
\setupnote [endnote]
[location=none]
\setupnotation
gt; \nopdfcompression
> \setuppagenumbering[location=]
> \starttext
> \startquotation Hello world! \stopquotation
> \setupquotation[left=«,right=»]
> \startquotation Hello world! \stopquotation
> \setupquotation[left=‘,right=’]
> \startquotation Hello world! \stopquotation
>
\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
=9cm]
\definefontfeature [default]
[default]
[protrusion=quality]
\setupalign [hanging]
\setupquotation [method=font]
\setupnote [endnote]
[location=none]
\setupnotation [footnote
Thank you Wolfgang for the quick diagnosis and Hans for the fast turnaround.
--
Rik
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Hans Hagen schrieb am 24.06.2021 um 23:47:
On 6/24/2021 10:00 PM, Rik Kabel wrote:
I get no quotation marks at all (and no protrusion) with
\quotation{text} using \setupquotation[method=font]. This seems to
have started earlier this month, but for the record, I am using
ConTeXt ver
On 6/24/2021 10:00 PM, Rik Kabel wrote:
I get no quotation marks at all (and no protrusion) with
\quotation{text} using \setupquotation[method=font]. This seems to have
started earlier this month, but for the record, I am using ConTeXt ver:
2021.06.24 19:19 LMTX.
Wolfgang's example from
I get no quotation marks at all (and no protrusion) with
\quotation{text} using \setupquotation[method=font]. This seems to have
started earlier this month, but for the record, I am using ConTeXt ver:
2021.06.24 19:19 LMTX.
Wolfgang's example from a related thread earlier this month
(https
is not to
\setupquotation[method=font] but to define a delimited text environment
whose method=font, and use it when a paragraph begins with a quotation.
I have attached my own mwe. You can toggle the \setquotation command with
--mode=font.
Does anyone have a more elegant, or better yet, a correct solution?
With kind
default
> %\setupfontprotrusion [quality] [left=1.5] % more protrustion
> %\setupfontprotrusion [quality] [left=2] % even more protrustion
> %\setupfontprotrusion [quality] [left=2.5] % too much protrusion
>
> \definefontfeature
> [default]
> [default]
> [protrusion=qua
[default]
[default]
[protrusion=quality,
expansion=quality]
\setupquotation
[method=font]
\setupalign
[hz,hanging]
\showframe
[text]
[text]
\starttext
oh hi there
“you are so”
\quotation{you are so}
here here
\stoptext
tprotrusion [quality] [left=1.5] % more protrustion
%\setupfontprotrusion [quality] [left=2] % even more protrustion
%\setupfontprotrusion [quality] [left=2.5] % too much protrusion
\definefontfeature
[default]
[default]
[protrusion=quality,
expansion=quality]
\setupquotation
[method=fo
partially but this is normal with
the quality setting).
I attached the example to ensure nothing was added when I send it.
Wolfgang
\definefontfeature
[default]
[default]
[protrusion=quality,
expansion=quality]
\setupquotation
[method=font]
\setupalign
[hz,hanging]
\showframe
also be using
>> \definefontfamily [praise][serif][junicode]
>> but, the above min via behavior I couldn't get to work at live.contextgarden
>
> You need proper quotation mark (as shown in my example below) sand not
> ". Another option is to use the \quotation command and en
n via behavior I couldn't get to work at live.contextgarden
You need proper quotation mark (as shown in my example below) sand not
". Another option is to use the \quotation command and enable the
protrusion option for (see \setupquotation).
When you have a text with a lot of quotation
In the latest standalone ( ConTeXt ver: 2020.12.30 16:45 LMTX fmt:
2020.12.30),
\startblockquote and \stopblockquote do not work when I use the key,
method=font, or include \setupquotation[method=font].
MWE
%\setupquotation[method=font]
\setupdelimitedtext[blockquote][
% method=font,
before
to Unicode characters?
Wolfgang suggested the following lines of code; which worked perfically.
\setupquotation [method=font]
\setupquote [method=font]
Returning to this project after several months I observe that when I use a
\start- stopquotation environment, the quotation is not narrowed
the commands. Any suggestions on how I can
achieve proper left protrusion without resorting to Unicode characters?
\setupquotation [method=font]
\setupquote [method=font]
Interestingly, \setupquotation in this situation provides protrusion
for both \quote and \quotation open marks, while
achieve proper left protrusion without resorting to Unicode characters?
\setupquotation [method=font]
\setupquote [method=font]
Interestingly, \setupquotation in this situation provides protrusion for
both \quote and \quotation open marks, while \setupquote does so only
for \quote open
to Unicode characters?
\setupquotation [method=font]
\setupquote [method=font]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
% begin file: bug-itemize-lmtx.tex
\setupsynctex[stat=start]
\setupsynctex[state=start] % if this is removed then everything is fine…
\setupquotation[style=italic,left={«~},right={~»}]
\showframe
\starttext
\startitemize[n]
\dorecurse{4}{\item This item \quotation{is shown correcly\dots}
\item
\setupsynctex[stat=start]
\setupsynctex[state=start] % if this is removed then everything is fine…
\setupquotation[style=italic,left={«~},right={~»}]
\showframe
\starttext
\startitemize[n]
\dorecurse{4}{\item This item \quotation{is shown correcly\dots}
\item This item \quotation{\dots is not shown
ut closing
# character disappeared. (Similarly with \setupquotation[method=font].)
#
# Tomáš
#
# # Wolfgang
#
# \starttext\showframe\mainlanguage[cz]
# \definefontfeature [default] [default] [protrusion=quality,
# expansion=quality]
# \setupalign[
tried it but it generates an error -- "Extra }, or forgotten \endgroup",
after run till the end, the opening character is hanging but closing
character disappeared. (Similarly with \setupquotation[method=font].)
Tomáš
# Wolfgang
\starttext\showframe\mainlanguage[cz]
\definefontfeature [d
.
#
#\setupdelimitedtext[quotation][method=font]
I tried it but it generates an error -- "Extra }, or forgotten \endgroup",
after run till the end, the opening character is hanging but closing
character disappeared. (Similarly with \setupquotation[method=font].)
Tomáš
#
Mon, 23 Oct 2017 17:21:25 +0200, Pablo Rodriguez <oi...@gmx.es> wrote:
> On 10/23/2017 09:03 AM, Christoph Reller wrote:
>> [...]
>> Could you please confirm (or deny) that the following MWE produces an
>> error with the currently latest version of ConTeXt:
>&g
On 10/23/2017 09:03 AM, Christoph Reller wrote:
> [...]
> Could you please confirm (or deny) that the following MWE produces an
> error with the currently latest version of ConTeXt:
>
> \setupquotation[method=font]
> \starttext
> \quotation{A}
> \stoptext
Hi Christoph,
I
On Thu, Oct 19, 2017 at 1:59 PM Christoph Reller <christoph.rel...@gmail.com>
wrote:
> On Thu, 19 Oct 2017 11:53:56 +0200 Floris van Manen <v...@klankschap.nl
> > wrote:
>
>>
>> > On 19 Oct 2017, at 11:33, Christoph Reller <christoph.rel...@gmail.com>
On Thu, 19 Oct 2017 11:53:56 +0200 Floris van Manen <v...@klankschap.nl
> wrote:
>
> > On 19 Oct 2017, at 11:33, Christoph Reller <christoph.rel...@gmail.com>
> wrote:
> >
> > \setupquotation[method=font]
>
> what is the intension of the method=f
> On 19 Oct 2017, at 11:33, Christoph Reller <christoph.rel...@gmail.com> wrote:
>
> \setupquotation[method=font]
what is the intension of the method=font ?
.F
signature.asc
Description: Message signed with OpenPG
On Tue, 17 Oct 2017 13:38:37 + Christoph Reller <
christoph.rel...@gmail.com> wrote:
>
> In previous versions of ConTeXt the following MWE worked:
>
> \setupquotation[method=font]
> \starttext
> \quotation{A}
> \stoptext
>
> In more recent versions, the abo
Hi,
In previous versions of ConTeXt the following MWE worked:
\setupquotation[method=font]
\starttext
\quotation{A}
\stoptext
In more recent versions, the above produces an error:
! Extra }, or forgotten \endgroup
l.3 \quotation{A}
Is this a bug?
Regards,
Christoph
On 9/29/2017 12:35 AM, mf wrote:
Thank you Henri,
a slightly modified version of your solution works!
This is what I wanted to achieve:
\setuplayout[grid=both]
\setupquotation[before={\switchtobodyfont[9pt]}]
\starttext
\showgrid
\input knuth
\startlinecorrection[halfline]
\startquotation
On 9/28/2017 11:47 PM, luigi scarso wrote:
On Thu, Sep 28, 2017 at 11:30 PM, mf <mass...@fastwebnet.it> wrote:
Thank you Henri.
Now consider this:
---
\setuplayout[grid=both]
\setupquotation[before={\switchtobodyfont[9pt]}]
\starttext
\showgrid
\input
!
This is what I wanted to achieve:
\setuplayout[grid=both]
\setupquotation[before={\switchtobodyfont[9pt]}]
\starttext
\showgrid
\input knuth
\startlinecorrection[halfline]
\startquotation
\input sapolsky
\stopquotation
\stoplinecorrection
\input knuth
%\vadjust pre{\blank[line]}% not line, but halfline
Thank you Henri,
a slightly modified version of your solution works!
This is what I wanted to achieve:
\setuplayout[grid=both]
\setupquotation[before={\switchtobodyfont[9pt]}]
\starttext
\showgrid
\input knuth
\startlinecorrection[halfline]
\startquotation
\input sapolsky
\stopquotation
On Thu, 2017-09-28 at 23:30 +0200, mf wrote:
> Thank you Henri.
>
> Now consider this:
> ---
> \setuplayout[grid=both]
> \setupquotation[before={\switchtobodyfont[9pt]}]
>
> \starttext
> \showgrid
>
> \input knuth
>
> \startlin
On Thu, 2017-09-28 at 23:30 +0200, mf wrote:
> Thank you Henri.
>
> Now consider this:
> ---
> \setuplayout[grid=both]
> \setupquotation[before={\switchtobodyfont[9pt]}]
>
> \starttext
> \showgrid
>
> \input knuth
>
> \startlin
On Thu, Sep 28, 2017 at 11:30 PM, mf <mass...@fastwebnet.it> wrote:
> Thank you Henri.
>
> Now consider this:
> ---
> \setuplayout[grid=both]
> \setupquotation[before={\switchtobodyfont[9pt]}]
>
> \starttext
> \showgrid
>
> \input
Thank you Henri.
Now consider this:
---
\setuplayout[grid=both]
\setupquotation[before={\switchtobodyfont[9pt]}]
\starttext
\showgrid
\input knuth
\startlinecorrection[halfline]
\startquotation
\input sapolsky
\stopquotation
\stoplinecorrection
\input knuth
On Thu, 2017-09-28 at 16:21 +0200, MF wrote:
> Hello list,
> I would like ConTeXt to snap normal text to grid after a quotation.
> This example does not work:
>
> ------
> \setupquotation[before={\switchtobodyfont[9pt]}]
>
> \starttext
>
Hello list,
I would like ConTeXt to snap normal text to grid after a quotation.
This example does not work:
--
\setupquotation[before={\switchtobodyfont[9pt]}]
\starttext
\showgrid
\input knuth
\startlinecorrection[halfline]
\startquotation
\input sapolsky
\stopquotation
Minimal example:
\setupquotation [indenting=no] % Undefined \p_indenting error
\starttext
Knuth:
\startquotation
\input knuth
\stopquotation
Ward:
\startquotation
\input ward
\stopquotation
\stoptext
Alan
___
If your
While there is a \setupquote in a recent MkIV beta, when I try to use
\setupquotation to set the quotation text style to slanted, this has no
effect. Is there a neat way to do this, without redefining \quotation
Hi Sander,
···date: 2013-06-20, Thursday···from: Sander Maijers···
While there is a \setupquote in a recent MkIV beta, when I try to
use \setupquotation to set the quotation text style to slanted, this
has no effect. Is there a neat way to do this, without redefining
\quotation
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
Hi Bill,
Bill Meahan wrote:
\startquotation .. \stopquotation easily takes care of the open on the first
paragraph and close at the end of the last. What I can't figure out is how
to put an open quotation mark on the intervening paragraphs.
\setupquotation[repeat=yes, middle
On 09/24/2012 05:24 PM, Sietse Brouwer wrote:
\setupquotation[repeat=yes, middle=“] or
\setupdelimitedtext[quotation][repeat=yes, middle=“] The repeat key
specifies whether to put something at the start of intervening
paragraphs; the middle key tells us what to put there. If you have
time
Unfortunately, I get _two_ open-quote marks on the first paragraph and a
space between the open-quote mark and the first word of the other
paragraphs.
This works correctly
for me, using 20120916 23:18 MKIV:
\setupquotation[repeat=yes, middle=“]
\startquotation
bsdf
bsdf
bsdf
On 09/24/2012 07:08 PM, Sietse Brouwer wrote:
\setupquotation[repeat=yes, middle=“]
\startquotation
bsdf
bsdf
bsdf
\stopquotation
Problem in my test file :( Works fine if I create a new file and put in
bits and pieces from my test file rather than running the whole thing.
I
Dear Wolfgang,
I have tried what I believe to be the two approaches you suggested for
controlling the margins of a quotation:
1. Using the switches offered via \setupdelimitedtext in the \setupquotation
command:
\setupquotation[leftmargin=1.5in]
\quotation{Pito Salas, a developer at ATG
Am 23.07.2012 um 23:21 schrieb Pavneet Arora:
Dear Wolfgang,
I have tried what I believe to be the two approaches you suggested for
controlling the margins of a quotation:
1. Using the switches offered via \setupdelimitedtext in the \setupquotation
command:
\setupquotation
to say how often this happens but I'd say its roughly every 50
quotations.
A minimal example to see the problem in action: (also
onhttp://pastebin.com/cEMiGZju)
\mainlanguage [de]
\setuppapersize[A4]
\setuplayout[width=6cm]
\setupquotation
[1]
[left=, right=]
\setupquote
[1]
[left=, right
to say how often this happens but I'd say its roughly every 50
quotations.
A minimal example to see the problem in action: (also on
http://pastebin.com/cEMiGZju)
\mainlanguage [de]
\setuppapersize[A4]
\setuplayout[width=6cm]
\setupquotation
[1]
[left=„, right=“]
\setupquote
[1]
[left
]
\setupquotation
[1]
[left=„, right=“]
\setupquote
[1]
[left=„, right=“]
\starttext
\language[de]
Bereiche der\quotation{waren transparent, so dass} man auf. \quotation{die
darunterliegenden} Grafiken sehen konnte. \quotation{Die Paletten konnten mit
der} nicht-dominanten \quotation{Hand bewegt
is another such situation:
\startquotation\stopquotation
\setupquotation [before=\noindent,after=\noindent]
would be one solution, but it does not work - maybe the syntax is
wrong; maybe I'm missing a critical \par. I haven't managed to figure
this out myself, looking at the source code. Any
following a
heading, as is the current practice).
The minimal example below is another such situation:
\startquotation\stopquotation
\setupquotation [before=\noindent,after=\noindent]
would be one solution, but it does not work - maybe the syntax is
wrong; maybe I'm missing a critical \par. I
, perhaps automatically (like when immediately following a
heading, as is the current practice).
The minimal example below is another such situation:
\startquotation\stopquotation
\setupquotation [before=\noindent,after=\noindent]
would be one solution, but it does not work - maybe the syntax is
wrong
Am Freitag, den 16.03.2012, 17:01 +0100 schrieb Alan Braslau:
% Minimal example:
\setupindenting [big,yes]
\setupquotation [before=\noindent] % no effect
\setupquotation [indenting=next] % noindent only at beginning of
quotation
\starttext
\input tufte
\startquotation
\input tufte
, as is the current practice).
The minimal example below is another such situation:
\startquotation\stopquotation
\setupquotation [before=\noindent,after=\noindent]
would be one solution, but it does not work - maybe the syntax is
wrong; maybe I'm missing a critical \par. I haven't managed to figure
, as is the current practice).
The minimal example below is another such situation:
\startquotation\stopquotation
\setupquotation [before=\noindent,after=\noindent]
would be one solution, but it does not work - maybe the syntax is
wrong; maybe I'm missing a critical \par. I haven't managed to figure
in slanted text, but no
parentheses.
\setupquotation[style=bold] results in having the texts in \quote{} becoming
bold instead of the texts that are in \quotation{}.
\setupdelimitedtext [quotation][1][style=bold] does not result in bold text.
\setupdelimitedtext [quotation][1][style=bold,left
Wolfgang Schuster schuster.wolfg...@googlemail.com writes:
\mainlanguage[de]
\setuplanguage[de][leftquotation=\rightguillemot,rightquotation=\leftguillemot]
With MkIV you can just write
\setuplanguage[de][leftquotation=»,rightquotation=«]
\setupquotation[
before={\startlinecorrection
the linecorrection environment.
TIA for your help,
olli
\setuppapersize[A5][A4]
\setuplayout[location=middle,
marking=on,
offset=0mm,
grid=yes,
]
\mainlanguage[de]
\setuplanguage[de][leftquotation=\rightguillemot,rightquotation=\leftguillemot]
\setupquotation[
before={\startlinecorrection[blank
write
\setuplanguage[de][leftquotation=»,rightquotation=«]
\setupquotation[
before={\startlinecorrection[blank]\noindentation},
after={\stoplinecorrection},
style=\tfx]
\setupdelimitedtext
[blockquote]
[spacebefore=line,
style=\tfx]
[…]
\startquotation
\getbuffer[quot]\footnote
- Can I get the first line of the same length as the lower one?
- \setupquote[style=bold] works, bit I thougth that
\setupquote[style=normal] would set the text in upright??
- I do not understand the meaning of the optional argument
location = TEXT margin for \setupquotation.
\starttext
Hi,
I've been trying to use \setupquotation, but it seems it doesn't just affect
\quotation, but also \quote. In particular, setting style to tfb enlarges the
font used by \quote and somehow removes the quotes from around it.
Seeing that there is also a \setupquote, and from looking at the code
Am 10.03.2009 um 11:16 schrieb Andreas Harder:
Hello,
is it volitional/known that there is no protrusion if one using
\quotation{…} (under mkiv)?
You need a different method for quotations.
\setupdelimitedtext[quotation][method=font] or
\setupquotation[method=font]
Wolfgang
is like without hz features at all; with columnsets line breaking
is getting even worse. Any idea?
Another question: How can define the amount of indentation and before and
after space of quotations (\setupquotation but how)? Quotation should be set
9/10.5pt. And body text should align on grid
hi there,
i have just finished reading the archives from the times
when there was no \setupquotation only \setupquote
i am glad that now a \setupquotation exists, but my problem
seems to be that \setupquotation affects all quotations...
consider the following example:
\setupquotation
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:
\definestartstop
[quote]
[before={\startnarrower[1*middle
:
\quote - \setupquote
\quotation - \setupquotation
\startquotation - \setupquotationenvironment :)
or some such.
the problem is, that the manuals are not really verbose
and help create wrong assumptions because at some places
context is wonderfully 'logical' and consistent.
-f
.
While you're on a winning streak, perhaps you'd like to look
at another problem in the same area? When \quotation is used
instead of \startquotation a footnote number is skipped:
\starttext
\setupquotation[right={''\footnote{First}}]
\quotation{Skips footnote number.}
\stoptext
This happens
Hi Taco,
On Thursday 11 January 2007 01:51, Taco Hoekwater wrote:
https://foundry.supelec.fr/tracker/index.php?func=detailaid=63group_id=21
atid=164
That page says:
\setupquotation[right={''\footnote{First}}]
is not usable because it gets fed into \symbol[]
Material is passed through
On Thu, 11 Jan 2007, Mike Bird wrote:
Hi Taco,
On Thursday 11 January 2007 01:51, Taco Hoekwater wrote:
https://foundry.supelec.fr/tracker/index.php?func=detailaid=63group_id=21
atid=164
That page says:
\setupquotation[right={''\footnote{First}}]
is not usable because it gets
footnote is never placed
in the footer. The second footnote is handled correctly.
Therefore the first footnote is not merely deferred but lost.
\starttext
\setupquotation[right={''\footnote{First}}]
\startquotation
Loses footnote.
\stopquotation
\setupquotation[right={''}]
\quotation{OK
simple test case is still worthy of
consideration:
\starttext
\setupquotation[right={''\footnote{First}}]
\startquotation
Loses footnote.
\stopquotation
\setupquotation[right={''}]
\quotation{OK}\footnote{Second}
\stoptext
For those who need footnoted or cited quotations, another
In this example, the first footnote number appears correctly
in the body of the page but the first footnote is never placed
in the footer. The second footnote is handled correctly.
Therefore the first footnote is not merely deferred but lost.
\starttext
\setupquotation[right={''\footnote{First
82 matches
Mail list logo