Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-04-12 Thread Tobias Burnus
Taco Hoekwater wrote: I'll try to work out something that does not need to grab all of its argument, so that this hack can be removed again. I have a problem with your fix. As I just found out, with that fix, not only the % in the bib/bbl are printed (as intended), but also the % in the

Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-04-04 Thread Taco Hoekwater
Tobias Burnus wrote: Hello Taco, Taco Hoekwater wrote: Tobias Burnus wrote: The problem is: If I do not escape the % signs, I get a TeX error. If I escape them with \%, both the link and the printed text show the backslash. What is the proper way of doing it? Yikes. There is no

Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-04-04 Thread Taco Hoekwater
Tobias Burnus wrote: Taco Hoekwater wrote: Does this fix I wrote (back in September) actually work? % start fix \unprotect \def\dousepublications#1% {\doonlyonce {#1.\f!bibextension} {\readfile{#1.\f!bibextension} {\catcode`\%=12

Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-04-04 Thread Tobias Burnus
Taco Hoekwater wrote: Does this fix I wrote (back in September) actually work? % start fix \unprotect \def\dousepublications#1% {\doonlyonce {#1.\f!bibextension} {\readfile{#1.\f!bibextension} {\catcode`\%=12 \showmessage\m!bib{4}{#1.\f!bibextension}}

Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-04-04 Thread Tobias Burnus
Taco Hoekwater wrote: It does not seem to work here :-( It redefines the bbl loader, so inlined \startpublication blocks will not work. It should work if your publications are in the bbl file. OK. That works for my minimal example, though I have to postprocess the *.bbl file as

Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-04-04 Thread Taco Hoekwater
Tobias Burnus wrote: OK. That works for my minimal example, though I have to postprocess the *.bbl file as BibTeX converts longline into long% line An afwul tool, that bibtex is. Imagine what having a long url in your .bib file does ... tinyurl is almost a requirement. However, it

Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-04-03 Thread Tobias Burnus
Hello Taco, Taco Hoekwater wrote: Tobias Burnus wrote: The problem is: If I do not escape the % signs, I get a TeX error. If I escape them with \%, both the link and the printed text show the backslash. What is the proper way of doing it? Yikes. There is no 'proper way' afaik,

[NTG-context] t-bib: URL and '%'; spacing between number

2008-04-01 Thread Michael Green
I hit a problem in the same area. Taco's solution then worked for me, though I can't tell if it's the same as your problem. Here's the address of his answer to my question. http://archive.contextgarden.net/message/ 20070705.071416.5171d178.en.html

Re: [NTG-context] t-bib: URL and '%'; spacing between number and text

2008-03-31 Thread Taco Hoekwater
Hi Tobias, Tobias Burnus wrote: The problem is: If I do not escape the % signs, I get a TeX error. If I escape them with \%, both the link and the printed text show the backslash. What is the proper way of doing it? Yikes. There is no 'proper way' afaik, sorry. I am busy catching up

[NTG-context] t-bib: URL and '%'; spacing between number and text

2008-03-26 Thread Tobias Burnus
Hi all, I have a .bib file which contains @article{foo, url = {http:///a%bb%cc.html} i.e. an URL with % sign. I want to typeset it in the references using: \def\gotoURL#1{\useURL[foo][#1]\goto{\url[foo]}[url(foo)]} \unprotect \setuppublicationlayout[article]{% ... \insertbiburl{