![](https://secure.gravatar.com/avatar/e4119be23c6b43ebdb1041bb53ac9e67.jpg?s=120&d=mm&r=g)
Hey list, I have my page numbers setup as follows so that page numbers are flanked with tildes. \setuppagenumbering [location=right, way=bytext, left={\~},right={\~}, color=colour_page_number, style=bold] ConTeXt chokes on the parameters to left and right: ! Undefined control sequence. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Wed, Jul 6, 2011 at 7:59 AM, Kip Warner
Hey list,
I have my page numbers setup as follows so that page numbers are flanked with tildes.
\setuppagenumbering [location=right, way=bytext, left={\~},right={\~}, color=colour_page_number, style=bold]
ConTeXt chokes on the parameters to left and right: ! Undefined control sequence. (untested) what about \lettertilde instead of \~ ?
-- luigi
![](https://secure.gravatar.com/avatar/e4119be23c6b43ebdb1041bb53ac9e67.jpg?s=120&d=mm&r=g)
On Wed, 2011-07-06 at 08:08 +0200, luigi scarso wrote:
(untested) what about \lettertilde instead of \~ ?
Thanks Luigi. That did it. Although, I think if I was using it properly as an escape sequence, then perhaps we have found a bug. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 5 Jul 2011, Kip Warner wrote:
On Wed, 2011-07-06 at 08:08 +0200, luigi scarso wrote:
(untested) what about \lettertilde instead of \~ ?
Thanks Luigi. That did it. Although, I think if I was using it properly as an escape sequence,
\~ is the plain TeX macro for placing the ~ accent. Try \~a etc. The correct way to access a tilde is \lettertilde and \texttilde (or \textasciitilde) depending on what glyph you want. Aditya
![](https://secure.gravatar.com/avatar/e4119be23c6b43ebdb1041bb53ac9e67.jpg?s=120&d=mm&r=g)
On Wed, 2011-07-06 at 02:23 -0400, Aditya Mahajan wrote:
\~ is the plain TeX macro for placing the ~ accent. Try \~a etc. The correct way to access a tilde is \lettertilde and \texttilde (or \textasciitilde) depending on what glyph you want.
Aditya
Thanks Aditya. If I had more time, I'd be updating the wiki and pdfs with all the answers to these questions. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Wed, Jul 6, 2011 at 8:13 AM, Kip Warner
On Wed, 2011-07-06 at 08:08 +0200, luigi scarso wrote:
(untested) what about \lettertilde instead of \~ ?
Thanks Luigi. That did it. Although, I think if I was using it properly as an escape sequence, then perhaps we have found a bug. As Aditya said \~ is a plain TeX macro. As general rule it doesn't hurt to know about plain TeX, at least for mkii (and yes, it's not like laTeX.)
-- luigi
participants (3)
-
Aditya Mahajan
-
Kip Warner
-
luigi scarso