Hi, I was writing up my pdf bookmarks article. Two remarks: 1. (for Hans) “With a long heading in a huge font, you might want to add linebreaks by hand. No problem, just use \\. The bookmark code ignores \\, so the bookmark itself won't have a linebreak.” That is not actually true at the moment. Somehow the \\ got converted into a single \, instead of an empty space. Adding \appendtoks \let\\\space \to \simplifiedcommands fixed it, but it would be nice if that was corrected inside ConTeXt… 2. While at it, I also updated the wiki page http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers not much to do, since not much has changed. However, I did add a wiki template for ‘mkii’ (a bit ugly) and split off all mkii remarks into that template. Please have a look. It would be really nice if someone could improve on the template visuals a bit. Best wishes, Taco
On 9/24/2015 1:19 PM, Taco Hoekwater wrote:
Hi,
I was writing up my pdf bookmarks article. Two remarks:
1. (for Hans)
“With a long heading in a huge font, you might want to add linebreaks by hand. No problem, just use \\. The bookmark code ignores \\, so the bookmark itself won't have a linebreak.”
That is not actually true at the moment. Somehow the \\ got converted into a single \, instead of an empty space.
Adding
\appendtoks \let\\\space \to \simplifiedcommands
fixed it, but it would be nice if that was corrected inside ConTeXt…
i've added in typo-wrp.mkiv: \appendtoks \let\spac_crlf\space \to \everysimplifycommands Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 29 Sep 2015, at 10:22, Hans Hagen
wrote: On 9/24/2015 1:19 PM, Taco Hoekwater wrote:
Hi,
I was writing up my pdf bookmarks article. Two remarks:
1. (for Hans)
“With a long heading in a huge font, you might want to add linebreaks by hand. No problem, just use \\. The bookmark code ignores \\, so the bookmark itself won't have a linebreak.”
That is not actually true at the moment. Somehow the \\ got converted into a single \, instead of an empty space.
Adding
\appendtoks \let\\\space \to \simplifiedcommands
fixed it, but it would be nice if that was corrected inside ConTeXt…
i've added in typo-wrp.mkiv:
\appendtoks \let\spac_crlf\space \to \everysimplifycommands
Dat zit nog niet in de laatste beta he? (als wel, dan werkt het niet) Groetjes, Taco
On Wed, Sep 30, 2015 at 9:44 AM, Taco Hoekwater
On 29 Sep 2015, at 10:22, Hans Hagen
wrote: On 9/24/2015 1:19 PM, Taco Hoekwater wrote:
Hi,
I was writing up my pdf bookmarks article. Two remarks:
1. (for Hans)
“With a long heading in a huge font, you might want to add linebreaks by hand. No problem, just use \\. The bookmark code ignores \\, so the bookmark itself won't have a linebreak.”
That is not actually true at the moment. Somehow the \\ got converted into a single \, instead of an empty space.
Adding
\appendtoks \let\\\space \to \simplifiedcommands
fixed it, but it would be nice if that was corrected inside ConTeXt…
i've added in typo-wrp.mkiv:
\appendtoks \let\spac_crlf\space \to \everysimplifycommands
Dat zit nog niet in de laatste beta he? (als wel, dan werkt het niet)
Groetjes, Taco
maybe on the ftp site ? -- luigi
On 9/30/2015 9:47 AM, luigi scarso wrote:
On Wed, Sep 30, 2015 at 9:44 AM, Taco Hoekwater
mailto:taco@elvenkind.com> wrote: > On 29 Sep 2015, at 10:22, Hans Hagen
mailto:pragma@wxs.nl> wrote: > > On 9/24/2015 1:19 PM, Taco Hoekwater wrote: >> Hi, >> >> I was writing up my pdf bookmarks article. Two remarks: >> >> >> 1. (for Hans) >> >> “With a long heading in a huge font, you might want to add linebreaks by hand. No problem, just use \\. The bookmark code ignores \\, so the bookmark itself won't have a linebreak.” >> >> That is not actually true at the moment. Somehow the \\ got converted into a single \, instead of an empty space. >> >> Adding >> >> \appendtoks >> \let\\\space >> \to \simplifiedcommands >> >> fixed it, but it would be nice if that was corrected inside ConTeXt… > > i've added in typo-wrp.mkiv: > > \appendtoks > \let\spac_crlf\space > \to \everysimplifycommands Dat zit nog niet in de laatste beta he? (als wel, dan werkt het niet)
no beta yet (i'm going over the luatex manual now, splitting it up, formatting all, checking with recent changes, etc) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
luigi scarso
-
Taco Hoekwater