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:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
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 -----------------------------------------------------------------
On Thu, 16 Aug 2012 10:07:27 +0200, 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]
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:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
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. <context mode=mkiv> \showframe asdf </context> Cheers, Sietse
participants (3)
-
Hans Hagen
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
Sietse Brouwer