\useURL not working with '#' and '_' in URL in newest beta
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
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
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 -----------------------------------------------------------------
On Wed, Apr 22, 2009 at 8:46 AM, Hans Hagen
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
participants (3)
-
Drazen Baic
-
Hans Hagen
-
Mojca Miklavec