,
background=color,
backgroundcolor=white,
]
%%%
\defineenumeration[proclaim]
[text=,
before={\starttextbackground[leftbartext]},
after={\stoptextbackground},
style=slanted,
title=yes,
titleleft=,
titleright
ions of my enumeration messes up whitespace at the end. Here is a
screenshot:
https://s12.directupload.net/images/201120/lfmwp5lh.png
The theorem is a normal enumeration. Like this:
\defineenumeration[Theorem][before=\startsidebar, after=stopsidebar]
I would greatly appreciate your help.
Thank you!
Joh
Just about to have these homework files finished!
My final problem (I hope) is keeping question/answer blocks together.
The questions are currently defined via \defineenumeration with a \testpage
(see below). I fiddled with the \testpage and found that \testpage[6] gave me
the best results
;
> Here is what I believe is the required code for your desired effect
> (re-indented for Hans' style):
>
> \setupcaptions
> [way=bysection,
> prefixsegments=chapter:section]
>
> \setupenumerations
> [prefix=yes,
> prefixsegments=chapter:section]
>
> \definee
,
prefixsegments=chapter:section]
\defineenumeration
[enumeration]
[text=Enumeration]
\definecounter
[object]
[way=bysection]
\setupenumeration
[enumeration]
[counter=object]
\definecounter
[figure]
[object]
Best wishes,
Taco
> On 14 Aug 2020, at 09:49, Tim Steenvoorden wr
rlay]%
> \dontleavehmode\wordright{#1}}
>
> \defineenumeration
> [proof]
> [ closesymbol={\symbol[square]},
> closecommand=\PlaceProofSymbol]
>
> \starttext
>
> \startproof
> \startformula
>
,
prefix=yes,
prefixsegments=chapter,
titlestyle=bold,
width=broad]
\defineenumeration
[theorem]
[text=Théorème,
number=yes,
style=italic]
\starttext
\startchapter
[title={First chapter}]
\startsection
[title={First section}]
\startsubsection
[title={First
Fabrice Couvreur schrieb am 05.08.2020 um 19:33:
Hello,
I also use a square to complete a demonstration. I tried this without
success
Thank you
Fabrice
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\strut\wordright{\symbol[Fin]}}
\defineenumeration
[proof]
[...,
closesymbol
Hello,
I also use a square to complete a demonstration. I tried this without
success
Thank you
Fabrice
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\strut\wordright{\symbol[Fin]}}
\defineenumeration
[proof]
[text=Démonstration,
alternative=serried,
distance=\zeropoint,
number
ent
• \em, \bf, \cap,
• \startitemize, \startitem, \starthead,
• \placefigure, \externalfigure,
• \placetable, \starttable,\starttabulate, \setupTABLE, \bTABLE
• \index, \completeindex
• \setuplayout, \setupfootertexts et \setupheadertexts
• \definedescription, \defineenumeration
• \at, \in
Anyway, t
> Thanks for your help.
> Fabrice
>
> \setupenumerations
> [before={\blank},
>after={\blank},
>alternative=serried,
>title=yes,
>titleleft=,
>titleright=,
>prefix=yes,
>prefixsegments=chapter,
>way=bychapter,
>titlestyle=b
ve=serried,
>title=yes,
>titleleft=,
>titleright=,
>prefix=yes,
>prefixsegments=chapter,
>way=bychapter,
>titlestyle=bold,
>width=broad]
>
> \defineenumeration
>[definition]
>[text=Définition,
> number=
=,
titleright=,
prefix=yes,
prefixsegments=chapter,
way=bychapter,
titlestyle=bold,
width=broad]
\defineenumeration
[definition]
[text=Définition,
number=yes,
headcommand=\groupedcommand{}{.},
style=italic]
\starttext
\startdefinition
\blank
\startxtable[align
Thanks Wolfgang!
Your patch seems to fix also another issue with the cross references in ConTeXt
at least on MacOS and TeXShop. In principle a document typeset with TeXShop, in
the resulting PDF when the pointer hovers above a link to a reference, TeXShop
shows a small pop-up window where the
=\Title]
\setupenumerations
[before={\blank},
after={\blank},
alternative=serried,
title=yes,
prefix=yes,
prefixsegments=chapter,
way=bychapter,
titlestyle=bold,
width=broad]
\defineenumeration
[definition]
[text=Définition,
number=yes,
headcommand
;
> > \setupinteraction[state=start,focus=standard,color=,contrastcolor=]
> > \defineenumeration[proposition][referenceprefix=prop]
> > \starttext
> > \startproposition[1]
> > \input ward\footnote{Only a footnote}
> > \stopproposition
> > \in[p
On 7/6/20 8:48 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 06.07.2020 um 20:04:
>> [...]
>> Hans, could you check this? (I’m afraid it doesn’t work with current
>> latest [2020.07.06 19:30])?
>
> I'm not Hans but this fixed the problem for me (strc-con.mkiv):
>
>
Jairo,
"focus=standard" works fine with footnotes.
\setupinteraction[state=start,focus=standard,color=,contrastcolor=]
\defineenumeration[proposition][referenceprefix=prop]
\starttext
\startproposition[1]
\input ward\footnote{Only a footnote}
\stopp
works fine with footnotes.
\setupinteraction[state=start,focus=standard,color=,contrastcolor=]
\defineenumeration[proposition][referenceprefix=prop]
\starttext
\startproposition[1]
\input ward\footnote{Only a footnote}
\stopproposition
\in[prop:1]
\stoptext
Your sample do
n[state=start,focus=standard,color=,contrastcolor=]
\defineenumeration[proposition][referenceprefix=prop]
\starttext
\startproposition[1]
\input ward\footnote{Only a footnote}
\stopproposition
\in[prop:1]
\stoptext
Your sample doesn’t work, because of the referenc
the interaction works fine.
>
> Best regards: Otared K.
>
> > On 6 Jul 2020, at 01:15, Jairo A. del Rio
> wrote:
> >
> > The following:
> >
> >
> \setupinteraction[state=start,focus=standard,color=black,contrastcolor=black]
> >
> \defineenume
Hi Jairo,
If you remove
focus=standard
the interaction works fine.
Best regards: Otared K.
> On 6 Jul 2020, at 01:15, Jairo A. del Rio wrote:
>
> The following:
>
> \setupinteraction[state=start,focus=standard,color=black,contrastcolor=black]
> \defineenume
The following:
\setupinteraction[state=start,focus=standard,color=black,contrastcolor=black]
\defineenumeration[proposition][alternative=top,text=Proposición,headalign=middle,numberconversion=R,headstyle=\WORDS,style=\emph,referenceprefix=prop]
\starttext
\startproposition[1]
\dorecurse{10
.
\defineenumeration
[question]
[text=,
alternative=serried,
distance=1em,
width=fit,
before={\testpage[4]\blank[3*big]},
after={\blank}]
\starttext
\dorecurse{10}{
\startquestion
\input ward
\stopquestion
\startitemize[packed,a]
\startitem \input ward \stopitem
e{myindent}#1.}
\defineenumeration[sats][
text={Sats},
style={\em},
title=yes,
titlestyle=,
width=fit,
headstyle={\smallcaps\setcharacterkerning[sats]},
headcommand={\vakuum},
number=yes,
alternative=serried,
indenting={yes,\measure{myindent}},
]
\defineenumeration[SATS][sats][
headstyle=
icture to OverlayBox ;
\stopuseMPgraphic
\defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}]
\defineframedtext
[FunnyFramedText]
[
frame=off,
background=FunnyFrame,
offset=\bodyfontsize,
width=\textwidth,
]
\defineenumeration[Counter]
[
title=yes,
alternati
> forgroundstyle=bold]
>
> \defineprocessor[ACPROCESSOR][command=\EXFRAME]
> \defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
>
> \defineenumeration
>[ex]
>[text=,
> width=fit,
>numberconversionset=ACCONVERSION,
>alternative=serried,
orgroundstyle=bold]
>
> \defineprocessor[ACPROCESSOR][command=\EXFRAME]
> \defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
>
> \defineenumeration
>[ex]
>[text=,
> width=fit,
>numberconversionset=ACCONVERSION,
>alternative=serried,
=color,
backgroundcolor=black,
foregroundcolor=white,
forgroundstyle=bold]
\defineprocessor[ACPROCESSOR][command=\EXFRAME]
\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
\defineenumeration
[ex]
[text=,
width=fit,
numberconversionset=ACCONVERS
ound
>
> then the second(?) paragraph of the second enumeration is not indented.
>
> Here is a small example (see what lines to comment to avoid the problem).
>
> %%%
> \defineenumeration[losning][
> text=Lösning,
> title=yes,
> alternative=serried,
> width=fit,
> number=no,
what lines to comment to avoid the problem).
%%%
\defineenumeration[losning][
text=Lösning,
title=yes,
alternative=serried,
width=fit,
number=no,
headstyle={\em},
titlestyle=,
indentnext=no,% another way to get indentation is to comment this line
indenting={yes,medium},
]
\defineframedtext
amma
\defineblock[question]
\defineblock[answer]
\hideblocks[question]
\hideblocks[answer]
\defineenumeration[question]
\defineenumeration[answer]
\starttext
\input knuth
\beginquestion
\startquestion
Question text
\startitemize[a]
\item Answer A
\item Answer B
\item Answer C
\stopitemiz
ried,
> inbetween=,
>
> Best wishes,
> Taco
>
> > Thank you.
> > Fabrice
> >
> > \setuptextrules[width=0.5cm]
> >
> > \define[1]\ProprieteHeadcommand
> > {\textrule[top]{#1}}
> >
> > \defineenumeration
> > [propriete]
Headcommand
> {\textrule[top]{#1}}
>
> \defineenumeration
> [propriete]
> [text=Propriété,
>title=yes,
>headstyle={bold},
>alternative=serried,
>style=italic,
>number=no,
>headcommand=\ProprieteHeadcommand,
>numbercomma
Hi Fabrice,
Is this what you are looking for?
Best regards: OK
\setuptextrules[width=.5cm]
\define[1]\ProprieteHeadcommand
{\textrule[top]{Propriété}}
\defineenumeration[propriete]
[headstyle={bold},
style=italic,
number=no,
headcommand
Hello,
The top line is in the text, how to fix this problem ?
Thank you.
Fabrice
\setuptextrules[width=0.5cm]
\define[1]\ProprieteHeadcommand
{\textrule[top]{#1}}
\defineenumeration
[propriete]
[text=Propriété,
title=yes,
headstyle={bold},
alternative=serried,
style=italic
chapter and only appear in the second chapter.
According to the wiki and reference manual it should be possible using either
\useblocks or \selectblocks but I can't get it to work.
Who can help me out?
Best regards,
Jan Willem Flamma
\defineenumeration[question][location=margin,text=Question
,
% topoffset=-2mm
]
\defineenumeration[proclaim]
[text=,
before={\startsidebar[ProclaimSidebar]},
after={\stopsidebar},
style=slanted,
title=yes,
titleleft=,
titleright={.},
% alternative=serried,
alternative=hanging
}}
\defineenumeration
[question]
[text={\black Question},
titledistance=2em,
width=fit,
distance=0.5em,
headstyle=bold,
number=yes,
prefix=yes,
prefixsegments=chapter,
alternative=serried,
headcommand=\QuestionTextCommand]
\defineenumeration
[answer]
[text={\black Answer
xtCommand
{\doglobal\increment\AnswerCounter
\pagereference[answer:\AnswerCounter]%
\doifreferencefoundelse{question:\AnswerCounter}
{\goto{#1}[question:\AnswerCounter]}
{#1}}
\defineenumeration
[question]
[text=Question,
alternative=serried,
headcommand=\QuestionTextCommand]
\defin
rement\AnswerCounter
\pagereference[answer:\AnswerCounter]%
\doifreferencefoundelse{question:\AnswerCounter}
{\goto{#1}[question:\AnswerCounter]}
{#1}}
\defineenumeration
[question]
[text=Question,
headcommand=\QuestionTextCommand]
\defineenumeration
[ans
On 2/11/2019 7:44 PM, Rik Kabel wrote:
\defineenumeration[ID]
[before=\dontleavehmode,
alternative=inright]
\starttext
\ID[id1]This is only a test.
\stoptext
sorry, i'll fix it (upload later today)
Hans
That is, it is OK if the command \setupenumeration… before the
\defineenumeration[Exam], but if the command \setupenumeration… after the
\defineenumeration[Exam] cause the problem.
After change the order of appearance such a commnad in my environment file, the
numbers of Exam are correct. Now, I have
Rik Kabel schrieb am 11.02.19 um 19:44:
The following works well with previous versions and fails on the
20190210 beta.
\defineenumeration[ID]
[before=\dontleavehmode,
alternative=inright]
\starttext
\ID[id1]This is only a test.
\stoptext
The problem
The following works well with previous versions and fails on the
20190210 beta.
\defineenumeration[ID]
[before=\dontleavehmode,
alternative=inright]
\starttext
\ID[id1]This is only a test.
\stoptext
The problem appears to be associated with the inright alternative
efineoverlay[MyFrame][\useMPgraphic{MyFrame}]
\defineframedtext
[MyText]
[frame=off,
background=MyFrame,
before={\blank[line,halfline]},
after={\blank[line]},
offset=\bodyfontsize,
width=\textwidth]
\defineenumeration[Theorem]
[alternative=empty,
title=yes,
titleleft=,
titleri
enumeration environments for
% Questions and Answers
\defineenumeration[question]
[text=Question,
headcommand=\QuestionTextCommand,
number=yes,
prefix=yes,
prefixsegments=chapter,
coupling=hint]
\defineenumeration[hint]
[text=Hint
=start,color=,contrastcolor=,style=]
\define[1]\problemtextmakro
{%
\doifreferencefoundelse{losn:\currentconstructionreference}
{\llap{\goto{{\WORD l}}[losn:\currentconstructionreference]}\,}
{}%
#1
}
\defineenumeration[problem][
referenceprefix=problem,
text=,
width=fit
A while back I asked a similar question, and Hans pointed out the following
which I still use:
\defineenumeration
[exercise]
[way=bysection,
text=Exercise,
coupling=solution,
location=hanging]
\defineenumeration
[solution]
[text=Solution,
way=bysection,
coupling=exercise
Hi Sanjoy,
when you have a equal number of questions ans answers you can create a
enumeration for each and collect the answers with the block mechanism.
At the end of the document you can flush the collected answers.
\defineblock [answer]
\defineenumeration [question]
\defineenumeration
tried the analogous
context.getnumber({"problem"}), though without success.
Does anyone see what I am missing?
Many thanks!
-Sanjoy
\defineenumeration[problem]
[title=yes, text=Problem, way=bychapter, prefix=chapter]
\defineenumeration[solution][problem]
\setupenumeration [solut
Jan Willem Flamma schrieb am 27.09.18 um 17:18:
Dear list members,
How can I prevent that a question block breaks across a page?
Kind regards,
Jan Willem Flamma
MWE
\defineblock[question]
\defineblock[answer]
\hideblocks[question]
\hideblocks[answer]
\defineenumeration
[question
Dear list members,
How can I prevent that a question block breaks across a page?
Kind regards,
Jan Willem Flamma
MWE
\defineblock[question]
\defineblock[answer]
\hideblocks[question]
\hideblocks[answer]
\defineenumeration
[question]
[text={Question},
after={\blank[2*big
hen mode BL is not
>> enabled.
>>
>> When mode BL is enabled (using the toggle), the third column should of
>> course appear again.
>>
>> How can I achieve this?
>>
>> Regards,
>> Jan Willem
>>
>>
>> MWE:
>>
&
can I achieve this?
Regards,
Jan Willem
MWE:
\starttext
%Toggles
%\enablemode[BL]
\defineblock[question]
\defineblock[answer]
\hideblocks[question]
\hideblocks[answer]
\defineenumeration
[question]
[text=Question,
after={\blank[2*big]},
inbetween={\blank[nowhite
]
\defineblock[question]
\defineblock[answer]
\hideblocks[question]
\hideblocks[answer]
\defineenumeration
[question]
[text=Question,
after={\blank[2*big]},
inbetween={\blank[nowhite]},
way=bychapter,
prefixsegments=chapter,
prefix=yes]
\defineenumeration
content ends with words. But it is not working
if the item contents end with \stopformula. If I put \placeclosesymbol before
\stopformula, then it is shown just after the last word.
Anyway, it works in most cases.
Thank you again.
Best regards,
Dalyoung
%
\defineenumeration[p
On Mon, 27 Aug 2018, Jeong Dal wrote:
Hi,
The same thing happens after the itemization as in the following MWE.
\defineenumeration[proof][text=Proof.]
\setupenumeration[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi
MWE.
Thank you for reading.
Best regards,
Dalyoung
\defineenumeration[proof][text=Proof.]
\setupenumeration[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
\starttext
\startproof
This is a simple proof.
\stopproof
=broad]
\defineenumeration
[example]
[text=Exemple,
style=italic]
\showframe
\starttext
\startchapter[title=First chapter]
\placerecipe{}{
\startexample
\input ward
\stopexample}
\stopchapter
\startchapter[title=Second chapter]
\placerecipe{}{
\startexample
\input ward
Fabrice Couvreur schrieb am 13.08.18 um 12:35:
Hello,
How to have :
Démonstration --- 1.one
2.two
3.three
Thanks
Fabrice
\defineenumeration
[proof]
[text=Démonstration,
alternative=serried,
number=no,
headcommand=\groupedcommand{}{~---~},
headstyle=bolditalic,
%headcommand
Hello,
How to have :
Démonstration --- 1.one
2.two
3.three
Thanks
Fabrice
\defineenumeration
[proof]
[text=Démonstration,
alternative=serried,
number=no,
headcommand=\groupedcommand{}{~---~},
headstyle=bolditalic,
%headcommand=\groupedcommand{}{:\,},
width=broad
well in my text.
However, in the following example, there is no difference at all. strange!
%%%
\defineenumeration[Solution]
[text={\ss\bf Solution},
number=no,
after=\blank]
\starttext
\startSolution
\startitemize[n,packed][stopper=)]
\item This is a test for the referen
the bottom line of the frame, how to add
a little space ?
Thanks
Fabrice
\defineframed
[ACFRAME]
[frame=on,
width=fit,
align=flushleft,
location=low,
background=color,
backgroundcolor=lightgray]
\defineenumeration
[exercice]
[text={Exercice},
headstyle={\bf
lign=flushleft,
>location=low,
>background=color,
>backgroundcolor=lightgray]
>
> \defineenumeration
> [exercice]
> [text={Exercice},
>headstyle={\bf\feature[+][f:smallcaps]},
>headcommand=\ACFRAME,
>numberconversionset=ACCONVERS
Hello,
I find that the text is near the bottom line of the frame, how to add a
little space ?
Thanks
Fabrice
\defineframed
[ACFRAME]
[frame=on,
width=fit,
align=flushleft,
location=low,
background=color,
backgroundcolor=lightgray]
\defineenumeration
[exercice]
[text
=chapter,
way=bysection,
*numberstopper={. ---},*
style=italic,
]
\defineenumeration[theorem]
Fabrice
2018-07-25 12:15 GMT+02:00 Fabrice Couvreur :
> Hello,
> I used LaTeX for a long time before converting (with difficulty !) to
> ConteXt. For example, to defi
umerations[
before={\blank},
after={\blank},
text=Théorème,
alternative=serried,
title=no,
prefix=yes,
prefixsegments=chapter,
way=bysection,
right=.,
titlestyle=bold,
style=italic,
width=broad,
]
\defineenumeration[theorem]
t=Théorème,
alternative=serried,
title=no,
prefix=yes,
prefixsegments=chapter,
way=bysection,
right=.,
titlestyle=bold,
style=italic,
width=broad,
]
\defineenumeration[theorem]
\starttext
\startchapter[title={First Chapter}]
\startsection[title={Fir
}}
\setupenumerations[
text=Propriété ,
title=no,
way=bychapter,
titlestyle=bold,
style=slanted,
width=fit,
headcommand=\ProprieteHeadcommand,
numbercommand=\groupedcommand{}{\nbsp},
after=\textrule
]
\defineenumeration[propriete]
\starttext
roundcolor=black,
>> foregroundcolor=white,
>> forgroundstyle=bold]
>>
>>
>> \defineprocessor[ACPROCESSOR][command=\ACFRAME]
>> \defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
>>
>> \defineenumeration
>>[ex]
>
frame=off,
> offset=0pt,
> location=low,
> width=\struttotal,
> background=color,
> backgroundcolor=black,
> foregroundcolor=white,
> forgroundstyle=bold]
>
>
> \defineprocessor[ACPROCESSOR][command=\ACFRAME]
> \defineconversionset[ACCON
bold]
>
>
> \defineprocessor[ACPROCESSOR][command=\ACFRAME]
> \defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
>
> \defineenumeration
>[ex]
>[text=,
> distance=0.3em,
> width=fit,
> numberconversionset=ACCONVERSION,
> alternative=serried]
[ACPROCESSOR][command=\ACFRAME]
\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
\defineenumeration
[ex]
[text=,
distance=0.3em,
width=fit,
numberconversionset=ACCONVERSION,
alternative=serried]
\starttext
\dorecurse{5}
{\startex
\input knuth
\stopex}
\stopt
,
forgroundstyle=bold]
\defineprocessor[ACPROCESSOR][command=\ACFRAME]
\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
\defineenumeration
[ex]
[text=,
distance=0.3em,
width=fit,
numberconversionset=ACCONVERSION,
alternative=serried]
\starttext
\dorecurse{5}
{\startex
\in
of “Theorem 1” with the
figure at the right?
Thank you.
Best regards,
Dalyoung
\defineenumeration[Theorem]
[text={\translate[en=Theorem, kr=정리]},
style=,
title=yes,
prefix=yes,
prefixsegments=chapter,
way=bychapter,
number=yes,
before={\blank[big]},
after
e
>>
>>
>> \setuptolerance[stretch,verytolerant]
>> \useMPlibrary[dum]
>>
>>
>> \define[1]\ProprieteHeadcommand
>>{\textrule[top]{#1}}
>>
>> \defineenumeration
>>[propriete]
>>[text=Propriété,
>> title=yes,
>>
.
\flushsidefloats
Thanks
Fabrice
\setuptolerance[stretch,verytolerant]
\useMPlibrary[dum]
\define[1]\ProprieteHeadcommand
{\textrule[top]{#1}}
\defineenumeration
[propriete]
[text=Propriété,
title=yes,
headstyle={bold},
style=italic,
headcommand=\ProprieteHeadcommand
]
\useMPlibrary[dum]
\define[1]\ProprieteHeadcommand
{\textrule[top]{#1}}
\defineenumeration
[propriete]
[text=Propriété,
title=yes,
headstyle={bold},
style=italic,
headcommand=\ProprieteHeadcommand,
numbercommand=\groupedcommand{}{\nbsp},
after=\textrule]
\starttext
n, we have this :
>
> 1. First
> Second
> Third
>
> Is it possible to have this :
>
> 1. First
> Second
> Third
>
>
> Use inline items and add \par (or a empty line) after each line.
>
> \defineenumeration
> [ex]
> [alternative=se
y line) after each line.
\defineenumeration
[ex]
[alternative=serried,
width=2em,
distance=0pt,
text=]
\starttext
\startex
\startitemize[text]
\item First \par
\item Second \par
\item Third \par
\stopitemize
\stopex
\stoptext
Wo
abrice Couvreur <fabrice1.couvr...@gmail.com>
> 28. Januar 2018 um 22:54
> Hello,
> How to make the first item on the baseline of the numbering as in the
> first exercise ?
>
>
> You have put the item environment in a box.
>
> \defineenumeration
> [ex]
> [
Fabrice Couvreur <mailto:fabrice1.couvr...@gmail.com>
28. Januar 2018 um 22:54
Hello,
How to make the first item on the baseline of the numbering as in the
first exercise ?
You have put the item environment in a box.
\defineenumeration
[ex]
[alternative=serried,
wid
background=color,
>backgroundcolor=black,
>foregroundcolor=white,
>forgroundstyle=bold]
>
> \defineprocessor[ACPROCESSOR][command=\EXFRAME]
> \defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
>
> \defineenumeration
> [ex]
> [text=,
>width=fit,
>
]
[frame=off,
offset=0pt,
location=low,
width=\struttotal,
background=color,
backgroundcolor=black,
foregroundcolor=white,
forgroundstyle=bold]
\defineprocessor[ACPROCESSOR][command=\EXFRAME]
\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
\defineenumeration
[ex]
[t
}
\defineenumeration
[Enu]
[alternative=mylabel,
display=no,
before=,
after=]
\definelabel
[Lab]
[alternative=mylabel,
before=,
after=]
\definenote
[endnote]
\setupnotation
[endnote]
[way=bytext,
location=none
\stopsetups
\defineenumeration[two][alternative=mylabel,display=no,before=,after=]
\definelabel[foo][way=bychapter,prefix=chapter]
\starttext
\startchapter[title=bar]
here \starttwo\stoptwo \input tufte
here \foo[xx] \input tufte
whatever \in{foo}[xx
[constructionrenderings:mylabel]
\dontleavehmode
\inright{\flushconstructionheadbox}
\stopsetups
\defineenumeration
[one]
[alternative=mylabel,
display=no,
before=,
after=]
\definenote
[endnote]
\setupnotation
[endnote]
[way=bytext,
location
mechanism, this request can be
rejected.)
two options:
\defineconstructionalternative
[mylabel]
[renderingsetup=constructionrenderings:mylabel,
width=]
\startsetups[constructionrenderings:mylabel]
\dontleavehmode
\flushconstructionheadbox
\stopsetups
\defineenumeration[two
.)
two options:
\defineconstructionalternative
[mylabel]
[renderingsetup=constructionrenderings:mylabel,
width=]
\startsetups[constructionrenderings:mylabel]
\dontleavehmode
\flushconstructionheadbox
\stopsetups
\defineenumeration[two][alternative=mylabel,display=no,before=,after
On 2018-01-12 17:46, Hans Hagen wrote:
On 1/12/2018 10:31 PM, Rik Kabel wrote:
maybe putting a \dontleavehmode in front helps
Indeed. Thank you. Adding it to the before key of \defineenumeration
appears to have no unwanted side effects. Can you think of a reason
not to do that?
something
On 1/12/2018 10:31 PM, Rik Kabel wrote:
maybe putting a \dontleavehmode in front helps
Indeed. Thank you. Adding it to the before key of \defineenumeration
appears to have no unwanted side effects. Can you think of a reason not
to do that?
something tex ... one starts a group at the start
indent when the label is at the beginning of
a paragraph and fails to print the label or generate references
with alternative=inmargin (or inright, or inleft) when in a footnote.
\defineenumeration fails to work in a footnote.
use
\ID ... \par
as it has to know where it ends which is a paragraph
of a
paragraph and fails to print the label or generate references with
alternative=inmargin (or inright, or inleft) when in a footnote.
\defineenumeration fails to work in a footnote.
use
\ID ... \par
as it has to know where it ends which is a paragraph end
or use
\startID ... \stopID
the label or generate references with
alternative=inmargin (or inright, or inleft) when in a footnote.
\defineenumeration fails to work in a footnote.
use
\ID ... \par
as it has to know where it ends which is a paragraph end
or use
\startID ... \stopID
\setupindenting[yes,small
with
alternative=inmargin (or inright, or inleft) when in a footnote.
\defineenumeration fails to work in a footnote.
use
\ID ... \par
as it has to know where it ends which is a paragraph end
or use
\startID ... \stopID
\setupindenting[yes,small]
\definelabel [ID][
%\defineenumeration[ID
expected and one at the
beginning of the framed text which I don’t want.
One more thing, is there no way to show the number of the Definition?
you can download a beta and try
\defineenumeration[Theorem]
[alternative=empty,
before=\startMyText,
after=\stopMyText]
\defineframed
with the notes as
traditional footnotes. When the notes with labels appear in footnotes,
the labels are not printed. The MWE below demonstrates the problem. I
would expect to see a red 2 at the end of the first line of the footnote.
I have tried to use \defineenumeration instead of \definelabel
in a footnote.
\defineenumeration fails to work in a footnote.
\setupindenting[yes,small]
\definelabel [ID][
%\defineenumeration[ID][
text=,
after=,
before=,
headcolor=red,
alternative=inright,
]
\starttext
\starttitle[title={Label
e,halfline]},
after={\blank[line]},
offset=\bodyfontsize,
width=\textwidth]
\defineenumeration[Theorem]
[title=no,
text={\translate[en=Theorem, kr=정리]},
prefix=yes,
prefixsegments=chapter,
way=bychapter,
alternative=command,
%% headcommand=\gobbleoneargument,
101 - 200 of 819 matches
Mail list logo