[NTG-context] marks on the first page only

2016-10-05 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 : http:

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 o

[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
ref[label .. ":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 .

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. Her

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

2016-09-11 Thread Procházka Lukáš Ing .
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.paperwidth))} \ctxlua

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-08 Thread josephcanedo
If by messing it’s meant modifying their 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 ? Thanks

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 the

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áš Ing._

[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

[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. The

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 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 the next odd page" eventu

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) page;

[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 (or

Re: [NTG-context] disabling page scaling

2016-07-04 Thread Pablo Rodriguez
especs 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 > 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 >> \page[header,yes] >> \in

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 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 this gives two pages numb

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 the ne

[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 to do with floats. > The 'ri

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 singleside

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

2016-05-11 Thread Marco Patzer
On Wed, 11 May 2016 13:19:41 +0200 Andrea Valle wrote: > Thanks marco, should I rather use > > > \definepagebreak > [chapterpagebreak] > [yes, odd] I don't know what the actual difference is. According to the source it has something to do with floats. Marco _

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

2016-05-11 Thread Wolfgang Schuster
n} etc \stopchapter The publisher is asking me to start each chapter on a odd page. Can I do it by setting some options? Chapters start by default on right pages when you enable doublesided documents. \setuppagenumbering[alternative=doublesided] % doublesided with mirrored page

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

2016-05-11 Thread Andrea Valle
>> >> \input c_preface.tex >> >> \input c_chapter1.tex >> >> [etc] >> >> \stoptext >> >> >> where each .tex file contains >> >> \startchapter[various options] >> \section{First section} >> etc >> \s

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

2016-05-11 Thread Marco Patzer
> \startchapter[various options] > \section{First section} > etc > \stopchapter > > The publisher is asking me to start each chapter on a odd page. Can I > do it by setting some options? \definepagebreak [chapterpagebreak] [ye

[NTG-context] starting a chapter on odd page

2016-05-11 Thread Andrea Valle
chapter on a odd page. Can I do it by setting some options? Thanks! -a- -- Andrea Valle -- CIRMA - StudiUm Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ -->

Re: [NTG-context] Interactionmenu not creating a button for the final page

2016-04-11 Thread Brian Ballsun-Stanton
Awesome. Thanks! On 12 April 2016 at 03:16, wrote: > > > -- > > Message: 4 > Date: Mon, 11 Apr 2016 19:05:39 +0200 > From: Hans Hagen > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] Interactionmenu not creating a button for >

Re: [NTG-context] Interactionmenu not creating a button for the final page

2016-04-11 Thread Hans Hagen
On 4/11/2016 9:47 AM, Brian Ballsun-Stanton wrote: it seems that the interactionmenu doesn't have a button for the final page. I'm assuming I did something wrong, but I'm not quite sure what it is. it's a bug in subpages (reference needs page offset) ... fixed in

[NTG-context] Interactionmenu not creating a button for the final page

2016-04-11 Thread Brian Ballsun-Stanton
usemodule[simplefonts] > \setmainfont[Adventor][expansion=quality,protrusion=quality] > \setupcolors[state=start] > \definecolor[faimsblue][h=1B3E93] > \definecolor[faimsorange][h=F68E1E] > \setuphead[section][placehead=yes, page=yes, number=no, align=middle, > style={\setupbodyfont[40

[NTG-context] Margin text running off bottom of page

2016-04-03 Thread Robert Krug
Greetings, Is there any way to prevent marginal text from running off the bottom ot the page? I can adjust the margin widths to prevent them from running off the edges, but I cannot figure out how to do the same for the bottom of the page. \starttext text. \vskip 7.5in text

Re: [NTG-context] Page number woes

2016-03-15 Thread Pablo Rodriguez
On 03/14/2016 03:43 PM, Mari Voipio wrote: > Greetings all! > > I have a book setup that worked perfectly as long as the inside cover > was only one page long. But then we added information to the inside > cover and had to split the information on two pages. The so called >

Re: [NTG-context] Page number woes

2016-03-15 Thread Wolfgang Schuster
Mari Voipio <mailto:mari.voi...@iki.fi> 14. März 2016 um 15:43 Greetings all! I have a book setup that worked perfectly as long as the inside cover was only one page long. But then we added information to the inside cover and had to split the information on two pages. The so called inside

[NTG-context] References on the same page

2016-03-02 Thread Aidan Nichol
Is there a way to detect if two references are on the same page? I looking for a way to determine if I should print a single page number or a range of numbers. ___ If your question is of interest to others as well

Re: [NTG-context] Vertically centered text in each page

2016-03-02 Thread Andreas Schneider
effect. \setuphead[slide][ style=\ssb, command=\MySlide, color=white, insidesection=\vfill, aftersection=\vfill, page=yes] I'm in a similar situation currently, but can't quite get it to work with the mentioned solution. The attached example shows several problems. Test 1

Re: [NTG-context] problem with page number on last page

2016-02-29 Thread Alan Bowen
lfg...@gmail.com> wrote: > Alan Bowen > 29. Februar 2016 um 15:37 > Thanks, Wolfgang. This does solve the problem but is not so good for a > chapter in a book, where headers with pagenumbers are the norm. So, is > there a solution that prints the correct page number? > > You can

Re: [NTG-context] problem with page number on last page

2016-02-29 Thread Wolfgang Schuster
Alan Bowen <mailto:bowenala...@gmail.com> 29. Februar 2016 um 15:37 Thanks, Wolfgang. This does solve the problem but is not so good for a chapter in a book, where headers with pagenumbers are the norm. So, is there a solution that prints the correct page number? You c

Re: [NTG-context] problem with page number on last page

2016-02-29 Thread Alan Bowen
Thanks, Wolfgang. This does solve the problem but is not so good for a chapter in a book, where headers with pagenumbers are the norm. So, is there a solution that prints the correct page number? Alan On Sun, Feb 28, 2016 at 4:01 PM, Wolfgang Schuster < schuster.wolfg...@gmail.com>

Re: [NTG-context] \setupsectionblock and \setupbackgrounds page-break problem

2016-02-29 Thread Robin.Kirkham
> From: Wolfgang Schuster > Subject: Re: [NTG-context] \setupsectionblock and \setupbackgrounds > page-break problem > Date: 29 February 2016 8:11:01 AEDT > >> robin.kirk...@csiro.au 28. Februar 2016 um 14:49 >> Folks, >> >> I want \startfrontmatter t

Re: [NTG-context] \setupsectionblock and \setupbackgrounds page-break problem

2016-02-28 Thread Wolfgang Schuster
robin.kirk...@csiro.au <mailto:robin.kirk...@csiro.au> 28. Februar 2016 um 14:49 Folks, I want \startfrontmatter to trigger a background image, but I can only get this to appear if I use page=yes (see example below). However, I don’t want any page break between the front-matter and

Re: [NTG-context] problem with page number on last page

2016-02-28 Thread Wolfgang Schuster
Alan Bowen <mailto:bowenala...@gmail.com> 28. Februar 2016 um 20:27 To prevent empty pages in a double-sided page environment, I have been using \setuppagenumbering[page=]. This does not work as it should, however, when there is no body text but only a continuing footnote on the las

[NTG-context] problem with page number on last page

2016-02-28 Thread Alan Bowen
To prevent empty pages in a double-sided page environment, I have been using \setuppagenumbering[page=]. This does not work as it should, however, when there is no body text but only a continuing footnote on the last page. Then, though there are still no empty pages, the pagenumber on the last

[NTG-context] \setupsectionblock and \setupbackgrounds page-break problem

2016-02-28 Thread Robin.Kirkham
Folks, I want \startfrontmatter to trigger a background image, but I can only get this to appear if I use page=yes (see example below). However, I don’t want any page break between the front-matter and body-matter. If I use page=no (as in the line commented out) this page break disappears

Re: [NTG-context] Vertically centered text in each page

2016-02-19 Thread Nicola
default? I have tried putting {before,after,beforesection,aftersection}=\vfill in various combinations in \setuphead, but I cannot obtain the desired effect. \setuphead[slide][ style=\ssb, command=\MySlide, color=white, insidesection=\vfill, aftersection=\vfill, page=yes] insidesection, of course

Re: [NTG-context] Vertically centered text in each page

2016-02-19 Thread Hans Hagen
,beforesection,aftersection}=\vfill in various combinations in \setuphead, but I cannot obtain the desired effect. \setuphead[slide][ style=\ssb, command=\MySlide, color=white, insidesection=\vfill, aftersection=\vfill, page=yes] insidesection, of course! Thanks, that does it. I have

Re: [NTG-context] Vertically centered text in each page

2016-02-19 Thread Marco Patzer
g {before,after,beforesection,aftersection}=\vfill in > >> various combinations in \setuphead, but I cannot obtain the > >> desired effect. > > > > \setuphead[slide][ > > style=\ssb, > > command=\MySlide, > > color=white, > > insidese

Re: [NTG-context] Vertically centered text in each page

2016-02-19 Thread Nicola
desired effect. \setuphead[slide][ style=\ssb, command=\MySlide, color=white, insidesection=\vfill, aftersection=\vfill, page=yes] insidesection, of course! Thanks, that does it. I have noticed that in a few circumstances vertical alignment is not desired. How do I override the default

Re: [NTG-context] Vertically centered text in each page

2016-02-19 Thread Marco Patzer
tyle=\ssb, command=\MySlide, color=white, insidesection=\vfill, aftersection=\vfill, page=yes] > if I remove the comma after page=yes, slides are not split into > different pages. Is it normal that a comma is required at the end > of an argument list? The missing comma is not t

[NTG-context] Vertically centered text in each page

2016-02-19 Thread Nicola
ff, background=header:background, backgroundcolor=orange, width=\textwidth, align=flushleft ]{#2}} \definehead[slide][subject] \setuphead[slide][ style=\ssb, command=\MySlide, color=white, page=yes, ] \starttext \startslide[title={Slide One}] \vfill text \vfill \stopslide \startslide[title={Slide Tw

Re: [NTG-context] \externalfigure produces blank page

2016-02-04 Thread Procházka Lukáš Ing .
Xpage \externalfigure[Tv32.pdf]%[scale=500] \stopTEXpage \stoptext It yields a blank (or empty) page (its size A1 is OK); and the size of the resulting .pdf is very close to that of the inserted image. The inserted Tv32.pdf is displayed correctly in Adobe reader, so why it is not processed by Ctx?

Re: [NTG-context] \externalfigure produces blank page

2016-02-04 Thread luigi scarso
On Thu, Feb 4, 2016 at 12:44 PM, Procházka Lukáš Ing. wrote: > Hello, > > let's have a simple code: > > > \starttext > \startTEXpage > \externalfigure[Tv32.pdf]%[scale=500] > \stopTEXpage > \stoptext > > > It yields a blank (or empty)

[NTG-context] \externalfigure produces blank page

2016-02-04 Thread Procházka Lukáš Ing .
Hello, let's have a simple code: \starttext \startTEXpage \externalfigure[Tv32.pdf]%[scale=500] \stopTEXpage \stoptext It yields a blank (or empty) page (its size A1 is OK); and the size of the resulting .pdf is very close to that of the inserted image. The inserted Tv3

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Mohammad Hossein Bateni
plete solution. For > example it does not work if one wants to write "page x of y" instead, with > "page" and "y" written in Arabic/Persian. Then the text of the header is > partly LTR and part RTL. > > This is still simple and I can use my hacky solution

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Wolfgang Schuster
Mohammad Hossein Bateni <mailto:bat...@gmail.com> 19. Januar 2016 um 12:16 That should work for Ibn Saeed, but it's not a complete solution. For example it does not work if one wants to write "page x of y" instead, with "page" and "y" written in Arabic/

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Mohammad Hossein Bateni
That should work for Ibn Saeed, but it's not a complete solution. For example it does not work if one wants to write "page x of y" instead, with "page" and "y" written in Arabic/Persian. Then the text of the header is partly LTR and part RTL. This is still sim

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Wolfgang Schuster
would move the position of the page number of the even page on top of the chapter name. So here is the solution derived from your answer, which works for my scenario. \setupheader[margin][ style=\righttoleft, state=normal ] \setupheadertexts [{\righttoleft\getm

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Ibn Saeed
y \setupdirections[bidi] or something like that should be used, as I mentioned in the other thread; that'll fix a bunch of other problems, as well I did enable \setupdirections[bidi=global] and it did not help. Here is how it was solved. I could not use your solution as it would move the positio

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Hans Hagen
On 1/18/2016 7:14 PM, Ibn Saeed wrote: It seems to be the issue with \setupheader[style=\righttoleft, state=normal] The style is righttoleft to accomodate the proper direction for arabic text. But it messes up the page number direction. you can try leftstyle instead (there's

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Mohammad Hossein Bateni
> But it messes up the page number direction. > > > ___ > 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

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Ibn Saeed
It seems to be the issue with \setupheader[style=\righttoleft, state=normal] The style is righttoleft to accomodate the proper direction for arabic text. But it messes up the page number direction. ___ If

[NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Ibn Saeed
Hello I am trying to typeset a book in arabic in ConTeXt. I have stumbled upon this issue Page Numbers change after 9 to 01 for page 10 21 for page 12 31 for page 13 41 for page 14 and so on Here is the snapshot of the page number issue: https://i.imgsafe.org/a5f34fb.jpg Here is my ConTeXt

[NTG-context] (beta) missing /Shading entry in page /Resources

2016-01-13 Thread Peter Rolf
Hi, I attached a minimal test file and the old (working) and new (broken) PDF files. The '/Shading 4 0 R' entry is missing in the page /Resources object ('10 0 obj <> endobj') of the 'new' version. mtx-context | ConTeXt Process Management 0.63 mtx-

Re: [NTG-context] [Bug report] TikZ + makeup + grid = blank page

2016-01-04 Thread Hans Hagen
also at live.contextgarden.net <http://live.contextgarden.net> too Here is the related SE question: http://tex.stackexchange.com/questions/284972/tikz-causes-blank-page-in-front-of-context-makeup-with-grid-layout Can anyone explain the interaction or provide a workaround? it's a bug in

[NTG-context] [Bug report] TikZ + makeup + grid = blank page

2016-01-04 Thread Paolo Brasolin
related SE question: http://tex.stackexchange.com/questions/284972/tikz-causes-blank-page-in-front-of-context-makeup-with-grid-layout Can anyone explain the interaction or provide a workaround? Thanks. -Paolo ___ If

[NTG-context] Fill up "bottom" space of page with some content

2015-12-03 Thread josephcanedo
Hi Thangalin, Thanks a lot for replying, Sure, I attach 2 mwe’s. First one (fill_mwe.tex) shows a “lettrine” + paragraph cut in bottom of 1st page (not desirable). To fix this problem I add \setpenalties\clubpenalties{5}{1} to make sure the 6 first lines of paragraph are all

Re: [NTG-context] Fill up "bottom" space of page with some content

2015-12-03 Thread Thangalin
Hi Joseph, Mind posting a minimum working example to illustrate what you're trying to accomplish? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] Fill up "bottom" space of page with some content

2015-12-02 Thread josephcanedo
Dear all, I wondered if there was a way to fill up the bottom of the page with some content (an image, some decorative pattern …) to avoid large blank space in page (given some limits, ie more than 2 lines of space is left blank). By bottom of page I mean remaining space that could have been

[NTG-context] Best way to prevent wrong column/page break with par starting with \starthanging

2015-11-19 Thread josephcanedo
of column/page and beginning of next. Tried \keeplinestogether{N} instead but it does not work in all cases. That question was mainly to see if there were any possibility to avoid some blank lines at end of some columns (ie not balanced in given page). Thanks a lot Best regards

Re: [NTG-context] only page number in the header of the chapter title page

2015-11-10 Thread massifr
tle]{Trial chapter} \dorecurse{11}{\input knuth\par} \stopchapter \stoptext In data martedì 10 novembre 2015 18:35:55, hai scritto: > > mass...@fastwebnet.it <mailto:mass...@fastwebnet.it> > > 10. November 2015 um 12:50 > > > > I mean something like this: &g

Re: [NTG-context] only page number in the header of the chapter title page

2015-11-10 Thread Wolfgang Schuster
mass...@fastwebnet.it <mailto:mass...@fastwebnet.it> 10. November 2015 um 12:50 I mean something like this: On the top of a chapter title page: +--- | 34 | On the top of a page without chapter title: +--- | 36 - Chapter

Re: [NTG-context] only page number in the header of the chapter title page

2015-11-10 Thread massifr
I mean something like this: On the top of a chapter title page: +--- | 34 | On the top of a page without chapter title: +--- | 36 - Chapter title | Or (odd page): --+ Chapter

[NTG-context] only page number in the header of the chapter title page

2015-11-09 Thread massifr
Hello list, how can I keep the page number but not the header text in the page of a chapter title? \setuphead[chapter][header=empty] makes all the header disappear. Is there an option to keep the page number? Thanks, Massi

[NTG-context] How to place background text on proper page

2015-11-06 Thread Sytse Knypstra
Dear list members, In the following minimal example the last block (on the background) is placed on page 3 while there is ample room for it on page 2. Only when the \page command in line 6 is uncommented, this block is placed on page 2. Is there a better way to force placement on page 2 or

Re: [NTG-context] Forced page break in a TOC

2015-09-08 Thread Hans Hagen
On 9/8/2015 1:25 PM, Mari Voipio wrote: Hello all! I've got a TOC where the page break really should be one line higher than it is automatically. I found a solution in the wiki at <http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break>, but it doesn't seem to work

[NTG-context] Forced page break in a TOC

2015-09-08 Thread Mari Voipio
Hello all! I've got a TOC where the page break really should be one line higher than it is automatically. I found a solution in the wiki at <http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break>, but it doesn't seem to work (any more). Any ideas on how to fix the

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

2015-08-25 Thread Rik Kabel
On 2015-08-25 03:41, Andreas Becker wrote: 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

[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] Cover page (Metafun)

2015-08-14 Thread Fabrice Couvreur
Hi Hans, To progress in the use of Metafun, I try to do the same cover page as your document 'Metafun ". Without looking at the code (but using the definitions of your colors), I managed to get the mosaic. I would write the word "MATHÉMATIQUES" as you did with the word &q

Re: [NTG-context] Formatting of page number in table of contents

2015-08-12 Thread Aditya Mahajan
On Tue, 11 Aug 2015, Wolfgang Schuster wrote: Aditya Mahajan <mailto:adit...@umich.edu> 11. August 2015 18:53 Hi, I am using a document structure "part-section-subsection" (i.e., no chapters). The page numbers have to be formatted as "partnumber-pagenumber". So

Re: [NTG-context] Formatting of page number in table of contents

2015-08-11 Thread Wolfgang Schuster
Aditya Mahajan <mailto:adit...@umich.edu> 11. August 2015 18:53 Hi, I am using a document structure "part-section-subsection" (i.e., no chapters). The page numbers have to be formatted as "partnumber-pagenumber". So, I am using the following setup: \setupuserpagenum

[NTG-context] Formatting of page number in table of contents

2015-08-11 Thread Aditya Mahajan
Hi, I am using a document structure "part-section-subsection" (i.e., no chapters). The page numbers have to be formatted as "partnumber-pagenumber". So, I am using the following setup: \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] The page numbers are fo

[NTG-context] [OT] This page unintentionally left blank.

2015-08-05 Thread luigi scarso
http://www.epa.gov/ttn/oarpg/t1/memoranda/eipfin.pdf page 2. It seems to say something like "be careful there could be some problem in this document." (in fact acroread reports that a font is missed).

Re: [NTG-context] Questions around my page design

2015-08-03 Thread Hans Hagen
mbering [alternative = {singlesided, doublesided}] and \setuppagenumbering [alternative = doublesided]. The \setuphead [chapter] [page = yes] therefore avoids having empty pages? don't use spaces before/after the = The \setupfootertexts [{\getmarking [section] [top]}] does not respond to my

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