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
arding 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
o 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 } [\xmlf

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
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 should be related the

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

2020-05-15 Thread Joey McCollum
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" (he

Re: [NTG-context] radiobuttons

2019-08-15 Thread Hans Hagen
t 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] \startuniqueMPgra

Re: [NTG-context] radiobuttons

2019-08-14 Thread Hans Hagen
\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] \setupfield[textstuff

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

2018-01-12 Thread Hans Hagen
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: On 2015

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 http

[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

[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

Re: [NTG-context] problem with \processaction

2014-12-17 Thread Pablo Rodriguez
}{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 to \processaction. Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] problem with \processaction

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

Re: [NTG-context] Questions about mathfence

2013-07-30 Thread Aditya Mahajan
values of left, middle, and right = 0x2E. Isn't 0x7C a better default? Well, the period 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

Re: [NTG-context] Questions about mathfence

2013-07-29 Thread Hans Hagen
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 anyway. Hans

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
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 this would be appreciated of how to get this desired format would

Re: [NTG-context] Itemize without page break

2012-03-18 Thread Kip Warner
$0x0,0x4(%rdx,%rcx,8) 0x4a24d9 get_avail+57: addl $0x1,0x963a88(%rip)# 0xe05f68 dyn_used 0x4a24e0 get_avail+64: pop%rbx 0x4a24e1 get_avail+65: retq 0x4a24e2 get_avail+66: jmp0x4a24e8 get_avail+72 0x4a24e4 get_avail+68: nop 0x4a24e5 get_avail+69: nop 0x4a24e6

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

2012-01-31 Thread Wolfgang Schuster
- dodo - nodo - redo Suffixes: - indeed - ignore - yes - nop Wolfgang ___ 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

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 proper

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

2011-03-11 Thread Mojca Miklavec
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 (or even error) printing out a message saying what to do. It is a bit weird

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

2011-03-04 Thread Hans Hagen
in dimensions (althoug i can imagine that 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

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, module_bla_redo etc. is better

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

2011-03-03 Thread Wolfgang Schuster
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 this: \def\module_command {\dosingleempty

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

2011-03-03 Thread Aditya Mahajan
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 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

[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 --| I.e

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

Re: [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 --| I.e. paragraphs whose

[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 \stopitemize

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

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

2010-10-24 Thread Herbert Voss
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 \sub

[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 YES or NOP

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
=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 [ ] A little bit but I get: title [ ] Yes

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
of: [ ] a [ ] b [ ] c [ ] d [ ] e [ ] f [ ] g [ ] h [ ] i [ ] j [ ] k [ ] l or is that also possible Add \setupitemgroup[checkbox][column,three] Does not work. I have: \startcheckbox \nop Heeft u iets aan deze workshop gehad? \item Ja \item Nee \item Een

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
=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 [ ] A little bit but I get: title [ ] Yes [ ] No [ ] A little bit I already tried

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 \stoptext -- luigi

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
][{[~~~]}] \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 \stoptext The \hskip needs to be -4em

Re: [NTG-context] Making checkboxes

2010-09-07 Thread luigi scarso
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=.5em] \starttext \startcheckbox \nop \hskip -1.5em title \item Yes \item No \item

Re: [NTG-context] Making checkboxes

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

Re: [NTG-context] Making checkboxes

2010-09-07 Thread luigi scarso
\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 eventually \showframe

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
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]{      \nop \hskip -4.5em #1    } Yes; a problem arise if you must modify the margin

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Wolfgang Schuster
=1.5em,distance=.5em] \starttext \startcheckbox \nop title \item Yes \item No \item A little bit \stopcheckbox \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Aditya Mahajan
][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 main manual for details. Aditya

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Cecil Westerhof
=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 work with: [ ] a [ ] b [ ] c [ ] d [ ] e [ ] f

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Aditya Mahajan
] \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 I am still new to ConTeXt, so I did not know this. But in the future I properly want

Re: [NTG-context] emacs

2009-02-05 Thread Peter Münster
-add-environments (reverse ConTeXt-environment-list-en)) (TeX-add-symbols '(but ConTeXt-arg-define-ref (TeX-arg-literal )) '(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

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
{text} \mirror{text} \MONTH{text} \month{text} \moveongrid[options] # \MR \name{text} # \NC # \newcounter # \nextbox \nextsection \nocap{text} \noheaderandfooterlines \noindenting \nolist{text} \nomarking{text} \nomoreblocks \nomorefiles \nop \nospace \note[reference] \notopandbottomlines \nowhitespace

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

2005-07-14 Thread Paul Tremblay
} 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 making sure a single line doesn't become an orphan or widow. The only drawback is that you cannot use

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

2004-12-02 Thread Hans Hagen
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 latest web2c has only fmt as suffix

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

2004-11-19 Thread Hans Hagen
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 tel: 038 477

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

2004-06-14 Thread Hans Hagen
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 {%\par \vskip

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
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 arises when

[NTG-context] interaction with radio buttons

2003-11-01 Thread Johannes Hüsing
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] [radio