Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Fabrice Couvreur
Hi Otared, This works with Texlive context but this does not work with Standalone context that I use with Emacs. How to make the last page number interactive ? Thank you Fabrice 2017-08-10 11:47 GMT+02:00 Otared Kavian <ota...@gmail.com>: > I forgot to add that you can

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Otared Kavian
I forgot to add that you can also use \setupfootertexts[Page \pagenumber\ sur\ \totalnumberofpages][] Best regards: OK > On 10 Aug 2017, at 11:43, Otared Kavian <ota...@gmail.com> wrote: > > Hi Fabrice, > > The following gives the desired result, as Hans pointed ou: >

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Otared Kavian
Hi Fabrice, The following gives the desired result, as Hans pointed ou: \setuppagenumbering[alternative=] \setupfootertexts[Page \pagenumber\ sur\ \lastpage][] \starttext \dorecurse{5}{\input knuth.tex \page} \stoptext Best regards: OK > On 10 Aug 2017, at 11:28, Fabrice Couvreur <fa

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Fabrice Couvreur
Hi Hans and Pablo, \setuppagenumbering[alternative=] \setupfootertexts[Page \pagenumber\ sur\ \lastpage][] The behavior is not that expected: Page 1 sur 0 Page 2 sur 0 Page 3 sur 0 Thanks Fabrice 2017-08-10 9:57 GMT+02:00 Hans Hagen <pra...@wxs.nl>: > On 8/9/2017 11:42 PM

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Hans Hagen
On 8/9/2017 11:42 PM, Fabrice Couvreur wrote: Hello, With Latex, I did this : \usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref} \rfoot{\scriptsize{\textsf{Page~\thepage{}~sur~\pageref{LastPage With Context, I tried this unsuccessfully

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-09 Thread Pablo Rodriguez
On 08/09/2017 11:42 PM, Fabrice Couvreur wrote: > Hello, > With Latex, I did this : > > \usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref} > \rfoot{\scriptsize{\textsf{Page~\thepage{}~sur~\pageref{LastPage Hi Fabrice, this is

[NTG-context] How can I add “page # of ##” on my document ?

2017-08-09 Thread Fabrice Couvreur
Hello, With Latex, I did this : \usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref} \rfoot{\scriptsize{\textsf{Page~\thepage{}~sur~\pageref{LastPage With Context, I tried this unsuccessfully ; \setupinteraction [state=start, style

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2017-08-03 Thread Jean-Pierre Delange
series of footnotes in the footer. Notes dealing with the original text and different notes for the translation, given that if the original text was on the even page (left), a commentary might be print on the right page. The situation is clear : an even page with original language

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2017-07-27 Thread Jean-Pierre Delange
Hi Marcello, As you say "this feature could be really interesting", but as far as I know, there are many issues to deal with, in order to print 2 columns on the same page with different languages (say : greek and latin). This is not only because of two languages (say : english a

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2017-07-23 Thread Marcello Urgo
Dear Hans, I am also intersted in this issue. In the last years I am dealing with a multi-language technical lexicon. Hence, different languages refer to different columns, and if the languages are three or four, then it is better to go with two pages side-by-side. Nevertheless this seems a

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Henri Menke
On 07/03/2017 07:09 PM, Hans Hagen wrote: > On 7/3/2017 8:42 AM, Henri Menke wrote: >> On Mon, 2017-07-03 at 01:48 -0400, Aditya Mahajan wrote: >>> On Sun, 2 Jul 2017, Henri Menke wrote: >>> >>>> Why is the page shifted? Reproducible in TL2017 and lat

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Hans Hagen
On 7/3/2017 8:42 AM, Henri Menke wrote: On Mon, 2017-07-03 at 01:48 -0400, Aditya Mahajan wrote: On Sun, 2 Jul 2017, Henri Menke wrote: Why is the page shifted? Reproducible in TL2017 and latest beta. See also attached. MWE is below. Why do you think that the page is shifted? Or are you

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Henri Menke
On Mon, 2017-07-03 at 18:42 +1200, Henri Menke wrote: > On Mon, 2017-07-03 at 01:48 -0400, Aditya Mahajan wrote: > > > > On Sun, 2 Jul 2017, Henri Menke wrote: > > > > > > > > Why is the page shifted?  Reproducible in TL2017 and latest beta.  See  > &g

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Henri Menke
On Mon, 2017-07-03 at 01:48 -0400, Aditya Mahajan wrote: > On Sun, 2 Jul 2017, Henri Menke wrote: > > > Why is the page shifted?  Reproducible in TL2017 and latest beta.  See  > > also attached.  MWE is below. > > Why do you think that the page is shifted? Or

Re: [NTG-context] Why is the page off?

2017-07-02 Thread Aditya Mahajan
On Sun, 2 Jul 2017, Henri Menke wrote: Why is the page shifted?  Reproducible in TL2017 and latest beta.  See also attached.  MWE is below. Why do you think that the page is shifted? Or are you asking why does the default layout set the left margin width to be larger than the backspace

[NTG-context] Why is the page off?

2017-07-01 Thread Henri Menke
Dear list, Why is the page shifted?  Reproducible in TL2017 and latest beta.  See also attached.  MWE is below. Cheers, Henri --- \showframe \starttext Foo \stoptext test.pdf Description: Adobe PDF document

[NTG-context] a special kind of notes in each page

2017-06-01 Thread Pablo Rodriguez
Hans, I have a document http://tex.ousia.tk/hippocratic-oath.pdf (source as attachment to the PDF document itself). The special kind of notes are the first group in two columns. I need that their space and location in page are calculated by the notes mechanism. And also that the notes mechanism

[NTG-context] Blank page introduced by setmathfont?

2017-01-27 Thread Thangalin
Example: \usemodule[simplefonts] \setmathfont[modern] \starttext \startfrontmatter \input knuth \stopfrontmatter \stoptext Expected Results The text is on the first page. Actual Results The text is on the second page, the first page is blank. Work Around Remove \setmathfont[modern

Re: [NTG-context] \copypages and page numbering

2016-12-22 Thread Hans Hagen
][][scale=950] They are not provided with page numbers, and I’m including them in the usual way. Now, most of the time it just works. All the papers should conform to a template, but in some cases, page numbers are not displayed, and this depends on the fact that the page setup in that paper has

[NTG-context] \copypages and page numbering

2016-12-20 Thread Andrea Valle
Dear all, I’m assembling into a unique pdf the proceedings of a conference. They have been created by various sw (latex, word, writer etc). In order to include the papers, I’m just using a series of commands like \copypages[CIMXXI_contributi/dapelo][][scale=950] They are not provided with page

[NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-19 Thread Benjamin Buchmuller
Hi Hans, the patch solves the issue. Thank you for the fast reply. With regard to Pablo’s question: When I would not use crop in the MWE, apparently I would get the desired output indeed. However, in the situation I was using the command to produce a document, I would need to crop some parts

Re: [NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-19 Thread Hans Hagen
[] [] [any text] % issue related to put something in footer ... [] \input knuth \input knuth \input knuth % … and moving to the top of the next page \startplacefigure [ width=fit, title={ \input bryson

Re: [NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-18 Thread Pablo Rodriguez
\input knuth > > \input knuth > > \input knuth > > % … and moving to the top of the next page > > \startplacefigure > [ > width=fit, > title={ > \input bryson > }, > ] > \clip[height=7.0cm]{ % issue related to clip &g

[NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-18 Thread Benjamin Buchmuller
text] % issue related to put something in footer ... [] \input knuth \input knuth \input knuth % … and moving to the top of the next page \startplacefigure [ width=fit, title={ \input bryson }, ] \clip[height=7.0cm]{ % issue

Re: [NTG-context] hbox after \page[disable]

2016-12-06 Thread Michael Eidenbenz
> Am 05.12.2016 um 22:21 schrieb Hans Hagen <pra...@wxs.nl>: > > On 12/5/2016 9:32 PM, Michael Eidenbenz wrote: >> Ok I got it. >> >> page[disable] is not taken into account by page[odd] so I changed it in >> page-brk.mkiv: >> >> \inst

Re: [NTG-context] hbox after \page[disable]

2016-12-05 Thread Hans Hagen
On 12/5/2016 9:32 PM, Michael Eidenbenz wrote: Ok I got it. page[disable] is not taken into account by page[odd] so I changed it in page-brk.mkiv: \installpagebreakmethod \v!odd {\relax\ifconditional\c_page_breaks_enabled \page \doifelseoddpage\donothing

Re: [NTG-context] hbox after \page[disable]

2016-12-05 Thread Michael Eidenbenz
Ok I got it. page[disable] is not taken into account by page[odd] so I changed it in page-brk.mkiv: \installpagebreakmethod \v!odd {\relax\ifconditional\c_page_breaks_enabled \page \doifelseoddpage\donothing\page_reset_marks_and_insert_dummy \else \resetpagebreak \fi

Re: [NTG-context] hbox after \page[disable]

2016-12-04 Thread Michael Eidenbenz
finding the \page[disable] definition in the code but could not find it. any further suggestions how I can solve this issue? thanks Michael > Am 04.12.2016 um 18:13 schrieb Hans Hagen <pra...@wxs.nl>: > > On 12/4/2016 2:12 PM, Michael Eidenbenz wrote: >> I have

Re: [NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-04 Thread Benjamin Buchmuller
Hi Hans, thank you for your help. I tried exactly as you suggested, which worked fine, but adopting for the case being with \setupfootertexts[\strut{\color[MyColor]{footers}}\strut][][][…same…] (further, footer texts change in the course of the document and call markings, page numbers etc

Re: [NTG-context] hbox after \page[disable]

2016-12-04 Thread Hans Hagen
of the figure. I think it is placed during the \page[disable] pass. What can I do to avoid this hbox? \def\Figure#1{\placefigure[location={page,none}]{}{#1}} Thanks Michael \enabletrackers [visualizers.hbox] \useMPlibrary[dum] \setuppagenumbering [alternative=doublesided] \definelayout[odd

[NTG-context] hbox after \page[disable]

2016-12-04 Thread Michael Eidenbenz
the \page[disable] pass. What can I do to avoid this hbox? Thanks Michael \enabletrackers [visualizers.hbox] \useMPlibrary[dum] \setuppagenumbering [alternative=doublesided] \definelayout[odd][width=10cm] \definelayout[even][width=15cm] \newtoks \EvenPage \appendtoks \the\EvenPage \global

Re: [NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-04 Thread Hans Hagen
On 12/4/2016 4:05 AM, Benjamin Buchmuller wrote: When I have \setupfooter[color=red, style=bold] (same goes with \setupfooter[style=red]) and a tex text text % <<<< page breaks here after typesetting >>>> \startplacefigure[ %location=force, % no matter what

[NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-03 Thread Benjamin Buchmuller
When I have \setupfooter[color=red, style=bold] (same goes with \setupfooter[style=red]) and a tex text text % <<<< page breaks here after typesetting >>>> \startplacefigure[ %location=force, % no matter what I do here title={Caption.} ] … something …

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-27 Thread Jean-Pierre Delange
it, there is probably some ways to achieve the goal mentionned in the title of this thread : 2 parallel texts synchronized on the same page, in 2 different languages. Maybe through the "stream" macros. JP - Mail original - De: "Jean-Pierre Delange" <adeiman...@free.fr> À: "

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-26 Thread Jean-Pierre Delange
. Didot in printing a bilingual text on 2 parallel paragraphs (see "Tâche n° 4", within his test, page 12). At the end of this file, there are some examples (see specially pages 26,27,28) : https://zimbra.free.fr/service/home/~/bilingue.pdf?auth=co=fr=253997=2 - Mail origina

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-26 Thread Jean-Pierre Delange
Hi Arthur, Thanks a lot for your advise. I'm looking forward to the mechanism you're talking to (streams) and I don't give up for testing a useful kind of typesetting where the goal is to place 2 or 3 parallel paragraphs into columns on the even page (e. g. mainly greek & latin &

[NTG-context] first and last note in page

2016-11-26 Thread Pablo Rodriguez
Hans, I have the following sample: \setuppagenumbering[A6] \setupheadertexts[{\getmarking[chapter]}] \definesectionblock [whatcomeslast] [lastmatter] [number=no] \setupsectionblock [lastmatter] [page=no, after=\page

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-25 Thread Arthur Reutenauer
are no publicly available documents that make use of it. The commands for creating and managing streams are in the file page-str.mkiv; there are short examples at the end. I mention this because this is typically the kind of issue that need serious input from users in order to become a meaningf

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-23 Thread Pablo Rodriguez
e >> https://mailman.ntg.nl/pipermail/ntg-context/2014/077280.html). >> >> In the attached PDF file, pages 1, 4 and 5 (maybe page 2 should be >> included in that series) don’t respect >> \setupnote[critical][before={\blank[big]}]. >> >> So my questi

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-23 Thread Hans Hagen
the last one https://mailman.ntg.nl/pipermail/ntg-context/2014/077280.html). In the attached PDF file, pages 1, 4 and 5 (maybe page 2 should be included in that series) don’t respect \setupnote[critical][before={\blank[big]}]. So my question is: would the key "spacebefore" fix this issue?

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-23 Thread Pablo Rodriguez
s://mailman.ntg.nl/pipermail/ntg-context/2014/077280.html). In the attached PDF file, pages 1, 4 and 5 (maybe page 2 should be included in that series) don’t respect \setupnote[critical][before={\blank[big]}]. So my question is: would the key "spacebefore" fix this issue? Many thanks fo

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-23 Thread Jean-Pierre Delange
> À: ntg-context@ntg.nl Envoyé: Mardi 22 Novembre 2016 20:14:45 Objet: Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page. On 11/18/2016 1:16 PM, Jean-Pierre Delange wrote: > I make a statement on a part of the Arthur's reply (" there are no

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-22 Thread Hans Hagen
y (if I am right) such printing material (including Ancient Armenian or Georgian liturgic hymns). An example of such a book : on the even page you read a 'twocolumns' text (say : Greek text with its Latin translation) with there own page setting, including Stephanus apparatus in the footer, a

[NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-18 Thread Jean-Pierre Delange
g material (including Ancient Armenian or Georgian liturgic hymns). An example of such a book : on the even page you read a 'twocolumns' text (say : Greek text with its Latin translation) with there own page setting, including Stephanus apparatus in the footer, and several levels of footno

Re: [NTG-context] Vim wiki page updated

2016-11-05 Thread Nicola
On 02/11/2016 23:35, Aditya Mahajan wrote: On Wed, 2 Nov 2016, Nicola wrote: I could maybe create a GitHub repository, to make it easier to merge your work. That will be nice. Then I can also send you pull requests for specific things. Here it is:

Re: [NTG-context] Vim wiki page updated

2016-11-05 Thread Wolfgang Schuster
Nicola 3. November 2016 um 11:25 On 03/11/2016 10:45, Hans Hagen wrote: On 11/2/2016 11:35 PM, Aditya Mahajan wrote: On Wed, 2 Nov 2016, Nicola wrote: The syntax scripts in Vim already cover all of MetaFun. MetaFun keywords are highlighted by default inside

Re: [NTG-context] Vim wiki page updated

2016-11-05 Thread Nicola
On 05/11/2016 15:45, Alan Braslau wrote: Hans, Nicola, Being a vim user (and not presently taking much advantage of the syntax highlighting), and a MP fan, I will take care of this (in coordination with Hans, eventually). Alan For what is worth, I attach the Ruby script I am using. It

Re: [NTG-context] Vim wiki page updated

2016-11-05 Thread Alan Braslau
Hans, Nicola, Being a vim user (and not presently taking much advantage of the syntax highlighting), and a MP fan, I will take care of this (in coordination with Hans, eventually). Alan > On 3 Nov 2016, at 08:37, Nicola wrote: > > On 03/11/2016 12:28, Hans Hagen

Re: [NTG-context] Vim wiki page updated

2016-11-03 Thread Nicola
On 03/11/2016 12:28, Hans Hagen wrote: if you need a command list .. there are scripts for that (no vim yet, but for scite we ship simple lists of commands) Are these scripts available somewhere? what kind of datafile do you need? I need the list of all macros, vardefs, internals, and

Re: [NTG-context] Vim wiki page updated

2016-11-03 Thread Hans Hagen
On 11/3/2016 11:25 AM, Nicola wrote: On 03/11/2016 10:45, Hans Hagen wrote: On 11/2/2016 11:35 PM, Aditya Mahajan wrote: On Wed, 2 Nov 2016, Nicola wrote: The syntax scripts in Vim already cover all of MetaFun. MetaFun keywords are highlighted by default inside ConTeXt documents; for

Re: [NTG-context] Vim wiki page updated

2016-11-03 Thread Nicola
On 03/11/2016 10:45, Hans Hagen wrote: On 11/2/2016 11:35 PM, Aditya Mahajan wrote: On Wed, 2 Nov 2016, Nicola wrote: The syntax scripts in Vim already cover all of MetaFun. MetaFun keywords are highlighted by default inside ConTeXt documents; for MetaPost files ('mp' filetype), you must put

Re: [NTG-context] Vim wiki page updated

2016-11-03 Thread Hans Hagen
On 11/2/2016 11:35 PM, Aditya Mahajan wrote: On Wed, 2 Nov 2016, Nicola wrote: The syntax scripts in Vim already cover all of MetaFun. MetaFun keywords are highlighted by default inside ConTeXt documents; for MetaPost files ('mp' filetype), you must put let g:mp_metafun_macros = 1 into

Re: [NTG-context] Vim wiki page updated

2016-11-02 Thread Aditya Mahajan
On Wed, 2 Nov 2016, Nicola wrote: The syntax scripts in Vim already cover all of MetaFun. MetaFun keywords are highlighted by default inside ConTeXt documents; for MetaPost files ('mp' filetype), you must put let g:mp_metafun_macros = 1 into your vimrc. Ah, great! > The indent file is

Re: [NTG-context] Vim wiki page updated

2016-11-02 Thread Nicola
On 02/11/2016 19:39, Aditya Mahajan wrote: > On Tue, 1 Nov 2016, Nicola wrote: > >> I have updated the Vim page at ConTeXt Garden: >> >> http://wiki.contextgarden.net/Vim >> >> It may be considered as the official documentation of the ConTeXt >> scrip

Re: [NTG-context] Vim wiki page updated

2016-11-02 Thread Aditya Mahajan
On Tue, 1 Nov 2016, Nicola wrote: I have updated the Vim page at ConTeXt Garden: http://wiki.contextgarden.net/Vim It may be considered as the official documentation of the ConTeXt scripts in Vim, as the only other documentation is the source code :) Hi Nicola, I wonder if you have

Re: [NTG-context] Vim wiki page updated

2016-11-02 Thread Jan Willem Flamma
Excellent piece of work. Many thanks! > On 1 Nov 2016, at 14:13, Nicola <nvitacolo...@gmail.com> wrote: > > I have updated the Vim page at ConTeXt Garden: > >http://wiki.contextgarden.net/Vim > > It may be considered as the official documentation of th

[NTG-context] Vim wiki page updated

2016-11-01 Thread Nicola
I have updated the Vim page at ConTeXt Garden: http://wiki.contextgarden.net/Vim It may be considered as the official documentation of the ConTeXt scripts in Vim, as the only other documentation is the source code :) Happy editing! Nicola

Re: [NTG-context] typeset page in page

2016-10-10 Thread Wolfgang Schuster
Meer, Hans van der <mailto:h.vanderm...@uva.nl> 10. Oktober 2016 um 14:35 I would like to typeset a page in small format (for example A5) and immediately put the result on the current page (for example in A4 format). In this way I can demo the result of some operations like vari

[NTG-context] typeset page in page

2016-10-10 Thread Meer, Hans van der
I would like to typeset a page in small format (for example A5) and immediately put the result on the current page (for example in A4 format). In this way I can demo the result of some operations like variations in footnote parameters in a running text, etc. If this can be accomplished, how

[NTG-context] "marking=one" with marks on more than the first page

2016-10-07 Thread Pablo Rodriguez
Hans, the following sample puts the cut marks on each page: \showframe \setuppapersize[A5][A4] \setuplayout [marking=one, location=middle] \starttext \ctxlua{for i=1,10 do tex.print("\\startpagemakeup\\filterpages[setup-en.pdf][" .. i .. &q

Re: [NTG-context] marks on the first page only

2016-10-06 Thread Pablo Rodriguez
On 10/06/2016 02:29 PM, Hans Hagen wrote: > On 10/6/2016 8:28 AM, Pablo Rodriguez wrote: >> Hans, >> >> would it be possible to have a "first" value added to the "marking" key >> from \setuplayout that prints cut marks only on the first page of t

Re: [NTG-context] marks on the first page only

2016-10-06 Thread Hans Hagen
On 10/6/2016 8:28 AM, Pablo Rodriguez wrote: Hans, would it be possible to have a "first" value added to the "marking" key from \setuplayout that prints cut marks only on the first page of the document? next beta: \starttext \setuppapersize[A4][A3] \setupla

[NTG-context] marks on the first page only

2016-10-06 Thread Pablo Rodriguez
Hans, would it be possible to have a "first" value added to the "marking" key from \setuplayout that prints cut marks only on the first page of the document? In some cases, having cut marks in all pages is unnecessary. Or even unpractical, because some printers slightly

Re: [NTG-context] \blank[force, halfline] at top page issue

2016-10-01 Thread josephcanedo
Tried the following putting a \vbox before the \blank. There is probably better solution for this. \setuplayout[grid=both] \showgrid \starttext \endgraf\vbox to \lineheight{}\blank[samepage, -halfline] HalfLine \blank[halfline] Text \page Text \endgraf\vbox to \lineheight{}\blank[samepage

Re: [NTG-context] \blank[force, halfline] at top page issue

2016-09-30 Thread josephcanedo
Hi Marcus, Thanks for the tip, somewhat better in terms of alignment to the grid (but there is now larger space before exactly 1 line in excess). Unfortunately if the \blank[force, halfine, depth] is not first in page the vertical alignment is now wrong, and I do not know if a given \blank

Re: [NTG-context] \blank[force, halfline] at top page issue

2016-09-30 Thread Marcus Vinicius Mesquita
Try \blank[force,halfline,depth] ___ 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 webpage :

Re: [NTG-context] appendices disregards page method

2016-09-30 Thread Alain Auger
Hi Henri, try this : --- \setuppagenumbering[alternative=doublesided] \setupsectionblock[bodypart] [page=] \setupsectionblock[appendix] [page=] \definepagebreak[chapterpagebreak][yes,header,footer,right] \setuphead[chapter][page=chapterpagebreak] \starttext \startbodymatter

[NTG-context] appendices disregards page method

2016-09-30 Thread Henri Menke
Dear list, when I'm starting a new chapter I want it to start on a recto page and if a page without text has to be inserted to fulfil this requirement it should be completely blank (no headers of footers). It was easy to achieve using \definepagebreak and setting the page method

[NTG-context] \blank[force, halfline] at top page issue

2016-09-29 Thread josephcanedo
Dear list, I think this issue has been already reported (or a similar one http://www.mail-archive.com/ntg-context@ntg.nl/msg77729.html) but not resolved. It seems that if \blank[force, etc … is first in page there is additional spacing due to topskip. I’ve checked that this unwanted spacing

Re: [NTG-context] page range reference (how to compare references)

2016-09-23 Thread MF
.. ":start"].references.realpage local pagestop = coll_ref[label .. ":stop"].references.realpage if pagestart == pagestop then   context(singular) else   context(plural) end context("~") context.ref({"page"}, {label .. ":s

Re: [NTG-context] Size of the last shipped page by Lua?

2016-09-23 Thread Hans Hagen
On 9/23/2016 1:50 PM, Procházka Lukáš Ing. wrote: Hello, still a problem - consider the following code: \ifx\startpapersize\undefined \unprotect \def\startpapersize{\page\pushmacro\page_paper_restore\setuppapersize} \protect \fi \ifx\stoppapersize\undefined \unprotect \def

Re: [NTG-context] Size of the last shipped page by Lua?

2016-09-23 Thread Procházka Lukáš Ing .
Hello, still a problem - consider the following code: \ifx\startpapersize\undefined \unprotect \def\startpapersize{\page\pushmacro\page_paper_restore\setuppapersize} \protect \fi \ifx\stoppapersize\undefined \unprotect \def\stoppapersize{\page\popmacro\page_paper_restore

[NTG-context] page range reference (how to compare references)

2016-09-23 Thread MF
Hello list, I'm trying to reference a page range (think of a long quote spanning on 2 pages). I need to discriminate ranges collapsing to one page from "real" ranges (2 or more pages): "1-1" should become "1", while "1-2" should stay like that. Here's a

Re: [NTG-context] Size of the last shipped page by Lua?

2016-09-12 Thread Procházka Lukáš Ing .
values, I agree that’s a bad idea , the requirement is likely to read the value only (at least this is my usage of these in shipouts « after » callback). If these are not reliable, what’s the reliable way to get the page width and height ? \starttext \ctxlua{context(number.topoints(tex.dimen.pape

Re: [NTG-context] I want to write a page which tells what the book is about

2016-09-09 Thread Ursula Hermann
Hello Henri! Thanks a lot. Uschi -Ursprüngliche Nachricht- Von: ntg-context [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Henri Menke Gesendet: Freitag, 9. September 2016 15:25 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] I want to write a page which tells what

Re: [NTG-context] I want to write a page which tells what the book is about

2016-09-09 Thread Henri Menke
Dear Uschi, just use the standard makeup for your titlepage. It automatically flushes to a right page in a double sided document. Also, content should *always* start on a right page. That is to say, your »about the book« text should also go to a right page. Cheers, Henri

Re: [NTG-context] I want to write a page which tells what the book is about

2016-09-09 Thread Ursula Hermann
Hello list! I just found out how I can do it. But you can write tips for me, if you have some. I have made an extra page before the Title page. Thanks Uschi Von: ntg-context [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Ursula Hermann Gesendet: Freitag, 9. September

[NTG-context] I want to write a page which tells what the book is about

2016-09-09 Thread Ursula Hermann
Hello Everybody! Can somebody help me please. I have a Title page: \starttext \startalignment[center] \blank[2*big] {\tfd How to do this in Context} \blank[3*medium] {\tfa The author} \blank[2*medium] {\tfa July 26, 2005} \blank[3*medium] \stopalignment

Re: [NTG-context] Size of the last shipped page by Lua?

2016-09-08 Thread Hans Hagen
way to get the page width and height ? \starttext \ctxlua{context(number.topoints(tex.dimen.paperwidth))} \ctxlua{context(number.topoints(tex.dimen.paperheight))} \stoptext - Hans Hagen

Re: [NTG-context] Size of the last shipped page by Lua?

2016-09-07 Thread Hans Hagen
On 9/7/2016 9:39 PM, josephcan...@gmail.com wrote: There are dimensions related to this : local paper_width = tex.getdimen('paperwidth') local paper_height = tex.getdimen('paperheight') There is also : tex.pageheight tex.pagewidth don't mess with these and don't rely on them Not sure

Re: [NTG-context] Size of the last shipped page by Lua?

2016-09-07 Thread josephcanedo
Hi, There are dimensions related to this : local paper_width = tex.getdimen('paperwidth') local paper_height = tex.getdimen('paperheight') There is also : tex.pageheight tex.pagewidth Not sure these are always same. Hope this helps, Regards, Joseph Canedo De : Procházka Lukáš

[NTG-context] Size of the last shipped page by Lua?

2016-09-07 Thread Procházka Lukáš Ing .
Hello, is there a way to detect by Lua what is the size (width and height) of the last shipped page? Especially I'm interested in the situation when page via \start/\stopTEXpage has been shipped, like: \startluacode LastPageSize = function() -- What to come here? return w, h

[NTG-context] Detecting content out of print/page area ?

2016-08-18 Thread josephcanedo
Dear all, I was wondering if there were any sort of tool (beyond manual eye inspection) in general sense, either printing some warning in log file, or visually in output document, or even reading pdf file, that would help determining if for a some page there is content that is typeset outside

[NTG-context] Header background off with \page?

2016-08-08 Thread Procházka Lukáš Ing .
Hello, the following code: \setupheadertexts[Le][Ri] \setupbackgrounds[header][text][bottomframe=on] \starttext \startTEXpage \externalfigure[dummy] \stopTEXpage \page[yes,header,footer,odd] % Empty page to come here Blabla \stoptext should generate an empty page

Re: [NTG-context] Go to odd page, use an empty page eventually?

2016-07-20 Thread Procházka Lukáš Ing .
That's it, thank you! Lukas On Wed, 20 Jul 2016 10:37:04 +0200, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: Procházka Lukáš Ing. <mailto:l...@pontex.cz> 20. Juli 2016 um 09:37 Hello, is there a way to tell ConTeXt "go to odd page, insert empty page to reach

Re: [NTG-context] Go to odd page, use an empty page eventually?

2016-07-20 Thread Wolfgang Schuster
Procházka Lukáš Ing. <mailto:l...@pontex.cz> 20. Juli 2016 um 09:37 Hello, is there a way to tell ConTeXt "go to odd page, insert empty page to reach the next odd page" eventually? (IOW: When currently on odd page, break page and insert one empty (blank) (= even

[NTG-context] Go to odd page, use an empty page eventually?

2016-07-20 Thread Procházka Lukáš Ing .
Hello, is there a way to tell ConTeXt "go to odd page, insert empty page to reach the next odd page" eventually? (IOW: When currently on odd page, break page and insert one empty (blank) (= even) page; continue on the next (= odd) page. When currently on even page,

[NTG-context] Detect an empty page of a .pdf?

2016-07-11 Thread Procházka Lukáš Ing .
Hello, is there a ConTeXt-Lua way to detect whether i-th page of a .pdf is empty (meaning "has no text on it")? Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel

Re: [NTG-context] disabling page scaling

2016-07-04 Thread Pablo Rodriguez
On 07/04/2016 06:57 PM, Hans Hagen wrote: > On 7/4/2016 6:34 PM, Pablo Rodriguez wrote: >> On 07/04/2016 06:03 PM, Wolfgang Schuster wrote: >>> [...] >>> The plusspec entries are used for the second and following arguments of >>> the option key, you can use this and pass the none keyword as first

Re: [NTG-context] disabling page scaling

2016-07-04 Thread Hans Hagen
: pagespecs and plusspecs (both are local). page, portrait, landscape and paper involve fixed in the pagespecs dictionary. But these values don’t involve fixed in the plusspecs dictonary. How can I invoke the plusspecs dictionary from ConTeXt, so I can get duplex printing in the PDF file

Re: [NTG-context] disabling page scaling

2016-07-04 Thread Pablo Rodriguez
pagespecs and plusspecs (both are local). >> >> page, portrait, landscape and paper involve fixed in the pagespecs >> dictionary. But these values don’t involve fixed in the plusspecs >> dictonary. >> >> How can I invoke the plusspecs dictionary from ConTeXt, so I

Re: [NTG-context] disabling page scaling

2016-07-04 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 4. Juli 2016 um 17:49 Dear list, I have the following sample: \setupinteractionscreen[option={paper,page}] \starttext \ConTeXt\ is awesome! \stoptext The values for the option key should enable "/PickTrayByPDFSize true" and "/Duplex

[NTG-context] disabling page scaling

2016-07-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteractionscreen[option={paper,page}] \starttext \ConTeXt\ is awesome! \stoptext The values for the option key should enable "/PickTrayByPDFSize true" and "/Duplex /Simplex" in the PDF file. But I get an unde

Re: [NTG-context] \page[header]

2016-05-22 Thread Meer, Hans van der
> On 22 May 2016, at 17:44, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Meer, Hans van der 22. Mai 2016 um 17:40 >> >> It is not clear as yet. >> \starttext >> \input knuth >> \page[header,yes] >> \input knuth >&g

Re: [NTG-context] \page[header]

2016-05-22 Thread Wolfgang Schuster
Meer, Hans van der <mailto:h.vanderm...@uva.nl> 22. Mai 2016 um 17:40 It is not clear as yet. \starttext \input knuth \page[header,yes] \input knuth \page[header,yes] \input knuth \stoptext Here I get three pages, the first two without the last with header. That I understand. \sta

Re: [NTG-context] \page[header]

2016-05-22 Thread Meer, Hans van der
> On 22 May 2016, at 16:32, Hans Hagen <pra...@wxs.nl> wrote: > > On 5/22/2016 2:32 PM, Meer, Hans van der wrote: >> According to the description of \page in the contextgarden: >> "header - set header off temporarily" >> >> But although thi

Re: [NTG-context] \page[header]

2016-05-22 Thread Hans Hagen
On 5/22/2016 2:32 PM, Meer, Hans van der wrote: According to the description of \page in the contextgarden: "header - set header off temporarily" But although this gives two pages numbered 1 and 2: \starttext \input knuth \page \input knuth \stoptext This one does not honour th

[NTG-context] \page[header]

2016-05-22 Thread Meer, Hans van der
According to the description of \page in the contextgarden: "header - set header off temporarily" But although this gives two pages numbered 1 and 2: \starttext \input knuth \page \input knuth \stoptext This one does not honour the new page but typesets everything on page 1: \startt

Re: [NTG-context] starting a chapter on odd page

2016-05-11 Thread Marco Patzer
On Wed, 11 May 2016 18:02:00 +0200 Wolfgang Schuster wrote: > > Marco Patzer > > 11. Mai 2016 um 13:59 > > On Wed, 11 May 2016 13:19:41 +0200 > > > > I don't know what the actual difference is. According to the source > > it has something

Re: [NTG-context] starting a chapter on odd page

2016-05-11 Thread Wolfgang Schuster
Marco Patzer 11. Mai 2016 um 13:59 On Wed, 11 May 2016 13:19:41 +0200 I don't know what the actual difference is. According to the source it has something to do with floats. The 'right' option works only for doublesided documents while 'odd' works also with

<    3   4   5   6   7   8   9   10   11   12   >