Re: [NTG-context] Re: LaTeX2ConTeXt : external links not work after recompiled
Hi, Robin Fairbairns wrote: can someone please persuade hans to replace the context/current on his web site with something that works. what appears on context/current gets to ctan, and what gets to ctan appears in tetex. a mail to me would expedite the corrected stuff appearing on ctan. A fix in the works, I assume. Meanwhile ... more serious is (i bet) that that context is also on the texlive tree, and that really _is_ about to ship. The ISO named texlive2004-inst-20041127.iso on CTAN dated is the one that is being burned, I assume? If so, then there is good news: TL does not contain 2004.11.23 but version 2004.11.17, and that version works OK on Patrick's example, using acroread 5.0.5 on linux. It is a bit odd that a beta version of context was used for production TL and does not have the bug whereas the tetex beta used the production version of context and does have the bug. ;-) Greetings, Taco ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Wrap a url
Hi, thanks Patrick for the example. The only thing is, that \useURL does not hypenate. In Context there is also a command \hyphenatedurl: From: \hyphenatedurl{http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus:text:1999.01.0218:book=1:line=1} However you will loose the interactivity. Another approach is then to use Patrick's example like \setupoutput[pdftex] \setupcolors [state=start] \setupinteraction [state=start,color=blue] \useURL [hyphenated] [{http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus:text:1999.01.0218:book=1:line=1}] [] [\tex{Odysee from Homeros on the Internet}] \starttext Read once from: \hyphenatedurl{http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus:text:1999.01.0218:book=1:line=1} Read also from \from[hyphenated]! \stoptext Don not to forget to enclose the very long URL in braces! - Otherwise the requested page is not loaded. Willi Patrick Gundlach wrote: [...] I am seeing here and there that the syntax for \useURL is: \useURL[][][][] Hi, I have put an example in texshow-web (http://texshow.contextgarden.net/cmd=useURL) Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problem with DocbookInContext
Hello, I tried to compile the file README.tex in DocbookInConteXt and obtain the following message : undefined control sequence : stelsectiein Here are the instructions in xtag-docbook.tex my installation of ConteXt does not understand .. \unprotect \stelsectiein [\v!sectionlevel-3] [\v!bijlage\c!conversie=\v!Letter, \c!vorigenummer=\v!nee] \stelkopin [\v!paragraaf] [\v!bijlage\c!label=\v!bijlage, \v!hoofdtekst\c!label=\v!paragraaf] % bijlageconversie=\Character \protect ... How can I solve the problem ? Thanks François ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: LaTeX2ConTeXt : external links not work after recompiled
Patrick Gundlach wrote: As far as I can see, this tetex ships with ConTeXt ver: 2004.11.23 OK is: ConTeXt ver: 2004.11.16 i think that something went wrong when i patched the \from macro for handling the nested color support. The url support is rather dirty hooked into other mechanisms. I'll upload a fix asap. 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: LaTeX2ConTeXt : external links not work after recompiled
Patrick Gundlach wrote: Hello Quy, Thomas, I have looked into your problematic document, and it looks as if the ConTeXt version in the tetex beta is broken in this respect. -- \setupcolors [state=start] \setupinteraction [state=start,color=blue] \useURL [contextsupport] [http://www.pragma-ade.com/] \starttext Look at \from[contextsupport]! \stoptext -- compiles fine, but shows the same error: the hyperlink does not point to the website, but to the first page. in core.ref.tex, patch: \def\setouterlocation#1% {\ifundefined{\v!file:::#1}% \ifconditional\forceURLlocation \edef\otherURL{#1}% \let\otherfile\empty \else \let\otherURL\empty \edef\otherfile{#1}% \fi \else \let\doexternaldocument\setouterfilelocation \let\doexternalurl \setouterfilelocation % missing line \csname\v!file:::#1\endcsname \fi \setfalse\forceURLlocation \doifparentfileelse\otherfile {\let\otherURL\empty \let\otherfile\empty \global\let\otherlabel\empty \let\otherprefix\empty} {\xdef\otherlabel{#1}% \edef\otherprefix{#1::}}} I need to rewrite this piece of code, currently there is some nasty overloading taking place (in order to safe hash entries i pack several things into one macro, which is used nested and which meaning gets overloaded) 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: LaTeX2ConTeXt : external links not work after recompiled
Patrick Gundlach wrote: more serious is (i bet) that that context is also on the texlive tree, and that really _is_ about to ship. don't worry, the bug is is not affecting the whole lot (only \from when used with a url, the other \goto{}[url(...}] stuff is supposed to work; urls can be set in many ways -) concerning tex live: there's probably a bit older version in there (sebastian got it directly from me); i'll check 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Wrap a url
Hello Willi, [...] [\tex{Odysee from Homeros on the Internet}] you should not use \tex{...} here of course. Unless you have an unknown TeX interpreter that you should tell us about :-) Patrick -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context