Re: [NTG-context] Footer text style

2012-08-19 Thread Sietse Brouwer
Lukáš wrote:
> Added to http://wiki.contextgarden.net/Command/setuppagenumbering as an
> example.

Thanks! That is greatly appreciated.

> (BTW: Any idea how to make wiki-contex-source-compiler show the page number,
> if *really* wanted - i.e. in this case?)

\showframe[] does the trick: when an empty options argument [] is
given, \showframe only draws a green edge around the page boundary.
(When no arguments are given, OTOH, a frame is drawn around all areas.
See http://wiki.contextgarden.net/Command/showframe .)

NB: \showframe seems to be broken in the wiki's mkiv installation,
which is old. The next example draws no frame, but if you remove the
mode=mkii then all is well. It works with both mkii and the latest
beta on my local machine.

\showframe
asdf


Cheers,
Sietse
___
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
___

Re: [NTG-context] Footer text style

2012-08-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .

On Thu, 16 Aug 2012 10:07:27 +0200, Hans Hagen  wrote:


On 16-8-2012 09:53, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

Hello,

I'm struggling a bit with setting font style for page footer:


\setuppagenumbering
   [location={footer,middle},
   ]
\setupfooter[text][style=\bfc]

\starttext
   \dorecurse{3}{\input knuth\page}
\stoptext


Why the footer is not bold and big ('\bfc')? - How to make it '\bfc'?


because that only applies to \setupfootertexts

in your case you can use

\setuppagenumbering
   [location={footer,middle},style=\bfc]


Thanks, Hans.

Added to http://wiki.contextgarden.net/Command/setuppagenumbering as an example.

(BTW: Any idea how to make wiki-contex-source-compiler show the page number, if 
*really* wanted - i.e. in this case?)

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: +420 244 062 238
Fax: +420 244 461 038

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


Re: [NTG-context] Footer text style

2012-08-16 Thread Hans Hagen

On 16-8-2012 09:53, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

Hello,

I'm struggling a bit with setting font style for page footer:


\setuppagenumbering
   [location={footer,middle},
   ]
\setupfooter[text][style=\bfc]

\starttext
   \dorecurse{3}{\input knuth\page}
\stoptext


Why the footer is not bold and big ('\bfc')? - How to make it '\bfc'?


because that only applies to \setupfootertexts

in your case you can use

\setuppagenumbering
  [location={footer,middle},style=\bfc]


TIA.

Lukas


(ConTeXt  ver: 2012.08.02 10:55 MKIV  fmt: 2012.8.3  int: english/english)




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




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


[NTG-context] Footer text style

2012-08-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I'm struggling a bit with setting font style for page footer:


\setuppagenumbering
  [location={footer,middle},
  ]
\setupfooter[text][style=\bfc]

\starttext
  \dorecurse{3}{\input knuth\page}
\stoptext


Why the footer is not bold and big ('\bfc')? - How to make it '\bfc'?

TIA.

Lukas


(ConTeXt  ver: 2012.08.02 10:55 MKIV  fmt: 2012.8.3  int: english/english)


--
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: +420 244 062 238
Fax: +420 244 461 038

t-Foot.mkiv
Description: Binary data


t-Foot.pdf
Description: Adobe PDF document
___
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
___