[NTG-context] Frontpage and Titlepage

2023-10-02 Thread Jeroen
The following MWE is how I create my frontpage and titlepage. Is this the proper way to do so? \definemakeup [frontpage] [align=middle] \definemakeup [titlepage] \setupmakeup [titlepage] [align={right,top}, top=\vfill, pagestate=stop, style=smallbodyfont

[NTG-context] Re: Bug between \definealternativestyle and makeup?

2023-08-27 Thread Alex Leray
Ouch, thanks for opening my eyes! Le 27/08/23 à 21:42, Mikael Sundqvist a écrit : Remove the period: \definecharacterkerning [mykerning] [factor=0.15] \definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}] \definemakeup [title] [doublesided=empty, pagestate=start] \starttext

[NTG-context] Re: Bug between \definealternativestyle and makeup?

2023-08-27 Thread Mikael Sundqvist
Remove the period: \definecharacterkerning [mykerning] [factor=0.15] \definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}] \definemakeup [title] [doublesided=empty, pagestate=start] \starttext \starttitlemakeup Title \stoptitlemakeup \stoptext /Mikael On Sun, Aug 27, 2023 at 9:32

[NTG-context] Bug between \definealternativestyle and makeup?

2023-08-27 Thread Alex Leray
Hi, I found that using \definealternativestyle in conjunction with Makeup insert a page before my Makeup page. Any idea? Thanks * * * \definecharacterkerning [mykerning] [factor=0.15] \definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}]. %%% BUG!!! \definemakeup [title

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
I solved the problem by rather using: \definemakeup[cover][page][page=no,doublesided=no] \definelayout[cover][page] \startmakeup [cover]    \filterpages[Coverpages][1] \stoppagemakeup \startmakeup [cover]    \filterpages[Coverpages][2] \stoppagemakeup \startlayou

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
lps, but did you set \setupsectionblock[frontpart][page=no] ? I had \setupsectionblock[frontpart][page=] and setting page=no does not change anything. I get the same behavior in my Volume 2 product, which does not have any \frontmatter. I solved the problem by rather using: \definemake

[NTG-context] Custom TOC with makeup and setups

2023-05-10 Thread Jethro Djan via ntg-context
{\namedstructureheadlocation{section}}{% \framed[align=flushright,]{{\bfb\currentlistentrytitle}}% }{\framed[align=flushright,]{\currentlistentrytitle}} \egroup} \stopsetups \definemakeup [toc] [ doublesided=no, page=yes, bottom=, top=, pagestate=start, headerstate=empty

Re: [NTG-context] Makeup and page numbering increment

2023-02-15 Thread Alex Leray via ntg-context
, 15. Feb. 2023, 11:59: Hi Mikael, here it is: %%% \definemakeup [title] [doublesided=empty] Add pagestate=start to the settings. Wolfgang ___ If your question is of interest to others as well, p

Re: [NTG-context] Makeup and page numbering increment

2023-02-15 Thread Wolfgang Schuster via ntg-context
Alex Leray via ntg-context schrieb am Mi., 15. Feb. 2023, 11:59: > Hi Mikael, > > here it is: > > %%% > \definemakeup [title] [doublesided=empty] > Add pagestate=start to the settings. Wolfgang ___

Re: [NTG-context] Makeup and page numbering increment

2023-02-15 Thread Alex Leray via ntg-context
Hi Mikael, here it is: %%% \definemakeup [title] [doublesided=empty] \starttext \input knuth \starttitlemakeup Title \stoptitlemakeup \input knuth \stoptext %%% thanks Le 15/02/23 à 11:43, Mikael Sundqvist via ntg-context a écrit : Hi, and welcome back! On Wed, Feb 15, 2023 at 11:42 AM

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread Michael Urban via ntg-context
ut the float inside the makeup and wrap it with > \start...\stoppostponing. Here is a MWE: > > %%% start example > \setupexternalfigures[location=default] > \definemakeup >[FloatPage] > \setupmakeup >[FloatPage] >[headerstate=normal, >

Re: [NTG-context] Full-page Figure?

2022-03-28 Thread śrīrāma via ntg-context
ine a makeup and enable header, footer and page for it. Then we can put the float inside the makeup and wrap it with \start...\stoppostponing. Here is a MWE: %%% start example \setupexternalfigures[location=default] \definemakeup [FloatPage] \setupmakeup [FloatPage] [headerst

[NTG-context] How to troubleshoot why my document begins with a blank page?

2022-01-17 Thread Joel via ntg-context
working example is here: \definemakeup[titlepage][align=middle] \definealternativestyle[titlestyle][\ss\bfd][] \definealternativestyle[subtitlestyle][\ss\bfb][] \definealternativestyle[authorstyle][\ss\tfa][] \starttext % <-- there is no code between \starttext and \startfrontmatter be

[NTG-context] makeups with local setups

2021-06-29 Thread Jan U. Hasecke
? \setupinterlinespace [line=2ex] \startsetups[setups:cover] \setupinterlinespace [line=6ex] \stopsetups \definemakeup [coverpage] [pagestate=start] \setuplayout [coverpage] [setups=setups:cover] \starttext \startmakeup [coverpage] \input lorem \stopmakeup % from here I expect

Re: [NTG-context] makeups with local setups

2021-06-29 Thread Hans Hagen
? Or is it better to use something else? \setupinterlinespace [line=2ex] \startsetups[setups:cover]   \setupinterlinespace [line=6ex] \stopsetups \definemakeup    [coverpage]    [pagestate=start] \setuplayout    [coverpage]    [setups=setups:cover] \starttext \startmakeup   [coverpage

Re: [NTG-context] Multiple Layouts

2021-03-13 Thread Wolfgang Schuster
Jeroen schrieb am 13.03.2021 um 18:12: I have the following document, but I want a different \setuplayout[backspace] for the titlepage and copyright space. What is the best way to achieve this? [...] \definemakeup   [copyrightpage] Each makeup page has its own named layout

[NTG-context] Multiple Layouts

2021-03-13 Thread Jeroen
=doublesided] \setupheadertexts [] \setupfooter [style=\it] \setupfootertexts [{Footer Title} \hfill \pagenumber] \definemakeup [titlepage] [align=left] \definemakeup [copyrightpage] \setupmakeup [copyrightpage] [align={right,bottom}, top=\vfill, pagestate=stop, style

[NTG-context] (no subject)

2021-03-13 Thread Jeroen
=doublesided] \setupheadertexts [] \setupfooter [style=\it] \setupfootertexts [{Footer Title} \hfill \pagenumber] \definemakeup [titlepage] [align=left] \definemakeup [copyrightpage] \setupmakeup [copyrightpage] [align={right,bottom}, top=\vfill, pagestate=stop, style

Re: [NTG-context] wrong /Rect in link annotations

2020-11-07 Thread Hans Hagen
On 11/7/2020 12:47 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupinteraction[state=start] \enabledirectives[references.border] %~ \definemakeup[slide] \define[1]\newurl{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} \starttext %~ \startmakeup[slide

[NTG-context] wrong /Rect in link annotations

2020-11-07 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \enabledirectives[references.border] %~ \definemakeup[slide] \define[1]\newurl{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} \starttext %~ \startmakeup[slide] \newurl{a} compared to \newurl{a}. %~ \stopmakeup

[NTG-context] wrong url border (LMTX only)

2020-10-07 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \enabledirectives[references.border] \definemakeup[slide] \define[1]\newurl{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} \starttext \startmakeup[slide]\newurl{a}\stopmakeup \stoptext LMTX (latest from

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Wolfgang Schuster
problem they can see on the subject if this is the right thread to find a solution for it. \setuppagenumbering[alternative=doublesided,page=no] The page key in \setuppagenumbering is used to add the final page in a doublesided document to have a even number of pages. \definemakeup[ToC

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
n my document I actually have a chapter, and chapters start on the right page, even if I add page=no to \setuppagenumbering: \setuppagenumbering[alternative=doublesided,page=no] \definemakeup[ToC][align=middle,pagestate=start,doublesided=no] \starttext \startfrontmatter \star

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
agenumbering[alternative=doublesided] \definemakeup[ToC][align=middle,pagestate=start] \starttext \startfrontmatter \startmakeup[ToC] \placecontent \stopmakeup \input{knuth} \stopfrontmatter \startbodymatter \dorecurse{10}{\chapter{Foo}} \st

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
On 2020-08-11, Pablo Rodriguez wrote: > On 8/11/20 10:11 PM, Nicola wrote: >> Consider this example: >> >> \definemakeup[toc][align=middle] >> \setuppagenumbering[alternative=doublesided] >> \starttext >> \startfrontmatter >>

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 10:11 PM, Nicola wrote: > Consider this example: > > \definemakeup[toc][align=middle] > \setuppagenumbering[alternative=doublesided] > \starttext > \startfrontmatter > \startmakeup[toc] > \placecontent > \stopmakeup

[NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
Consider this example: \definemakeup[toc][align=middle] \setuppagenumbering[alternative=doublesided] \starttext \startfrontmatter \startmakeup[toc] \placecontent \stopmakeup %\setuppagenumber[number=1] \startchapter[title

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
environment fits here better. \definemakeup [copyright] [page=yes, pagestate=start, doublesided=no, align=flushright, bottom=] \startmakeup[copyright] Copyright © 2020 Author \stopmakeup 1. Increase the space between Roman numbers and titles in the ToC. distance with dimension

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

2020-06-14 Thread Jack Steyn
> > > > \definestructureconversionset[frontpart:pagenumber][][romannumerals] > > \definestructureconversionset[bodypart:pagenumber][][numbers] > > > > \definemakeup[titlepage][align=middle] > > \definemakeup[titlepage][align=middle,pagestate=start] > >

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

2020-06-14 Thread Wolfgang Schuster
of doing this which will give the correct page numbers? Best, Jack \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definemakeup[titlepage][align=middle] \definemakeup[titlepage][align=middle,pagestate=start

[NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
numbers? Best, Jack \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definemakeup[titlepage][align=middle] \starttext \startfrontmatter \startmakeup[titlepage] Title \stopmakeup test \stopfrontmatter

Re: [NTG-context] image across 2 page spread

2020-04-30 Thread Henning Hraban Ramm
terheight + \Bleed\relax \definelayer[bgpicleft][x=-\Bleed,y=-\Bleed,width=\maxWidth,height=\maxHeight] % inkl. Beschnitt \definelayer[bgpicright][x=0mm,y=-\Bleed,width=\maxWidth,height=\maxHeight] % inkl. Beschnitt \definemakeup[fullpage][ page=no, doublesided=no, headerstate=empty, footerstate=

Re: [NTG-context] standardmakeup and pages

2019-08-29 Thread Henning Hraban Ramm
> Am 2019-08-29 um 16:58 schrieb mf : > > \setuppagenumbering[ >alternative=doublesided, > ] > > % use pagestate=start on both makeups only if you want the title page > % to be the page 1 of the book > \definemakeup[title-page][align=middle,doublesided=no] Tha

Re: [NTG-context] standardmakeup and pages

2019-08-29 Thread mf
\setuppagenumbering[ alternative=doublesided, ] % use pagestate=start on both makeups only if you want the title page % to be the page 1 of the book \definemakeup[title-page][align=middle,doublesided=no] \definemakeup[imprint][align=top,page=no] \starttext \startmakeup[title-page] bastard

Re: [NTG-context] standardmakeup and pages

2019-08-29 Thread mf
[ alternative=doublesided, ] \definemakeup[title-page][align=middle,doublesided=no,pagestate=start] \definemakeup[imprint][align=top,page=no,pagestate=start] \starttext \startmakeup[title-page] bastard title \stopmakeup \startmakeup[imprint] \vfill imprint \stopmakeup \stoptext Best wishes

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Hans Hagen
On 10/9/2017 6:11 PM, Rik Kabel wrote: Consider the following almost-minimal example: \setuptagging    [state=start] \setuppapersize  [A6] \setupexternalfigures[location=default] \definemakeup    [cover4][page=left,doublesided=no] \definelayer [isbn][width

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Rik Kabel
with the \externalfigure it does work is that cow.pdf missing? On 9 Oct 2017, at 18:11, Rik Kabel <cont...@rik.users.panix.com> wrote: Consider the following almost-minimal example: \setuptagging[state=start] \setuppapersize [A6] \setupexternalfigures[location=default] \define

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Floris van Manen
\setuppapersize [A6] > \setupexternalfigures[location=default] > \definemakeup[cover4][page=left,doublesided=no] > \definelayer [isbn][width=\pagewidth,height=\pageheight] > \define \Title {A Primer on Omphaloskepsis} > \startsetups [placeisbn] > \setlay

[NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Rik Kabel
Consider the following almost-minimal example: \setuptagging    [state=start] \setuppapersize  [A6] \setupexternalfigures[location=default] \definemakeup    [cover4][page=left,doublesided=no] \definelayer [isbn][width=\pagewidth,height=\pageheight] \define

Re: [NTG-context] which is the best/right element for elements in cover and title pages?

2016-01-26 Thread Wolfgang Schuster
makeup environment is the right mechanism. You can combine this with the \setvariables command and create the title page when you set the values. \definemakeup[titlepage][align=middle] \startsetups[titlepage] \startmakeup[titlepage] \startfont[SansBold sa 3] \getvariable{tit

Re: [NTG-context] behavior of \vfill has changed in latest beta

2015-12-21 Thread Thomas A. Schmitz
On 12/21/2015 04:33 PM, Wolfgang Schuster wrote: Why don’t you use the makeup environment? \definemakeup[centered][pagestate=start,headerstate=start] \starttext \startmakeup[centered] vertically centered? \stopmakeup \stoptext Wolfgang Because the \vfill is hidden deep in setup commands

Re: [NTG-context] behavior of \vfill has changed in latest beta

2015-12-21 Thread Wolfgang Schuster
l\null \stoptext Why don’t you use the makeup environment? \definemakeup[centered][pagestate=start,headerstate=start] \starttext \startmakeup[centered] vertically centered? \stopmakeup \stoptext Wolfgang ___ If your qu

Re: [NTG-context] new beta - \pushbackground broken

2015-07-11 Thread Lukáš Procházka
] \headtextcontent \stopmakeup \stopsetups \definemakeup [mu:PartPage] [align=middle, top=\vfill\vfill, bottom=\vfill\vfill\vfill, ] \definefont[PartText][SerifBold sa 5] % Method 1: change the values of the predefined default conversion set, % you can use name of the sectionblock

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Wolfgang Schuster
want an inline heading (e.g. \setuphead[...][alternative=text]). % No headalternative here \startsetups[partpage] \startmakeup[part] \headsetupspacing \headnumbercontent \blank[big] \headtextcontent \stopmakeup \stopsetups \definemakeup [part] [align

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Wolfgang Schuster
] \headsetupspacing \headnumbercontent \blank[big] \headtextcontent \stopmakeup \stopsetups \definemakeup [part] [align=middle, top=\vfill\vfill, bottom=\vfill\vfill\vfill] \setuphead [part] [placehead=yes, alternative=partpage, page=right, before

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
simplify to: % No headalternative here \startsetups[partpage] \startmakeup[part] \headsetupspacing \headnumbercontent \blank[big] \headtextcontent \stopmakeup \stopsetups \definemakeup [part] [align=middle, top=\vfill\vfill, bottom=\vfill\vfill\vfill

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

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

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

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

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

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

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

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

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

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

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

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

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

2015-05-23 Thread Alexander Shukaev
Hello, I have a table of contents that now has grown to span several pages. Before that I used the following setup: \definemakeup [contentspage] \setupmakeup [contentspage][% footerstate={stop}, headerstate={stop}, pagestate={stop}, page={yes}, bottom={\vfill

[NTG-context] vertical spacing and makeups

2015-04-18 Thread Pablo Rodriguez
[pagestate=start] \definemakeup[slides][setups=setups:slides] \definemakeup[slide] \starttext \startmakeup[slides]\ConTeXt\stopmakeup \startmakeup[slide]\ConTeXt\stopmakeup \page\ConTeXt \startmakeup[slides]program\stopmakeup \startmakeup[slides]descender\stopmakeup

Re: [NTG-context] vertical spacing and makeups

2015-04-18 Thread Wolfgang Schuster
[setups:slides] \setupwhitespace[big] \stopsetups \setupmakeup[pagestate=start] \definemakeup[slides][setups=setups:slides] \definemakeup[slide] \starttext \startmakeup[slides]\ConTeXt\stopmakeup \startmakeup[slide]\ConTeXt\stopmakeup \page\ConTeXt \startmakeup[slides

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Wolfgang Schuster
]\ChapterCommand {\setlayerframed [chaptertext] [x=3cm, y=8cm] [frame=off] {#1 – #2}} \definemakeup[chapterpage][page] \setupmakeup [chapterpage] [pagestate=start, before={\setupbackgrounds[page][background=chapterimage]}, bottom={\placelayer[chaptertext

Re: [NTG-context] makeup in right (or odd) page?

2015-03-04 Thread Wolfgang Schuster
Am 04.03.2015 um 19:45 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \setuppapersize[A5] \definemakeup[colophon][page={yes, blank, right}] \starttext \dorecurse{6}{\input zapf} \startmakeup[colophon] This is the colophon

Re: [NTG-context] makeup in right (or odd) page?

2015-03-04 Thread Pablo Rodriguez
afraid it doesn’t work either: \setuppagenumbering[alternative=doublesided] \definemakeup[colophon][page=right] \starttext \input zapf\par \startmakeup[colophon] This is the colophon \stopmakeup What am I doing wrong here? Many thanks for your help, Pablo -- http

Re: [NTG-context] makeup in right (or odd) page?

2015-03-04 Thread Pablo Rodriguez
[alternative=doublesided, page=] \definemakeup[colophon][page=right] \starttext \input zapf\par \startmakeup[colophon] This is the colophon \stopmakeup The way to disable it was suggested by Hans (http://www.ntg.nl/pipermail/ntg-context/2014/078949.html) Many thanks for your

[NTG-context] makeup in right (or odd) page?

2015-03-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A5] \definemakeup[colophon][page={yes, blank, right}] \starttext \dorecurse{6}{\input zapf} \startmakeup[colophon] This is the colophon \stopmakeup I need to have the colophon in an odd page. I thought

Re: [NTG-context] makeup in right (or odd) page?

2015-03-04 Thread Wolfgang Schuster
forgot to include in my minimal sample the doublesided option. I’m afraid it doesn’t work either: \setuppagenumbering[alternative=doublesided] \definemakeup[colophon][page=right] \starttext \input zapf\par \startmakeup[colophon] This is the colophon \stopmakeup What

Re: [NTG-context] Font switching on title page

2015-02-02 Thread Wolfgang Schuster
only changes the font to roman, but not the size. I don’t know whether there is a switch that does that. The best way avoid problems when using font switches is to enclose them in braces. Such as in (complete sample): \definemakeup[titlepage][doublesided=no] \starttext

Re: [NTG-context] Font switching on title page

2015-02-01 Thread Pablo Rodriguez
there is a switch that does that. The best way avoid problems when using font switches is to enclose them in braces. Such as in (complete sample): \definemakeup[titlepage][doublesided=no] \starttext \starttitlepagemakeup[top=,] {\ss information \crlf about \crlf university \crlf and \crlf

Re: [NTG-context] Font switching on title page

2015-02-01 Thread Jörg Weger
whether there is a switch that does that. The best way avoid problems when using font switches is to enclose them in braces. Such as in (complete sample): \definemakeup[titlepage][doublesided=no] \starttext \starttitlepagemakeup[top=,] {\ss information \crlf about \crlf university \crlf

[NTG-context] Font switching on title page

2015-02-01 Thread Jörg Weger
, it is too tall. What am I missing about font switching? Is it maybe because it is a makeup page? %% Here is a MWE %% \definemakeup[titlepage][pagestate=stop,doublesided=no] \starttext \starttitlepagemakeup[top=,] \tf \ss information \crlf about

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
: \definemakeup[colophon][bottom=] (BTW, I thought colophons were at the end of the book.) I wonder what makes your links point to the next page from their destinations. BTW, which OS and PDF interpreter are you using? Pablo \setupinteraction[state=start] \setuppagenumbering[location

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
=,alternative=doublesided] \definemakeup [titlepage] [align=middle,style=\bf] \starttext \startfrontmatter Small title \page \phantom{x}\vfill Colofon \page \starttitlepagemakeup BIG TITLE \stoptitlepagemakeup % - empty page inserted after here, so page number becomes 5 \setcounter[userpage][5

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
for the colophon: \definemakeup[colophon][bottom=] (BTW, I thought colophons were at the end of the book.) I wonder what makes your links point to the next page from their destinations. BTW, which OS and PDF interpreter are you using? Pablo Hello Pablo, The problem is NOT that the pagenumber

[NTG-context] setting margins in makeup

2014-12-19 Thread Mark Szepieniec
.html), I tried the following: \setuppapersize [A4][A4] % Standard page layout \setuplayout[width=middle, backspace=1.5in, cutspace=1.5in, height=middle, topspace=0.75in, bottomspace=0.75in] % Title page layout % \definemakeup defines a layout with the same name, which we alter

Re: [NTG-context] setting margins in makeup

2014-12-19 Thread Mark Szepieniec
Sorry for the noise, I've solved it, turns out makeup pages still have headers which you need to set to zero if you want uniform margins: % Title page layout % \definemakeup defines a layout with the same name, which we alter. \definemakeup[titlepage] \setuplayout [titlepage][width=middle

[NTG-context] Strange bug with overviewpage module.

2014-12-19 Thread Aditya Mahajan
}{\structurelistrealpagenumber}}% \stopcurrentlistentrywrapper \listalternativeparameter\c!after} {}% \stopsetups \definemakeup [overviewpage] [\c!align=\v!middle] \definelayout [overviewpage] [\v!page] \startluacode moduledata = moduledata

Re: [NTG-context] flushing makeup to the right

2014-10-04 Thread Wolfgang Schuster
Am 02.10.2014 um 19:55 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample (with latest beta form 2014.09.27 14:46): \showframe \setuppapersize[A6] \definemakeup[dedication][align={left,nothyphenated}, pagestate=start] \setuplayout[dedication][backspace=.5

[NTG-context] flushing makeup to the right

2014-10-02 Thread Pablo Rodriguez
Dear list, I have the following sample (with latest beta form 2014.09.27 14:46): \showframe \setuppapersize[A6] \definemakeup[dedication][align={left,nothyphenated}, pagestate=start] \setuplayout[dedication][backspace=.5\textwidth] \starttext \startmakeup[dedication] This book is dedicated

[NTG-context] centering a makeup

2014-09-14 Thread Pablo Rodriguez
Dear list, I have the following sample: \definemakeup [custom] [location=middle, width=.5\textwidth] \starttext \startmakeup [custom] \input ward \stopmakeup \stoptext How can I center the makeup in the page? \definemakeup[custom][align=middle] centers the lines

Re: [NTG-context] centering a makeup

2014-09-14 Thread Aditya Mahajan
On Sun, 14 Sep 2014, Pablo Rodriguez wrote: Dear list, I have the following sample: \definemakeup [custom] [location=middle, width=.5\textwidth] \starttext \startmakeup [custom] \input ward \stopmakeup \stoptext How can I center the makeup in the page? \definemakeup[custom][align

Re: [NTG-context] centering a makeup

2014-09-14 Thread Wolfgang Schuster
Am 14.09.2014 um 17:38 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \definemakeup [custom] [location=middle, width=.5\textwidth] \starttext \startmakeup [custom] \input ward \stopmakeup \stoptext How can I center the makeup

Re: [NTG-context] centering a makeup

2014-09-14 Thread Pablo Rodriguez
for a makeup environment is very easy because when you create a new environment with \definemakup context creates also a new page layout with the same name which can be changed with the \setuplayout command. \definemakeup [custom] [width=.5\textwidth] \setuplayout [custom] [width

Re: [NTG-context] centering a makeup

2014-09-14 Thread Wolfgang Schuster
environments and set both margins to the same value. Changing the layout for a makeup environment is very easy because when you create a new environment with \definemakup context creates also a new page layout with the same name which can be changed with the \setuplayout command. \definemakeup [custom

[NTG-context] Spurious pages in makeups

2014-09-04 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, For a doublesided book, I get spurious pages in this setup: === \starttext \setuppagenumbering[alternative=doublesided] \definemakeup[title][align=middle] \definemakeup[copyright][align=flushleft] \setuphead[chapter][number=yes,page=left] \startmakeup[title] \tfd

Re: [NTG-context] Spurious pages in makeups

2014-09-04 Thread Peter Rolf
spurious pages in this setup: === \starttext \setuppagenumbering[alternative=doublesided] \definemakeup[title][align=middle] \definemakeup[copyright][align=flushleft] \setuphead[chapter][number=yes,page=left] \startmakeup[title] \tfd Title Page \stopmakeup \page[left

Re: [NTG-context] Spurious pages in makeups

2014-09-04 Thread Pablo Rodriguez
before, so either you remove the break from all titles, or create a new title command for the TOC that doesn’t have the page break before. \definemakeup[title][align=middle, doublesided=no] \definemakeup[copyright][align=flushleft] %~ \setuphead[chapter][number=yes,page=left] \definehead[toctitle

Re: [NTG-context] Disable balancing of page bottoms

2014-01-15 Thread Marco Patzer
. \definemakeup [Titlelayout] [top=] \definelayout [Titlelayout] [width=10cm, height=10cm, header=0cm, footer=0cm] \setuplayout [width=10cm, height=25cm, header=0cm, footer=0cm] \showframe \starttext \startfrontmatter \startmakeup [Titlelayout] Title \stopmakeup

Re: [NTG-context] Disable balancing of page bottoms

2014-01-15 Thread Joshua Krämer
Thank you, Marco. The problem with your solution is that in doublesided mode, after \startmakeup ... \stopmakeup, an empty page is inserted, but I need to have text on the back of the page. Do you maybe know how to solve this? MWE: \definemakeup [Titlelayout] [top=] \definelayout

Re: [NTG-context] Disable balancing of page bottoms

2014-01-15 Thread Marco Patzer
On 2014–01–15 Joshua Krämer wrote: Thank you, Marco. The problem with your solution is that in doublesided mode, after \startmakeup ... \stopmakeup, an empty page is inserted, but I need to have text on the back of the page. Do you maybe know how to solve this? \definemakeup

Re: [NTG-context] Section in golden ratio?

2013-07-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
, alternative=middle, ] \starttext \section{AAA} \stoptext W. \setuplayout[page] \definemakeup[section]%[text] \setupmakeup[section][top=\vfill\vfill,bottom=\vfill\vfill\vfill] \setuphead[section] [before=\startsectionmakeup, after=\stopsectionmakeup, alternative=middle

Re: [NTG-context] Section in golden ratio?

2013-07-04 Thread Wolfgang Schuster
Am 04.07.2013 um 08:29 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: @Wolfgang: What does option [text] in your original \definemakeup[section][text] mean? Not much wiser from wiki. ConTeXt has two predefine makeup environments, a) \startdstandardakeup and b

Re: [NTG-context] Section in golden ratio?

2013-07-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Great, thanks again! Cheers, Lukas On Thu, 04 Jul 2013 08:49:49 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 04.07.2013 um 08:29 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: @Wolfgang: What does option [text] in your original \definemakeup

Re: [NTG-context] Section in golden ratio?

2013-07-03 Thread Wolfgang Schuster
to achieve this? My code so far is: \setuplayout[page] \define\bef{\page\hbox to\textheight\bgroup\vfill\vfill\fi} - use a \vbox (you need vertical mode here) instead of a \hbox The makeup environment creates a big \vbox for its content. \setuplayout[page] \definemakeup[section][text

Re: [NTG-context] define vs setup

2012-07-26 Thread Bill Meahan
[settings] \definelayout [frontpage] [settings] % Only those things that are different from the global \definemakeup [frontpage] % other definitions, fonts yadda, yadda, yadda \starttext \startmakeup [frontpage] % place the layers % content \stopmakup % continue content as required

Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Wolfgang Schuster
is yellow.} \stoptext Be patient, others (Wolfgang?!) will probably post cleaner solutions. You mean something like this? \setuppapersize[S6] \definelayout[slide][page] \definemakeup[slide][align=middle,backgroundcolor=lightgray] \setupbackgrounds[page][background=color,backgroundcolor

Re: [NTG-context] multi-page floats

2012-06-05 Thread Henning Hraban Ramm
(\paperwidth+3mm),height= \dimexpr(\paperheight+6mm)] %\definemakeup[rightpage][page=right] \def\DoublePic#1{ %\startmakeup[rightpage] % error! \page[right] \resetlayer[bg] \setlayer[bg]{\externalfigure[#1][height=\dimexpr(\paperheight+6mm

Re: [NTG-context] multi-page floats

2012-06-05 Thread luigi scarso
: --- *** --- \setuppagenumbering[alternative=doublesided] \definelayer[bg][x=0mm,y=-3mm,width=\dimexpr(\paperwidth+3mm),height=\dimexpr(\paperheight+6mm)] %\definemakeup[rightpage][page=right] \def\DoublePic#1{        %\startmakeup[rightpage] % error!        \page[right]        \resetlayer[bg]        \setlayer[bg

Re: [NTG-context] multi-page floats

2012-06-04 Thread Henning Hraban Ramm
? maybe \startmakeup[page] page a \stopmakeup Good hint. I setup: \definemakeup[rightpage][page=right] \definemakeup[leftpage][page=left] and get empty right/left pages from within my macro. Can I control if the content after a markup starts on a right or left page? Further, if I try

Re: [NTG-context] full page images on fixed pages

2012-05-19 Thread Philipp Gesang
\textheight by \textwidth. The output looks like most layout elements. However, the personalized makeup environments as defined by \definemakeup are much more complex. They basically allow to insert parameterized layout and pagestyle exceptions without affecting the layout of the surrounding pages

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Alan BRASLAU
? \defineoverlay[Bkg][\doif{\pagenumber}{1}{\externalfigure[cow]}] \setupbackgrounds[paper][background=Bkg] \starttext \noheaderandfooterlines \dorecurse{5}{\input knuth\par} \stoptext If you want to create a title page (which may not be your intention), why not simply \definemakeup[titlepage][align

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
? \defineoverlay[Bkg][\doif{\pagenumber}{1}{\externalfigure[cow]}] \setupbackgrounds[paper][background=Bkg] \starttext \noheaderandfooterlines \dorecurse{5}{\input knuth\par} \stoptext If you want to create a title page (which may not be your intention), why not simply \definemakeup[titlepage][align=middle

Re: [NTG-context] Title page for diploma thesis

2011-12-04 Thread Hans Hagen
On 3-12-2011 16:40, Paul Menzel wrote: Dear ConTeXt folks, I am trying to format the title page for a diploma thesis. Looking at the Wiki most of the title or cover pages just have the title centered and maybe a subtitle right below [1]. \starttext \definemakeup[titlepage

Re: [NTG-context] Title page for diploma thesis

2011-12-04 Thread Wolfgang Schuster
Am 03.12.2011 um 16:40 schrieb Paul Menzel: Dear ConTeXt folks, I am trying to format the title page for a diploma thesis. Looking at the Wiki most of the title or cover pages just have the title centered and maybe a subtitle right below [1]. \starttext \definemakeup

Re: [NTG-context] Title page for diploma thesis

2011-12-04 Thread Willi Egger
On 3 Dec 2011, at 16:40, Paul Menzel wrote: Dear ConTeXt folks, I am trying to format the title page for a diploma thesis. Looking at the Wiki most of the title or cover pages just have the title centered and maybe a subtitle right below [1]. \starttext \definemakeup

Re: [NTG-context] Title page for diploma thesis

2011-12-04 Thread Willi Egger
folks, I am trying to format the title page for a diploma thesis. Looking at the Wiki most of the title or cover pages just have the title centered and maybe a subtitle right below [1]. \starttext \definemakeup[titlepage][align=middle] \starttitlepagemakeup

  1   2   >