Re: [NTG-context] embeddedxtable

2015-05-24 Thread Wolfgang Schuster
> Am 24.05.2015 um 21:33 schrieb Meer, H. van der : > >> In this case you have to provide a working minimal example. >> >> Wolfgang > > Here an example as minimal as I could construct. The spaces in the output are produced by the spaces between the tags (\xmlstrip doesn’t seem to work) and yo

Re: [NTG-context] Force to display page number on the `makeup' page

2015-05-24 Thread Wolfgang Schuster
> Am 24.05.2015 um 21:20 schrieb Alexander Shukaev : > > Thanks, Wolfgang, that indeed does the trick. > > A related question. I've noticed that global `whitespace' setup is not > recognized by `makeup' environment, i.e. > > \setupwhitespace[line] > > \definemakeup > [abstractpage] > > \sta

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
In this case you have to provide a working minimal example. Wolfgang Here an example as minimal as I could construct. Hans van der Meer The following example outputs show what happens with and without the \unskip's in the code. [cid:E7DC008D-E8CB-4F0A-BC45-9E8E4969C8DB] [cid:8A14737A-52AE-4B90-

Re: [NTG-context] Force to display page number on the `makeup' page

2015-05-24 Thread Alexander Shukaev
Thanks, Wolfgang, that indeed does the trick. A related question. I've noticed that global `whitespace' setup is not recognized by `makeup' environment, i.e. \setupwhitespace[line] \definemakeup [abstractpage] \startabstractpagemakeup % `whitespace' is definitely not `line'. \stopabstractpag

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Wolfgang Schuster
> Am 24.05.2015 um 18:01 schrieb Meer, H. van der : > > Defined as follows: > > \def\setupxtableparameters#1{% #1 is the node > \setupframeparameters{#1}{\setupxtable}% > \setupToAttribute{#1}{\setupxtable}{foregroundstyle}{style}{style}{\tf}% > \setupToAttribute{#1}{\setupxtable}{offset}{cellpa

Re: [NTG-context] Force to display page number on the `makeup' page

2015-05-24 Thread Wolfgang Schuster
> Am 24.05.2015 um 20:03 schrieb Alexander Shukaev : > > Hello, > > I have a special `makeup' for the abstract page: > > \definemakeup > [abstractpage] > > I also have general `makeup' setup: > > \setupmakeup[ > doublesided={no}, > pagestate={start}, > page={yes}, > ] > > The

[NTG-context] Force to display page number on the `makeup' page

2015-05-24 Thread Alexander Shukaev
Hello, I have a special `makeup' for the abstract page: \definemakeup [abstractpage] I also have general `makeup' setup: \setupmakeup[ doublesided={no}, pagestate={start}, page={yes}, ] The footer is available from general `layout' setup: \setuplayout[ footer={16pt}, header

Re: [NTG-context] How to properly `\setuplayout' for several pages and then restore back?

2015-05-24 Thread Alexander Shukaev
On Sun, May 24, 2015 at 11:20 AM, Hans Hagen wrote: > On 5/23/2015 8:36 PM, Alexander Shukaev wrote: > >> Hello, >> >> I have a table of contents that now has grown to span several pages. >> Before that I used the following setup: >> >> \definemakeup >> [contentspage] >> >> \setupmakeup >> [conte

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
Defined as follows: \def\setupxtableparameters#1{% #1 is the node \setupframeparameters{#1}{\setupxtable}% \setupToAttribute{#1}{\setupxtable}{foregroundstyle}{style}{style}{\tf}% \setupToAttribute{#1}{\setupxtable}{offset}{cellpadding}{}{0pt}% \setupToAttribute{#1}{\setupxtable}{columndistance}{c

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Wolfgang Schuster
> Am 24.05.2015 um 15:32 schrieb Meer, H. van der : > > I can get rid of the unwanted spaces before the table by inserting a whole > bunch of \unskip's in my code. All the \unskip's in the following code are > necessary. I guess this observation will be enough to repair the ConText > code. Or

Re: [NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Wolfgang Schuster
> Am 24.05.2015 um 11:20 schrieb Fabrice Couvreur : > > > Hi, > Why the command \placerecipe{}{} does not with an environment > \starttikzpicture > \stoptikzpicture ? > Fabrice > > \setupexternalfigures[location={local,global,default}] > > \setuppagenumbering[location=] > > \usemodule[tikz]

Re: [NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Hans Hagen
On 5/24/2015 2:36 PM, Aditya Mahajan wrote: On May 24, 2015, at 5:48 AM, Mojca Miklavec wrote: On Sun, May 24, 2015 at 11:20 AM, Fabrice Couvreur wrote: Hi, Why the command \placerecipe{}{} does not with an environment \starttikzpicture \stoptikzpicture ? In my opinion this is a "bug" i

Re: [NTG-context] Smart Acronym Pluralization (`y' or `ie' before `s')

2015-05-24 Thread Alexander Shukaev
On Sun, May 24, 2015 at 11:17 AM, Hans Hagen wrote: > On 5/24/2015 1:39 AM, Alexander Shukaev wrote: > >> Hello, >> >> Consider the following: >> >> \definesynonyms >> [ACRONYM] >> [ACRONYMS] >> [\FULL] >> [\SHORT] >> >> ​​ >> \ACRONYM{DLL}{Dynamic-Link Librar\doifnextcharelse{s}{ie}{y}} >> >> Wh

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
I can get rid of the unwanted spaces before the table by inserting a whole bunch of \unskip's in my code. All the \unskip's in the following code are necessary. I guess this observation will be enough to repair the ConText code. Or do I have to change something in my code? \startxmlsetups xmlco

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
Here can be seen how every row adds space before the table. I.e. spaces are added and after that the table is put behind. This behaviour was not present when I had the material typeset earlier. The xmlsetup's used were not changed since then. \startxmlsetups xmlcommon:tr \xmlstripanywhere{#1}{.

Re: [NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Aditya Mahajan
> On May 24, 2015, at 5:48 AM, Mojca Miklavec > wrote: > >> On Sun, May 24, 2015 at 11:20 AM, Fabrice Couvreur wrote: >> >> Hi, >> Why the command \placerecipe{}{} does not with an environment >> \starttikzpicture >> \stoptikzpicture ? > > In my opinion this is a "bug" in TikZ that has been

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
Further experimenting with different ConTeXt versions: Trying earlier and latest beta, placing the embeddedxtable inside \midaligned: version 2014.11.26 puts the embbedxtable to the right over distance width-of-table. version 2015.03.25 and version 2015.05.23 put the left side of the embeddedx

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
When typesetting inside a \midaligned a version with markers around: A\startembeddedxtable\xmlflush{#1}\stopembeddedxtable B then the A and B show up centered and have the width of the table material between them. The embeddedxtable stuff is placed outside that range starting at the location

Re: [NTG-context] arranging pages

2015-05-24 Thread Meer, H. van der
That is it! The difference between 2UP and 2SIDE had escaped me. Thanks. Hans van der Meer On 24 May 2015, at 12:15, Otared Kavian mailto:ota...@gmail.com>> wrote: Hi again, Sorry I didn’t notice that you used \setuparranging[2UP] Actually what you want to do may be: begin arranging

Re: [NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Fabrice
Thank you for your suggestions, it works. Fabrice ___ 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

Re: [NTG-context] arranging pages

2015-05-24 Thread dr. Hans van der Meer
Neither of these suggestions makes any difference. Not the solution therefore. Hans van der Meer > On 24 May 2015, at 12:07, Otared Kavian wrote: > > Hi, > > Maybe you need to say also: > > \setuppagenumbering[alternative={singlesided,doublesided}] > > or just > \setuppagenum

[NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
With the construct \startembeddedxtable\xmlflush{#1}\stopembeddedxtable placed inside a \midaligned I used to get a neatly centered content. But now the material is shifted to the right, even sticking out of the page. Has something changed in the embeddedxtable alignment handling since

Re: [NTG-context] arranging pages

2015-05-24 Thread Otared Kavian
Hi again, Sorry I didn’t notice that you used \setuparranging[2UP] Actually what you want to do may be: begin arranging-up-or-side.tex \setuppapersize[A5][A4,landscape] \setuplayout[location=middle] \setuparranging[2SIDE] %\setuparranging[2UP] <—— Compare with the above \setuppag

Re: [NTG-context] arranging pages

2015-05-24 Thread Otared Kavian
Hi, Maybe you need to say also: \setuppagenumbering[alternative={singlesided,doublesided}] or just \setuppagenumbering[alternative={singlesided}] Best regards: OK > On 24 May 2015, at 11:24, Meer, H. van der wrote: > > Trying to put 2 pages in A5 format besides one another on

Re: [NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Mojca Miklavec
On Sun, May 24, 2015 at 11:20 AM, Fabrice Couvreur wrote: > > Hi, > Why the command \placerecipe{}{} does not with an environment > \starttikzpicture > \stoptikzpicture ? In my opinion this is a "bug" in TikZ that has been pointed out a while ago already. The picture creates a "wrong type of the b

Re: [NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Hans Hagen
On 5/24/2015 11:20 AM, Fabrice Couvreur wrote: Hi, Why the command \placerecipe{}{} does not with an environment \starttikzpicture \stoptikzpicture? Fabrice \setupexternalfigures[location={local,global,default}] \setuppagenumbering[location=] \usemodule[tikz] \usemodule[pgfplots] \pgfplotsset

[NTG-context] arranging pages

2015-05-24 Thread Meer, H. van der
Trying to put 2 pages in A5 format besides one another on an A4 page like this: -- | | | | | | | | | |1| 2 | | | | | | | -- but using: \setuppapersize[A5][A

Re: [NTG-context] How to properly `\setuplayout' for several pages and then restore back?

2015-05-24 Thread Hans Hagen
On 5/23/2015 8:36 PM, Alexander Shukaev wrote: Hello, I have a table of contents that now has grown to span several pages. Before that I used the following setup: \definemakeup [contentspage] \setupmakeup [contentspage][% footerstate={stop}, headerstate={stop}, pagestate={stop},

[NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Fabrice Couvreur
Hi, Why the command \placerecipe{}{} does not with an environment \ starttikzpicture \stoptikzpicture ? Fabrice \setupexternalfigures[location={local,global,default}] \setuppagenumbering[location=] \usemodule[tikz] \usemodule[pgfplots] \pgfplotsset{compat=1.8} \definefloat [recipe] [figur

Re: [NTG-context] Smart Acronym Pluralization (`y' or `ie' before `s')

2015-05-24 Thread Hans Hagen
On 5/24/2015 1:39 AM, Alexander Shukaev wrote: Hello, Consider the following: \definesynonyms [ACRONYM] [ACRONYMS] [\FULL] [\SHORT] \ACRONYM{DLL}{Dynamic-Link Librar\doifnextcharelse{s}{ie}{y}} Why \FULL{DLL}s does not do what I expect it to do? I assume that it's because `\doifnextcharels