[NTG-context] Hbox error with itemized list on second page

2024-04-30 Thread Ross Schulman
ic{TECH} \startlines Rust Javascript \letterampersand\space Typescript Linux Administration Google and Microsoft Office Suites \stoplines \stopmarginblock \setupalign[flushleft] \topic{EXPERIENCE} \starttimeline \sym{2021--Now}\color[forestgreen]{Lorem Ipsum Foundation}\hfill \color[darkgrey]{\tfx

[NTG-context] Re: QR Code

2024-04-29 Thread Henning Hraban Ramm
he OS (to Sonoma) and my homebrew cellar (to zint 2.13.0) while keeping a ConTeXt version from 2022 which compiled the barcodes perfectly fine before these updates. This being said, the newer ConTeXt version doesn't resolve the issue. Observations: 1) Zint (and Inkscape) is in my PATH and cor

[NTG-context] Re: QR Code

2024-04-28 Thread Benjamin Buchmuller
the issue. Observations: 1) Zint (and Inkscape) is in my PATH and correctly sym-linked as specified in the wiki (~/tex/texmf-osx-64/bin/lib/luametatex/zint/libzint.so <http://libzint.so/>). However, the library was (still) not fount after mtxrun --generate [This seems an odd, but unrelated pr

[NTG-context] Re: Very strange error:

2023-08-14 Thread Wolfgang Schuster
Xavier B. schrieb am 15.08.2023 um 00:03: Now     - \startexercici[]{}  --> \startexercici[reference=...,title=...] with LMTX this \startitemize \sym{\in[REFERENCE]} \stopitemize does not work. You have to provide a example for the error because it works for me. \startt

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
Now > >     - \startexercici[]{}  --> > \startexercici[reference=...,title=...] > with LMTX this \startitemize \sym{\in[REFERENCE]} \stopitemize does not work. Some change here too? Thanks,

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
empresari compràs 5 mà quines més, quants llibres podrà imprimir al cap del mes? \stopexercici \par \startexercici [exercici:proporcionalitat-directa-antic-16]{taronja} Una bossa de taronges de 3 kg costa 5,82 €. Calculeu quant costarà una bossa de 5 kg. \stopexercici \par \startexer

[NTG-context] Very strange error:

2023-08-14 Thread Xavier B.
ici:proporcionalitat-directa-antic-22]{Rajoles de xocolata} Quina rajola surt més bé de preu? \\par \\placefigure [here] [fig:xocolata] {Ofertes de xocolata} {\\externalfigure [figs/proporcionalitat-numerica-vs-xocolata.jpeg]} \\par \\stopexercici \\par \\page [yes] \\subject {Solucions} \\par

[NTG-context] Re: Fira Math: goodies needed?

2023-07-23 Thread Leah Neukirchen
gt;> \stoptext >> >> >> Meanwhile, when I use LaTeX, the 0 is moved to the left and close to >> the integral sign: >> >> >> \documentclass{article} >> \usepackage{amsmath} >> \usepackage[mathrm=sym]{unicode-math} >> \setmathfont{Fira Math} >> >

[NTG-context] Re: Fira Math: goodies needed?

2023-07-22 Thread Mikael Sundqvist
> > \documentclass{article} > \usepackage{amsmath} > \usepackage[mathrm=sym]{unicode-math} > \setmathfont{Fira Math} > > \begin{document} > \[ > \int_0^1 e^x > \] > \end{document} > > > In both cases > /opt/texlive/2023/texmf-dist/fonts/opentype/public/

[NTG-context] Fira Math: goodies needed?

2023-07-21 Thread Leah Neukirchen
rmula \int_0^1 e^x \stopformula \stoptext Meanwhile, when I use LaTeX, the 0 is moved to the left and close to the integral sign: \documentclass{article} \usepackage{amsmath} \usepackage[mathrm=sym]{unicode-math} \setmathfont{Fira Math} \begin{document} \[ \int_0^1 e^x \] \end{document} In

Re: [NTG-context] Mathematical MetaFun Mania

2022-12-15 Thread Hans Hagen via ntg-context
(y1,y2) - ExHeight/2 -delta; else : z1 = 0.5[ulcorner pa,urcorner pa] shifted (stemshiftfrom, ExHeight/4) ; z2 = 0.5[ulcorner pb,urcorner pb] shifted (stemshiftto,ExHeight/4) ; y3 = max(y1,y2) + ExHeight/2 +delta; fi ; if na = nb : % Check that positions are on the sa

[NTG-context] Mathematical MetaFun Mania

2022-12-14 Thread Gavin via ntg-context
orner pa] shifted (stemshiftfrom, ExHeight/4) ; z2 = 0.5[ulcorner pb,urcorner pb] shifted (stemshiftto,ExHeight/4) ; y3 = max(y1,y2) + ExHeight/2 +delta; fi ; if na = nb : % Check that positions are on the same page pickup pencircle scaled 0.6pt ; if product = "sym&q

Re: [NTG-context] Proper formatting of itemized bullets in ConTeXt

2022-04-12 Thread śrīrāma via ntg-context
xample \defineitemgroup [pitemize] [command=\Word] \define\citem{% \incrementnumber[itemgroup:pitemize]% \sym{\symbol[\currentitemgroupsymbol]}% \groupedcommand{}{,}% } \define\pitem{% \incrementnumber[itemgroup:pitemize]% \sym{\symbol[\currentitemgroupsymbol]}%

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Hans Hagen via ntg-context
installed in the ArchLinux aur package for luametatex. https://aur.archlinux.org/packages/luametatex/ Earlier, I was just sym-linking to the modules installed by context-minimals-git package (which I also maintain). However, some packages there were out of date (in particular pgf/tikz). The

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Aditya Mahajan via ntg-context
stalled in the ArchLinux aur package > > > for luametatex. > > > > > > https://aur.archlinux.org/packages/luametatex/ > > > > > > Earlier, I was just sym-linking to the modules installed by > > > context-minimals-git package (which I also mai

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Michal Vlasák via ntg-context
> https://aur.archlinux.org/packages/luametatex/ > > > > Earlier, I was just sym-linking to the modules installed by > > context-minimals-git package (which I also maintain). However, some > > packages there were out of date (in particular pgf/tikz). The new PKGBUILD >

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread kaddour kardio via ntg-context
uametatex. > > > > https://aur.archlinux.org/packages/luametatex/ > > > > Earlier, I was just sym-linking to the modules installed by > context-minimals-git package (which I also maintain). However, some > packages there were out of date (in particular pgf/tikz). The

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Hans Hagen via ntg-context
On 12/15/2021 6:22 PM, Aditya Mahajan via ntg-context wrote: Hi all, I am changing the way modules are installed in the ArchLinux aur package for luametatex. https://aur.archlinux.org/packages/luametatex/ Earlier, I was just sym-linking to the modules installed by context-minimals-git

[NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Aditya Mahajan via ntg-context
Hi all, I am changing the way modules are installed in the ArchLinux aur package for luametatex. https://aur.archlinux.org/packages/luametatex/ Earlier, I was just sym-linking to the modules installed by context-minimals-git package (which I also maintain). However, some packages there were

[NTG-context] Orphan issue with \startitemize

2020-11-26 Thread Bruce Horrocks
%\dorecurse{32}{ ~ \par } %\dorecurse{33}{ ~ \par } \dorecurse{34}{ ~ \par } The following items are blah blah blsh: \startitemize \sym{-} \Lorem \sym{-} \Lorem \sym{-} \Lorem \sym{-} \Lorem \stopitemize \stoptext I find that \dorecurse{32} fits two items on the bottom of the first page and two at

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Otared Kavian
27.1b instead >>>> of 27.1 and 27.2. It's not a combination - they are separate figures on >>>> different pages. >>>> >>>> I've experimented with the options I can see, but it's not obvious if >>>> there is a facility to

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
of the equivalent of the old \sym{symbol} command that used to work as a way to override a single item in an otherwise sequential list. I guess there's a brute force method of setting up a new type of figure with the label "Figure 27.1" and having them numbered as lowercase alpha,

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Henning Hraban Ramm
is a facility to override the numbering of two figures in a stream of >>> normally numbered figures like this. I was thinking of the equivalent of >>> the old \sym{symbol} command that used to work as a way to override a >>> single item in an otherwise sequential list.

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
xperimented with the options I can see, but it's not obvious if there is a facility to override the numbering of two figures in a stream of normally numbered figures like this. I was thinking of the equivalent of the old \sym{symbol} command that used to work as a way to override a sin

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Henning Hraban Ramm
erimented with the options I can see, but it's not obvious if there > is a facility to override the numbering of two figures in a stream of > normally numbered figures like this. I was thinking of the equivalent of the > old \sym{symbol} command that used to work as a way to overrid

[NTG-context] Overriding the number on a float

2020-08-23 Thread Duncan Hothersall
f two figures in a stream of normally numbered figures like this. I was thinking of the equivalent of the old \sym{symbol} command that used to work as a way to override a single item in an otherwise sequential list. I guess there's a brute force method of setting up a new type of figure wi

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] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
xt("Unit") context.NC() context.bf() context("Description") context.NC() context.FR() context.HL() function printlistitem(keyword, values) context.NC() context.startSymItem({reference="sym:"..keyword, title=values[1]}) context.math(values[1]) context.stopSymItem() context.NC

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

2019-06-12 Thread Thomas Welter
The synonym "sym" defined by \definesynonyms[sym][syms][\symdesc] can take 2 entries by default: \sym[]{}{} For theses and whitepapers in the natural sciences and in engineering it is needed to introduce another entry for the unit: \sym[]{}{}{} (<-- This does of course not com

[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
etuplines[before={}, after={}] \startlines}, after={\stoplines}] \setupCList[2][n, broad, packed, joinedup, autointro] [itemalign=flushright, left={}, right={}, stopper={}, margin=0pc, ] \startcomponent[*] \startCList \sym{} Preface \sym{0.} Prolegomena %<——line 22 \stopCList \stopcomponent

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

2019-02-04 Thread Wolfgang Schuster
\leaderfill{\leaders\hbox to 1em{\hss. \hss}\hfill} \define[1]\pg{{\switchtobodyfont[10pt]\hfill\at[#1]\crlf}} \startcomponent%\starttext \startCList \sym{} Illustrations and Tables\pg{Illustrations} \sym{} Preface\pg{Preface} \sym{} Acknowledgments\pg{Acknowledgments} \blank[big, fixed] \sym{0

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

2019-02-03 Thread Wolfgang Schuster
ol_box \strc_itemgroups_make_dest... \strc_itemgroups_start_item ...groups_insert_item                                                 \dostoptagged \ifcondition... \dotagsetitem \sym ..._symbol \startitemgroupitem \dotagsetitem                                                 \s!symbol l.18

[NTG-context] problem with \sym?

2019-02-03 Thread Alan Bowen
e_dest... \strc_itemgroups_start_item ...groups_insert_item \dostoptagged \ifcondition... \dotagsetitem \sym ..._symbol \startitemgroupitem \dotagsetitem \s!symbol l.18 \sym{0.} Prolegomena to the St

Re: [NTG-context] ToC as itemize

2018-06-10 Thread Hans Hagen
textcommand=\ChapterTocEntry, pagecommand=\gobbleoneargument, ] \startContentsList %\sym{}Preface\leaderfill\at{Preface} % Preface unnumbered \startitem Test entry\leaderfill 123 \stopitem \placelist[chapter][criterium=all] \stopContentsList The actual problem: The chapter list entri

Re: [NTG-context] ToC as itemize

2018-06-10 Thread Henning Hraban Ramm
This is the core code: > > \define[1]\ChapterTocEntry{% > \startitem >\structurelistuservariable{author}: >#1\leaderfill\currentlistentrypagenumber > \stopitem > } > > \definelist[chapter][% >alternative=b, >interaction=all, >criterium=all, >textcommand=\

[NTG-context] ToC as itemize

2018-05-03 Thread Henning Hraban Ramm
ble{author}: #1\leaderfill\currentlistentrypagenumber \stopitem } \definelist[chapter][% alternative=b, interaction=all, criterium=all, textcommand=\ChapterTocEntry, pagecommand=\gobbleoneargument, ] \startContentsList %\sym{}Preface\leaderfill\at{Preface} % Preface

Re: [NTG-context] setupitemgroup and 'command='

2017-05-24 Thread Thomas Floeren
l whitespace after the item >> symbol when the item is of type “\sym{}”. >> I also noticed that the problem goes away if I use “inner=” instead of >> “command=”. > > command is applied to the text, try command=\WORD and after \sym is a space > so it depends on what comm

Re: [NTG-context] setupitemgroup and 'command='

2017-05-24 Thread Hans Hagen
On 5/24/2017 6:28 PM, Thomas Floeren wrote: Hi, I used to use the “command=” parameter when setting up itemize. Now I noticed that it introduces a spurious horizontal whitespace after the item symbol when the item is of type “\sym{}”. I also noticed that the problem goes away if I use

[NTG-context] setupitemgroup and 'command='

2017-05-24 Thread Thomas Floeren
Hi, I used to use the “command=” parameter when setting up itemize. Now I noticed that it introduces a spurious horizontal whitespace after the item symbol when the item is of type “\sym{}”. I also noticed that the problem goes away if I use “inner=” instead of “command=”. Example

Re: [NTG-context] description renders unintended results (LUATEX BUG?)

2017-03-07 Thread Floris van Manen
t it sounds like you want to be using an itemize or enumeration > rather than a description. well i do need the description as the items are not numbered or annotated in a sequential way. i could use a \sym{tag} but then the available space is constant, and not variable as is when using

Re: [NTG-context] in next beta

2016-03-10 Thread Procházka Lukáš Ing .
n need to extend that mechanism a bit with spread, color, style and so .. you can check it in the next beta \starttext \setuplistalternative[c][filler=sym] \placelist[chapter][alternative=c] \setuplistalternative[c][filler=symbol] \placelist[chapter][alternative=c] \setuplistalter

Re: [NTG-context] in next beta

2016-03-08 Thread Hans Hagen
d from spac-flr.mkiv? well, i then need to extend that mechanism a bit with spread, color, style and so .. you can check it in the next beta \starttext \setuplistalternative[c][filler=sym] \placelist[chapter][alternative=c] \setuplistalternative[c][filler=symbol] \placelist[c

Re: [NTG-context] TeX capacity exceeded - in Lua block - why?

2015-07-16 Thread luigi scarso
ought this would force/ensure math mode and thus prevent infinite > recursion. > > but as soon as you fall into "mmod not true" then you have infinite >> recursion. >> > > Also, my observation was that my original macro worked well when called > for TeX code

Re: [NTG-context] TeX capacity exceeded - in Lua block - why?

2015-07-16 Thread Hans Hagen
then you have infinite recursion. Also, my observation was that my original macro worked well when called for TeX code (at various places of use: \GG $\GG$ \startitemize[][] \sym{\GG} \GG \sym{$\GG$} $\GG$ \sym{\m{\GG}} \m{\GG} \item End \stopitemize ) but stoppe

Re: [NTG-context] TeX capacity exceeded - in Lua block - why?

2015-07-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .
riginal macro worked well when called for TeX code (at various places of use: \GG $\GG$ \startitemize[][] \sym{\GG} \GG \sym{$\GG$} $\GG$ \sym{\m{\GG}} \m{\GG} \item End \stopitemize ) but stopped working when called from Lua (?!). @Hans: This seems to be best solution

Re: [NTG-context] TeX capacity exceeded - in Lua block - why?

2015-07-16 Thread Hans Hagen
} \starttext \GG $\GG$ \startitemize[][] \sym{\GG} \GG \sym{$\GG$} $\GG$ \sym{\m{\GG}} \m{\GG} \item End \stopitemize \stoptext So how to rewrite the itemization into Lua? maybe you mean: \def\GG{\ifmmode G_G\else$GG$\fi} ... Could be \def\GG{\ifmmode G_G\els

Re: [NTG-context] TeX capacity exceeded - in Lua block - why?

2015-07-16 Thread luigi scarso
gt; G_G..." does the check. > > The macro should write G + "lower index G" for both math and non-math > scope. > > And, in non math scope, the macro should just enclose itself by $...$ (or > \m{...})... > > And, this works well in TeX code: > > >

Re: [NTG-context] TeX capacity exceeded - in Lua block - why?

2015-07-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .
ifmmode G_G\else$\GG$\fi} \starttext \GG $\GG$ \startitemize[][] \sym{\GG} \GG \sym{$\GG$} $\GG$ \sym{\m{\GG}} \m{\GG} \item End \stopitemize \stoptext So how to rewrite the itemization into Lua? maybe you mean: \def\GG{\ifmmode G_G\else$GG$\fi} ... Could be \def\GG{\

Re: [NTG-context] TeX capacity exceeded - in Lua block - why?

2015-07-16 Thread Hans Hagen
[][] \sym{\GG} \GG % OK \stopitemize \startluacode context.startitemize() context.sym([[\GG]]) context("Abc") context.stopitemize() \stopluacode \stoptext fails with: " tex error > tex error on line 14 in file d://Lukas

[NTG-context] TeX capacity exceeded - in Lua block - why?

2015-07-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, why this code: \def\GG{\ifmmode G_G\else$\GG$\fi} \starttext \GG $\GG$ % OK \startitemize[][] \sym{\GG} \GG % OK \stopitemize \startluacode context.startitemize() context.sym([[\GG]]) context("Abc") context.stopitemize() \stopluacode

Re: [NTG-context] context -> docx ??

2015-01-15 Thread Alan BRASLAU
ple: \startitemize \startitem item one \stopitem \startitem item two \stopitem \stopitemize (although can someone indicate how to replace \sym{} ?) \startdigression Curiously, I sometimes work with coauthors who only know Word as their text editor. A work flow that we share is to edit ConTeXt

Re: [NTG-context] Simple command with variable number of arguments

2014-05-23 Thread Hans Hagen
what I get from the list back. I hope that you enhance the code for better performance since you are an expert in Lua. A bit more readable: matrixOP.symMatrix = function(sym, x, y, nx ,ny) -- symMatrix("a", "m", "n") local nx = nx or 2 local ny = ny or nx

Re: [NTG-context] vertical alignment of margindata

2014-03-19 Thread Hans Hagen
). Thanks and all best Thomas \setuppapersize [A5] \setupbodyfont [times,12pt] \definemargindata [SYM] [left] [hoffset=1.5em,style=bold] method=top \starttext \SYM{1} test \blank[line] \SYM{2} \dontleavehmode \startxtable \startxrow \startxcell Hello

[NTG-context] vertical alignment of margindata

2014-03-19 Thread Thomas A. Schmitz
[A5] \setupbodyfont [times,12pt] \definemargindata [SYM] [left] [hoffset=1.5em,style=bold] \starttext \SYM{1} test \blank[line] \SYM{2} \dontleavehmode \startxtable \startxrow \startxcell Hello \stopxcell

Re: [NTG-context] ConTeXt minimal on chromebook

2014-02-19 Thread John Kitzmiller
OS, context foo.tex compiled a Hello World and a \startMPpage figure. That much worked. This made me think the link for armhf-linux above might work without Ubuntu, but I am not skilled enough to use the trunk/Master--I got a text sym-link and a 7.3mb luatex file that I can not yet make execu

[NTG-context] textreference in a protocol (minutes)

2013-11-11 Thread Joshua Krämer
e the cropping? Additionally, if somebody can think of a better solution than my \textreference approach, please let me know. Thank you, Joshua Krämer Minimal Working Example: \def\Agendaentry#1#2{\sym{#1}\textreference[Agendaentry#1]{#2}#2} \setupreferencing[left={},right={}] \newcount\Agendaen

Re: [NTG-context] \startitemize and \startinteraction problem in footnotes

2013-09-18 Thread Hans Hagen
>>>>>>>>>>> \startcomponent test \setupinteraction[state=start,color=blue,% contrastcolor=darkred, style=rm, click=yes, display=new, ] \setupnotation[footnote][interaction=yes, way=bytext, numberconversion=numbers, rule=on, textstyle=normal] \startitemize[n,broad,j

[NTG-context] \startitemize and \startinteraction problem in footnotes

2013-09-17 Thread Alan Bowen
;> \startcomponent test \setupinteraction[state=start,color=blue,% contrastcolor=darkred, style=rm, click=yes, display=new, ] \setupnotation[footnote][interaction=yes, way=bytext, numberconversion=numbers, rule=on, textstyle=normal] \startitemize[n,broad,joinedup,packed,intro] [itemalign=flushright,

Re: [NTG-context] suggestion: setups for \startitem

2013-07-06 Thread Hans Hagen
On 7/6/2013 12:10 PM, Wolfgang Schuster wrote: To do this one could write \startitem[alternative=head,text=…] one could use it as synonym for \starthead or with \startitem[alternative=symbol,text=…] as alternative for \sym. Since references are lost with this method you can write

Re: [NTG-context] suggestion: setups for \startitem

2013-07-06 Thread Wolfgang Schuster
source. but couldn't find > anything. This minimal example explains what I mean: > > \starttext > > \startitemize > \item One > \item Two > \sym{$\Rightarrow$} Three > \stopitemize > > > \startitemize > \startitem > One > \stopitem > \startite

[NTG-context] suggestion: setups for \startitem

2013-07-04 Thread Thomas A. Schmitz
hat I mean: \starttext \startitemize \item One \item Two \sym{$\Rightarrow$} Three \stopitemize \startitemize \startitem One \stopitem \startitem Two \stopitem \startitem[sym=$\Rightarrow$] Three \stopitem \stopitemize \stoptext How to achieve the result of #1 with the syntax in #2?

Re: [NTG-context] buff_gobble error MathML

2013-06-08 Thread Wolfgang Schuster
Am 08.06.2013 um 16:51 schrieb Steffen Wolfrum : > > Am 08.06.2013 um 16:18 schrieb Wolfgang Schuster: > >> >> Am 08.06.2013 um 12:53 schrieb Steffen Wolfrum : >> >>> Hi friends, >>> >>> we need to run MathML inside \sym (see below)

Re: [NTG-context] buff_gobble error MathML

2013-06-08 Thread Steffen Wolfrum
Am 08.06.2013 um 16:18 schrieb Wolfgang Schuster: > > Am 08.06.2013 um 12:53 schrieb Steffen Wolfrum : > >> Hi friends, >> >> we need to run MathML inside \sym (see below). >> Is there a way to solve the error "! Argument of \buff_gobble has an extra

Re: [NTG-context] buff_gobble error MathML

2013-06-08 Thread Wolfgang Schuster
Am 08.06.2013 um 12:53 schrieb Steffen Wolfrum : > Hi friends, > > we need to run MathML inside \sym (see below). > Is there a way to solve the error "! Argument of \buff_gobble has an extra }." You can’t use \startbuffer … \stopbuffer in other commands but with \setbuf

[NTG-context] buff_gobble error MathML

2013-06-08 Thread Steffen Wolfrum
Hi friends, we need to run MathML inside \sym (see below). Is there a way to solve the error "! Argument of \buff_gobble has an extra }." Thanks, Steffen --- \usemodule[mathml] \starttext \setupitemize[1][broad][margin=no,distance=0em,width=0em,align=stretch] \startitemize[1]

Re: [NTG-context] [***SPAM***] What am I doing wrong?

2013-03-19 Thread Wolfgang Schuster
; \hskip3em Indented?\crlf > \hskip 3em Indented?\crlf > \hskip3cm Indented?\crlf > > %\sym{on} This causes an error. > %\sym{$\diamond$} This causes an error. > %\sym{$\diamondsuit$} This causes an error. > > Last line. > \stoptext > > What happened to \hskip a

[NTG-context] [***SPAM***] What am I doing wrong?

2013-03-19 Thread d.henman
While reading the ConTeXt Manual I tried the following two commands, which didn't work. Here is the sample souce. \starttext First line. %\hskip With text here, this causes an compile time error. \hskip3em Indented?\crlf \hskip 3em Indented?\crlf \hskip3cm Indented?\crlf %\sym{on} This c

Re: [NTG-context] New module: simplebib

2012-11-03 Thread Aditya Mahajan
e dependence of crossref be optional. In particular, what if a user does just wants to link to the bibliography without the funny arrows from crossref module? 2. Setting style for labels. You use \sym{...\sc{\tmplabel}} It may be better to define style and color keys for the label rat

Re: [NTG-context] using variable for subscript in math+lua

2012-10-25 Thread Philipp Gesang
ct \startluacode local context = context commands.matrix_with_symbol = function (sym, x, y) if not y then y = x end -- default to square context.startmatrix{ left = "\\left(\\,", right = "\\,\\right)" } local schema = sym .. "_{%d%d}" -- %d: pri

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 symbo

Re: [NTG-context] ntg-style error

2012-06-06 Thread Taco Hoekwater
\hbox{}}] [{\hbox{}\hskip-30pt{\bf \pagenumber}\quad \cap {maps\ \MapsNumber}}] [\AuHead] \setupfootertexts } \def\fulltextwidth{457pt} \def\startdescription {\blank \bgroup \def\sym##1{\par\noindent\hbox{\bf\kern -16pt ##1}\hskip 12pt} \startnarrower[left] } \def\stopdesc

Re: [NTG-context] Custom itemize Symbols

2012-03-21 Thread Wolfgang Schuster
ut it appears that >> command does not take commands as its first argument: >> >> \startitemize[\squarebullet, packed] >> \item foo >> \item baz >> ... >> \stopitemize >> >> So here goes that idea. Other idea was to use \sym{\squarebullet}. That >&g

Re: [NTG-context] Custom itemize Symbols

2012-03-21 Thread Wolfgang Schuster
arebullet, packed] > \item foo > \item baz > ... > \stopitemize > > So here goes that idea. Other idea was to use \sym{\squarebullet}. That > actually works, however, the problem is that it needs to be specified for the > individual bullet point. I need something that can be s

Re: [NTG-context] Custom itemize Symbols

2012-03-21 Thread Thomas A. Schmitz
that idea. Other idea was to use \sym{\squarebullet}. That actually works, however, the problem is that it needs to be specified for the individual bullet point. I need something that can be specified in \setupitemize, such that my writers get that symbol automatically without having any control

[NTG-context] Custom itemize Symbols

2012-03-21 Thread Malte Stien
-.1ex } % square bullet and then tried to use it in the \startitemize command, but it appears that command does not take commands as its first argument: \startitemize[\squarebullet, packed] \item foo \item baz ... \stopitemize So here goes that idea. Other idea was to use \sym{\squarebullet

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

2012-02-14 Thread Alasdair McAndrew
tten solution, you will have to > delete the \incrementnumber as well. It may be better if you let ConTeXt do > the book keeping: give every question a unique identitfier like so > > \startitem[p:1:2] > Problem? > \stopitem > > and then typeset the soluti

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

2012-02-14 Thread Thomas A. Schmitz
ng back to this identifier: \sym{\in[p:1:2]} That way, the numbers in problems and solutions will always be correct, even if you rearrange etc. (I often typeset such exercise stylesheets, and after many years, that's my approach t

Re: [NTG-context] start/stopitem and \sym

2011-10-03 Thread Steffen Wolfrum
Am 03.10.2011 um 10:14 schrieb Hans Hagen: > On 2-10-2011 17:16, Steffen Wolfrum wrote: >> Hans, >> >> when we should use >>\startitem ... \stopitem >> now, shouldn't there be a >>\startsym ... \stopsym >> too? >> >> Stef

Re: [NTG-context] start/stopitem and \sym

2011-10-03 Thread Hans Hagen
On 2-10-2011 17:16, Steffen Wolfrum wrote: Hans, when we should use \startitem ... \stopitem now, shouldn't there be a \startsym ... \stopsym too? Steffen, who just had a mixed case: sym and item in one itemize ;o( I've added special item support to the beta

[NTG-context] start/stopitem and \sym

2011-10-02 Thread Steffen Wolfrum
Hans, when we should use \startitem ... \stopitem now, shouldn't there be a \startsym ... \stopsym too? Steffen, who just had a mixed case: sym and item in one itemize ;o( ___ If your question is of intere

Re: [NTG-context] Skipping item numbers in an itemized list?

2011-04-27 Thread Alasdair McAndrew
ounter{enumi}{2} - but how > >>>> is this done in ConTeXt? > > >>> \starttext > >>> > >>> \startitemize > >>> \sym{1.} First item > >>> \sym{2.} Second item > >>> \sym{5.} Fifth item > >>> \sym{6.}

Re: [NTG-context] Skipping item numbers in an itemized list?

2011-04-27 Thread Ulrike Fischer
Am Wed, 27 Apr 2011 11:21:31 -0400 (EDT) schrieb Aditya Mahajan: >>>> and so on. Every now and then I need to skip a number or two. >>>> In LaTeX I could do this with \addtocounter{enumi}{2} - but how >>>> is this done in ConTeXt? >>> \starttext

Re: [NTG-context] Skipping item numbers in an itemized list?

2011-04-27 Thread Aditya Mahajan
. Every now and then I need to skip a number or two. In LaTeX I could do this with \addtocounter{enumi}{2} - but how is this done in ConTeXt? \starttext \startitemize \sym{1.} First item \sym{2.} Second item \sym{5.} Fifth item \sym{6.} Sixth item \sym{8.} Eight item \stopitemize \stoptext You

Re: [NTG-context] Skipping item numbers in an itemized list?

2011-04-27 Thread Andreas Harder
t;> 1. First item >>> 2. Second item >>> 5. Fifth item >>> 6. Sixth item >>> 8. Eight item > >>> and so on. Every now and then I need to skip a number or two. >>> In LaTeX I could do this with \addtocounter{enumi}{2} - but how >>>

Re: [NTG-context] Skipping item numbers in an itemized list?

2011-04-27 Thread Ulrike Fischer
m >> 8. Eight item >> and so on. Every now and then I need to skip a number or two. >> In LaTeX I could do this with \addtocounter{enumi}{2} - but how >> is this done in ConTeXt? > \starttext > > \startitemize > \sym{1.} First item > \sym{2.}

Re: [NTG-context] Skipping item numbers in an itemized list?

2011-04-27 Thread Wolfgang Schuster
In LaTeX I > could do this with \addtocounter{enumi}{2} - but how is this done in ConTeXt? \starttext \startitemize \sym{1.} First item \sym{2.} Second item \sym{5.} Fifth item \sym{6.} Sixth item \sym{8.} Eight item \stopitemize \stoptext Wolfgang __

Re: [NTG-context] circled number for item head (Wolfgang Schuster)

2011-03-21 Thread Aditya Mahajan
uchar{36}{207+#1}} and \defineconversion[][]. But for characters which are not listed consecutively, I don't know how to make it appear automatically. I may use \sym{} AC00, B098, B2E4, B77C, ... These are the same characters in the area 320E ~ 321B without parenthesis. Is it possible to

Re: [NTG-context] circled number for item head (Wolfgang Schuster)

2011-03-21 Thread Jeong Dalyoung
rsion[][]. But for characters which are not listed consecutively, I don't know how to make it appear automatically. I may use \sym{} AC00, B098, B2E4, B77C, ... These are the same characters in the area 320E ~ 321B without parenthesis. Is it possible to make those characters appear automatical

Re: [NTG-context] Symbola font glyph size

2011-02-13 Thread luigi scarso
> there is a lot of space at the right of the symbol. The glyphs look > alright, but the metrics are twice too big. > Renaming the file to .ttf as Taco suggests works fine though. Thanks > both for your help. It seems something wrong with otf loader, as taco wrote \setupbodyfont[18

Re: [NTG-context] symb-was?

2011-02-07 Thread Hans Hagen
On 7-2-2011 1:17, Hans van der Meer wrote: In mkii I used the module sym-was. In the current distribution there is the file: ../tex/texmf-context/tex/context/base/symb-was.mkii but not a corresponding mkiv variant, as is the case for the other symb-files in that directory. Could it be this

[NTG-context] symb-was?

2011-02-07 Thread Hans van der Meer
In mkii I used the module sym-was. In the current distribution there is the file: ./tex/texmf-context/tex/context/base/symb-was.mkii but not a corresponding mkiv variant, as is the case for the other symb-files in that directory. Could it be this file is missing? Or are the wasy symbols now

Re: [NTG-context] luatex hangs at 100% cpu

2010-11-17 Thread Steffen Wolfrum
t; Otherwise a test file is needed. \setupstructure[state=start] \starttext \startitemize \sym{one}test \sym{two}test %\sym{three}test % <- un/comment this \stopitemize \stoptext Groeten, Steffen ___ If your questi

Re: [NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Thomas A. Schmitz
On Nov 9, 2010, at 4:53 PM, Wolfgang Schuster wrote: > Another solution: > > \setupbodyfont[termes,12pt] > > \setupinterlinespace[line=4.5ex] > > \setupalign[hanging] > > \defineitemgroup[myline][width=1cm,symstyle=bold] > > \define[3]\MyLine > {\

Re: [NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Wolfgang Schuster
.5ex] \setupalign[hanging] \defineitemgroup[myline][width=1cm,symstyle=bold] \define[3]\MyLine {\startmyline\hsize=7cm \sym{#2}#3\wordright[2em]{#1}% \stopmyline} \starttext \MyLine{5}{Fa.}{This line is short.} \MyLine{12}{Ma.}{\input knuth } \MyLine{8}{Pa.}{\input ward } \

Re: [NTG-context] startitemize --- \stopitemize

2010-10-24 Thread Herbert Voss
\sub of the substantial content 10 \sym{\#} turned out to be mostly symbolic 11 \stopitemize 12 >> \stoptemize 13 \stoptext l.12 \stoptemize Herbert ___ If your question is of interest to ot

Re: [NTG-context] startitemize --- \stopitemize

2010-10-24 Thread Aditya Mahajan
On Sun, 24 Oct 2010, Herbert Voss wrote: From the documentation: \starttext \startitemize \head he got a head ache \startitemize[n,packed] \item of all the items \nop he had to learn at school \mar{++} because the marginal explanation \sub of the substantial content \sym{\#} turned out

[NTG-context] startitemize --- \stopitemize

2010-10-24 Thread Herbert Voss
>From the documentation: \starttext \startitemize \head he got a head ache \startitemize[n,packed] \item of all the items \nop he had to learn at school \mar{++} because the marginal explanation \sub of the substantial content \sym{\#} turned out to be mostly symbolic \stopitem

Re: [NTG-context] offset for enumeration counter

2010-09-17 Thread Philipp Gesang
On 2010-09-17 <15:02:00>, Wolfgang Schuster wrote: > Am 17.09.2010 um 13:11 schrieb Philipp Gesang: > > Regardless of if there's a practical use for that: is this > > possible as well without resorting to repeated \setnumber'ing? > > \starttext > \star

  1   2   >