Re: [NTG-context] How to get the last item from an XML node

2020-09-22 Thread Denis Maier
Am 22.09.2020 um 09:18 schrieb Taco Hoekwater: On 21 Sep 2020, at 18:31, Denis Maier wrote: Hi struggling again: Shouldn't the code below give me the last element under ? Right now \xmlfilter{#1}{/tr/last()/command(xml:table:tbody:tr)} gives me nothing... (Use case is that I want to

Re: [NTG-context] How to get the last item from an XML node

2020-09-22 Thread Taco Hoekwater
> On 21 Sep 2020, at 18:31, Denis Maier wrote: > > Hi > > struggling again: Shouldn't the code below give me the last element under > ? Right now \xmlfilter{#1}{/tr/last()/command(xml:table:tbody:tr)} > gives me nothing... > > (Use case is that I want to have a frame above the table and

[NTG-context] How to get the last item from an XML node

2020-09-21 Thread Denis Maier
Hi struggling again: Shouldn't the code below give me the last element under ? Right now \xmlfilter{#1}{/tr/last()/command(xml:table:tbody:tr)} gives me nothing... (Use case is that I want to have a frame above the table and one bar below. So I think I should wrap the last line in the

Re: [NTG-context] lpath to select last item

2020-07-08 Thread Pablo Rodriguez
On 7/8/20 11:59 AM, Hans Hagen wrote: > On 7/7/2020 10:46 PM, Pablo Rodriguez wrote: >> [...] >> Which would be the right lpath to select the last item in each list? > This should work but we're one off so i need to fix that. > > \startbuffer[demo] > > >

Re: [NTG-context] lpath to select last item

2020-07-08 Thread Hans Hagen
item inserted %~ \xmlsetsetup{#1}{h2/**/ul/li}{xml:last:item} % nothing changes \xmlsetsetup{#1}{h2/***/ul/li/!ul}{xml:last:item} % shouldn’t be this one? \stopxmlsetups \xmlregistersetup{xml:demo:base} \startxmlsetups xml:document \xmlflush{#1} \stopxmlsetups

[NTG-context] lpath to select last item

2020-07-07 Thread Pablo Rodriguez
\stopbuffer \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document|h2|ul|li}{xml:*} %~ \xmlsetsetup{#1}{ul/li/!ul}{xml:last:item} % nothing changes %~ \xmlsetsetup{#1}{ul/li/!li}{xml:last:item} % blank item inserted %~ \xmlsetsetup{#1}{h2/**/ul/li}{xml:last:item

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Gerben Wierda
> On 1 May 2020, at 13:28, Hans Hagen wrote: > > On 5/1/2020 10:21 AM, Gerben Wierda wrote: >> code it back to a \ ? E.g. something like >>{ ‘\U{XXX}', '\' }, > \utfchar{100} > \Uchar 100 Yes, but the question was: how do I code this in the XML and get it through my

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Gerben Wierda
> On 1 May 2020, at 09:38, Hans Hagen wrote: > > On 5/1/2020 1:44 AM, Gerben Wierda wrote: >>{ ‘\n', ‘\\strut' }, > often a \zwj or \zwno also works ok (has zero dimensions, contraty to strut; > you could also try \crlf I tried \crlf{} and that worked too (the “{}” because I do not

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:45 PM, Gerben Wierda wrote: On 1 May 2020, at 13:28, Hans Hagen wrote: On 5/1/2020 10:21 AM, Gerben Wierda wrote: code it back to a \ ? E.g. something like { ‘\U{XXX}', '\' }, \utfchar{100} \Uchar 100 Yes, but the question was: how do I code this in the XML and get it

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:45 PM, Gerben Wierda wrote: On 1 May 2020, at 13:28, Hans Hagen wrote: On 5/1/2020 10:21 AM, Gerben Wierda wrote: code it back to a \ ? E.g. something like { ‘\U{XXX}', '\' }, \utfchar{100} \Uchar 100 Yes, but the question was: how do I code this in the XML and get it

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 10:21 AM, Gerben Wierda wrote: code it back to a \ ? E.g. something like    { ‘\U{XXX}', '\' }, \utfchar{100} \Uchar 100 - Hans Hagen | PRAGMA ADE Ridderstraat

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:44 AM, Gerben Wierda wrote:    { ‘\n', ‘\\strut' }, often a \zwj or \zwno also works ok (has zero dimensions, contraty to strut; you could also try \crlf Hans - Hans

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
> On 30 Apr 2020, at 22:54, Wolfgang Schuster > wrote: > > Gerben Wierda schrieb am 30.04.2020 um 22:47: >> In normal TeX, when I type >> AapAap >> I get something like >> Aap >> Aap >> But inside a \framed[align=]{} the empty line disappears. How do I get it >> back? >> Minimal example:

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
> On 30 Apr 2020, at 22:51, Henning Hraban Ramm wrote: > > > >> Am 30.04.2020 um 22:47 schrieb Gerben Wierda : >> >> In normal TeX, when I type >> >> AapAap >> >> I get something like >> >> Aap >> >> Aap >> >> But inside a \framed[align=]{} the empty line disappears. How do I get

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
Brilliant! Thank you! > On 30 Apr 2020, at 22:54, Wolfgang Schuster > wrote: > > Gerben Wierda schrieb am 30.04.2020 um 22:47: >> In normal TeX, when I type >> AapAap >> I get something like >> Aap >> Aap >> But inside a \framed[align=]{} the empty line disappears. How do I get it >>

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Wolfgang Schuster
Gerben Wierda schrieb am 30.04.2020 um 22:47: In normal TeX, when I type AapAap I get something like Aap Aap But inside a \framed[align=]{} the empty line disappears. How do I get it back? Minimal example: \starttext TestingTesting \page

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Henning Hraban Ramm
> Am 30.04.2020 um 22:47 schrieb Gerben Wierda : > > In normal TeX, when I type > > AapAap > > I get something like > > Aap > > Aap > > But inside a \framed[align=]{} the empty line disappears. How do I get it > back? Try \framedtext instead; multi line text needs a \vbox, and

[NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
In normal TeX, when I type AapAap I get something like Aap Aap But inside a \framed[align=]{} the empty line disappears. How do I get it back? Minimal example: \starttext TestingTesting \page \framed[align=flushleft]{TestingTesting}

Re: [NTG-context] Item group parentheses

2020-01-07 Thread context
st regards, Lukas On 2019-12-26 20:07, Wolfgang Schuster wrote: Jairo A. del Rio schrieb am 26.12.2019 um 19:55: I'm defining item groups in ConTeXt and I find the following issue: combining the "text" parameter with others automatically disables "left" and "right&qu

Re: [NTG-context] Item group parentheses

2019-12-26 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 26.12.2019 um 19:55: I'm defining item groups in ConTeXt and I find the following issue: combining the "text" parameter with others automatically disables "left" and "right" keys, so numbers always appear enclosed in parentheses.

[NTG-context] Item group parentheses

2019-12-26 Thread Jairo A. del Rio
I'm defining item groups in ConTeXt and I find the following issue: combining the "text" parameter with others automatically disables "left" and "right" keys, so numbers always appear enclosed in parentheses. %What I expect: %I. This ain't right %What I get: %(I) Thi

Re: [NTG-context] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Clyde Johnston
] Setting tabulate table width with \textwidth inside an item group Clyde Johnston schrieb am 27.02.19 um 22:49: > Dear List: > > I have a tabulate table inside an indented item group and I would like > to set the width of the table to the \hbox size of the surrounding > text.  If I

Re: [NTG-context] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Wolfgang Schuster
Clyde Johnston schrieb am 27.02.19 um 22:49: Dear List: I have a tabulate table inside an indented item group and I would like to set the width of the table to the \hbox size of the surrounding text.  If I use \textwidth as a width parameter, the table spills into the right margin (see

[NTG-context] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Clyde Johnston
Dear List: I have a tabulate table inside an indented item group and I would like to set the width of the table to the \hbox size of the surrounding text. If I use \textwidth as a width parameter, the table spills into the right margin (see attached). What is the correct parameter to use

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

2019-01-18 Thread Wolfgang Schuster
with \startitemize. Is there? I did try \setupitemize[inbetween=\whitespace[medium]] , but it didn't do much or seemed to be applied to every line and not just between item and 'medium' doesn't give much information. Is there some way to specify a measurement to seperate between items such as .5cm

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

2019-01-16 Thread Otared Kavian
Hi, You can define your own white space and then attribute it to each item, as in the following: \setupwhitespace[big] \startsetups[mywhitespace] \setupwhitespace[small] \setupblank[small] \stopsetups \setupitemize[each][inner=\directsetup{mywhitespace}] \starttext \input knuth

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

2019-01-16 Thread jdh
\setupitemize[inbetween=\whitespace[medium]] , but it didn't do much or seemed to be applied to every line and not just between item and 'medium' doesn't give much information. Is there some way to specify a measurement to seperate between items such as .5cm for example? Thanks

Re: [NTG-context] line break after \item, but not \stopitem

2018-10-09 Thread Wolfgang Schuster
Hans Hagen schrieb am 09.10.18 um 10:28: inbetween is actually meant for spacing so there is logic deep down that put is between seccessive items depending on curcumstances hard to beat heuristics Whether the second level \startitemize uses before or inbetween depends on the

Re: [NTG-context] line break after \item, but not \stopitem

2018-10-09 Thread Damien Thiriet
Hans, Thank you for your answer. > you can do this: > > \setuppapersize[S6] > \setupitemize[1][before={\page}] > > \starttext > > \startitemize[n] > \startitem \input knuth \stopitem > \stopitemize > > \startitemize[continue] > \startitem \input ward >\startitemize[a] >

Re: [NTG-context] line break after \item, but not \stopitem

2018-10-09 Thread Hans Hagen
On 10/9/2018 9:21 AM, Damien Thiriet wrote: Hi list, I am designing a presentation for my pupils (some lng exercices to learn LibreOfficeDraw by doing). To be sure that they don't misview any question, I decided to force a pagebreak after each first level item. A question on TSE gave me

[NTG-context] line break after \item, but not \stopitem

2018-10-09 Thread Damien Thiriet
Hi list, I am designing a presentation for my pupils (some lng exercices to learn LibreOfficeDraw by doing). To be sure that they don't misview any question, I decided to force a pagebreak after each first level item. A question on TSE gave me the proper key to \setupitemize, but I am facing

[NTG-context] Align an item with the top of a picture

2017-04-17 Thread Fabrice Couvreur
Hello, How to align item a. With the top of the picture? Thank you Fabrice \useMPlibrary[dum] \starttext \startlinecorrection[blank] \startmidaligned \startcombination[2*1] {\externalfigure[dummy][height=6cm]}{} {\framedtext[location=hang,width=5cm,frame=off]{\startitemize[a] \item \item \item

Re: [NTG-context] two framed item lists side by side

2017-03-01 Thread Pablo Rodriguez
ize[each][packed,joinedup,n] [stopper=.~,itemalign=flushright] \starttext \startxtable[split=yes, option=stretch] \startxrow \startxcell \startitemize \item In The Flesh? 3:19 \item The Thin Ice 2:29 \item Another Brick In The Wall (Part 1)3:09 \it

[NTG-context] two framed item lists side by side

2017-02-09 Thread Csikos Bela
\startcombination[2] {\startframedtext \startitemize \item In The Flesh? 3:19 \item The Thin Ice 2:29 \item Another Brick In The Wall (Part 1)3:09 \item The Happiest Days Of Our Lives1:50 \stopitemize \stopframedtext }{}{ \startframedtext \startitemize \item Hey You 4:41 \item

[NTG-context] item list: indent only first 2 or 3 lines

2016-03-16 Thread Peter Münster
Hi, I would like to produce an item list like this: - bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaa bla bla bla bla bla bla bla bla bla

Re: [NTG-context] Awesome Fonts in item lists

2015-11-04 Thread Mica Semrick
se Font Awesome Icons in ConTeXt, for >example >> as symbols in an item list. >I forgot to give a link for those who doesn't know Font Awesome: >https://fortawesome.github.io/Font-Awesome/cheatsheet/ > >-- >Romain Diss >_

Re: [NTG-context] Awesome Fonts in item lists

2015-11-04 Thread Romain Diss
Hi, >> is there a simple way to use Font Awesome Icons in ConTeXt, for >> example as symbols in an item list. > Sure, you can grab the otf version of font awesome and load it like > any other font. Thank you for the response. The problem is that my text editor use a font th

[NTG-context] Awesome Fonts in item lists

2015-11-04 Thread Romain Diss
Hi all, I'm not a font expert with ConteXt so maybe my question is trivial but is there a simple way to use Font Awesome Icons in ConTeXt, for example as symbols in an item list. Thanks in advance. All the best. -- Romain Diss

Re: [NTG-context] Awesome Fonts in item lists

2015-11-04 Thread Romain Diss
> I'm not a font expert with ConteXt so maybe my question is trivial but > is there a simple way to use Font Awesome Icons in ConTeXt, for example > as symbols in an item list. I forgot to give a link for those who doesn't know Font Awesome: https://fortawesome.github.io/Font-Awesome/c

Re: [NTG-context] list with individual item indications

2015-10-26 Thread Wolfgang Schuster
dr. Hans van der Meer <mailto:havdm...@ziggo.nl> 25. Oktober 2015 um 10:46 I want to typeset a series of items in the itemize-list structure. But not numbered 1. 2. etc, but each item a separate indication, in fact in this case years. In \startitemize \startitem .. \stopitem .. \stopite

[NTG-context] list with individual item indications

2015-10-25 Thread dr. Hans van der Meer
I want to typeset a series of items in the itemize-list structure. But not numbered 1. 2. etc, but each item a separate indication, in fact in this case years. In \startitemize \startitem .. \stopitem .. \stopitemize I am not able to realize this and the ConTeXt Wiki on these commands didn't

[NTG-context] Create an item marker with a counter with Metapost

2014-11-10 Thread Fabrice Couvreur
; \stopuseMPgraphic \definesymbol[itemize:fuzzy][\useMPgraphic{itemize:fuzzy}] \setupitemize[1][symbol=itemize:fuzzy] \starttext \startitemize \item \input knuth \item \input knuth \stopitemize \stoptext ___ If your

Re: [NTG-context] Create an item marker with a counter with Metapost

2014-11-10 Thread Alan BRASLAU
On Mon, 10 Nov 2014 19:18:20 +0100 Fabrice Couvreur fabrice1.couvr...@gmail.com wrote: Hi, With the book Metafun I created a marker with metapost. How to add a counter ? Best regards, Fabrice The puzzler is for you to understand why I only increment by 1/2 ;-) Perhaps someone else can

Re: [NTG-context] Create an item marker with a counter with Metapost

2014-11-10 Thread Wolfgang Schuster
) randomized 2pt; pickup pencircle scaled 1pt; fill p withcolor green; draw p withcolor blue; \stopuseMPgraphic \definesymbol[itemize:fuzzy][\useMPgraphic{itemize:fuzzy}] \setupitemize[1][symbol=itemize:fuzzy] \starttext \startitemize \item \input knuth \item \input knuth \stopitemize

Re: [NTG-context] Create an item marker with a counter with Metapost

2014-11-10 Thread Alan BRASLAU
On Mon, 10 Nov 2014 19:53:30 +0100 Wolfgang Schuster schuster.wolfg...@gmail.com wrote: You can use the visualcounter module, the documentation is included in the package or you download it from the github [1] page. [1] https://github.com/adityam/visualcounter Indeed as also used in the

Re: [NTG-context] Create an item marker with a counter with Metapost

2014-11-10 Thread Aditya Mahajan
; path p; p := fullcircle xyscaled (u,u) randomized 2pt; pickup pencircle scaled 1pt; fill p withcolor green; draw p withcolor blue; \stopuseMPgraphic \definesymbol[itemize:fuzzy][\useMPgraphic{itemize:fuzzy}] \setupitemize[1][symbol=itemize:fuzzy] \starttext \startitemize \item \input knuth \item

Re: [NTG-context] Create an item marker with a counter with Metapost

2014-11-10 Thread Fabrice
Hi, Thank you for all your suggestions, especially for the beautiful work of adityam. In fact, you do a fantastic job all. Fabrice ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] indentnext=no and \item

2014-10-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupindenting[medium, always] \starttext \startitemize[a, indentnext=no] \item This is not indented. This shouldn’t be indented, but it is. \stopitemize \stoptext How can I get that the paragraphs other than the first

Re: [NTG-context] indentnext=no and \item

2014-10-19 Thread Wolfgang Schuster
Am 19.10.2014 um 21:10 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \setupindenting[medium, always] \starttext \startitemize[a, indentnext=no] \item This is not indented. This shouldn’t be indented, but it is. \stopitemize

Re: [NTG-context] Special look of \item

2014-05-30 Thread Procházka Lukáš Ing . - Pontex s . r . o .
than the latest Ctx beta!) Anyway, wikified using an image: http://wiki.contextgarden.net/Command/item Best regards, Lukas Aditya -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 241 096

Re: [NTG-context] Special look of \item

2014-05-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thanks a lot, that gave me a hint! Finally I'm using: \define[1]\ItemCommand{\hangindent=1.5in\relax\simplealignedbox{1.5in}{flushleft}{#1\hss--- }\ignorespaces} \setupitemize[command=\ItemCommand] \starttext \startitemize \item{Ward} \input ward \input ward \item

Re: [NTG-context] Special look of \item

2014-05-29 Thread Aditya Mahajan
BTW: I tried to wikify but the result differs from that I'm getting with the latest beta (attached to this mail); so I wikified nothing. The wiki uses an old context version. You should try the example with context mode=mkiv source=yes ... /context If not, post the code and upload the

[NTG-context] Special look of \item

2014-05-28 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is there a way how to achieve the following look of items inside \staritemize ... \stopitemize: |-- textwidth --| * Item - abc def ghi jlk mn op qrst uw xyz Some other text that belongs to the item. * Longer item - abc def ghi jlk mn op

Re: [NTG-context] Special look of \item

2014-05-28 Thread Wolfgang Schuster
Am 28.05.2014 um 15:54 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, is there a way how to achieve the following look of items inside \staritemize ... \stopitemize: |-- textwidth --| * Item - abc def ghi jlk mn op qrst uw xyz Some

[NTG-context] Continuous Item Numbering throughout an Entire Document

2014-05-08 Thread Dr Malte Stien
? \startitemize[n] \item bar \item faz \stopitemize[n] \startitemize[n, continue] \item foo \item bla \stopitemize[n] Thank you, Malte. Dr Malte Stien | Chief Technology Officer | SmartWard Pty Ltd E: malte.st...@smartward.com.au | W: www.smartward.com.au P: +61 (0)2 6230 9477 | M: +61 (0)413

Re: [NTG-context] Continuous Item Numbering throughout an Entire Document

2014-05-08 Thread Mikael P. Sundqvist
restarts at the beginning of every chapter. Is there a way that can be avoided? \startitemize[n] \item bar \item faz \stopitemize[n] \startitemize[n, continue] \item foo \item bla \stopitemize[n] Thank you, Malte. Dr Malte Stien | Chief Technology Officer | SmartWard Pty

[NTG-context] Continuous Item Numbering throughout an Entire Document

2014-05-07 Thread Malte Stien
? \startitemize[n] \item bar \item faz \stopitemize[n] \startitemize[n, continue] \item foo \item bla \stopitemize[n] Thank you, Malte. -- “The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what

Re: [NTG-context] Continuous Item Numbering throughout an Entire Document

2014-05-07 Thread Wolfgang Schuster
at the beginning of every chapter. Is there a way that can be avoided? \startitemize[n] \item bar \item faz \stopitemize[n] \startitemize[n, continue] \item foo \item bla \stopitemize[n] 1. Show complete examples and not only code snippets. 2. The \stopitemize command has *no* argument. 3

Re: [NTG-context] wider item numbering in toc

2013-12-07 Thread Wolfgang Schuster
Am 06.12.2013 um 21:04 schrieb H. van der Meer h.vanderm...@uva.nl: \define[1]\ChapterListNumber {\simplealignedbox{\listparameter{width}}{flushright}{#1}} \setuplist[chapter][width=2em,distance=1em,numbercommand=\ChapterListNumber] This now gives a toc looking the way I like. May I

[NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
In the table of contents my items are numbers 1, 2, etc. At the number the aligning is wrong, the tens are shifted to the right. I tried to remedy with a setup: \setupitemgroup[itemize][each][5,autointro][…] But changing width, distance, textdistance, itemalign do not have effect on the toc.

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread Wolfgang Schuster
Am 06.12.2013 um 13:53 schrieb H. van der Meer h.vanderm...@uva.nl: In the table of contents my items are numbers 1, 2, etc. At the number the aligning is wrong, the tens are shifted to the right. I tried to remedy with a setup: \setupitemgroup[itemize][each][5,autointro][…] But changing

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
The table of contents results from: \startfrontmatter \input front \let\ChapterTOC\relax % Only then chapters typeset !? \completecontent \stopfrontmatter The table of contents is typeset from the completecontent, so I guess the answer to your question

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread Wolfgang Schuster
Am 06.12.2013 um 14:59 schrieb H. van der Meer h.vanderm...@uva.nl: The table of contents results from: \startfrontmatter \input front \let\ChapterTOC\relax % Only then chapters typeset !? \completecontent \stopfrontmatter The table of contents is

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
Which numbers are wrong, the section numbers or the page numbers?The chapter numbers. See the jpg below. The 10 with its separator is too far to the right. Hans van der Meer On 6 dec. 2013, at 15:13, Wolfgang Schuster schuster.wolfg...@gmail.com wrote:Am 06.12.2013 um 14:59 schrieb H. van der

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread Wolfgang Schuster
Am 06.12.2013 um 17:32 schrieb H. van der Meer h.vanderm...@uva.nl: Which numbers are wrong, the section numbers or the page numbers? The chapter numbers. See the jpg below. The 10 with its separator is too far to the right. This is normal because the numbers are aligned on the left

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
Indeed, \setuplist[chapter][width=3em] makes the chapternumber set in a wider field. But the alignment is as bad as it was: flushleft, i.e. the 1 of chapter 10 still aligns with the units from the lower chapters instead of aligning to the zero. I looked up \setuplist in the command catalogue

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread Wolfgang Schuster
Am 06.12.2013 um 20:20 schrieb H. van der Meer h.vanderm...@uva.nl: Indeed, \setuplist[chapter][width=3em] makes the chapternumber set in a wider field. But the alignment is as bad as it was: flushleft, i.e. the 1 of chapter 10 still aligns with the units from the lower chapters instead

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
\define[1]\ChapterListNumber {\simplealignedbox{\listparameter{width}}{flushright}{#1}} \setuplist[chapter][width=2em,distance=1em,numbercommand=\ChapterListNumber] This now gives a toc looking the way I like. May I lay at your foot a plea for a change/additional parameter here?

Re: [NTG-context] item bullet processing / font problem

2013-06-19 Thread Wolfgang Schuster
Am 19.06.2013 um 01:10 schrieb hwit...@gmail.com: The result of adding: \definetypeface[test][rm][serif][latin-modern][default] \definetypeface[test][mm][math] [latin-modern][default] \setupbodyfont[test] Make no difference whatsoever. Sorry, but I can't typeset math unless various

Re: [NTG-context] item bullet processing / font problem

2013-06-19 Thread Hans Hagen
On 6/19/2013 1:23 AM, hwit...@gmail.com wrote: Hans Hagen pra...@wxs.nl wrote: On 6/18/2013 1:38 PM, hwit...@gmail.com wrote: Aditya, thanks for the information adding \setmathfont[modern] It fixed the problem for the default bullet symbols. But, it did not fix the case where I'm

Re: [NTG-context] item bullet processing / font problem

2013-06-19 Thread hwitloc
Thank you Hans and Wolfgang for all your advice and assistance. I will learn how to and update to a newer standalone version. Regads Hans Hagen pra...@wxs.nl wrote: ... .. . Good question. How should I go about finding the answer to this? Updated all TeXLive 2011 a week ago. that one

Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread Hans Hagen
On 6/18/2013 4:23 AM, Aditya Mahajan wrote: Perhaps we need to add a FAQ on the wiki for this error (and maybe change the default symbolset to text symbols rather than math symbols) A follow up on the lm / texgyre project will add the most relevant symbols to the text fonts (for this

Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread hwitloc
][$\diamond$] \starttext \startitemize[5,columns,unpacked,two,broad] \item 此の行にbulletを打つ。 \item One more column for good measure \item 此れは何処に置かれるでしょうか \stopitemize \stoptext (bullet-problem.tex ConTeXt ver

Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread Hans Hagen
On 6/18/2013 1:38 PM, hwit...@gmail.com wrote: Aditya, thanks for the information adding \setmathfont[modern] It fixed the problem for the default bullet symbols. But, it did not fix the case where I'm trying to use the $\diamond$ symbol as the bullet, and compile time errors occur.

Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread Wolfgang Schuster
Am 18.06.2013 um 23:41 schrieb Hans Hagen pra...@wxs.nl: On 6/18/2013 1:38 PM, hwit...@gmail.com wrote: Aditya, thanks for the information adding \setmathfont[modern] It fixed the problem for the default bullet symbols. But, it did not fix the case where I'm trying to use the

Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread hwitloc
The result of adding: \definetypeface[test][rm][serif][latin-modern][default] \definetypeface[test][mm][math] [latin-modern][default] \setupbodyfont[test] Make no difference whatsoever. Sorry, but I can't typeset math unless various parameters have been set. This is normally done by

Re: [NTG-context] item bullet processing / font problem

2013-06-18 Thread hwitloc
error on line 19 in file bullet-problem.tex: Math error: parameter \Umathquad\displaystyle is not set ... and l.19\item 此 の行にbulletを打つ。 Sorry, but I can't typeset math unless various parameters have been set. This is normally done by loading special

[NTG-context] item bullet processing / font problem

2013-06-17 Thread hwitloc
Setting the main font to ipaexm for Japanese characters, causes the sample document below to fail being typest properly. The $\diamond$ symbol I specified as an item bullet does not get typeset and where is should be is blank. Though not shown in this example, the default set is also

Re: [NTG-context] item bullet processing / font problem

2013-06-17 Thread Aditya Mahajan
On Tue, 18 Jun 2013, hwit...@gmail.com wrote: Setting the main font to ipaexm for Japanese characters, causes the sample document below to fail being typest properly. The $\diamond$ symbol I specified as an item bullet does not get typeset and where is should be is blank. Though not shown

[NTG-context] How to get bolder and larger item symbol?

2012-10-15 Thread Marcin Borkowski
I'd like to have the number (and dot) in an itemize in boldface and larger (say, \bf\tfa). What do I do? \startitemize[n][symstyle=bold] didn't work. Why? TIA -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University

Re: [NTG-context] How to get bolder and larger item symbol?

2012-10-15 Thread Aditya Mahajan
On Mon, 15 Oct 2012, Marcin Borkowski wrote: I'd like to have the number (and dot) in an itemize in boldface and larger (say, \bf\tfa). What do I do? \startitemize[n][symstyle=bold] didn't work. Why? \symstyle is for enteries defined using \sym. For the item symbol use the style key

Re: [NTG-context] Problem with \inmargin on \item lines

2012-05-02 Thread Hans Hagen
On 2-5-2012 06:33, Malte Stien wrote: Hi everyone, I am experiencing a problem with \inmargin{some text} in \itemized lists. I am using them a lot in my documents, and it is kind of annoying. It appears that if one uses the \inmargin macro just prior to the \item macro, the in-margin text

Re: [NTG-context] Problem with \inmargin on \item lines

2012-05-02 Thread Rogers, Michael K
Hi, It is not a bug. It is standard TeX: a space counts after } and is ignored immediately after a control sequence such as \item. To override either, you have to be explicit, \ignorespaces as Hans suggested in your case and \ (backslash-space) in the other to put a space in. My preferred

[NTG-context] Problem with \inmargin on \item lines

2012-05-01 Thread Malte Stien
Hi everyone, I am experiencing a problem with \inmargin{some text} in \itemized lists. I am using them a lot in my documents, and it is kind of annoying. It appears that if one uses the \inmargin macro just prior to the \item macro, the in-margin text is typeset against the previous line

Re: [NTG-context] \phantom{\item ... }

2012-04-29 Thread Hans Hagen
On 27-4-2012 22:04, Troy Henderson wrote: \starttext \startitemize \item Foo \phantom{\item Bar} \item Boo \stopitemize \stoptext \starttext \startitemize \item Foo \starteffect[hidden] \item Bar \stopeffect \item Boo

Re: [NTG-context] \phantom{\item ... }

2012-04-28 Thread Troy Henderson
Thanks Peter. That works just fine. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] \phantom{\item ... }

2012-04-27 Thread Troy Henderson
Using \phantom to hide an itemized item does not reserve the (vertical) space for the item as I expect. That is, in the following example \starttext \startitemize \item Foo \phantom{\item Bar} \item Boo \stopitemize \stoptext the second item is hidden, but in fact

Re: [NTG-context] \phantom{\item ... }

2012-04-27 Thread Peter Münster
On Fri, Apr 27 2012, Troy Henderson wrote: the second item is hidden, but in fact, the space for that item has not been allocated at all. Did you try the methods here: http://wiki.contextgarden.net/Hiding_Content ? Why is this, and more importantly to me, how can I get the space allocated

Re: [NTG-context] Increment an item number?

2012-02-14 Thread Otared Kavian
Hi Alasdair, Maybe the following gives you what you want? \starttext \startitemize[n] \item First question \phantom{\item } \item Third question \phantom{\item } \item Fifth question \item Sixth question \stopitemize \stoptext Best regards: OK On 14 févr. 2012, at 06:27, Alasdair McAndrew

Re: [NTG-context] Increment an item number?

2012-02-14 Thread Hans Hagen
On 14-2-2012 13:39, Otared Kavian wrote: \starttext \startitemize[n] \item First question \phantom{\item } \item Third question \phantom{\item } \item Fifth question \item Sixth question \stopitemize \stoptext or something \starttext \startitemize[n] \item First question \incrementnumber

Re: [NTG-context] Increment an item number?

2012-02-14 Thread Thomas A. Schmitz
On 2/14/12 1:48 PM, Hans Hagen wrote: \starttext \startitemize[n] \item First question \phantom{\item } \item Third question \phantom{\item } \item Fifth question \item Sixth question \stopitemize \stoptext or something \starttext \startitemize[n] \item First question \incrementnumber

Re: [NTG-context] Increment an item number?

2012-02-14 Thread Alasdair McAndrew
have only rarely to leave out an answer, and the small amount of bookkeeping required is not at all onerous. Thanks again, Alasdair On Wed, Feb 15, 2012 at 3:27 AM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On 2/14/12 1:48 PM, Hans Hagen wrote: \starttext \startitemize[n] \item

[NTG-context] Increment an item number?

2012-02-13 Thread Alasdair McAndrew
What is the ConTeXt version of the LaTeX \addtocounter{enumi}{1} ? I want to increment my numbering in an itemize environment, so that the list is typeset as 1. First item 2. Next item 3. Another item 5. Yet another 6. And so on I'm typing out solutions to questions in some student notes

[NTG-context] location of item seperator in simpleslides

2012-01-09 Thread dalyoung
Hi, I used rainbowstripe in SimpleSlides module today and I found that the item seperater locates in (or at) the margin. I thought that it is set inmargin or atmargin. I'd like to know how to clear this setting. Thank you for reading. Best regards, Dalyoung

[NTG-context] Offsetting the Item Symbol

2011-12-27 Thread Emmanuel Asante
Hi All, I would like to offset itemized lists including the item symbol itself and I cannot figure out how to achieve that. I have looked at the setupitemize options but I did not find any option that does what I want. Any help in doing this will be very much appreciated. Thanks, Emmanuel

Re: [NTG-context] Offsetting the Item Symbol

2011-12-27 Thread Wolfgang Schuster
Am 27.12.2011 um 21:33 schrieb Emmanuel Asante: Hi All, I would like to offset itemized lists including the item symbol itself and I cannot figure out how to achieve that. I have looked at the setupitemize options but I did not find any option that does what I want. Any help in doing

Re: [NTG-context] Offsetting the Item Symbol

2011-12-27 Thread Otared Kavian
Hi Emmanuel, Is this what you want? Probably you can adapt the key « distance » to obtain what you want: \showframe \starttext %\startitemize[n][width=3cm,itemalign=flushright,distance=1em] \startitemize[n][itemalign=flushright,distance=1em,stopper={)},style={bold}] \dorecurse{12}{\item test

Re: [NTG-context] Offsetting the Item Symbol

2011-12-27 Thread Emmanuel Asante
Thanks, Wolfgang. Your solution is exactly what I wanted. On Tue, Dec 27, 2011 at 1:58 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 27.12.2011 um 21:33 schrieb Emmanuel Asante: Hi All, I would like to offset itemized lists including the item symbol itself and I cannot

Re: [NTG-context] Offsetting the Item Symbol

2011-12-27 Thread Emmanuel Asante
\starttext %\startitemize[n][width=3cm,itemalign=flushright,distance=1em] \startitemize[n][itemalign=flushright,distance=1em,stopper={)},style={bold}] \dorecurse{12}{\item test} \stopitemize \stoptext Best regards: OK On 27 déc. 2011, at 21:33, Emmanuel Asante wrote: Hi All, I would like

[NTG-context] Item-referencing broken in latest beta

2011-10-15 Thread Andreas Harder
Hi, here is a test file: \startcomponent test \startitemize[n] \item[itm:1] test \stopitemize In \in{item}[itm:1] \stopcomponent and the relevant log excerpt: references itm:1={ { [error]=unknown inner, [inner]=itm:1, [reference]=itm:1, }, [n]=1, [prefix]=test

  1   2   3   >