Re: [NTG-context] Hyphenation pattern for Esperanto

2021-02-22 Thread Alain Delmotte
meaning of: Le 21/02/2021 à 23:48, Tomas Hala a écrit : And this one is also needed: # \installlanguage #   [\s!esperanto] #   [\c!spacing=\v!packed, #    %\c!leftsentence=\emdash, #    %\c!rightsentence=\emdash, #    %\c!leftsubsenten

[NTG-context] Fwd: Re: Hyphenation on digits

2021-01-28 Thread Richard Mahoney
Just to clarify. The new \hyphenateddigits means that witha couple of tightly packed columns of footnotes it is nowpossible to break a textual reference such as this acrosstwo lines. ({\it Ṛgveda}~\hyphenateddigits{1.114.10}) This is just great, and I can see it being used reasonablyoften. Best

[NTG-context] issue with \cite in ConTeXt ver: 2020.12.22 22:14 LMTX fmt: 2020.12.22

2020-12-22 Thread Alan Bowen
[packed]}, after={\egroup}, ] \definereferenceformat [cite] [type=title,left={},right={}] \definereferenceformat [bibpage] [type=page] starttext Now \cite[test 2020] on page \page \startbibitem[test 2020] \input ward \stopbibitem \stoptext Instead of “Now test 2020 on page”, I get “Now 248

Re: [NTG-context] Hyphenation pattern for Esperanto

2020-12-22 Thread Alain Delmotte
installlanguage   [\s!esperanto]   [%\c!spacing=\v!packed,    %\c!leftsentence=\emdash,    %\c!rightsentence=\emdash,    %\c!leftsubsentence=\emdash,    %\c!rightsubsentence=\emdash,    %\c!leftquote=\lowerleftdoubleninequote,   

[NTG-context] Spacing in s-pre-50 (or better alternatives)

2020-12-08 Thread Jairo A. del Rio
after COVID-19. \FlushStep \CONTEXT\ rocks.\FlushStep \stoptitle \StopSteps \stoptext How should I adjust spacing between steps? With \startitemize ... \stopitemize, spacing options such as "packed" seem to be ignored. Although I love JavaScript animations, I need a PDF > PNG (> WEBM/MP4

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Wolfgang Schuster
Andres Conrado Montoya schrieb am 03.12.2020 um 21:58: Hi pablo, regaring 1) TeX assumes that each character is a variable on math mode. You need to tell it that each "word" is, well, a "word": \starttext   \startitemize[packed]   \item Valor actual neto: $\text{\em ben

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
On 12/3/20 10:00 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 03.12.2020 um 21:52: >> On 12/3/20 8:48 PM, Pablo Rodriguez wrote: >>> [...] >>> 3. Packed works fine with fractions, but packed columns is wrong with >>> them. It adds too much space. &

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 03.12.2020 um 21:52: On 12/3/20 8:48 PM, Pablo Rodriguez wrote: [...] 3. Packed works fine with fractions, but packed columns is wrong with them. It adds too much space. After clearing the issue with text, it seems that fractions add to much space when in list with

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Andres Conrado Montoya
Hi pablo, regaring 1) TeX assumes that each character is a variable on math mode. You need to tell it that each "word" is, well, a "word": \starttext \startitemize[packed] \item Valor actual neto: $\text{\em beneficios} - \text{\em costes}$. % you can use typographical var

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
On 12/3/20 8:48 PM, Pablo Rodriguez wrote: > [...] > 3. Packed works fine with fractions, but packed columns is wrong with > them. It adds too much space. After clearing the issue with text, it seems that fractions add to much space when in list with columns. \showframe\showgrid \

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Hans Åberg
to enable ligatures? > > 3. Packed works fine with fractions, but packed columns is wrong with > them. It adds too much space. > > Again, formulas are totally foreign to my work with ConTeXt. When you do not use \text in math mode, it means implicit multiplication, which has specia

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Otared Kavian
Hi Pablo, You may use \text in math formulas as in: \startitemize[packed] \item Valor actual neto: $\text{beneficios} - \text{costes}$. \item Beneficio por euro: $\frac{\text{beneficios}}{\text{costes}}$. \item Beneficio obtenido el primer año. \stopitemize Best regards: Otared > On 3

[NTG-context] basic issues with formulas

2020-12-03 Thread Pablo Rodriguez
Dear list, math is all Greek to me and I’m experiencing issues when typesetting the most basic inline formulas. \starttext \startitemize[packed] \item Valor actual neto: $beneficios - costes$. \item Beneficio por euro: $\frac{beneficios}{costes}$. \item Beneficio obtenido el primer año

Re: [NTG-context] indentation of item separators

2020-11-09 Thread Sylvain Hubert
e item group altogether? > > Hi Sylvain, > > margin is the option here, not indenting. > > You can see the difference: > > \showframe\showgrid > \starttext > \startitemize[n, packed][indenting=2em] > \item abc > \stopitemize > \startitemize[n,

Re: [NTG-context] indentation of item separators

2020-11-09 Thread Pablo Rodriguez
see the difference: \showframe\showgrid \starttext \startitemize[n, packed][indenting=2em] \item abc \stopitemize \startitemize[n, packed][margin=2em] \item def \stopitemize \startitemize[n, packed][margin=2em,indenting=2em] \item ghi \stopitemize \stoptext I hope it hel

[NTG-context] indentation of item separators

2020-11-09 Thread Sylvain Hubert
Dear List, In the following example, what is indented is the text instead of the numbers. \starttext \startitemize[n, packed][indenting=2em] \item abc \item def \item ghi \stopitemize \stoptext Does anyone know how to indent the whole item group altogether? Thanks

[NTG-context] main text runs in the footnote area

2020-11-09 Thread Pablo Rodriguez
Hans, I have the following sample: \starttext \dorecurse{25}{This is a sentence\footnote{And this is a footnote}. } \startitemize[n, columns, three, packed] \dorecurse{25}{\item This is an item} \stopitemize \input{zapf}\footnote{This is a footnote} \startitemize[n, columns, two

[NTG-context] weird behavior of font.feature.effect

2020-11-07 Thread Sylvain Hubert
fault, effect={width=1.0}}}] \starttext \startitemize[n, packed] \item \switchtobodyfont[face1]\it\dorecurse{100}{a b c } \item \switchtobodyfont[face2]\it\dorecurse{100}{a b c } \item \switchtobodyfont[face3]\it\dorecurse{100}{a b c } \stopitemize \stoptext Could someone ex

[NTG-context] French spacing in ConTeXt

2020-11-04 Thread Tomas Hala
Hi all, the following code works for the default roman family but not for tt-family. \setuplayout[width=30cc,height=70cc,topspace=0cc] \def\sample{\input knuth \par\thinrule\par} \starttext \setuplanguage[en][spacing=packed] \mainlanguage[en] \sample \setuplanguage[en][spacing=broad

Re: [NTG-context] inter-word spacing

2020-10-22 Thread Jano Kula
ions, be it \, \nospace, \thinspace > If one will finetune every space in the paragraph, this could be a way, but it's far from a nice solution. \setuplanguage[en][spacing=packed]. > > This latter especially because I want to avoid some rather ugly spaces > after a period.

Re: [NTG-context] inter-word spacing

2020-10-22 Thread jbf
,stretched], and \setuplanguage[en][spacing=packed]. This latter especially because I want to avoid some rather ugly spaces after a period. Then once I see how things look, I apply {\kerncharacters[-0.025] my text} in particular instances where things need to be tidied up. I have found that -0.025

Re: [NTG-context] Hyphenation pattern for Esperanto

2020-10-14 Thread Hans Hagen
ans. As Mojca pointed out, we need to setup a language: % Artificial Languages: Esperanto \installlanguage [\s!esperanto] [%\c!spacing=\v!packed, %\c!leftsentence=\emdash, %\c!rightsentence=\emdash, %\c!leftsubsentence=\emdash, %\c!rightsubsentence=\emdash, %\c!leftquote=\lowerleft

Re: [NTG-context] packed items not working in latest from 2020.09.03 12:08

2020-09-03 Thread Pablo Rodriguez
On 9/3/20 8:09 PM, Hans Hagen wrote: > On 9/3/2020 4:52 PM, Pablo Rodriguez wrote: >> [...] >> I’m afraid that packed item lists are misbehaving. >> >> Could anyone confirm this? > can you check again (new lmtx) Many thanks for the new upload, Hans. Now packed

Re: [NTG-context] packed items not working in latest from 2020.09.03 12:08

2020-09-03 Thread Hans Hagen
On 9/3/2020 4:52 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \starttext \startitemize[n] \startitem Item\stopitem \startitem Item\stopitem \startitem Item\stopitem \startitem Item\stopitem \stopitemize \startitemize[a, packed

Re: [NTG-context] packed items not working in latest from 2020.09.03 12:08

2020-09-03 Thread Hans Hagen
On 9/3/2020 4:52 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \starttext \startitemize[n] \startitem Item\stopitem \startitem Item\stopitem \startitem Item\stopitem \startitem Item\stopitem \stopitemize \startitemize[a, packed

[NTG-context] packed items not working in latest from 2020.09.03 12:08

2020-09-03 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startitemize[n] \startitem Item\stopitem \startitem Item\stopitem \startitem Item\stopitem \startitem Item\stopitem \stopitemize \startitemize[a, packed] \startitem Item\stopitem \startitem Item\stopitem

[NTG-context] keeping content chunks on same page

2020-08-24 Thread Mike Cooper
sizes of question/answer chunks. \defineenumeration[question] [text=, headstyle=normal, right=., alternative=left, distance=1em, width=fit, before={\testpage[6]\blank[2em]}, after={\blank} ] \defineitemgroup[achoices] [option={packed,a,broad}, left=(, right

Re: [NTG-context] reading a single element from XML

2020-08-16 Thread Pablo Rodriguez
\startxmlsetups xml:chapter \startsection[title=\xmlatt{#1}{id}] \startitemize[packed] \xmlfilter{#1}{**/span[@class='special']/command(xml:special)} \stopitemize \stopsection \stopxmlsetups \startxmlsetups xml:special \startitem\xmlflush{#1}\s

Re: [NTG-context] something between packed and "small"??

2020-07-01 Thread Wolfgang Schuster
Mike Cooper schrieb am 01.07.2020 um 22:30: -Original Message- From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Henning Hraban Ramm Sent: Wednesday, July 01, 2020 1:30 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] something between packed and "

Re: [NTG-context] something between packed and "small"??

2020-07-01 Thread Mike Cooper
> -Original Message- > From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Henning > Hraban Ramm > Sent: Wednesday, July 01, 2020 1:30 PM > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] something between packed and "small"?? &

Re: [NTG-context] something between packed and "small"??

2020-07-01 Thread Henning Hraban Ramm
inch onto the next page. But > if I use packed, the list is way too crammed together and there’s about 2.5 > inches of extra space on the page! > > How do I go smaller than small? Is there a “lightly packed”? Or other > degrees? > > I’ve tried \blank[1mm] and othe

[NTG-context] something between packed and "small"??

2020-07-01 Thread Mike Cooper
Me again... I've got an itemize that needs to fit on one page. I've been using inbetween={\blank[small]} for all the other analogous lists but this one is longer and with that spacing, it goes about one inch onto the next page. But if I use packed, the list is way too crammed to

Re: [NTG-context] spacing before items

2020-06-17 Thread Hans Hagen
lity, etc. \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

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
er is right in front of me > but I can’t find it or figure it out… > > (Please let me know where it is!) > > I want more space before each top-level item.MWE: > > \defineitemgroup[mdshw][levels=2] > > \setupitemgroup[mdshw][1][n] > > \setupitemgroup[mdshw

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
before each top-level item.  MWE: # #  # #\defineitemgroup[mdshw][levels=2] # # \setupitemgroup[mdshw][1][n] # # \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), #stopper=] # #  # #  # #\starttext # #  # #\startsection{First

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
nd it or figure it out… > > (Please let me know where it is!) > > I want more space before each top-level item.MWE: > > \defineitemgroup[mdshw][levels=2] > > \setupitemgroup[mdshw][1][n] > > \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), stoppe

Re: [NTG-context] spacing before items

2020-06-16 Thread jkitz
> On Jun 16, 2020, at 1:51 PM, m...@murchisondrillingschools.com wrote: > > I want more space before each top-level item. MWE: > > \defineitemgroup[mdshw][levels=2] > \setupitemgroup[mdshw][1][n] > \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), sto

Re: [NTG-context] spacing before items

2020-06-16 Thread Tomas Hala
] # # \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), #stopper=] # #  # #  # #\starttext # #  # #\startsection{First Section} # #  # #\startmdshw # # \item Choose the correct answer. # #  \startmdshw # #  \item This one

Re: [NTG-context] spacing before items

2020-06-16 Thread Wolfgang Schuster
] \setupitemgroup[mdshw][1][n] \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), stopper=] \starttext \startsection{First Section} \startsection[title={...}] The first entry uses the "before" value while inner entries use "inbetween". \starttext \setupite

[NTG-context] spacing before items

2020-06-16 Thread Mike Cooper
[1][n] \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), stopper=] \starttext \startsection{First Section} \startmdshw \item Choose the correct answer. \startmdshw \item This one \item This one \item This one \stopmdshw \item Choos

Re: [NTG-context] Retrieving original value of enviroment variable HOME

2020-05-10 Thread context
e \stoptext - prints "??". I also attache the "status-of-update.lua" and the batch "first-setup.bat" (maybe a bit obsolete, but working so far) I used to renew Ctx. Also result of "dir /s" is available here (~84 k packed): http://leteckaposta.cz/30

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Wolfgang Schuster
Kevin Kenan schrieb am 25.04.2020 um 23:30: Ah…thanks for the pointer to \definecoversion. Looks promising. I had also tried: \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed] \starttext \startSteps \item A \sym{k} B\incrementnumber[itemgroup:Steps] \item C \stopSteps \stoptext

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Kevin Kenan
Ah…thanks for the pointer to \definecoversion. Looks promising. I had also tried: \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed] \starttext \startSteps \item A \sym{k} B\incrementnumber[itemgroup:Steps] \item C \stopSteps \stoptext Which is similar to your \txt solution and

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Wolfgang Schuster
Kevin Kenan schrieb am 25.04.2020 um 21:24: I’m trying to create a conditional that changes the symbol used for certain item numbers. Here’s my code that doesn’t work. \define[1]\StepsCommand{\doifelse{#1}{2}{k}{#1}\ignorespaces} \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed

[NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Kevin Kenan
I’m trying to create a conditional that changes the symbol used for certain item numbers. Here’s my code that doesn’t work. \define[1]\StepsCommand{\doifelse{#1}{2}{k}{#1}\ignorespaces} \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed] \setupitemgroup[Steps][each][left=\StepsCommand

Re: [NTG-context] Solution: METAPOST textext() eats my \pars. Was: Setting vertical spacing of lines inside a \framed[align=]

2020-04-25 Thread Gerben Wierda
>> >>> \starttext >>> >>> \framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000, >>> g=0.000, >>> b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm >>> [My]\\Application\\(Component)}} >>>

[NTG-context] METAPOST textext() eats my \pars. Was: Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
t,frame=on,offset=none,width=106.400bp]{\colored[r=0.000, >> g=0.000, >> b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm >> [My]\\Application\\(Component)}} >> >> \stoptext >> >> and if I change the value to 0.6, only the first line b

[NTG-context] METAPOST textext() eats my \pars. Was: Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
t,frame=on,offset=none,width=106.400bp]{\colored[r=0.000, >> g=0.000, >> b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm >> [My]\\Application\\(Component)}} >> >> \stoptext >> >> and if I change the value to 0.6, only the first line b

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
width=106.400bp]{\colored[r=0.000, >>> g=0.000, >>> b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm >>> [My]\\Application\\(Component)}} >>> >>> \stoptext >>> >>> and if I change the value to 0.6, only the first line b

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Wolfgang Schuster
\\(Component)}} \stoptext and if I change the value to 0.6, only the first line break gets packed somewhat. But I can’t get the entire paragraph inside the frame packed. I played around with the placing of setupinterlinespace in that snippet above, but nothing really works so far. At the end of your

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Thomas A. Schmitz
t; > \stoptext > > and if I change the value to 0.6, only the first line break gets packed > somewhat. But I can’t get the entire paragraph inside the frame packed. I > played around with the placing of setupinterlinespace in that snippet above, > but nothing really works so f

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
I want the lines in this frame packed more closely together: \starttext \framed[align=flushright,frame=on,offset=none,width=106.400bp]{\setupinterlinespace[0.9]\colored[r=0.000, g=0.000, b=0.000]{\switchtobodyfont[11.0pt] \rm [My]\\Application\\(Component)}} \stoptext I tried a bit of

Re: [NTG-context] Text around an image

2020-04-17 Thread Fabrice Couvreur
m] > >\define\ItemCommand >{\hskip\zeropoint\relax\autoinsertnextspace} > > \setupitemgroup > [itemize] > [color=black, > style=bold, > distance=\zeropoint] > > \setupitemgroup > [itemize:1] > [option={n,packed,fit,intext}

[NTG-context] Text around an image

2020-04-16 Thread Fabrice Couvreur
} \setupitemgroup [itemize] [color=black, style=bold, distance=\zeropoint] \setupitemgroup [itemize:1] [option={n,packed,fit,intext}, command=\ItemCommand] \setupitemgroup [itemize:2] [lefttext=, righttext=, option={a,text}] \starttext

Re: [NTG-context] Quotation dash issues with semantic markup

2020-01-17 Thread Wolfgang Schuster
riod carried the \quote{broad} spacing to the other side of the (ending) quote dash |=| the dash before \quote{Also} above would be packed on the left and broad on the right. I know this might be a lot trickier to code, and only consider it a bonus. The issue with \type{\removeunwantedspaces} onl

Re: [NTG-context] Quotation dash issues with semantic markup

2019-12-30 Thread Hans Hagen
\quote{broad} spacing to the other side of the (ending) quote dash |=| the dash before \quote{Also} above would be packed on the left and broad on the right. I know this might be a lot trickier to code, and only consider it a bonus. The issue with \type{\removeunwantedspaces} only seems to af

[NTG-context] Quotation dash issues with semantic markup

2019-12-29 Thread Sam May
sure how to start going about the asides. It would also be nice if a quote ending in a period carried the 'broad' spacing to the other side of the (ending) quote dash -- the dash before 'Also' in the examples would be packed on the left and broad on the right. I know this m

Re: [NTG-context] \setupitemgroup[itemize],/setupitemize

2019-12-18 Thread Wolfgang Schuster
he "n" keyword in the same argument as the assignment for the left key which means ConTeXt ignores the keyword because you can't mix both types. The correct setups is: \setupitemgroup[itemize][1][packed,n][width=4em,lef

Re: [NTG-context] \setupitemgroup[itemize],/setupitemize

2019-12-18 Thread Henning Hraban Ramm
ting or is itemize broken? > > > MWE: > % \setupitemize[packed][n,left={Step~},n] > > \setupitemgroup[itemize][1][packed][left={Step~},n] > > \starttext > \startitem > Start with this\dots > \stopitem > \startitem &g

[NTG-context] \setupitemgroup[itemize],/setupitemize

2019-12-18 Thread Willi Egger
Hello everybody, I just wanted to typeset a simple file with a adaptet itemization. Howewer none of the options have effect. Do I miss somehting or is itemize broken? MWE: % \setupitemize[packed][n,left={Step~},n] \setupitemgroup[itemize][1][packed][left={Step~},n] \starttext

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Otared Kavian
] >> >> \setupbackgrounds [page] >> [background=WatermarkOverlay] >> >> %setuptagging[state=stop] >> \setuptagging[state=start] >> >> \setuplanguage [en] >> [spacing=packed] >>

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Rik Kabel
   [en] [spacing=packed] \setupinterlinespace [2.2ex] \definenarrower  [MidOneEm] [middle=1em] \setuplayout [topspace=0.25in,   footerdistance=0in,   height=fit

[NTG-context] LMTXL Tagging and overlay

2019-12-10 Thread Rik Kabel
] [background=WatermarkOverlay] %setuptagging    [state=stop] \setuptagging    [state=start] \setuplanguage   [en] [spacing=packed] \setupinterlinespace [2.2ex] \definenarrower  [MidOneEm] [middle=1em

Re: [NTG-context] packed list only if items > 5

2019-11-15 Thread Hans Hagen
On 11/14/2019 9:07 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \starttext \startitemize[\ifnum\currentnofitems>5 packed\fi] \dorecurse{7} {\startitem\currentitemnumber/\currentnofitems\stopitem} \stopitemize \stoptext Is there any

Re: [NTG-context] packed list only if items > 5

2019-11-14 Thread Tomas Hala
] {\def\startitem##1\stopitem{\incrementcounter[mycounter]}#1} \ifnum \rawcountervalue[mycounter]>\rawcountervalue[minforpacked] \setupitemize[packed]\fi \startitemize#1\stopitemize} \starttext \mystartitemize %normal \dorecurse{2}{\startitem text\stopitem} \stopitem

[NTG-context] packed list only if items > 5

2019-11-14 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startitemize[\ifnum\currentnofitems>5 packed\fi] \dorecurse{7} {\startitem\currentitemnumber/\currentnofitems\stopitem} \stopitemize \stoptext Is there any way to get a packed list if and only if it contains m

Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
, physics, etc.. It should be more generalized and packed into a module though. Kind regards, Thomas % Document Layout \setupcolors[state=start] \setuppapersize[A4][A4] % Typography \setupwhitespace[medium] \setupindenting[no] \setupbodyfont[sans, 11pt] % PDF Output Adjustments \setupinteraction

[NTG-context] Size of itemize symbols

2019-03-16 Thread Wolfgang Schuster
. While I can understand the change to use the text font for the symbols I miss a simple way to switch back to the math font for the symbols, e.g. \usesymbols[math]. \starttext \startitemize[packed] \item First item \item Second item \item Third item \stopitemize \startitemize[packed] \sym{\m

Re: [NTG-context] problem with \sym?

2019-02-04 Thread Wolfgang Schuster
n file /Users/bowen1/Desktop/TestTeX/test-02.tex: ? \setupdirections[bidi=global, method=one]%<—— \defineitemgroup[CList][levels=2] \setupCList[1][n, broad, packed, autointro, repeat, continue] [itemalign=flushright, left={},right={},stopper={.}, margin=0pc, before={\setupinterlinespace[off] \s

Re: [NTG-context] problem with \sym?

2019-02-04 Thread Wolfgang Schuster
Alan Bowen schrieb am 04.02.19 um 16:37: I should have done this originally. Sorry for that. My table of contents is component of a book-project; it is essentially a custom itemization. The following: \defineitemgroup[CList][levels=2] \setupCList[1][n, broad, packed, autointro, repeat

Re: [NTG-context] Works and Doesn't Work

2019-01-18 Thread Wolfgang Schuster
and with a text string works as advertised. Regards dh start of contxt source \definesymbol[5][$\diamond$] \starttext \setupitemgroup[itemize][each][packed][before=\underbar{mae-da },after=\underbar{ato-da}] % WORKS \setupitemgroup[itemize][each][

Re: [NTG-context] How to adjust inter item vertical space

2019-01-18 Thread Wolfgang Schuster
jdh schrieb am 16.01.19 um 10:48: I want to fit a page with an itemized group of items. The normal vertical spacing is to large and the [packed] doesn't give enough seperation between items. I should think that there's a simple way to adjust this with \setupitemize command or

[NTG-context] Works and Doesn't Work

2019-01-17 Thread jdh
tised. Regards dh start of contxt source \definesymbol[5][$\diamond$] \starttext \setupitemgroup[itemize][each][packed][before=\underbar{mae-da },after=\underbar{ato-da}] % WORKS \setupitemgroup[itemize][each][ ][symbol=5]

Re: [NTG-context] How to adjust inter item vertical space

2019-01-16 Thread Otared Kavian
s to large and the [packed] doesn't give enough > seperation between > items. I should think that there's a simple way to adjust this with > \setupitemize command or even with \startitemize. Is there? > > I did try \setupitemize[inbetween=\whitespace[medium]] , but it did

[NTG-context] How to adjust inter item vertical space

2019-01-16 Thread jdh
I want to fit a page with an itemized group of items. The normal vertical spacing is to large and the [packed] doesn't give enough seperation between items. I should think that there's a simple way to adjust this with \setupitemize command or even with \startitemize. Is there?

Re: [NTG-context] setting up itemize

2019-01-03 Thread Taco Hoekwater
r. Hans van der Meer > > >> On 3 Jan 2019, at 10:49, Taco Hoekwater wrote: >> >> It needs ‘each’ instead of an empty group: >> >> \setupitemgroup[itemize][each][3,joinedup,packed][color=blue,inbetween=] >> >> Best wishes, >> Taco >> &

Re: [NTG-context] setting up itemize

2019-01-03 Thread Hans van der Meer
Bedankt Taco. Maar had ik dit kunnen weten? met vriendelijke groet dr. Hans van der Meer > On 3 Jan 2019, at 10:49, Taco Hoekwater wrote: > > It needs ‘each’ instead of an empty group: > > \setupitemgroup[itemize][each][3,joinedup,packed][color=blue,inbetween=] > >

Re: [NTG-context] setting up itemize

2019-01-03 Thread Taco Hoekwater
It needs ‘each’ instead of an empty group: \setupitemgroup[itemize][each][3,joinedup,packed][color=blue,inbetween=] Best wishes, Taco > On 3 Jan 2019, at 10:27, Hans van der Meer wrote: > > I cannot get the general setup macros of itemize right. I suppose I am > missing some cl

Re: [NTG-context] Itemize lists run into floats - how to add additional spacing

2018-12-19 Thread Hans Hagen
emize [packed, autointro] \starttext \startitemize \startitem Foo \startplacefigure [title=Lorem ipsum dolor sit amet consectetur] \externalfigure [hacker] \stopplacefigure Bar \stopitem \dorecurse{15}{%% \startitem Foobar \stopitem } \stopitemize \sto

[NTG-context] Itemize lists run into floats - how to add additional spacing

2018-12-19 Thread Marco Patzer
Hi! The bullet of itemize lists runs into the boxes and caption of floats. How to add spacing so the bullet doesn't touch the float? Example: \setupexternalfigures [location=default] \setupfloat [figure] [default=left] \setupitemize [packed, autointro] \starttext \startit

Re: [NTG-context] Problem installing a new font

2018-11-11 Thread Willi Egger
t; > -- all attachments packed into one .zip -- > > probably one of the basic questions and skills in ConTeXt, but the first case > for me: how to install a (downloaded third-party) font into ConTeXt: > > I downloaded font source files from > https://www.ctan.org/tex-archive/

[NTG-context] Problem installing a new font

2018-11-11 Thread Procházka Lukáš Ing .
Hello, -- all attachments packed into one .zip -- probably one of the basic questions and skills in ConTeXt, but the first case for me: how to install a (downloaded third-party) font into ConTeXt: I downloaded font source files from https://www.ctan.org/tex-archive/fonts/aurical/ and I

Re: [NTG-context] Typesetting abbreviations

2018-10-28 Thread Clyde Johnston
[A8] \starttext Mr. \vrule John Doe Mr\kern-.1em.~\vrule John Doe \setuplanguage [en] [spacing=packed] Mr. \vrule John Doe Mr\kern-.1em.~\vrule John Doe \stoptext Maybe this would be better handled with a macro. Clyde From: Wolfgang Schuster

Re: [NTG-context] Typesetting abbreviations

2018-10-28 Thread Wolfgang Schuster
Doe Mr.\narrownobreakspace\vrule John Doe \blank Mr. \vrule John Doe \setuplanguage [en] [spacing=packed] Mr. \vrule John Doe \stoptext Wolfgang Clyde Johnston schrieb am 27.10.18 um 23:04: What is the correct way to typeset an abbreviation in ConTeXt?  The space after the full stop seems

Re: [NTG-context] Strange behavior with the command \inframed{}

2018-10-23 Thread Fabrice Couvreur
inefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \define\ItemCommand {\hskip\zeropoint\relax\autoinsertnextspace} \setupitemgroup [itemize] [color=black, style=bold, distance=\zeropoint] \setupitemgroup [itemize:1]

Re: [NTG-context] what defines the font size?

2018-10-19 Thread Arthur Reutenauer
Luigi, Many thanks for this information-packed summary, it’s very uselful and I even learned a thing or two :-) Best, Arthur ___ If your question is of interest to others as well

[NTG-context] prevent page break when using blocks

2018-09-27 Thread Jan Willem Flamma
, location=inmargin, alternative=left, headstyle=, way=bychapter, prefixsegments=chapter, prefix=yes] \starttext \startchapter \startbuffer[question] \beginquestion \startquestion Question text \startitemize[a,packed][stopper=,right=)] \item Answer 1 \item Answer 2 \item

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Wolfgang Schuster
e=on,bodyfont=10pt] \startxrow \startxcell[width=2cm] Expression \\ \m{B'(x)} \stopxcell \startxcell \startitemize[packed,a] \startitem \m{B'(x)=-x²+24x-117} \stopitem \stopitemize

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Wolfgang Schuster
topxcell \startxcell \startitemize[packed,a] \startitem \m{B'(x)=-x²+24x-117} \stopitem \stopitemize \stopxcell \startxcell \startitemize[packed,a] \startitem \m{B'(x)=-3x²+48x-117} \stopitem \stopitemize

Re: [NTG-context] Some questions about an extreme table

2018-08-25 Thread Mikael P. Sundqvist
idth=middle] > > \starttext > \startxtable[frame=on,bodyfont=10pt] > \startxrow > \startxcell[width=2cm] > Expression \\ \m{B'(x)} > \stopxcell > \startxcell > \startitemize[packed,a] > \s

[NTG-context] Some questions about an extreme table

2018-08-25 Thread Fabrice Couvreur
xcell \startitemize[packed,a] \startitem \m{B'(x)=-x²+24x-117} \stopitem \stopitemize \stopxcell \startxcell \startitemize[packed,a] \startitem \m{B'(

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
{\color[middlegray]{\itb¿\ }} \define\First{nothing yet} \define\Arg{nothing yet} \setuplanguage[en][spacing=packed] \starttexdefinition unexpanded startBufTest    \bgroup    \dosingleempty\dostartBufTest \stoptexdefinition \starttexdefinition dostartBufTest [#SETUPS]    \doifsomethingelse{#{SETUPS

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Hans Hagen
{nothing yet} \define\Arg{nothing yet} \setuplanguage[en][spacing=packed] \starttexdefinition unexpanded startBufTest   \bgroup   \dosingleempty\dostartBufTest \stoptexdefinition \starttexdefinition dostartBufTest [#SETUPS]   \doifsomethingelse{#{SETUPS}}     {\define\Arg{yes

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-12 Thread Henri Menke
{nothing yet} \define\Arg{nothing yet} \setuplanguage[en][spacing=packed] \starttexdefinition unexpanded startBufTest   \bgroup   \dosingleempty\dostartBufTest \stoptexdefinition \starttexdefinition dostartBufTest [#SETUPS]   \doifsomethingelse{#{SETUPS}}     {\define\Arg{yes

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-12 Thread Aditya Mahajan
{nothing yet} \define\Arg{nothing yet} \setuplanguage[en][spacing=packed] \starttexdefinition unexpanded startBufTest \bgroup \dosingleempty\dostartBufTest \stoptexdefinition \starttexdefinition dostartBufTest [#SETUPS] \doifsomethingelse{#{SETUPS}} {\define\Arg{yes

[NTG-context] How can I remove a blank leading line from a buffer

2018-08-12 Thread Rik Kabel
} \setuplanguage[en][spacing=packed] \starttexdefinition unexpanded startBufTest \bgroup \dosingleempty\dostartBufTest \stoptexdefinition \starttexdefinition dostartBufTest [#SETUPS] \doifsomethingelse{#{SETUPS}} {\define\Arg{yes}} {\define\Arg{no

Re: [NTG-context] How to do an inline itemization?

2018-08-10 Thread Jeong Dal
Dear Wolfgang, > > \starttext > \startitemize[n,packed][stopper=)]% [stopper=,right=)] > \item This is a test for the referencing the formula like\par > \item This is a test for the referencing the formula like\par > \item This is a test for the referencing the formula li

Re: [NTG-context] How to do an inline itemization?

2018-08-10 Thread Wolfgang Schuster
\starttext \startitemize[n,packed][stopper=)]% [stopper=,right=)] \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like. \stopitemize \stoptext Wolfgang Jeong Dal

Re: [NTG-context] Problem with an enumeration

2018-08-01 Thread Fabrice Couvreur
tspace} > > \setupitemgroup > [itemize] > [color=darkred, >distance=0pt] > > \setupitemgroup > [itemize:1] > [option={n,packed,fit,intext}, >command=\ItemCommand] > > \setupitemgroup > [itemize:2] > [lefttext=, >righttext=, >

Re: [NTG-context] Problem with an enumeration

2018-08-01 Thread Wolfgang Schuster
Hi Fabrice, I found the following example in my mail archive. %% \define\ItemCommand {\hskip\zeropoint\relax\autoinsertnextspace} \setupitemgroup [itemize] [color=darkred, distance=0pt] \setupitemgroup [itemize:1] [option={n,packed,fit,intext}, command=\ItemCommand

<    1   2   3   4   5   6   7   8   9   >