* Tilde in page numbers
@ 2011-07-06 5:59 Kip Warner
2011-07-06 6:08 ` luigi scarso
0 siblings, 1 reply; 6+ messages in thread
From: Kip Warner @ 2011-07-06 5:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 426 bytes --]
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
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 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] 6+ messages in thread
* Re: Tilde in page numbers
2011-07-06 5:59 Tilde in page numbers Kip Warner
@ 2011-07-06 6:08 ` luigi scarso
2011-07-06 6:13 ` Kip Warner
0 siblings, 1 reply; 6+ messages in thread
From: luigi scarso @ 2011-07-06 6:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, Jul 6, 2011 at 7:59 AM, Kip Warner <kip@thevertigo.com> wrote:
> 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
___________________________________________________________________________________
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] 6+ messages in thread
* Re: Tilde in page numbers
2011-07-06 6:08 ` luigi scarso
@ 2011-07-06 6:13 ` Kip Warner
2011-07-06 6:23 ` Aditya Mahajan
2011-07-06 7:28 ` luigi scarso
0 siblings, 2 replies; 6+ messages in thread
From: Kip Warner @ 2011-07-06 6:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 354 bytes --]
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
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 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] 6+ messages in thread
* Re: Tilde in page numbers
2011-07-06 6:13 ` Kip Warner
@ 2011-07-06 6:23 ` Aditya Mahajan
2011-07-06 23:19 ` Kip Warner
2011-07-06 7:28 ` luigi scarso
1 sibling, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2011-07-06 6:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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] 6+ messages in thread
* Re: Tilde in page numbers
2011-07-06 6:13 ` Kip Warner
2011-07-06 6:23 ` Aditya Mahajan
@ 2011-07-06 7:28 ` luigi scarso
1 sibling, 0 replies; 6+ messages in thread
From: luigi scarso @ 2011-07-06 7:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, Jul 6, 2011 at 8:13 AM, Kip Warner <kip@thevertigo.com> 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, 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
___________________________________________________________________________________
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] 6+ messages in thread
end of thread, other threads:[~2011-07-06 23:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-06 5:59 Tilde in page numbers Kip Warner
2011-07-06 6:08 ` luigi scarso
2011-07-06 6:13 ` Kip Warner
2011-07-06 6:23 ` Aditya Mahajan
2011-07-06 23:19 ` Kip Warner
2011-07-06 7:28 ` luigi scarso
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).