Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Pablo Rodriguez
On 08/15/2017 07:07 PM, Wolfgang Schuster wrote:
>> Tomas Hala 15. August 2017 um 18:52:
>> [...]
>> Are there some other predefined "\letterxxx" commands?
> \letteropenbrace
> [...]
> \letterexclamationmark

I would add other four (with Wolfgang’s permission):

\letterleftparenthesis
\letterrightparenthesis
\letterleftbracket
\letterrightbracket

Pablo
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Alan Braslau
Is there not some way to "protect" a literal string to be taken
verbatim where no character be active, for it is messy to have to
"clean-up" data such as a url.

Alan


On Tue, 15 Aug 2017 19:07:54 +0200
Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote:

> > Are there some other predefined "\letterxxx" commands?  
> \letteropenbrace
> \letterclosebrace
> \letterampersand
> \letterless
> \lettermore
> \letterhash
> \letterdoublequote
> \lettersinglequote
> \letterdollar
> \letterpercent
> \letterhat
> \letterunderscore
> \letterbar
> \lettertilde
> \letterbackslash
> \letterslash
> \letterquestionmark
> \letterat
> \lettercolon
> \letterescape
> \letterbgroup
> \letteregroup
> \letterleftbrace
> \letterrightbrace
> \letterexclamationmark

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

Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Wolfgang Schuster



Tomas Hala <mailto:tomas.h...@mendelu.cz>
15. August 2017 um 18:52
Hi,

I updated the page about URLs. Reading the text, I found the following
sentence which -- in my opinion -- does not correspond with the current
behaviour:

"You can use \url[aurl] as well, which behaves like \from[#1]."

I tried it but the \url[aurl] is not printed out in green colour as 
well as

other similar links and, moreover, it seems not to be clickable.
Could somebody confirm or disprove it?

# 
\mypersonalurl{http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw\letterpercent20hpw}

#
# Please update the garden (another command is \letterhash), when the
# reply solved your problem.

Are there some other predefined "\letterxxx" commands?

\letteropenbrace
\letterclosebrace
\letterampersand
\letterless
\lettermore
\letterhash
\letterdoublequote
\lettersinglequote
\letterdollar
\letterpercent
\letterhat
\letterunderscore
\letterbar
\lettertilde
\letterbackslash
\letterslash
\letterquestionmark
\letterat
\lettercolon
\letterescape
\letterbgroup
\letteregroup
\letterleftbrace
\letterrightbrace
\letterexclamationmark


Is (and how) possible to change the name of page from Url to URL?

I moved the page.

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

Re: [NTG-context] Producing quotesingle glyph

2011-03-20 Thread Wolfgang Schuster

Am 20.03.2011 um 11:04 schrieb Mojca Miklavec:

 On Sun, Mar 20, 2011 at 08:34, Pontus Lurcock wrote:
 On Sun 20 Mar 2011, Wolfgang Schuster wrote:
 
 Another option is to disable only a single feature:
 
 \definefontfeature[notrep][trep=no]
 \def\realquotesingle{{\addfs{notrep}'}}
 
 Thanks, that's more elegant. I've updated the wiki page to include it.
 
 Just a question for Hans or Taco: would it be possible to create a
 command sequence that would avoid doing the auto-replacement even when
 trep is on? Say, \textapostrophe, \asciiapostrophe, \textquote,
 \asciiquote or some similar name.

{ : \letteropenbrace, \letterbgroup, \letterleftbrace, \textbraceleft
} : \letterclosebrace, \letteregroup, \letterrightbrace, \textbraceright
 : \letterampersand
 : \letterless
 : \lettermore
# : \letterhash
 : \letterdoublequote, \quotedbl
' : \lettersinglequote, \quotesingle
$ : \letterdollar, \textdollar
% : \letterpercent, \percent
^ : \letterhat
_ : \letterunderscore, \textunderscore
| : \letterbar, \textbar
~ : \lettertilde, \textasciitilde
\ : \letterbackslash, \letterescape, \textbackslash
/ : \letterslash, \textslash
? : \letterquestionmark
! : \letterexclamationmark
@ : \letterat, \textat
: : \lettercolon
` : \textgrave

Wolfgang

___
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] List of special characters?

2006-12-28 Thread Mojca Miklavec
On 12/28/06, [EMAIL PROTECTED] wrote:

 This works great. But then I've got the following keywords:

 # ! | \ @ ^ + - * /  %

Just copied from Aditya's code :)

\letterhash, \#
\letterexclamationmark
\letterbar
\letterbackslash
\letterat
\letterhat
\letterslash
\letterpercent, \%
\letterless
\lettermore
\letterampersand, \
\letteropenbrace, \{
\letterclosebrace, \}
etc.

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of special characters?

2006-12-28 Thread cormullion
On 2006-12-28, at 13:15.0, Mojca Miklavec wrote:

 On 12/28/06, [EMAIL PROTECTED] wrote:

 This works great. But then I've got the following keywords:

 # ! | \ @ ^ + - * /  %

 Just copied from Aditya's code :)

 \letterhash, \#
 \letterexclamationmark
 \letterbar
 \letterbackslash
 \letterat
 \letterhat
 \letterslash
 \letterpercent, \%
 \letterless
 \lettermore
 \letterampersand, \
 \letteropenbrace, \{
 \letterclosebrace, \}

Thanks - they all work great!

A worthy addition to the manual...?!  :-)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of special characters?

2006-12-28 Thread Idris Samawi Hamid
On Thu, 28 Dec 2006 07:00:07 -0700, [EMAIL PROTECTED] wrote:

 Just copied from Aditya's code

 \letterhash, \#
 \letterexclamationmark
 \letterbar
 \letterbackslash
 \letterat
 \letterhat
 \letterslash
 \letterpercent, \%
 \letterless
 \lettermore
 \letterampersand, \
 \letteropenbrace, \{
 \letterclosebrace, \}
 Thanks - they all work great!
 A worthy addition to the manual...?!

At least some mention should be made on the wiki (if it's already there  
please tell us where)...

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] French spacing and pdfTeX-1.40

2006-11-14 Thread Peter Münster
Hello,
(it's a repost, in case my previous email got lost...)
my attempt to get correct French spacing before punctuation does no more
work with the latest ConTeXt-beta.
Is there now a new method with pdfTeX-1.40 to get automatically the good
spacing (as announced some months ago)?

Today I try it like this (without success):

%%% module t-french.tex %%%

\def\activateSomeCharacters{%
  \defineactivecharacter « {\leftguillemot\,}%% does not work
  \defineactivecharacter » {\,\rightguillemot}%   % with utf-encoding
%
%  \defineactivecharacter ; {\,\lettersemicolon}% % does not work
%
  \defineactivecharacter ? {\,\letterquestionmark}%   % does not work with
  \defineactivecharacter : {\,\lettercolon}%  % project/product
  \defineactivecharacter ! {\,\letterexclamationmark}}% structure

\startlanguagespecifics[fr]
  \activateSomeCharacters
  \setupitemize[symbol=2]
  \lccode`\'=`\'
\stoplanguagespecifics

\mainlanguage[fr]

\appendtoks\activateSomeCharacters\to\everystarttext


Greetings, Peter

-- 
http://pmrb.free.fr/contact/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] French spacing with pdfTeX-1.40 and ConTeXt-beta

2006-11-08 Thread Peter Münster
Hello,

my attempt to get correct French spacing before punctuation does no more
work with the latest ConTeXt-beta.
Is there now a new method with pdfTeX-1.40 to get automatically the good
spacing?

Today I try it like this (without success):

%%% module t-french.tex %%%

\def\activateSomeCharacters{%
  \defineactivecharacter « {\leftguillemot\,}%  does not work
  \defineactivecharacter » {\,\rightguillemot}% with utf-encoding
%
%  \defineactivecharacter ; {\,\lettersemicolon}%   does not work
%
  \defineactivecharacter ? {\,\letterquestionmark}%does not work with
  \defineactivecharacter : {\,\lettercolon}% project/product
  \defineactivecharacter ! {\,\letterexclamationmark}}%structure

\startlanguagespecifics[fr]
  \activateSomeCharacters
  \setupitemize[symbol=2]
  \lccode`\'=`\'
\stoplanguagespecifics

\mainlanguage[fr]

\appendtoks\activateSomeCharacters\to\everystarttext


Greetings, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context