which is the best/right element for elements in cover and title pages?
Dear list, I have a template to generate book cover and title page for different documents. A sample of the output may be found at https://github.com/ousia/from-pandoc-to-context/blob/master/doc/from-pandoc-... (first two printed pages). Right now, their layout is hardcoded, such as for the title page (minimal version): \starttitlepagemakeup \vfill {\itd\BookTitle}\par}\blank[big] {\resetbreakpoints\itb\setupinterlinespace \BookSubtitle']}\par}\blank[3*big] {\sc \TheAuthor}{\\}} \vfill \PublishingDate \vfill \Publisher \stoptitlepagemakeup I want to be abole to customize this. But I don’t know which is the right element for those items. I mean, a head would be meaningless here for book title, subtitle, author, publisher and release date. They appear only once in the document. Which is the right element for those items? Many thanks for your help, Pablo -- http://www.ousia.tk
Pablo Rodriguez
On 01/26/2016 05:13 AM, Ibn Saeed wrote:
Pablo Rodriguez writes:
Have you tried \startstandardmakeup for Title Pages ?
Many thanks for your reply, Ibn. I use a makeup for the title pages (in fact \startitlepage could be written as \startmakeup[titlepage]). I mean the individual information such as title, subtitle, author, and so on. Pablo -- http://www.ousia.tk
Pablo Rodriguez
On 01/26/2016 05:13 AM, Ibn Saeed wrote:
Pablo Rodriguez writes:
Have you tried \startstandardmakeup for Title Pages ?
Many thanks for your reply, Ibn.
I use a makeup for the title pages (in fact \startitlepage could be written as \startmakeup[titlepage]).
I mean the individual information such as title, subtitle, author, and so on.
Pablo
Take a look at \setupinteraction Syntax : http://wiki.contextgarden.net/Command/setupinteraction Examples here: http://wiki.contextgarden.net/Export http://wiki.contextgarden.net/PDFX
On 01/26/2016 09:15 AM, Ibn Saeed wrote:
Take a look at \setupinteraction
Syntax : http://wiki.contextgarden.net/Command/setupinteraction
Examples here: http://wiki.contextgarden.net/Export
Many thanks for your reply again, Ibn. I’m afraid this is something different of what I intend to ask here (in fact, I use \setupinteraction in my docments too). I guess \definehead is what I should be using. Many thanks for your help, Pablo -- http://www.ousia.tk
Pablo Rodriguez mailto:oinos@gmx.es 26. Januar 2016 um 09:42
Many thanks for your reply again, Ibn.
I’m afraid this is something different of what I intend to ask here (in fact, I use \setupinteraction in my docments too).
I guess \definehead is what I should be using. No, the 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{titlepage}{title} \stopfont \stopmakeup \stopsetups \setvariable{titlepage}{set}{\texsetup{titlepage}} \starttext \setvariables[titlepage][title=Titlepages for dummies] \stoptext Wolfgang
On 01/26/2016 02:45 PM, Wolfgang Schuster wrote:
Pablo Rodriguez 26. Januar 2016 um 09:42 [...] I guess \definehead is what I should be using. No, the makeup environment is the right mechanism. You can combine this with the \setvariables command and create the title page when you set the values.
Many thanks for your reply. Wolfgang. Once again (or as always), you are right: this is the way to do it. Many thanks for your help, Pablo -- http://www.ousia.tk
Hi Pablo, I wanted just to congratulate you for the nice manual you have written… I don’t know Pandoc and what it can be used for, but after seeing your manual I willing to learn about it! Best regards: OK
On 25 Jan 2016, at 21:54, Pablo Rodriguez
wrote: Dear list,
I have a template to generate book cover and title page for different documents. A sample of the output may be found at https://github.com/ousia/from-pandoc-to-context/blob/master/doc/from-pandoc-... (first two printed pages).
Right now, their layout is hardcoded, such as for the title page (minimal version):
\starttitlepagemakeup \vfill
{\itd\BookTitle}\par}\blank[big] {\resetbreakpoints\itb\setupinterlinespace \BookSubtitle']}\par}\blank[3*big] {\sc \TheAuthor}{\\}}
\vfill \PublishingDate \vfill \Publisher \stoptitlepagemakeup
I want to be abole to customize this. But I don’t know which is the right element for those items.
I mean, a head would be meaningless here for book title, subtitle, author, publisher and release date. They appear only once in the document.
Which is the right element for those items?
Many thanks for your help,
Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (4)
-
Ibn Saeed
-
Otared Kavian
-
Pablo Rodriguez
-
Wolfgang Schuster