ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* which is the best/right element for elements in cover and title pages?
@ 2016-01-25 20:54 Pablo Rodriguez
  2016-01-26  4:13 ` Ibn Saeed
  2016-01-26  7:05 ` Otared Kavian
  0 siblings, 2 replies; 8+ messages in thread
From: Pablo Rodriguez @ 2016-01-25 20:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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-to-context_A4.pdf
(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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: which is the best/right element for elements in cover and title pages?
  2016-01-25 20:54 which is the best/right element for elements in cover and title pages? Pablo Rodriguez
@ 2016-01-26  4:13 ` Ibn Saeed
  2016-01-26  4:50   ` Pablo Rodriguez
  2016-01-26  7:05 ` Otared Kavian
  1 sibling, 1 reply; 8+ messages in thread
From: Ibn Saeed @ 2016-01-26  4:13 UTC (permalink / raw)
  To: ntg-context

Pablo Rodriguez <oinos <at> gmx.es> writes:



Have you tried \startstandardmakeup for Title Pages ?


___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: which is the best/right element for elements in cover and title pages?
  2016-01-26  4:13 ` Ibn Saeed
@ 2016-01-26  4:50   ` Pablo Rodriguez
  2016-01-26  8:15     ` Ibn Saeed
  0 siblings, 1 reply; 8+ messages in thread
From: Pablo Rodriguez @ 2016-01-26  4:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: which is the best/right element for elements in cover and title pages?
  2016-01-25 20:54 which is the best/right element for elements in cover and title pages? Pablo Rodriguez
  2016-01-26  4:13 ` Ibn Saeed
@ 2016-01-26  7:05 ` Otared Kavian
  1 sibling, 0 replies; 8+ messages in thread
From: Otared Kavian @ 2016-01-26  7:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <oinos@gmx.es> 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-to-context_A4.pdf
> (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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: which is the best/right element for elements in cover and title pages?
  2016-01-26  4:50   ` Pablo Rodriguez
@ 2016-01-26  8:15     ` Ibn Saeed
  2016-01-26  8:42       ` Pablo Rodriguez
  0 siblings, 1 reply; 8+ messages in thread
From: Ibn Saeed @ 2016-01-26  8:15 UTC (permalink / raw)
  To: ntg-context

Pablo Rodriguez <oinos <at> gmx.es> writes:

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









___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: which is the best/right element for elements in cover and title pages?
  2016-01-26  8:15     ` Ibn Saeed
@ 2016-01-26  8:42       ` Pablo Rodriguez
  2016-01-26 13:45         ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Pablo Rodriguez @ 2016-01-26  8:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
> 
> http://wiki.contextgarden.net/PDFX

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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: which is the best/right element for elements in cover and title pages?
  2016-01-26  8:42       ` Pablo Rodriguez
@ 2016-01-26 13:45         ` Wolfgang Schuster
  2016-02-02 21:36           ` Pablo Rodriguez
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2016-01-26 13:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 841 bytes --]

> 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

[-- Attachment #1.2: Type: text/html, Size: 1926 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: which is the best/right element for elements in cover and title pages?
  2016-01-26 13:45         ` Wolfgang Schuster
@ 2016-02-02 21:36           ` Pablo Rodriguez
  0 siblings, 0 replies; 8+ messages in thread
From: Pablo Rodriguez @ 2016-02-02 21:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-02-02 21:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-25 20:54 which is the best/right element for elements in cover and title pages? Pablo Rodriguez
2016-01-26  4:13 ` Ibn Saeed
2016-01-26  4:50   ` Pablo Rodriguez
2016-01-26  8:15     ` Ibn Saeed
2016-01-26  8:42       ` Pablo Rodriguez
2016-01-26 13:45         ` Wolfgang Schuster
2016-02-02 21:36           ` Pablo Rodriguez
2016-01-26  7:05 ` Otared Kavian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).