Re: [NTG-context] Tabulate \TH command not working in latest release

2023-01-04 Thread Hans Hagen via ntg-context
ulate[|l|l|]     \NC Γ \NC Gamma \NC\NR     \NC Θ \NC Theta \NC\NR     \TB[line]     \NC Φ \NC Phi \NC\NR   \stoptabulate \stoptext swap nop and yes in tabl-tbl.mkxl, like: \appendtoks \enforced\let\TB\tabl_tabulate_TB_nop \to \t_tabl_tabulate_initializers_first \appendtoks \enfor

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-27 Thread Joey McCollum via ntg-context
roblem I described before: > > to ensure that the first input is expanded when it is passed to Lua, I > > have to pass it as [==[#1]==], not "#1". But the updated MWE below still > > does not seem to work, as the \DoIfPrefixElse macro is printing "NOP" >

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-27 Thread Hans Hagen via ntg-context
to work, as the \DoIfPrefixElse macro is printing "NOP" instead of "YES": ``` \starttexdefinition loc [#1] \doifassignmentelse{#1} { % if an assignment, then parse and format accordingly \getparameters[loc][#1] % Was a section number specified? \doifdefined{locsec} { §

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-27 Thread Joey McCollum via ntg-context
All right, I think I've solved the expansion problem I described before: to ensure that the first input is expanded when it is passed to Lua, I have to pass it as [==[#1]==], not "#1". But the updated MWE below still does not seem to work, as the \DoIfPrefixElse macro is printing &

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-26 Thread Joey McCollum via ntg-context
fined{locsec} { § \locsec\btxcomma } } { % otherwise, just print the input as-is #1 } \stoptexdefinition \def\DoIfPrefixElse#1#2{\ctxlua{commands.doifelse(string.find("#2","^".."#1"))}} \def\currentbtxloctext{\loc[sec=31]} \starttext \DoIfPrefixElse{§}{\currentbtxloct

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-26 Thread Hans Hagen via ntg-context
) == prefix then       return true     end     return false   end ``` how about if string.find(str,"^"..prefix) then in: \starttext \def\DoIfPrefixElse#1#2{\ctxlua{commands.doifelse(string.find("#2","^".."#1"))}} \DoIfPrefixElse{pre}{prefix}{YES}{N

Re: [NTG-context] How to check if buffer or block has content

2021-08-03 Thread Hans Hagen via ntg-context
cksempty {testa}{}{} {YES} {NOP} % {name}{tag}{criterium} \doifelseblocksempty {testb}{}{} {YES} {NOP} % {name}{tag}{criterium} \stoptext but you have to wikify it Hans -

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Benjamin Buchmuller via ntg-context
ntg-context-requ...@ntg.nl wrote: > > \starttext > > \startbuffer[test] > test > \stopbuffer > > \doifelsebuffer{test} {YES} {NOP} > > \permanent\protected\def\doifelsebuffercontent#1% > {\doifelse{\luaexpr{(string.strip(buffers.getcontent("

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Wolfgang Schuster via ntg-context
test it buffer creates any output. indeed you know there is a way ... \starttext \startbuffer[test] test \stopbuffer \doifelsebuffer{test} {YES} {NOP} \permanent\protected\def\doifelsebuffercontent#1%   {\doifelse{\luaexpr{(string.strip(buffers.getcontent("#1")) ~= "&quo

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Hans van der Meer via ntg-context
\doiftextelse(\getbuffer[...]} to test it >> buffer creates any output. > indeed you know there is a way ... > > \starttext > > \startbuffer[test] > test > \stopbuffer > > \doifelsebuffer{test} {YES} {NOP} > > \permanent\protected\def\doifelsebuffercont

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Hans Hagen via ntg-context
way ... \starttext \startbuffer[test] test \stopbuffer \doifelsebuffer{test} {YES} {NOP} \permanent\protected\def\doifelsebuffercontent#1% {\doifelse{\luaexpr{(string.strip(buffers.getcontent("#1")) ~= "" and "yes")}}{yes}} \startbuffer[test] \stopbuffer \do

[NTG-context] new lmtx upload

2021-07-27 Thread Hans Hagen via ntg-context
2 * 10pt > 2pt \relax \ifboolean\dimexpression 2 * 10pt > 2pt \relax yes \else nop \fi \ifboolean\dimexpression 2 * 10sp > 2pt \relax yes \else nop \fi \ifdimexpression 2 * 10pt > 2pt \relax yes \else nop \fi \ifdimexpression 2 * 10sp > 2pt \relax yes \else nop \fi

Re: [NTG-context] LMTX MkIV difference in expansion

2020-11-19 Thread Rik Kabel
x/luatex: % \csname \oof\endcsname \ifcsname  foo\endcsname yes\else nop\fi \ifcsname  oof\endcsname yes\else nop\fi \ifcsname \foo\endcsname yes\else nop\fi % nop in luametatex (error intercepted), yes in pdftex/luatex \ifcsname \oof\endcsname yes\else nop\fi \stoptext Now, one can argue tha

Re: [NTG-context] LMTX MkIV difference in expansion

2020-11-19 Thread Hans Hagen
sname foo\endcsname yes\else nop\fi \ifcsname oof\endcsname yes\else nop\fi \ifcsname \foo\endcsname yes\else nop\fi % nop in luametatex (error intercepted), yes in pdftex/luatex \ifcsname \oof\endcsname yes\else nop\fi \stoptext Now, one can argue that if I consider it a but in the other e

Re: [NTG-context] footnotes in captions in floatcombinations

2020-10-11 Thread Henning Hraban Ramm
umbers and gets its place on the right page? > > – As a workaround, how can I use \placefigure in the middle of a paragraph > without breaking it? And I isolated another problem, or even two: \usemodule[visual] \definecolor[fakerulecolor][c=.2,m=.1,k=.2] \useMPlibrary[dum] \automigr

[NTG-context] Local custom notes affect regular footnotes

2020-10-09 Thread Henning Hraban Ramm
normal footnotes.\footnote{Other Footnote} :::\placelocalnotes[testnote] ::: ---\placelocalnotes[footnote] --- % just to be sure, no output %\stoplocalnotes % a NOP? \stoptext (LMTX or MkIV 2020.09.20 23:02) The use case is a commented edition of historical letters. Footnotes of letter contents

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm
n current LMTX and MkIV. Hraban \usemodule[visual] \definecolor[fakerulecolor][c=.2,m=.1,k=.2] \useMPlibrary[dum] \automigrateinserts % nop in LMTX \showframe \setupcaptions[ headstyle={\ss\bfx}, align={flushleft,high}, hang=yes, ] \starttext \fakewords{10}{30} % Footnotes, but no co

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm
ing the width it’s still the same MWE (slightly adapted), apparently not related to floatcombinations but a general problem of footnotes in captions; couldn’t reproduce “some missing” in an MWE yet. Hraban \useMPlibrary[dum] \automigrateinserts % nop in LMTX \showframe \starttext \input knuth % Foo

[NTG-context] new upload

2020-08-09 Thread Hans Hagen
uchexnumbers{\scratchcounter} \par \scratchcounter = \bitwisenil \bitwisenil "0F "02 "01 \uchexnumbers{\scratchcounter} \par \scratchcounter = \bitwisenil \bitwisenil "0F with "02 with "01 \uchexnumbers{\scratchcounter} \par \scratchcounterone\zerocount

Re: [NTG-context] How could I find the 'depth' of an element found with xml.first()?

2020-06-18 Thread Hans Hagen
e t do d = d + 1 t = xml.parent(t) if not t then break end end context(d) end \stopluacode \startxmlsetups xml:what \xmldoifelse {#1} {..[name() == "what"]} { YES } { NOP } [

Re: [NTG-context] Blank page added after pagecolumns

2020-05-16 Thread Joey McCollum
I thought that the "yes" and "nop" suffixes were related to "page=yes" and "page=no" for a few reasons. First, because I thought "nop" could be shorthand for "no page." More importantly, however, I thought they might be related because s

Re: [NTG-context] Blank page added after pagecolumns

2020-05-16 Thread Wolfgang Schuster
number of columns (i.e., the n option for the pagecolumns environment) is more than one, the "yes" implementation of the start and stop commands is used. But this seems wrong. The naming convention for the two implementations ("yes" and "nop") suggests that they shou

Re: [NTG-context] Blank page added after pagecolumns

2020-05-15 Thread Joey McCollum
nment) is more than one, the "yes" implementation of the start and stop commands is used. But this seems wrong. The naming convention for the two implementations ("yes" and "nop") suggests that they should be related the parameters "page=yes" and "page=no

Re: [NTG-context] radiobuttons

2019-08-15 Thread Hans Hagen
ight) Hans --- test file --- \setupinteraction [state=start] \definesymbol[yes][1] \definesymbol[nop][0] \setupfield[whatever][width=20mm,height=20mm,frame=off] \definefield[what][radio][whatever][whatone,whattwo][whatone] \definesubfield[whatone][][yes,nop] \definesubfield[whattwo][][yes,nop

Re: [NTG-context] radiobuttons

2019-08-14 Thread Hans Hagen
opdfcompression \setupinteraction [state=start] \definesymbol[yes][1] \definesymbol[nop][0] \setupfield[whatever][width=20mm,height=20mm,frame=off] \definefield[what][radio][whatever][whatone,whattwo][whatone] \definesubfield[whatone][][yes,nop] \definesubfield[whattwo][][yes,nop] \setup

Re: [NTG-context] Bug: Paragraph formatting on new page after placefigure

2018-01-12 Thread Hans Hagen
hange this mechanism as at soem point we should stick to what we have ... it already changed a few times) just move up the figure a bit: \placefigure [right,high][]{caption} {\externalfigure[nop][width=0.5\textwidth,height=19cm]} or limit the height -- Rik On 2015-08-25 10:14, Rik Kabel wrote

Re: [NTG-context] Bug: Paragraph formatting on new page after placefigure

2018-01-12 Thread Rik Kabel
output of the following code, the first text line on the second page only spans half the textwidth. However, below the figure, the text should span the whole width. \starttext \placefigure[right][]{caption} { \externalfigure[nop][width=0.5\textwidth,height=19cm] } \input lorem \input lorem \input

Re: [NTG-context] Bug: Paragraph formatting on new page after placefigure

2015-08-25 Thread Rik Kabel
} { \externalfigure[nop][width=0.5\textwidth,height=19cm] } \input lorem \input lorem \input lorem \stoptext Andreas, This is a long-recognized issue that appears to have no resolution. It was previously raised by Gerhard Kugler in March 2007 (figure occupies space into next page <h

[NTG-context] Bug: Figure numbers do not correspond to their order

2015-08-25 Thread Andreas Becker
ConTeXt version: 2015.08.21 19:57 When the «page» position key is used, the figure numbers do not match their order in the document. In the following example, Figure 2 precedes Figure 1. \starttext \placefigure[page][]{} { \externalfigure[nop][width=0.5\textwidth] } \placefigure

[NTG-context] Bug: Paragraph formatting on new page after placefigure

2015-08-25 Thread Andreas Becker
ConTeXt version: 2015.08.21 19:57 In the PDF output of the following code, the first text line on the second page only spans half the textwidth. However, below the figure, the text should span the whole width. \starttext \placefigure[right][]{caption} { \externalfigure[nop][width=0.5\textwidth

Re: [NTG-context] problem with \processaction

2014-12-17 Thread Pablo Rodriguez
ue{SomeName:foo}{one} > \setvalue{SomeName:bar}{two} > > % and another 50 names > > \def\SomeName{foo} > % \def\SomeName{bar} > > \doifelse{\getvalue{SomeName:\SomeName}}{two} >{YES} >{NOP} Many thanks for your reply, Hans. I didn’t know of this alternative

Re: [NTG-context] problem with \processaction

2014-12-16 Thread Hans Hagen
two} % and another 50 names \def\SomeName{foo} % \def\SomeName{bar} \doifelse{\getvalue{SomeName:\SomeName}}{two} {YES} {NOP} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061

Re: [NTG-context] Questions about mathfence

2013-07-30 Thread Aditya Mahajan
nics for bra and ket >> notation) or as an option. > > I'll add \mskip\thinmuskip around the middle ... no clue what key/value to > use so we can wait tile someone complaints Thanks. >> 3. Finally, why are the default values of left, middle, and right = >> 0x2E. Isn

Re: [NTG-context] Questions about mathfence

2013-07-29 Thread Hans Hagen
od is (for tex) special in the sense that it is a nop so if you only want ( and no ) then explaining to a user that a period is to be used to nil the right symbol is somewhat less troublesome. One sets up the wanted symbols any

Re: [NTG-context] How to know I am in frontmatter or bodymatter?

2013-04-26 Thread Hans Hagen
] [footer] [{\hfill\bf\ifinfrontmatter ... \else ... \fi\hfill}] regards, Tim \startbodymatter \doifmodeelse{*bodypart}{YES}{NOP} \stopbodymatter if check on \currentsectionblock

[NTG-context] [***SPAM***] Indentation for beginner

2012-05-02 Thread hwitloc
quot;after", or "command" or to set maybe one to /nop out whatever is there currently. I don't know how to find out what commands these default to, if any, but even if I knew at this point, I would still be stuck. Though I'd like to know about that to. Any advice on

Re: [NTG-context] Itemize without page break

2012-03-18 Thread Kip Warner
0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/16i $pc => 0x4a24d1 : movl $0x0,0x4(%rdx,%rcx,8) 0x4a24d9 : addl $0x1,0x963a88(%rip)# 0xe05f68 0x4a24e0 : pop%rbx 0x4a24e1 : retq 0x4a24e2 : jmp0x4a24e8 0x4a24e4 : nop

Re: [NTG-context] What’s your favorite command?

2012-01-31 Thread Wolfgang Schuster
cro itself is encountered. There are also variations of the prefixes and suffixes. Prefixes: - do - dodo - nodo - redo Suffixes: - indeed - ignore - yes - nop Wolfgang ___ If your question is of interest to others

Re: [NTG-context] \synctex=1 ignored in mkiv

2011-03-11 Thread Mojca Miklavec
>> the opposite of what used to be the case a while ago :). > > \synctex is a nop in mkiv, use a proper directive instead: > > \enabledirectives[system.synctex] Thank you. What exactly was the reason to disable the old syntax? Why not maybe defining it to give at least a warning

Re: [NTG-context] \synctex=1 ignored in mkiv

2011-03-11 Thread Hans Hagen
On 11-3-2011 3:38, Mojca Miklavec wrote: Dear Hans, subject says it all: when I use \synctex=1 in mkiv, I don't get any ..synctex.gz file. The --synctex switch works however (which is exactly the opposite of what used to be the case a while ago :). \synctex is a nop in mkiv, use a p

Re: [NTG-context] One-off theorem titles

2011-03-04 Thread Wolfgang Schuster
Am 04.03.2011 um 11:33 schrieb Hans Hagen: >>> I don’t like the __ and ___ either but do you know a better way for good >>> names without using do, dodo, nodo, yes or nop? > > we can have module_do_bla or module_x_bla module_xx_bla etc I think module_bla, module_bla_do,

Re: [NTG-context] One-off theorem titles

2011-03-04 Thread Hans Hagen
t we patch luatex to accept it) I know that \do \dodo \dododo is not the best notation, but I don't find _ __ ___ better. I don’t like the __ and ___ either but do you know a better way for good names without using do, dodo, nodo, yes or nop? we can have module_do_bla or module_x_bla module

Re: [NTG-context] One-off theorem titles

2011-03-03 Thread Aditya Mahajan
now a better way for good names without using do, dodo, nodo, yes or nop? I find that \module__command and \module___command are hard to distinguish. For helper macros, a better idea might be: \module_command \module_command! \module_command!! These commands are easy to distinguish visually. Bu

Re: [NTG-context] One-off theorem titles

2011-03-03 Thread Wolfgang Schuster
_ > ___ better. I don’t like the __ and ___ either but do you know a better way for good names without using do, dodo, nodo, yes or nop? I first thought about this: \def\module_command {\dosingleempty\module_docommand} \def\module_docommand[#1]{} but i don’t liked it and in the end i use now

Re: [NTG-context] Forming paragraphs

2011-01-23 Thread Procházka Lukáš
form paragraphs to such a shape: Abc defhi jklm nop qrst uvw xyz. ABCDE FGHIJKL MNOPQR STUW XYZ. Abc defhi jklm nop qrst uvw xyz. ABCDE FGHIJKL MNOPQR STUW XYZ. Abc defhi jklm nop qrst uvw xyz. ABCDE FGHIJKL MNOPQR STUW XYZ. <-- \textwidth -->| I.e. paragraphs whose first lin

Re: [NTG-context] Forming paragraphs

2011-01-23 Thread Stefan Müller
Hi, did you already take a look at this? http://wiki.contextgarden.net/Shaped_paragraphs HTH, Stefan. On 23.01.2011 13:38, Procházka Lukáš wrote: Hello, I would need to form paragraphs to such a shape: Abc defhi jklm nop qrst uvw xyz. ABCDE FGHIJKL MNOPQR STUW XYZ. Abc defhi jklm nop qrst

[NTG-context] Forming paragraphs

2011-01-23 Thread Procházka Lukáš
Hello, I would need to form paragraphs to such a shape: Abc defhi jklm nop qrst uvw xyz. ABCDE FGHIJKL MNOPQR STUW XYZ. Abc defhi jklm nop qrst uvw xyz. ABCDE FGHIJKL MNOPQR STUW XYZ. Abc defhi jklm nop qrst uvw xyz. ABCDE FGHIJKL MNOPQR STUW XYZ. <-- \textwidth -->

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

2010-10-24 Thread Herbert Voss
ce. system > error on line 12 in file .tex: Undefined control sequence ... 2 \startitemize 3 \head he got a head ache 4 5 \startitemize[n,packed] 6 \item of all the items 7 \nop he had to learn at school 8 \mar{++} because the marginal explanation 9

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

[NTG-context] modes

2010-10-14 Thread Hans Hagen
Hi, (for module writers) The latest beta gives access to modes at the lua end \starttext \enablemode[test] \enablemode[] \doifallmodes{test,xxx}{NO} \doifallmodes{test,}{YES} \doifmode{test}{YES} \doifnotmode{xxx}{YES} \startluacode tex.sprint(tex.modes['x']and &qu

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
"title". Eventually something like > \startcheckbox[title={My title}]..\stopcheckbox Make sense. At a certain point I should look at this. But lets try to walk before I start running. ;-) >>    % CheckBoxIndent = -(margin + width) = -4.5em >>    \def\CheckBoxTitle[#1]{ >>    

Re: [NTG-context] Making checkboxes

2010-09-07 Thread luigi scarso
ke \startcheckbox[title={My title}]..\stopcheckbox But it's an opinion. >    % CheckBoxIndent = -(margin + width) = -4.5em >    \def\CheckBoxTitle[#1]{ >      \nop \hskip -4.5em #1 >    } Yes; a problem arise if you must modify the margin and/or width a little. You can use dimension

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
ed][margin=2.5em,symbol=checkbox,width=2em,distance=.5em] > \starttext > > \startcheckbox > \nop \hskip -4.5em title > \item Yes > \item No > \item A little bit > \stopcheckbox > > \stoptext I defined: \definesymbol[checkbox][{[~~~]}] \defineitemgroup[checkbo

Re: [NTG-context] Making checkboxes

2010-09-07 Thread luigi scarso
mize][indentnext=no] >>> but that does not work. How can I make the 'title' not indented? >> >> \definesymbol[checkbox][{[~~~]}] >> \defineitemgroup[checkbox] >> \setupitemgroup[checkbox][each][packed][margin=2.5em,symbol=checkbox,width=1.5em,distance

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
make the 'title' not indented? > > \definesymbol[checkbox][{[~~~]}] > \defineitemgroup[checkbox] > \setupitemgroup[checkbox][each][packed][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em] > > \starttext > > \startcheckbox > \nop \hskip -1.5em title > \item Yes > \ite

Re: [NTG-context] Making checkboxes

2010-09-07 Thread luigi scarso
\definesymbol[checkbox][{[~~~]}] \defineitemgroup[checkbox] \setupitemgroup[checkbox][each][packed][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em] \starttext \startcheckbox \nop \hskip -1.5em title \item Yes \item No \item A little bit \stopcheckbox

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
x][each][packed][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em] >> >> \starttext >> >> \startcheckbox >> \nop title >> \item Yes >> \item No >> \item A little bit >> \stopcheckbox >> >> \stoptext > > I tried this. Ther

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
gt;> [ ] j [ ] k [ ] l >> instead of: >> [ ] a >> [ ] b >> [ ] c >> [ ] d >> [ ] e >> [ ] f >> [ ] g >> [ ] h >> [ ] i >> [ ] j >> [ ] k >> [ ] l >> or is that also possible > > Add > &

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
em,symbol=checkbox,width=1.5em,distance=.5em] > > \starttext > > \startcheckbox > \nop title > \item Yes > \item No > \item A little bit > \stopcheckbox > > \stoptext I tried this. There is one problem. I want: title [ ] Yes [ ] No

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Aditya Mahajan
~]}] >> \defineitemgroup[checkbox] >> \setupitemgroup[checkbox][each][packed][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em] >> >> \starttext >> >> \startcheckbox >> \nop title >> \item Yes >> \item No >> \item A little bit >> \stop

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Cecil Westerhof
em,symbol=checkbox,width=1.5em,distance=.5em] > > \starttext > > \startcheckbox > \nop title > \item Yes > \item No > \item A little bit > \stopcheckbox > > \stoptext I am still new to ConTeXt, so I did not know this. But in the future I properly want to wor

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Aditya Mahajan
emgroup[checkbox][each][packed][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em] \starttext \startcheckbox \nop title \item Yes \item No \item A little bit \stopcheckbox \stoptext Or even \items{Yes, No, A little bit} maybe with \setupitems[symbol=checkbox] Search the ma

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Wolfgang Schuster
group[checkbox] \setupitemgroup[checkbox][each][packed][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em] \starttext \startcheckbox \nop title \item Yes \item No \item A little bit \stopcheckbox \stoptext Wolfgang _

Re: [NTG-context] emacs

2009-02-05 Thread Peter Münster
ot;item" (TeX-arg-literal " ")) '("items" [ConTeXt-arg-setup] (TeX-arg-string "Comma separated list")) '("its" ConTeXt-arg-define-ref (TeX-arg-literal " ")) '("nop" (TeX-arg-literal " ")) &#x

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
w][reference]{text} \marking[name]{text} \markversion \mathematics{text} \mediaeval{text} \midaligned{text} \mirror{text} \MONTH{text} \month{text} \moveongrid[options] # \MR \name{text} # \NC # \newcounter # \nextbox \nextsection \nocap{text} \noheaderandfooterlines \noindenting \nolist{

Re: [NTG-context] how to number poetry?

2005-07-14 Thread Paul Tremblay
s," or really cells. > Answering my own question. One posibility is: \startitemize \sym{1} This is the first line \nop This is the second line %% and so fourth \stopitmeize That allows you to control the space between the number and the actual line. In addition, ConTeXt should (?) do a good job makin

Re: [NTG-context] Typesetting products and components

2005-02-15 Thread Hans Hagen
etups todo:product:yes \stopsetups \doifelsenothing\currentproduct {\setups[todo:product:nop]} {\setups[todo:product:yes]} or as variant on your ifx, a one-liner: \setups[todo:product:\ifx\currentproduct\empty nop\else y

Re: [NTG-context] Re: [XeTeX] Re: Is context working in XeTeX?

2004-12-02 Thread Hans Hagen
ally, you should be creating a cont-en file with that command listed above. Anyone else have a clue? no, i never get an context.* format In the meantime, what does this return?: sudo texexec --xtx --make --alone cont-en nop, texexec appends the en to cont- (part of the problem can be that the lates

Re: [NTG-context] \mathstrut in \underbrace and nath

2004-11-19 Thread Hans Hagen
of that, I justwanted to know if there is some higher level version already existing. nop Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands te

Re: [NTG-context] pagination problem with \startitemize[columns]

2004-06-14 Thread Hans Hagen
hapter after it seems to fix it from there on, though. \starttext \chapter{One} \dorecurse{7}{\input zapf \par\relax} \startitemize[columns,four] \dorecurse{12}{\nop \type{[:alnum:]}} \stopitemize \dorecurse{7}{\input zapf \par\relax} \stoptext i posted a fix for that: \def\endmulticolumns

Re: [NTG-context] pagination problem with \startitemize[columns]

2004-06-12 Thread Willi Egger
Hi Nicolai, I am not shure that the second example works. Also there I get the same problem as in example one. The pagebreak-problem remains als if you withdraw \nop and replace it with \item I use currently version: ConTeXt ver: 2004.3.19 fmt: 2004.6.6 This is pdfeTeXk, Version 3.141592

[NTG-context] pagination problem with \startitemize[columns]

2004-06-11 Thread Nikolai Weibull
to fix it from there on, though. \starttext \chapter{One} \dorecurse{7}{\input zapf \par\relax} \startitemize[columns,four] \dorecurse{12}{\nop \type{[:alnum:]}} \stopitemize \dorecurse{7}{\input zapf \par\relax} \stoptext This fails for \startitemize[columns] as well. It seems that the problem

[NTG-context] Re: pagination bug

2004-06-09 Thread Nikolai Weibull
l problems. Here's something that fails (and I have a real-life issue with this as well, which is more or less the same): \starttext \dorecurse{7}{\input zapf \par\relax} \startitemize[columns,four] \dorecurse{12}{\nop \type{[:alnum:]}} \stopitemize \dorecurse{7}{\input zapf \pa

[NTG-context] interaction with radio buttons

2003-11-01 Thread Johannes Hüsing
fail to observe? Groetjes Johannes \setupoutput[pdftex] \setupinteraction[state=start] \setupcolors[state=start] \useJSscripts[fld] \definesymbol [yes-a] [$\times$] \definesymbol [yes-b] [$\star$] \definesymbol [nop-a] [$\bullet$] \definesymbol [nop-b] [$-$] \definefield [example-1] [