Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-04 Thread Hans Hagen
seems to be \wordright, but although the following minimal example shows a bug it does not produce the same ERROR output page: the square ''end of proof'' \definesymbol[Fin][\mathematics{\square}] \def\qed{\wordright{\symbol[Fin]}} \starttext \startformula a^2 + b^2 = c^2 \stopformula \qed

[NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-03 Thread Otared Kavian
the following minimal example shows a bug it does not produce the same ERROR output page: the square ''end of proof'' \definesymbol[Fin][\mathematics{\square}] \def\qed{\wordright{\symbol[Fin]}} \starttext \startformula a^2 + b^2 = c^2 \stopformula \qed % the problem is here \stoptext

Re: [NTG-context] lmtx update

2020-08-03 Thread Pablo Rodriguez
an occasional challenge). If you are open for suggestions, I would ask for a footnotes that behave as a page index, such as in: \setuplanguage[en][patterns={en,agr}] \setuppapersize[A6] \setupbodyfont[dejavu] \definenote[dict] \setupnote[dict][n=2,rule=off, split=strict, inbetween=

Re: [NTG-context] margin notes (was: lmtx update)

2020-08-01 Thread Otared Kavian
. However, it cannot control the overflow of a sidenote to the next page, whereas the code given by Hans can do that. I admit that this does not happen very often since a well designed text should not have too many long sidenotes… In case other users would like to use your code, I put the whole

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
else return context(Name) end end \stopluacode \def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}} You have to expand the \index argument: \define[1]\Ort{\expanded{\index{...}}} \starttext \Ort{Albano} \Ort{Altona} \Ort{Aurich} \strut\page \placeindex \stoptext The lookup wor

Re: [NTG-context] consistent index entries

2020-08-01 Thread Jairo A. del Rio
ed, like >> > \OverwriteIndexEntry{Hraban}{Ramm, Henning Hraban} >> > ? >> >> I came up with: >> >> \startluacode >> user.Lookups = { >> ["Albano"] = "Albano (Provinz Rom)", >> ["Altona"] = &qu

Re: [NTG-context] consistent index entries

2020-08-01 Thread Jairo A. del Rio
nz Rom)", > ["Altona"] = "Altona (Hamburg)", > ["Aurich"] = "Aurich (Ostfriesland)" > } > > function user.Lookup(Name) > local Res = user.Lookups[Name] > if Res then > return context(Res) > else > return context(

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
(Name) local Res = user.Lookups[Name] if Res then return context(Res) else return context(Name) end end \stopluacode \def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}} \starttext \Ort{Albano} \Ort{Altona} \Ort{Aurich} \strut\page \placeindex \stoptext The look

Re: [NTG-context] lmtx update

2020-08-01 Thread Otared Kavian
e margin? (For instance, assuming that the layout >> is such that for instance the right margin takes 1/3 of the page width, then >> the footnotes would occupy the right margin, beginning at the top). > > I wanted to have footnotes in the margin, possibly starting in th

Re: [NTG-context] lmtx update

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 15:20 schrieb Otared Kavian : > > Regarding footnotes, would it be possible to have a built-in support for > writing the footnotes in the margin? (For instance, assuming that the layout > is such that for instance the right margin takes 1/3 of

Re: [NTG-context] lmtx update

2020-08-01 Thread Otared Kavian
s that we can do other tricks too and we're playing with >>> it (kind of fun). >> Hi Hans, >> Thanks for your explanations. >> Regarding footnotes, would it be possible to have a built-in support for >> writing the footnotes in the margin? (For instance, assuming that

Re: [NTG-context] lmtx update

2020-08-01 Thread Hans Hagen
-in support for writing the footnotes in the margin? (For instance, assuming that the layout is such that for instance the right margin takes 1/3 of the page width, then the footnotes would occupy the right margin, beginning at the top). It depends on what you want. This works ok: \setuplayout

Re: [NTG-context] lmtx update

2020-08-01 Thread Otared Kavian
built-in support for writing the footnotes in the margin? (For instance, assuming that the layout is such that for instance the right margin takes 1/3 of the page width, then the footnotes would occupy the right margin, beginning at t

Re: [NTG-context] About testing rest of space on a page

2020-07-30 Thread Willi Egger
>>> >>> Good evening! >>> >>> I have a bookproject in which sections are ended with a small graphical >>> element. Now as usual this graphic might be moved to a new page which is of >>> course unwanted. >>> >>> A

Re: [NTG-context] ntg-context Digest, Vol 193, Issue 65

2020-07-30 Thread Jan Hansen
known script 'fonts.lua' or 'mtx-fonts.lua' (Hans Hagen) > 5. Re: Unknown script 'fonts.lua' or 'mtx-fonts.lua' > (Marcus Vinicius Mesquita) > 6. Re: Unknown script 'fonts.lua' or 'mtx-fonts.lua' (Aditya Mahajan) > 7. Re: About testing rest of space on a page (Wolfgang Schuster)

Re: [NTG-context] About testing rest of space on a page

2020-07-30 Thread Wolfgang Schuster
Taco Hoekwater schrieb am 30.07.2020 um 09:05: On 29 Jul 2020, at 23:08, Willi Egger wrote: Good evening! I have a bookproject in which sections are ended with a small graphical element. Now as usual this graphic might be moved to a new page which is of course unwanted. At this moment I

Re: [NTG-context] About testing rest of space on a page

2020-07-30 Thread Taco Hoekwater
> On 29 Jul 2020, at 23:08, Willi Egger wrote: > > Good evening! > > I have a bookproject in which sections are ended with a small graphical > element. Now as usual this graphic might be moved to a new page which is of > course unwanted. > > At this momen

[NTG-context] About testing rest of space on a page

2020-07-29 Thread Willi Egger
Good evening! I have a bookproject in which sections are ended with a small graphical element. Now as usual this graphic might be moved to a new page which is of course unwanted. At this moment I have: \startsetups endsection \vfil \placefigure[middle,none][]{}{\externalfigure[ornament2

Re: [NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Wolfgang Schuster
me options (and passes the values to \setupcounter). \setupfootertexts[\userpagenumber] \starttext \setupuserpagenumber[state=stop] \dorecurse{10}{\input knuth } \page \setupuserpagenumber[state=start,number=7] \dorecurse{10}{\input zapf } \stoptext

[NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Willi Egger
] [{\getmarking[chapter]}] \setupfootertexts [] [\pagenumber] [\pagenumber] [] \setupmakeup[standard][top=,bottom=,doublesided=yes] \setupcounter[userpagenumber][state=stop] \starttext \startstandardmakeup[page=yes,doublesided=yes] \strut \godown

[NTG-context] Error with latest upload

2020-07-28 Thread Otared Kavian
Hi Hans, After updating to current version: 2020.07.28 23:04, typestting the minimal test: \starttext test \stoptext results in: runtime error : input file 'page-mcl.mkxl' is not found, quitting. Best regards: OK

[NTG-context] another question about markings

2020-07-26 Thread Joey McCollum
Bump. I’m having the same issue with the following macro, which I’ve defined to work with a two-column layout and which I invoke within \setupheadertexts: \define\RefRange{%    %Check if the first chapter matches the last chapter on the page:    \doifelse{\getmarking[Chapter][1][top]}{\getmarking

[NTG-context] question on page transitions

2020-07-25 Thread Pablo Rodriguez
Dear list, I have a question about page transitions (lines 297-304 from scrn-pag.mkvi): \def\scrn_transitions_set_indeed {\begingroup \edef\currentinteractionscreendelay{\interactionscreenparameter\c!delay}% \clf_setpagetransition n {\scrn_transitions_list}% delay \ifx

Re: [NTG-context] Presentation effects

2020-07-25 Thread Pablo Rodriguez
\setuppagetransitions[random] \setupbodyfont[50pt] \starttext \dorecurse{25}{% \startmakeup[page][style=\bf\ss, align=center] \recurselevel \stopmakeup% } \stoptext Just in case it helps,

Re: [NTG-context] --silent and so on

2020-07-23 Thread Taco Hoekwater
expectations) due to earlier > experiences, like ever being forced to use the backslasg driven language > during education ... "Oh no, please, not TeX again!”. Actually, I am trying to capture my (lua-generated) console output to a processing pipe that expects a html page. Best, Taco

Re: [NTG-context] --silent and so on

2020-07-22 Thread thierry horsin
with lmtx, appears a single page pdf file with ERROR written on it. Are there compulations options with lmtx in order to have something similar as before ? context --nodummy Wolfgang ___ If your question is o

Re: [NTG-context] --silent and so on

2020-07-22 Thread Wolfgang Schuster
the "--nonstopmode --batchmode --silent --noconsole" compilation options. With these options with a new error in the .tex files with old versions of mkiv the previous pdf produced was not changed. Now with lmtx, appears a single page pdf file with ERROR written on it. Are there co

[NTG-context] --silent and so on

2020-07-22 Thread thierry horsin
ilent --noconsole" compilation options. With these options with a new error in the .tex files with old versions of mkiv the previous pdf produced was not changed. Now with lmtx, appears a single page pdf file with ERROR written on it. Are there compulations options with lmtx in order to have

Re: [NTG-context] Pre-registration for 14th ConTeXt Meeting, September 6–12, 2020

2020-07-20 Thread Jano Kula
for the > first time and for students. Also ConTeXt Group members are qualified for > the discount, so consider joining the group. > > For more details and pre-registration visit the 14th ConTeXt Meeting > <https:

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Jairo A. del Rio
I guess pdp is "Pied de page". I don't speak French, but it is close enough to Spanish. Maybe we should do a translation to Spanish too. Congratulations for your colossal effort, Garulfo. Jairo :) El dom., 19 de jul. de 2020 11:49 p. m., Aditya Mahajan escribió: > On Sun, 19 Jul

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Garulfo
ormat A4, impression format A4 \configurertaillepapier[A4][A4] \configurermiseenpage [ espacehaut=2cm, espacearrière=2.5cm, entête=24pt, pdp=36pt, hauteur=milieu, largeur=milieu] % Décommenté ma migne suivant pour visualier la mise en page % \montrercadre % en-tête et pied

Re: [NTG-context] Alphabet & color

2020-07-16 Thread Marcus Vinicius Mesquita
ontfeature >[MyFeaturesB] [default] >[goodies={colorfont},colorscheme=whatever,liga=no] > > \definefont[MyFontA][Serif*MyFeaturesA] > \definefont[MyFontB][Serif*MyFeaturesB] > > (3) and use it this way: > > \starttext > > \setfontcolorscheme[1] {\MyFontA \samplefi

Re: [NTG-context] Alphabet & color

2020-07-16 Thread Hans Hagen
\setfontcolorscheme[1] {\MyFontA \samplefile{tufte}}\par \setfontcolorscheme[2] {\MyFontA \samplefile{tufte}}\par \setfontcolorscheme[3] {\MyFontA \samplefile{tufte}}\par \page \setfontcolorscheme[1] {\MyFontB \samplefile{tufte}}\par \setfontcolorscheme[2] {\MyFontB \samplefile{tufte}}\par \setfontco

Re: [NTG-context] Minimum METAPOST code produces problematic PDF

2020-07-11 Thread Gerben Wierda
> On 9 Jul 2020, at 08:37, Aditya Mahajan wrote: > > On Wed, 8 Jul 2020, Gerben Wierda wrote: > >> I found out this in the PDF spec: >> >> The minimum page size should be 3 by 3 units in default user space; the >> maximum should be 14,400 by 14,400 uni

Re: [NTG-context] Minimum METAPOST code produces problematic PDF

2020-07-09 Thread Gerben Wierda
The minimum is a relative one: It is page 650 in the (normative) Annex C Implementation Limits for PDF readers and writers: Additionally, conforming writers should adhere to the following constraints, and conforming readers should accommodate PDF files that obey the constraints. The minimum

Re: [NTG-context] Minimum METAPOST code produces problematic PDF

2020-07-09 Thread Hans Hagen
On 7/9/2020 9:08 AM, Taco Hoekwater wrote: On 9 Jul 2020, at 08:32, Hans Hagen wrote: On 7/8/2020 8:14 PM, Gerben Wierda wrote: I found out this in the PDF spec: The minimum page size should be 3 by 3 units in default user space; the I never noticed that ... what section/paragraph

Re: [NTG-context] Minimum METAPOST code produces problematic PDF

2020-07-09 Thread Aditya Mahajan
On Wed, 8 Jul 2020, Gerben Wierda wrote: I found out this in the PDF spec: The minimum page size should be 3 by 3 units in default user space; the maximum should be 14,400 by 14,400 units. So, does the following work: \startMPpage[instance=doublefun, offset=2pt] draw (0,0)--(100,0

Re: [NTG-context] Minimum METAPOST code produces problematic PDF

2020-07-09 Thread Hans Hagen
On 7/8/2020 8:14 PM, Gerben Wierda wrote: I found out this in the PDF spec: The minimum page size should be 3 by 3 units in default user space; the I never noticed that ... what section/paragraph in the spec? maximum should be 14,400 by 14,400 units. So we should bump tex's maxima

Re: [NTG-context] Minimum METAPOST code produces problematic PDF

2020-07-08 Thread Gerben Wierda
I found out this in the PDF spec: The minimum page size should be 3 by 3 units in default user space; the maximum should be 14,400 by 14,400 units. Apparently, Adobe InDesign demands that in a hard way. G > On 8 Jul 2020, at 01:08, Jairo A. del Rio wrote: > > Evince and Okular (Li

Re: [NTG-context] Minimum METAPOST code produces problematic PDF

2020-07-07 Thread Jairo A. del Rio
gt; \stopMPpage > > When run through LuaMetaTeX produces a PDF about which Acrobat complains: > > The dimensions of this page are out-of-range. Page content might be > truncated. > > and Adobe InDesign cannot handle it at all (displays empty). > > The error message stays with >

[NTG-context] Minimum METAPOST code produces problematic PDF

2020-07-07 Thread Gerben Wierda
The following code: \startMPpage[instance=doublefun] draw (0,0)--(100,0) dashed withdots; \stopMPpage When run through LuaMetaTeX produces a PDF about which Acrobat complains: The dimensions of this page are out-of-range. Page content might be truncated. and Adobe InDesign cannot

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Wolfgang Schuster
Tommaso Gordini schrieb am 02.07.2020 um 16:48: Taco, this works! Thank you! Now (last question), it's possibile to centering in the middle of the page the whole verse block ? You can use the framedtext environment but the content can no longer split across pages. \starttext

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Tommaso Gordini
Taco, this works! Thank you! Now (last question), it's possibile to centering in the middle of the page the whole verse block ? Tommy Il giorno gio 2 lug 2020 alle ore 15:56 Taco Hoekwater ha scritto: > > I was having fun with this as well while Hans was writing his generic >

Re: [NTG-context] something between packed and "small"??

2020-07-01 Thread Wolfgang Schuster
small"?? Am 01.07.2020 um 21:04 schrieb Mike Cooper : Me again… I’ve got an itemize that needs to fit on one page. I’ve been using inbetween={\blank[small]} for all the other analogous lists but this one is longer and with that spacing, it goes about one inch onto the next page. Bu

Re: [NTG-context] something between packed and "small"??

2020-07-01 Thread Mike Cooper
gt; > > > Am 01.07.2020 um 21:04 schrieb Mike Cooper > : > > > > Me again… > > > > I’ve got an itemize that needs to fit on one page. I’ve been using > inbetween={\blank[small]} for all the other analogous lists but this one is > longer and > with that

Re: [NTG-context] Wiki ConText Installation updated

2020-07-01 Thread Garulfo
command. * the live website always run lmtx. * the source website’s software has been improved a little as well; I have updated the documentation page accordingly. Happy TeXing, Taco ___ If your question

Re: [NTG-context] something between packed and "small"??

2020-07-01 Thread Henning Hraban Ramm
> Am 01.07.2020 um 21:04 schrieb Mike Cooper > : > > Me again… > > I’ve got an itemize that needs to fit on one page. I’ve been using > inbetween={\blank[small]} for all the other analogous lists but this one is > longer and with that spacing, it goes about one

[NTG-context] something between packed and "small"??

2020-07-01 Thread Mike Cooper
Me again... I've got an itemize that needs to fit on one page. I've been using inbetween={\blank[small]} for all the other analogous lists but this one is longer and with that spacing, it goes about one inch onto the next page. But if I use packed, the list is way too crammed together

[NTG-context] Wiki ConText Installation updated

2020-07-01 Thread Taco Hoekwater
software has been improved a little as well; I have updated the documentation page accordingly. Happy TeXing, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] \hideframe to cancel \showframe

2020-06-30 Thread Mikael Sundqvist
nds [header,text,footer] [leftmargin,text,rightmargin] > [frame=on] > \stopsetups > > \startsetups[hideframe] >\setupbackgrounds [header,text,footer] [leftmargin,text,rightmargin] > [frame=off] > \stopsetups > > \starttext > > \input knuth > > \page \setup[showframe] >

Re: [NTG-context] \hideframe to cancel \showframe

2020-06-30 Thread Wolfgang Schuster
\startsetups[showframe] \setupbackgrounds [header,text,footer] [leftmargin,text,rightmargin] [frame=on] \stopsetups \startsetups[hideframe] \setupbackgrounds [header,text,footer] [leftmargin,text,rightmargin] [frame=off] \stopsetups \starttext \input knuth \page \setup[showframe] \input knuth

Re: [NTG-context] Footnotes in math mode

2020-06-28 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 28.06.2020 um 13:43: It's "subscribe nodigest", right? Sorry for the inconveniences Yes but the config page [1] has explanations for all options to know what each does. [1] https://mailman.ntg.nl/mailman/options/ntg-context

Re: [NTG-context] Translation of ConTeXt interface

2020-06-26 Thread Garulfo
ated commands in a test.tex file, it just works. Same as above, provide your translations. Patch file : mult-def.lua.test2_itemize.diff Input file : test2_itemize.tex context --make fr context --interface=fr --global --result=setup-fr x-setups-overview.mkiv context test2_itemize

Re: [NTG-context] pagecolumns: get the current column

2020-06-26 Thread Hans Hagen
overlapping the main text in the other column. I found a useful counter in page-pcl.mkiv: \c_page_col_current. Here's a MWE: \unprotect \def\curCol{\c_page_col_current} \protect \def\InfoInMargin#1{\doifelse{\the\curCol}{1}{\inmargin{#1}}{\inothermargin{#1}}} \def\TestText{\InfoInMargin{\bf

Re: [NTG-context] error running wiki example with labels

2020-06-26 Thread Hans Hagen
On 6/26/2020 4:30 PM, Jan-Erik Hägglöf wrote: function call [844]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle') i'll add a catch there but the issue is likely that you enable synctex while at the same time enable page

[NTG-context] pagecolumns: get the current column

2020-06-26 Thread mf
in the other column. I found a useful counter in page-pcl.mkiv: \c_page_col_current. Here's a MWE: \unprotect \def\curCol{\c_page_col_current} \protect \def\InfoInMargin#1{\doifelse{\the\curCol}{1}{\inmargin{#1}}{\inothermargin{#1}}} \def\TestText{\InfoInMargin{\bf \the\curCol}\input ward \InfoInMargin

Re: [NTG-context] error running wiki example with labels

2020-06-26 Thread Jan-Erik Hägglöf
The thing is also when I do the example code on wiki with page command commented out Errorlog with mtxrun inside vim open source > level 1, order 1, name 'cont-yes.mkiv' system > system > ConTeXt ver: 2020.06.25 11:23 MKIV beta fmt: 2020.6.25 int: english/engli

Re: [NTG-context] error running wiki example with labels

2020-06-24 Thread Jan-Erik Hägglöf
tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle’)But when I take a sample code like this it went success, strange.\mainlanguage[sv]\starttext\input tufte\page\input tufte\stoptextIs the difference when I’m running mtxrun … inside macviminstead of just cont

Re: [NTG-context] error running wiki example with labels

2020-06-24 Thread Jan-Erik Hägglöf
From the terminal running context it works fine but the problem appeared inside macvim so it seems to be related to macvim. > 24 juni 2020 kl. 21:24 skrev Aditya Mahajan : > > On Wed, 24 Jun 2020, Jan-Erik Hägglöf wrote: > >> Hello All! >> >> In the page https:/

Re: [NTG-context] error running wiki example with labels

2020-06-24 Thread Wolfgang Schuster
Jan-Erik Hägglöf schrieb am 24.06.2020 um 21:05: Hello All! In the page https://wiki.contextgarden.net/Labels I’ve tried with no success to run those examples given at the page. The error complaint as the log shows below Can you comment (or remove) the following two lines which load the IBM

Re: [NTG-context] error running wiki example with labels

2020-06-24 Thread Aditya Mahajan
On Wed, 24 Jun 2020, Jan-Erik Hägglöf wrote: Hello All! In the page https://wiki.contextgarden.net/Labels <https://wiki.contextgarden.net/Labels> I’ve tried with no success to run those examples given at the page. The error complaint as the log shows below Works okay here with bot

[NTG-context] error running wiki example with labels

2020-06-24 Thread Jan-Erik Hägglöf
Hello All! In the page https://wiki.contextgarden.net/Labels <https://wiki.contextgarden.net/Labels> I’ve tried with no success to run those examples given at the page. The error complaint as the log shows below return { ["filename"]="./labels3.tex", ["las

Re: [NTG-context] spacing before items

2020-06-24 Thread Mike Cooper
else in > my life! If it wasn't required by my job, I wouldn't have made it past the > first day or > two (3 months ago). But I'm slogging away and it's gradually coming together > (I > think). I spent my whole day yesterday figuring out how to do some very basic > formatting

Re: [NTG-context] spacing before items

2020-06-24 Thread Hans Hagen
have taken 5-10 minutes in Word or HTML/CSS. People have been very helpful and patient with me!! Thanks to all of you for that! Let me challenge you: how would your solution translate to a wiki page for a beginner with the sam eproblem to solve ... content but also the 'how to get there aspec

Re: [NTG-context] How to define an array of pens

2020-06-22 Thread Otared Kavian
Thanks Taco! I added this and Hans' explanations to the wiki: https://wiki.contextgarden.net/variable_color but could not set a better title for that page such as « Variable arrays of colors, pens, paths ». Best regards: Otared > On 22 Jun 2020, at 09:28, Taco Hoekwater wr

Re: [NTG-context] \blank space at the top of a page

2020-06-18 Thread James Withers
> I have been trying to find a solution to how to insert blank lines > > before a chapter heading at the start of a page. In the following > > example the \blank[4*big] is ignored. The solution I've found is to > > add an empty box using \mbox{} before the \blank comma

Re: [NTG-context] \blank space at the top of a page

2020-06-18 Thread Wolfgang Schuster
James Withers schrieb am 18.06.2020 um 17:35: Hello list I have been trying to find a solution to how to insert blank lines before a chapter heading at the start of a page. In the following example the \blank[4*big] is ignored. The solution I've found is to add an empty box using \mbox{} before

Re: [NTG-context] margin comment above heading

2020-06-18 Thread Pablo Rodriguez
t; \setupinterlinespace[1sp] >>\stopsetups This was from a previous form of the sample. If the paragraph is really tiny, it would be easier not to have a page break between that paragraph and the >>\setupinteraction[state=start] >>\showframe\showgrid >>

[NTG-context] \blank space at the top of a page

2020-06-18 Thread James Withers
Hello list I have been trying to find a solution to how to insert blank lines before a chapter heading at the start of a page. In the following example the \blank[4*big] is ignored. The solution I've found is to add an empty box using \mbox{} before the \blank command. Is this the right way

Re: [NTG-context] (no subject)

2020-06-17 Thread Taco Hoekwater
fi} > > \setuppapersize [A10][A8] > \setuparranging [1*4*reversed] > \setuplayout[margin=0pt, width=fit] > > \showframe > > \starttext > \dorecurse{8}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page} > \stoptext > ``` > > imposition scheme i

[NTG-context] (no subject)

2020-06-17 Thread Malte Frank Gerdes
{#1}000\arrangedpageA % 4 \poparrangedpages \fi} \setuppapersize [A10][A8] \setuparranging [1*4*reversed] \setuplayout[margin=0pt, width=fit] \showframe \starttext \dorecurse{8}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page} \stoptext ``` imposition scheme

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Aditya Mahajan
lines at the top show the number of the previous page, this happens because TeX collects more than necessary which means in your example above the layer is placed when TeX was still on the first page. Many thanks for your reply, Wolfgang. I’m afraid that TeX is too tricky for me in that case (or I

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Pablo Rodriguez
the top show the number of the previous page, this happens > because TeX collects more than necessary which means in your example > above the layer is placed when TeX was still on the first page. Many thanks for your reply, Wolfgang. I’m afraid that TeX is too tricky for me i

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 16.06.2020 um 16:31: On 6/16/20 4:53 AM, Rudolf Bahr wrote: [...] Hi Pablo, I fear I don't understand what issue you mean, therefore I append my output here. Many thanks for your reply, Rudolf. The issue is that the layer is placed on the first page, where

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Pablo Rodriguez
On 6/16/20 4:53 AM, Rudolf Bahr wrote: > [...] > Hi Pablo, > > I fear I don't understand what issue you mean, therefore I append my output > here. Many thanks for your reply, Rudolf. The issue is that the layer is placed on the first page, where it should be placed on

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Rudolf Bahr
On Mon, Jun 15, 2020 at 02:52:49PM +0200, Pablo Rodriguez wrote: > Dear list, > > I have the following number with wrong annotation placement and wrong > page number, which would be both on the second page: > > \setupinteraction[state=start] > \definelayer[pgnumber]

Re: [NTG-context] Filter module for R

2020-06-15 Thread Aditya Mahajan
tting.. this is really deep magic for me. I think the facility to run R code directly from context can open ConTeXt to new users. The alliance between R and LaTeX is a winning combination to a lot of my colleagues. Do you think this would be appropriate to do a simple page on the wiki explai

Re: [NTG-context] Filter module for R

2020-06-15 Thread Fabrice L
> > Thanks so much for your answer. I had (of course) to install nvim in order the code to work, but this works ! Thanks also for your additional work regarding the locale setting.. this is really deep magic for me. I think the facility to run R code directly from context can open C

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Pablo Rodriguez
On 6/15/20 4:09 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 15.06.2020 um 14:52: >> Dear list, >> >> I have the following number with wrong annotation placement and wrong >> page number, which would be both on the second page: >> [...]

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 15.06.2020 um 14:52: Dear list, I have the following number with wrong annotation placement and wrong page number, which would be both on the second page: \setupinteraction[state=start] \definelayer[pgnumber] \setupbackgrounds[page][background=pgnumber

[NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Pablo Rodriguez
Dear list, I have the following number with wrong annotation placement and wrong page number, which would be both on the second page: \setupinteraction[state=start] \definelayer[pgnumber] \setupbackgrounds[page][background=pgnumber] \starttext \placelist[section][alternative=d

[NTG-context] using annotations for extended print handling

2020-06-14 Thread Pablo Rodriguez
would need to recompile the document again for each new required /PrintPageRange. Another approach would be to add PDF annotations (outside page boundaries) to store the desired information. So I created text annotations (using \comment) with author information composed from unit number

Re: [NTG-context] Problem with Hello-World.tex

2020-06-14 Thread Wolfgang Schuster
Alessandro Perucchi schrieb am 14.06.2020 um 16:30: Hello everyone, I am quite new to ConTEXt, and after installed it according to the following web page : https://wiki.contextgarden.net/Installation I’ve installed it in macOS Catalina 10.15.5. After a successful installation (I hope), I

Re: [NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
Thanks kindly, Wolfgang. On Mon, 15 Jun 2020 at 00:49, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Jack Steyn schrieb am 14.06.2020 um 16:46: > > Hi, > > > > I'm not sure why the following MWE produces a document where page 2 > > has the page

Re: [NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Wolfgang Schuster
Jack Steyn schrieb am 14.06.2020 um 16:46: Hi, I'm not sure why the following MWE produces a document where page 2 has the page number i instead of ii. It seems to have something to do with the use of makeup. I was using it to create a vertically centered title page. Is there a better way

[NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
Hi, I'm not sure why the following MWE produces a document where page 2 has the page number i instead of ii. It seems to have something to do with the use of makeup. I was using it to create a vertically centered title page. Is there a better way of doing this which will give the correct page

[NTG-context] Problem with Hello-World.tex

2020-06-14 Thread Alessandro Perucchi
Hello everyone,I am quite new to ConTEXt, and after installed it according to the following web page : https://wiki.contextgarden.net/InstallationI’ve installed it in macOS Catalina 10.15.5.After a successful installation (I hope), I tried to run the “First Run!” part, so I’ve downloaded the file

Re: [NTG-context] Draft Watermark of Garden gives unexpected results

2020-06-11 Thread Wolfgang Schuster
Floris van Manen schrieb am 11.06.2020 um 23:03: On 11/06/2020 22:31, Jairo A. del Rio wrote: The watermark is partially outside the page, whereas the Wiki result is more "centered". Is that an intended behaviour? A slightly better version. \defineoverlay [WatermarkOverlay]

Re: [NTG-context] Draft Watermark of Garden gives unexpected results

2020-06-11 Thread Floris van Manen
On 11/06/2020 22:31, Jairo A. del Rio wrote: > The watermark is partially outside the page, whereas the Wiki result is > more "centered". Is that an intended behaviour? > Also, if you set \rotate[rotation=0.0]{Draft} it will disappear... pEpkey.asc Description: a

[NTG-context] Draft Watermark of Garden gives unexpected results

2020-06-11 Thread Jairo A. del Rio
The following example of using layers doesn't works as expected in ConTeXt https://wiki.contextgarden.net/Draft_Watermark The watermark is partially outside the page, whereas the Wiki result is more "centered". Is that an intended behaviour? Additionally, how to center an element

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Wolfgang Schuster
Alan Bowen schrieb am 10.06.2020 um 17:04: Thanks, Taco! That works in my mwe. I added way=bytext in my env file and the output is just what I need. Why don't you use sub pages? \starttext %\setupsubpagenumber[start=5]\resetsubpagenumber \setcounter[subpage][5] \startTEXpage

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Alan Bowen
that resets the counter to one at the start > of the next page (it is useful for footnotes that are numbered > per-page, but not for actual page counters). > > > \definecounter[volpage][type=page] > \starttext > \setcounter[volpage][5] > \dorecurse{3}{\startTEXpage[off

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Taco Hoekwater
Hi Alan, Sorry, I should have actually tried your MWE. You do *not* want way=bypage here, as that resets the counter to one at the start of the next page (it is useful for footnotes that are numbered per-page, but not for actual page counters). \definecounter[volpage][type=page] \starttext

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Alan Bowen
Hi, Taco— Thanks for the suggestion. I have tried it with \incrementcounter before and after the TEXpage. Sadly, neither worked. This mwe is an attempt to capture the failure of the following in processing a product with numerous components: \definecounter[volpage][type=page, way=bypage

Re: [NTG-context] Installing on arm64

2020-06-10 Thread Lutz Haseloff
m 64 bit for which we use a raspberry pi running ubuntu 64 bit, >which brings the platforms supported by the build bot to 15:... > >On the Install page of ConTeXt garden I found ARM 64b as one of the >options. So after downloading and extracting I ran the install.sh >script

Re: [NTG-context] Installing on arm64

2020-06-10 Thread Hans Hagen
for which we use a raspberry pi running ubuntu 64 bit, which brings the platforms supported by the build bot to 15:... On the Install page of ConTeXt garden I found ARM 64b as one of the options. So after downloading and extracting I ran the install.sh script. It gave me the error

[NTG-context] Installing on arm64

2020-06-10 Thread Sytse Knypstra
64 bit, which brings the platforms supported by the build bot to 15:... On the Install page of ConTeXt garden I found ARM 64b as one of the options. So after downloading and extracting I ran the install.sh script. It gave me the error: Your system linux aarch64 is not supported (yet). You

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Taco Hoekwater
Hi, Incrementing the counter outside of the TEXpage should work. Best wishes, Taco > On 9 Jun 2020, at 23:34, Alan Bowen wrote: > > My efforts to set up a new page counter in the footertexts of a book are not > proving successful. The following code shows the nature of

Re: [NTG-context] start/stop executed conditionally on mode ?

2020-06-10 Thread Jan Willem Flamma
itya Mahajan >> > a écrit :>> >> On Sun, 7 Jun 2020, Fabrice L wrote:>> >>> Dear List,>>> >>> I would like to insert a page using (ideally) start/stop >>> instructions. The problem is that this page should be inserted only >>&

[NTG-context] problem with counters (page)

2020-06-09 Thread Alan Bowen
My efforts to set up a new page counter in the footertexts of a book are not proving successful. The following code shows the nature of the problem. \definecounter[volpage][type=page, way=bypage] \starttext \setcounter[volpage][5] \dorecurse{3}{\startTEXpage[offset=2pc] \input ward \blank[medium

  1   2   3   4   5   6   7   8   9   10   >