ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* viewerprefix
@ 2020-11-19  5:23 jbf
  0 siblings, 0 replies; only message in thread
From: jbf @ 2020-11-19  5:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi list,

I have successfully managed to get a vertically-oriented page number in 
words in the margins, but NOT with the number prefixed by the word 
'page'. I thought I would be able to do this by adding viewerprefix=Page 
(mentioned on the wiki for \setupuserpagenumber) but it gives me no 
result. Any thoughts on how I can achieve this? As I say, everything 
else works except the desired prefix.

Current MWE:

\def\mypagenumber#1%
{\inframed[frame=off,leftframe=on,rightframe=on,orientation=90]{#1}}

\setuppagenumbering[alternative=doublesided,location=margin,command=\mypagenumber]
\setupuserpagenumber[numberconversion=words,viewerprefix=Page]

\starttext
\input Knuth
\stoptext

Julian

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-19  5:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19  5:23 viewerprefix jbf

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