ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \useURL not working with '#' and '_' in URL in newest beta
@ 2009-04-21 16:45 Drazen Baic
  2009-04-22  1:19 ` Mojca Miklavec
  0 siblings, 1 reply; 4+ messages in thread
From: Drazen Baic @ 2009-04-21 16:45 UTC (permalink / raw)
  To: ntg-context

Hello,

URLs with '#' or '_' in the URL worked fine with LuaTeX, Version
snapshot-0.37.0-2009033116  and ConTeXt 2009.04.06 21:42
and still work with the newest beta LuaTeX, Version
snapshot-0.39.0-2009041623 and ConTeXt 2009.04.21 16:11 when
compiled with '--xtx'. When compiled with '--lua' I got this error:

! Illegal parameter number in definition of \dodogetargument.
<to be read again>
                   s
<argument> ...ce.contextgarden.net/core-pos.tex##s
                                                  etpositions
\dodogetargument ...{\douseurl [{setposition}][{#1
                                                  }][{##1}]}\dogetargument [...
l.13 ...textgarden.net/core-pos.tex#setpositions}]


here is a minimal example. It doesn't work no matter if
\setupinteraction is active or not

\setupcolors
  [state=start]
\setupinteraction
  [state=start,color=blue]
\useURL
  [minimals]
  [{http://wiki.contextgarden.net/ConTeXt_Minimals}]
  []
  [\ConTeXt\ Minimals]

\useURL
  [setposition]
  [{http://source.contextgarden.net/core-pos.tex#setpositions}]
  []
  [\tex{setposition}]

\useURL
  [setuppositioning]
  [http://texshow.contextgarden.net]
  [{cmd/en/setuppositioning}]
  [\tex{setuppositioning}]

\starttext
Lookup the source code of \from[setposition]! Or read about the syntax
of \from[setuppositioning].
More Information about \CONTEXT\ Minimals at: \from[minimals]
\stoptext

Regards,
Drazen
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \useURL not working with '#' and '_' in URL in newest beta
  2009-04-21 16:45 \useURL not working with '#' and '_' in URL in newest beta Drazen Baic
@ 2009-04-22  1:19 ` Mojca Miklavec
  2009-04-22  6:46   ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Mojca Miklavec @ 2009-04-22  1:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Apr 21, 2009 at 18:45, Drazen Baic wrote:
> Hello,
>
> URLs with '#' or '_' in the URL worked fine with LuaTeX, Version
> snapshot-0.37.0-2009033116  and ConTeXt 2009.04.06 21:42
> and still work with the newest beta LuaTeX, Version
> snapshot-0.39.0-2009041623 and ConTeXt 2009.04.21 16:11 when
> compiled with '--xtx'. When compiled with '--lua' I got this error:

I don't know if this is related, but when I tried to recompile some
mkiv document today, lots of characters have been missing from output.
Example:

\starttext
\startMPcode
u := 1cm;
draw \sometxt{a\{b\}} shifted(1u,0u); % no braces
\stopMPcode
\stoptext

I remember having problems with at least {, }, #, & and with the usage
of the following macro inside metapost:

% outside:
\def\combine#1{\hbox to .5em{}\hbox to
0pt{\hss\color[red]{\mframed[frame=off]{#1}}\hss}\hbox to
0pt{\hss\color[darkgray]{o}\hss}}

% usage inside \sometxt in metapost:
\combine{\textcaron}

But I had no time to debug.

Mojca
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \useURL not working with '#' and '_' in URL in newest beta
  2009-04-22  1:19 ` Mojca Miklavec
@ 2009-04-22  6:46   ` Hans Hagen
  2009-04-22 15:40     ` Drazen Baic
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2009-04-22  6:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Mojca Miklavec wrote:
> On Tue, Apr 21, 2009 at 18:45, Drazen Baic wrote:
>> Hello,
>>
>> URLs with '#' or '_' in the URL worked fine with LuaTeX, Version
>> snapshot-0.37.0-2009033116  and ConTeXt 2009.04.06 21:42
>> and still work with the newest beta LuaTeX, Version
>> snapshot-0.39.0-2009041623 and ConTeXt 2009.04.21 16:11 when
>> compiled with '--xtx'. When compiled with '--lua' I got this error:
> 
> I don't know if this is related, but when I tried to recompile some
> mkiv document today, lots of characters have been missing from output.
> Example:
> 
> \starttext
> \startMPcode
> u := 1cm;
> draw \sometxt{a\{b\}} shifted(1u,0u); % no braces
> \stopMPcode
> \stoptext
> 
> I remember having problems with at least {, }, #, & and with the usage
> of the following macro inside metapost:
> 
> % outside:
> \def\combine#1{\hbox to .5em{}\hbox to
> 0pt{\hss\color[red]{\mframed[frame=off]{#1}}\hss}\hbox to
> 0pt{\hss\color[darkgray]{o}\hss}}
> 
> % usage inside \sometxt in metapost:
> \combine{\textcaron}
> 
> But I had no time to debug.

--lua ? don't you use 'context' ? (as context will call texexec when the 
topline mentiones pdftex/xetex as engine, i now always use it in calls 
from the editor instead of texexec)

if you're in a hurry you can use \nonknuthmode (makes _ ^ in textmode 
normal letters, while \donknuthmode reverts them)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \useURL not working with '#' and '_' in URL in newest beta
  2009-04-22  6:46   ` Hans Hagen
@ 2009-04-22 15:40     ` Drazen Baic
  0 siblings, 0 replies; 4+ messages in thread
From: Drazen Baic @ 2009-04-22 15:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Apr 22, 2009 at 8:46 AM, Hans Hagen <pragma@wxs.nl> wrote:
> Mojca Miklavec wrote:
>>
>> On Tue, Apr 21, 2009 at 18:45, Drazen Baic wrote:
>>>
>>> Hello,
>>>
>>> URLs with '#' or '_' in the URL worked fine with LuaTeX, Version
>>> snapshot-0.37.0-2009033116  and ConTeXt 2009.04.06 21:42
>>> and still work with the newest beta LuaTeX, Version
>>> snapshot-0.39.0-2009041623 and ConTeXt 2009.04.21 16:11 when
>>> compiled with '--xtx'. When compiled with '--lua' I got this error:
>>
>> I don't know if this is related, but when I tried to recompile some
>> mkiv document today, lots of characters have been missing from output.
>> Example:
>>
>> \starttext
>> \startMPcode
>> u := 1cm;
>> draw \sometxt{a\{b\}} shifted(1u,0u); % no braces
>> \stopMPcode
>> \stoptext
>>
>> I remember having problems with at least {, }, #, & and with the usage
>> of the following macro inside metapost:
>>
>> % outside:
>> \def\combine#1{\hbox to .5em{}\hbox to
>> 0pt{\hss\color[red]{\mframed[frame=off]{#1}}\hss}\hbox to
>> 0pt{\hss\color[darkgray]{o}\hss}}
>>
>> % usage inside \sometxt in metapost:
>> \combine{\textcaron}
>>
>> But I had no time to debug.
>
> --lua ? don't you use 'context' ? (as context will call texexec when the
> topline mentiones pdftex/xetex as engine, i now always use it in calls from
> the editor instead of texexec)

thank you for the tip. I was always using texexec --lua in my vim/macvim config.

> if you're in a hurry you can use \nonknuthmode (makes _ ^ in textmode normal
> letters, while \donknuthmode reverts them)
>
> Hans

I'm not in a hurry but thanks again. I was just testing the newest
beta to see if
index creation is working again.

Regards,
Drazen
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-22 15:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-21 16:45 \useURL not working with '#' and '_' in URL in newest beta Drazen Baic
2009-04-22  1:19 ` Mojca Miklavec
2009-04-22  6:46   ` Hans Hagen
2009-04-22 15:40     ` Drazen Baic

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