Our journal is currently in the process of moving to continuous publication
of items in a given volume as they are ready. This entails re-jigging the
ToC so that it now includes the start and end page numbers of each item. So
far, I have everything pretty much in the right place, but for the page
Existenzquantor).}
{\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aussage
h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen machen Sie sich
die Bedeutung der beiden Aussagen klar.}
\startitemize[n,packed,broad]
\item \m{\forall m ∈ M : ∃f ∈ F : h(m, f)}
\item
verliebt in f“. Unter diesen Voraussetzungen machen Sie
sich die Bedeutung der beiden Aussagen klar.}
\par
\startitemize[n,packed,broad]
\item \m{\forall m ∈ M : ∃f ∈ F : h(m, f)} \item ∃f ∈ F : ∀m ∈ M : h(m, f).
\stopitemize
\startGrayBackground
\tf Mitunter ist es aus der Formulierung nur schwer zu
:
> \Rightarrow n ungerade, but it says nungerade, what I dont want,.
>
>
> \startitemize[n]
> {\it \item \m{\forall n ∈ \naturalnumbers:n^2 >n\Rightarrow>1,\par}\nospace
> \par \item \m{\forall n ∈ \naturalnumbers:3\mid n\Rightarrow 4 \mid n,\par}
> \nospace
>
spaace , if I want to write :
> \Rightarrow n ungerade, but it says nungerade, what I dont want,.
>
>
> \startitemize[n]
> {\it \item \m{\forall n ∈ \naturalnumbers:n^2 >n\Rightarrow>1,\par}\nospace
> \par \item \m{\forall n ∈ \naturalnumbers:3\mid n\Rightarrow 4
,.
\startitemize[n]
{\it \item \m{\forall n ∈ \naturalnumbers:n^2 >n\Rightarrow>1,\par}\nospace
\par \item \m{\forall n ∈ \naturalnumbers:3\mid n\Rightarrow 4 \mid n,\par}
\nospace
\par \item \m{\forall n ∈ \naturalnumbers:n^3 ungerade \Rightarrow n ungerade
\par}
etween tex and lua. For the time i
> removed it and since I will create itemizes I hope I dont get that error if I
> use \item instead of \qquad.
> Thanks again, I spent hours of trial and error, error, error... on this
> matter.
Yes, the \'s need to be escaped in Lua. And it's mad
get that error if I use \item
instead of \qquad.
Thanks again, I spent hours of trial and error, error, error... on this matter.
___
If your question is of interest to others as well, please add an entry to the
Wiki
of writing an ñ at the end of line so that the macro
detects each argument; but for each question I have to manually add it, which
is tedious; therefore I look for a solution to detect lines automatically
%the definition
\def\tareaAbc #1ñ#2ñ#3ñ#4ñ{\item #1
\startitemgroup[lista1a]
\item
detects each argument; but for each question I have to manually add it, which
is tedious; therefore I look for a solution to detect lines automatically
%the definition
\def\tareaAbc #1ñ#2ñ#3ñ#4ñ{\item #1
\startitemgroup[lista1a]
\item #2
\item #3
\item #4
\stopitemgroup
mechanism to set the text offset on
the left and right sides and when you combine both mechanism the values
are added. In case you you have a document where a descriptions appear
as part of an item I suggest to use a different alternative (e.g.
serried) for the description layout.
Wolfgang
first item located at the end of the page.However, \vfill works, so I managed the items evenly spaced vertically.If I use “\startcolumns”, then I have the following problems: 1. \vfill doesn’t works, but \blank[] works. So, it isn’t easy to locate the items evenly spaced vertically.Here are sampl
Dear all,I have a little problem to use “columns” in the following example.If I use “\startcolumnset”, then I have the following problems: 1. The figures is aligned left even though I use \startplacefigure[]. 2. In the second column, the first item located at the end of the page.However, \vfill
\requirementB
\pagebreak
\section{Fish}
\input knuth
\input knuth
\input knuth
\input knuth
\requirementC
\requirementB
\pagebreak
\section{Frogs}
\input knuth
\requirementB
\p
Consider the following:
\starttext
Text before.
\startitemize[1,nowhite]
\item item 1
\item item 2
\startitemize[5,nowhite]
\item sub-item 1
\item sub-item 2
\stopitemize
\item item 3
\stopitemize
Text after.
\stoptext
Notwithstanding the "nowhite" options, there is a blank line
\define[1]\mystopitemize{\stopitemize\doifsamestringelse{#1}{\par}{\blank}{#1}}
> \starttext
> This is a short paragraph.
> This is a line before an itemization.
> \startitemize[nowhite]
> \item First item.
> \item Second item.
> \mystopitemize
> This is a short paragraph i
ext
This is a short paragraph.
This is a line before an itemization.
\startitemize[nowhite]
\item First item.
\item Second item.
\mystopitemize
This is a short paragraph immediately following.
This is a line before a {\bf nowhite, after} itemization.
\startitemize[nowhite]
\item First item
do you mean for all instances?
I hate to go out on a limb and say "all", but I mean that if there is text
"immediately" following the \stopitemize (i.e., no \par token or vertical
mode material before more text), then there is no white space following the
last \it
ter my items. For
>> example, if there is more "paragraph text" after the last item I would like
>> to see this structure:
>> ------
>> Some text preceding the list of items:
>> a. Item one.
&g
Jim schrieb am 15.01.2024 um 01:42:
I have
\setupwhitespace [big]
so that I get "a blank line" between paragraphs.
I would like to *not* have "blank lines" before and after my items. For
example, if there is more "paragraph text" after the last item I wo
; \startitemize[a,packed,joinedup]
> \item First item.
> \item Second item.
> \stopitemize
> This is a line immediately following the above itemization.
> This is a short paragraph.
> \stoptext
> %%
> Cheers,
> Michael
>> On Jan 15, 2024, at 6:36 AM
Hi Jim,
I think you want alternative “a”, if the dot instead of a letter is the problem
and not the whitespace:
%%
\starttext
This is a short paragraph.
This is a line before a {\bf packed, joinedup} itemization.
\startitemize[a,packed,joinedup]
\item First item.
\item Second item
Hi Hraban,
thanks for your response. But...
On Mon, Jan 15, 2024 at 08:17 (+0100), Henning Hraban Ramm wrote:
> Am 15.01.24 um 01:42 schrieb Jim:
>> Some text preceding the list of items:
>> a. Item one.
>> b. Second item.
>> This sentence is part of the same paragr
Am 15.01.24 um 01:42 schrieb Jim:
Some text preceding the list of items:
a. Item one.
b. Second item.
This sentence is part of the same paragraph.
The next paragraph starts here...
\startitemize[packed,joinedup] should be the right combination.
Hraban
I have
\setupwhitespace [big]
so that I get "a blank line" between paragraphs.
I would like to *not* have "blank lines" before and after my items. For
example, if there is more "paragraph text" after the last item I wo
transparent by providing a
customizable user-defined GUI (Graphical User Interface) in the form of a
toolbar button (or a menu item) named LaTeX. WinEdt does not know in advance if
and where you have installed your TeX and thus avoids calling the executables
with a full path specification. However
en Sie sich die
Bedeutung der beiden Aussagen klar.
\par
\startitemize[n]
\item \m{\forall m ∈ M : ∃f ∈ F : h(m, f)} \item ∃f ∈ F : ∀m ∈ M : h(m, f).
\stopitemize
% I changed the above to use \startitemize but have a look at \placeformula as
well
\startGrayBackground
Mitunter ist es aus der Formulierun
etzungen
machen Sie sich die Bedeutung der beiden Aussagen klar.
\par
\startitemize[n]
\item \m{\forall m ∈ M : ∃f ∈ F : h(m, f)}
\item ∃f ∈ F : ∀m ∈ M : h(m, f).
\stopitemize
% I changed the above to use \startitemize but have a look at \placeformula as
well
\startGrayBackground
Mitunter
On 11/22/2023 2:30 AM, Benjamin Buchmuller wrote:
Hi list,
I came across this old thread as I was trying to use \xmlpos{#1} to
"dynamically" create references such as \item[mystep:\xmlpos{#1}] to be
referenced when other elements of this node are parsed at a later point.
In fact
hub.io/pandoc-crossref
- https://github.com/tomduck/pandoc-eqnos
I'm leaning towards the following syntax:
Markdown Item (table, blockquote, TeX block, figure, code, R chunk, etc.)
: caption text {#type:label}
See [@type:label] for details.
There's a unit test that shows what's currently
Hi list,
I came across this old thread as I was trying to use \xmlpos{#1} to
"dynamically" create references such as \item[mystep:\xmlpos{#1}] to be
referenced when other elements of this node are parsed at a later point.
In fact, it seems that \xmlpos{#1} returns duplicate values.
iki
(https://wiki.contextgarden.net/Commands_with_optional_arguments).
It seems that the command has to be defined as unexpanded, such as in:
\setupinteraction[state=start]
\setupattachments[method=hidden]
\usemodule[database]
\starttext
\unexpanded\def\ItemContents#1#2#3{\doiftext{#2}
/bidi.pdf;
"Flowcharts","charts-mkiv.pdf",
Faking a command such as \cA, \cB and \cC (for contents of columns A, B
or C) I would like to create a source document with an enumeration that
contains:
\doiftext{\cB}
{\item {\em\cA}\attachment[file=\cB]%
\doiftext{\cC}{
Eredeti levél Feladó: Aditya Mahajan Dátum:
2023 október 15 22:32:37Tárgy: Re: [NTG-context] Re: numbered itemize list item
label alignmentCímzett: mailing list for ConTeXt users On
Sun, 15 Oct 2023, Wolfgang Schuster wrote: > Csikos Bela schrieb am 15.10.2023
um 15
right and the widest
> > label's left side located at the left margin.
> > I tried the below code but the 3 digit labels' left sides go into the left
> > margin. How can I fix it?
> >
> > Code:
> >
> > \showframe
> > \starttext
> > \start
but the 3 digit labels' left sides go into the
left margin. How can I fix it?
Code:
\showframe
\starttext
\startitemize[n,broad][itemalign=flushright]
\dorecurse{250}{\item }
\stopitemize
\stoptext
You can use the width-key to set a value for the number, below is a
example for method
tried the below code but the 3 digit labels' left sides go into the
> left margin. How can I fix it?
Hi Csikos,
width is the key, such as in:
\showframe\showgrid\showstruts
\starttext
\startitemize[n,broad][width=.125tw, itemalign=flushright]
\dorecurse{250}{\item }
\stopitemize
margin. How can
I fix
it?Code:\showframe\starttext\startitemize[n,broad][itemalign=flushright]\dorecurse{250}{\item
}\stopitemize\stoptextThe resulted pdf is attached as
context-itemize-label-alignment.pdf.Thank you in advance,bcsikos
context-itemize-label-alignment.pdf
Description: Adobe PDF
On 9/26/23 20:46, Wolfgang Schuster wrote:
> [...]
> The \startblockquote command removes the last skip to ensure only the
> space which is set by the environment appears in the output.
Many thanks for your explanation, Wolfgang.
> The default method to put some space before and after the
:
\showframe\showgrid\showstruts
\setuppapersize[A6]
\setupitemgroup
[itemize][1]
[ before={\blank[quarterline]},
after={\blank[quarterline]\null}]
\starttext
one
\startblockquote
\startitemize
\item
\showframe\showgrid\showstruts
\setuppapersize[A6]
\setupitemgroup
[itemize][1]
[ before={\blank[quarterline]},
after={\blank[quarterline]\null}]
\starttext
one
\startblockquote
\startitemize
\item a.
\stopitemize
\sto
]
[ before={\blank[.125th]},
after={\blank[.125th]}]
\starttext
one
\startblockquote
\startitemize
\item a
\stopitemize
\stopblockquote
two
\stoptext
The blockquote disables the space after the list, but not before.
Have I hit a bug or am I missing something?
Many thanks for your help,
Pablo
Dear list,
I have the following sample:
\setuppapersize[A6]
\setupitemgroup
[itemize][1]
[ before={\blank[.125th]},
after={\blank[.125th]}]
\starttext
one
\startblockquote
\startitemize
\item a
\stopitemize
[before]}\endgraf},
after={\endgraf{\ttbf [after]}\endgraf}]
\stopsetups
\setupnote[footnote][setups=forfootnote]
\footnote{\startitemize
\startitem Choose the correct answer.
\startitemize
\item This one
{\ttbf [after]}\endgraf}]
\stopsetups
\setupnote[footnote][setups=forfootnote]
\footnote{\startitemize
\startitem Choose the correct answer.
\startitemize
\item This one
\stopitemize
\stopitem
\stopitemize}
\stoptext
/Mikael
On Thu, Sep 7, 2023 at 12:57 AM Jeroen wrote:
>
> To get a packed itemize list I use this in the preamble
>
> \setupitemgroup
> [itemize]
> [packed]
>
> To get less vspace between the text and the first item, i changed it to this
>
> \setupitemgroup
> [i
To get a packed itemize list I use this in the preamble
\setupitemgroup
[itemize]
[packed]
To get less vspace between the text and the first item, i changed it to this
\setupitemgroup
[itemize]
[packed,
nowhite]
now there is indeed no whitespace. Is there a more granular way
On 9/4/2023 8:20 PM, Hans van der Meer wrote:
I changed this in the source of lxml-ini.lua (line 225). It seems the 'not' has
been accidentally crept in (from copying that line in ifxmlempty, the item
above?)
Anyway, remade the format and now the result is as I expected it to be. See
below
I changed this in the source of lxml-ini.lua (line 225). It seems the 'not' has been accidentally crept in (from copying that line in ifxmlempty, the item above?)Anyway, remade the format and now the result is as I expected it to be. See below in the output of the MWE from my first post
On 9/4/2023 6:12 PM, Pablo Rodriguez wrote:
Dear list,
after updating to current latest (from 2023.09.03 19:03), packed list
doesn’t seem to work in LMTX:
\starttext
\startTEXpage[offset=1em]
\startitemize[packed]
\item item
\item item
\stopitemize
\stopTEXpage
On 9/4/2023 12:12 PM, Pablo Rodriguez wrote:
Dear list,
after updating to current latest (from 2023.09.03 19:03), packed list
doesn’t seem to work in LMTX:
\starttext
\startTEXpage[offset=1em]
\startitemize[packed]
\item item
\item item
\stopitemize
\stopTEXpage
Dear list,
after updating to current latest (from 2023.09.03 19:03), packed list
doesn’t seem to work in LMTX:
\starttext
\startTEXpage[offset=1em]
\startitemize[packed]
\item item
\item item
\stopitemize
\stopTEXpage
\stoptext
MkIV gets packed lists just right.
Could anyone
It seems that displaystyle fractions insert extra vertical space before the
main item.
With textstyle fractions, the code works fine.
\blank[back,overlay] can get rid of the gap above the first row, but not
the space inserted by \dfrac.
\defineitemgroup[alex]
\setupitemgroup
[alex]
[each
aligns with the bottom.
>
> Here’s a modified MWE
>
> \startitemize[n][style=\bf]
> \item \godown[-\lineheight] \startitemize
> [a,columns,two,packed,broad][stopper=),before={\blank[nowhite]}]
> \item $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$
> \item $-3(x - \dfrac{1}{3})^2
Hi,
On Tue, Aug 22, 2023 at 7:16 AM Alexandre Christe
wrote:
>
> It’s true that \vtop{…} does the job for a single line of items, but it
> doesn’t in the case there’re multiple (\vtop{}) aligns with the bottom.
>
> Here’s a modified MWE
>
> \startitemize[n][style=\
It’s true that \vtop{…} does the job for a single line of items, but it doesn’t
in the case there’re multiple (\vtop{}) aligns with the bottom.
Here’s a modified MWE
\startitemize[n][style=\bf]
\item \godown[-\lineheight] \startitemize
[a,columns,two,packed,broad][stopper=),before={\blank
I'd do it this way:
\starttext
\startitemize[n][style=\bf]
\item\vtop{%
\startitemize[a,horizontal,four][stopper=\)]
\startitem
$6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$
\stopitem
\startitem
$-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$
\stopitem
\startitem
$7(x
Dear ConTeXt users,
Time goes by but I haven't yet found a nice solution to this issue. When
having mathematics, I'd not like to adjust by hand the factor of \linewidth
for the \godown command.
Here's a MWE
\starttext
\startitemize[n][style=\bf]
\item \godown[-\lineheight] \startitemize
Thanks.
Anyway do ypu have public triaging bugs system for LMTX and ConTeXt?
On Wed, 16 Aug 2023 19:58:28 +0200
Wolfgang Schuster ha escrit:
> Xavier B. schrieb am 16.08.2023 um 15:20:
> > Hi,
> >
> > Is it possible that in LMTX there is almost no space b
Xavier B. schrieb am 16.08.2023 um 15:20:
Hi,
Is it possible that in LMTX there is almost no space between "(a)" and item?
\startitemize[a, text] \item This is an item \stopitemize
Fixed in today's context update.
Hi,
Is it possible that in LMTX there is almost no space between "(a)" and item?
\startitemize[a, text] \item This is an item \stopitemize
Thanks in advance,
Xavier
___
If your question is of interest
al error: return
code: 1" is a error message from the console), it might be a started
command not closed, such as in:
\starttext
\startitemize
\item a
\stoptext
Just in case it might help,
Pablo
__
ng > section @ level 3 : 0.0.1 -> Proporcionalitat
directa
structure > sectioning > subject @ level 3 : 0.0.1 -> Preguntes
floatblocks > '1' placed (here)
floatblocks > order disturbed
floatblocks > '2' placed (force)
floatblocks > order disturbe
KIV to LMTX. Before with MKIV I
get no errors.
dev.tex
Description: TeX document
return {
["errortype"]=6,
["filename"]="./dev.tex",
["lastcontext"]="\n200 persones en total \\par \\startitemize [a, packed]
\\item 2 de 5 persones estan a $A$ \
\type{main.tuc}:
\startitemize[n, packed]
\dorecurse{15}
{\item Reference to \in[main::chap\recurselevel].}
\stopitemize
\stoptext
The real issue is that I couldn’t make it work with any PDF viewer I
have on Linux.
Either the viewer doesn’t detect the link (such as PDF.js), or it cannot
solve
nk to them within the main context document? In [2], I
found something maybe related but it requires a tuc file.
Example:
inner.tex:
```
\starttext
\startsection[title=References, reference=sec:ref]
Some text
\placeformula[eq:foo]
\startformula
1 + 2 = 3
\stopformula
or:
\startitemize[n]
On 7/15/23 21:46, Jairo A. del Rio wrote:
> Hi, list! I want to know how to make numbers in text item groups run
> along with text (for instance, wrt indentation) regardless of their
> position in text. In the following example:
Hi Jairo,
alignsymbol=yes might be what you need (if I’
Jairo A. del Rio schrieb am 15.07.2023 um 21:46:
Hi, list! I want to know how to make numbers in text item groups run
along with text (for instance, wrt indentation) regardless of their
position in text. In the following example:
\setupindenting[yes,medium]
\starttext
\startitemize[a,text
em
\startitem \input{jojomayer}\stopitem
\startitem \input{jojomayer}\stopitem
\stopitemize
\stoptext
> On 15 Jul 2023, at 20:46, Jairo A. del Rio wrote:
>
> Hi, list! I want to know how to make numbers in text item groups run along
> with text (for instance, wrt indentati
Hi, list! I want to know how to make numbers in text item groups run along
with text (for instance, wrt indentation) regardless of their position in
text. In the following example:
\setupindenting[yes,medium]
\starttext
\startitemize[a,text][textdistance=none]
\startitem \input{jojomayer
\startsection[title={Motivation}]
\TOC
\startitemize
\item something cool
\item something else cool
\stopitemize
\stopsection
\startsection[title={Main strands of theory}]
\TOC
\startitemize
\item another cool thing
\item cool too
\stopitemize
\stopsection
\stoptext
Thanks in advance
\startitemize[continue]% THIS SHOULD DO WHAT YOU WANT
\item Picking up where we left off.
\item And all is well.
\stopitemize
Julian
On 26/4/23 13:21, Michael Urban via ntg-context wrote:
I am trying to have two numbered itemizations, with a paragraph in between,
such that the second list
[mynumber][]
\startitemize[n]
\item The first item.
\item The second item
\item Item number \currentitemnumber{}, the last one.
\setcounter[mynumber][\currentitemnumber]
\stopitemize
The \type{\getnumber[mynumber]} value is \getnumber[mynumber].
\incrementcounter[mynumber]
And now the big finish
arden.net/Indentation there is the
> >> following example:
>
> >> %
>
> >> \setupindenting[medium,yes]
> >> \setupitemize[indentnext=auto]
>
> >> \startitemize
> >> \item
:
%
\setupindenting[medium,yes]
\setupitemize[indentnext=auto]
\startitemize
\item One
\stopitemize
This paragraph should be indented - due to the blank line after
\type{\stopitemize}.
\startitemize
im via ntg-context wrote:
> >>
> >>> %
> >>>
> >>> \setupindenting[medium,yes]
> >>> \setupitemize[indentnext=auto]
> >>>
> >>>\startitemize
> >>> \item One
> >&g
[indentnext=auto]
\startitemize
\item One
\stopitemize
This paragraph should be indented - due to the blank line after
\type{\stopitemize}.
\startitemize
\item Two
\stopitemize
This paragraph should not be indented
auto]
> >
> > \startitemize
> > \item One
> > \stopitemize
> >
> > This paragraph should be indented - due to the blank line after
> > \type{\stopitemize}.
> >
> > \startitem
llowing example:
>> %
>> \setupindenting[medium,yes]
>> \setupitemize[indentnext=auto]
>> \startitemize
>> \item One
>> \stopitemize
>> This paragraph should be indented - due to the blank line after
>> \type{\stopitemize}.
>> \sta
emize[indentnext=auto]
>
> \startitemize
> \item One
> \stopitemize
>
> This paragraph should be indented - due to the blank line after
> \type{\stopitemize}.
>
> \startitemize
> \item Two
>
llowing example:
>> %
>> \setupindenting[medium,yes]
>> \setupitemize[indentnext=auto]
>> \startitemize
>> \item One
>> \stopitemize
>> This paragraph should be indented - due to the blank line after
>> \type{\stopi
s]
> \setupitemize[indentnext=auto]
>
> \startitemize
> \item One
> \stopitemize
>
> This paragraph should be indented - due to the blank line after
> \type{\stopitemize}.
>
> \startitemize
> \item Two
>
In https://wiki.contextgarden.net/Enumerations there is this example:
%
\setupwhitespace[big]
\definesymbol[1][$\triangleright$]
\startcolumns
{\bf joinedup:}\par before \startitemize[joinedup]
\item
In the wiki page https://wiki.contextgarden.net/Indentation there is the
following example:
%
\setupindenting[medium,yes]
\setupitemize[indentnext=auto]
\startitemize
\item One
\stopitemize
This paragraph should
atex. Is this supposed to work?
> >
> > Here is an MWE:
> > ```
> > \definedescription[desc][headstyle=bold]
> >
> > \starttext
> > Foo
> >
> > \desc{Some title} Some text
> > \startitemize
> > \item Some item
> &
d]
>
> \starttext
> Foo
>
> \desc{Some title} Some text
> \startitemize
> \item Some item
> \stopitemize
>
> \stoptext
Use \startdesc ... \stopdesc
\definedescription[desc][headstyle=bold]
\starttext
Foo
\startdesc[title={Some title}]
Some
Hi,
I'm trying to use a description environment in conjunction with an
itemize with the latest luametatex. Is this supposed to work?
Here is an MWE:
```
\definedescription[desc][headstyle=bold]
\starttext
Foo
\desc{Some title} Some text
\startitemize
\item Some item
dn’t show up
>
> \mainlanguage[sv]
>
> \setupbodyfont[12pt]
>
> \defineitemgroup
> [fooditems]
>
> \setupitemgroup
> [fooditems]
> [each]
> [none,text]
> [textseparator=,]
>
> \starttext
>
> \startfooditems
> \item fish
> \item eggs
&
tested the code and the separator didn’t show up
>> \mainlanguage[sv]
>> \setupbodyfont[12pt]
>> \defineitemgroup
>> [fooditems]
>> \setupitemgroup
>> [fooditems]
>> [each]
>> [none,text]
>> [textseparator=,]
>> \starttext
>&g
and the separator didn’t show up
\mainlanguage[sv]
\setupbodyfont[12pt]
\defineitemgroup
[fooditems]
\setupitemgroup
[fooditems]
[each]
[none,text]
[textseparator=,]
\starttext
\startfooditems
\item fish
\item eggs
\item milk
\stopfooditems
\stoptext
26 feb
I tested the code and the separator didn’t show up\mainlanguage[sv]\setupbodyfont[12pt]\defineitemgroup [fooditems]\setupitemgroup [fooditems] [each] [none,text] [textseparator=,]\starttext\startfooditems \item fish \item eggs \item milk\stopfooditems\stoptext
test.log
Description
On 2/25/2023 5:01 PM, Joel via ntg-context wrote:
I have a list like this:
\startitemize[1]
\item fish
\item eggs
\item milk
\stopitemize
Is there any command in ConTeXt to make this display the items as a
comma-separated list, like this:
fish, eggs, milk
Or a semi-colon-separated list
On 2/25/2023 5:01 PM, Joel via ntg-context wrote:
I have a list like this:
\startitemize[1]
\item fish
\item eggs
\item milk
\stopitemize
Is there any command in ConTeXt to make this display the items as a
comma-separated list, like this:
fish, eggs, milk
Or a semi-colon-separated list
I have a list like this:
\startitemize[1]\item fish\item eggs\item milk\stopitemize
Is there any command in ConTeXt to make this display the items as a
comma-separated list, like this:
fish, eggs, milk
Or a semi-colon-separated list?
fish; eggs; milk
--Joel
]
>
>
> \setupbodyfont[bonum,rm,12pt]
> \showframe
>
> \starttext
> \startchapter[title={Introduction}]
> This is the chapter for introduction.
> \stopchapter
>
> \startchapter[title={Function}]
> Now, we study the function.
> \stopchapter
>
>
ion.
\stopchapter
\startchapter[title={Function}]
Now, we study the function.
\stopchapter
\starttitle[title={References}]
\startitemize[n]
\item first
\item second
\item third
\stopitemize
\stoptitle
\stoptext___
If y
\stopitemize
}
}
\starttext
\chapter{Recipe 1}
\materialsneeded{\needsoven}
\subject{Instructions}
Spread peanut butter on sandwich.
\chapter{Recipe 2}
\materialsneeded{\item pizza cutter \item stove}
{}{\usestaticMPfigure[square]}
\item bla
\item bla
\placemarginfigure{}{\usestaticMPfigure[square]}
\item bla
\stopitemize
\stoptext
Thanks in advance,
Alex
For me it looks alright, in particular if you have longer
text in the \item. The figures are aligned with the \item's.
One thing which
]
[outermargindistance=-\outermargintotal,
default={outermargin,height,high,low,none}]
\starttext
\startstaticMPfigure{square}
draw fullsquare scaled 3cm;
\stopstaticMPfigure
\startitemize
\placemarginfigure{}{\usestaticMPfigure[square]}
\item bla
\item bla
\placemarginfigure
Will this suit you?
\starttext
\input knuth
\startitemize[n]
\item x
\stopitemize
\startitemize[n][leftmargindistance=-.1\textwidth,width=.1\textwidth]
\starttabulate[|lp(.1\textwidth)|cp(.35\textwidth)|cp(.2\textwidth)|cp(.35\textwidth
1 - 100 of 2858 matches
Mail list logo