Commas in doctitle string

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Commas in doctitle string

Francisco Vila
Hello all,
Aren't commas allowed in doctitle strings? I was not aware. See

http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blobdiff;f=Documentation/snippets/adding-beams%2C-slurs%2C-ties-etc.-when-using-tuplet-and-non-tuplet-rhythms.ly;h=9fb7fe9fcb05a33ea55d1386bdfe5302470309ef;hp=28146c12f7df4a671b0c1c8d1a2c86d4f4180f2c;hb=d069aeb6109be7dd0f93b1e6b65f79198335ab96;hpb=11af64cf957f71ba2d9251fae30882f6743eff10

or commit d069aeb6109be7dd0f93b1e6b65f79198335ab96 . Did makelsr
remove the commas?

--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


Reply | Threaded
Open this post in threaded view
|

Re: Commas in doctitle string

John Mandereau
Hi Francisco,
Le jeudi 04 février 2010 à 11:49 +0100, Francisco Vila a écrit :
> Aren't commas allowed in doctitle strings? I was not aware. See
>
> http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blobdiff;f=Documentation/snippets/adding-beams%2C-slurs%2C-ties-etc.-when-using-tuplet-and-non-tuplet-rhythms.ly;h=9fb7fe9fcb05a33ea55d1386bdfe5302470309ef;hp=28146c12f7df4a671b0c1c8d1a2c86d4f4180f2c;hb=d069aeb6109be7dd0f93b1e6b65f79198335ab96;hpb=11af64cf957f71ba2d9251fae30882f6743eff10
>
> or commit d069aeb6109be7dd0f93b1e6b65f79198335ab96 . Did makelsr
> remove the commas?

Indeed, makelsr.py removes the commas because the doctitle is used as a
Texinfo node name, in which commas and other characters are forbidden --
please see Texinfo manual for more details.

Best,
John

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Commas in doctitle string

Francisco Vila
2010/2/4 John Mandereau <[hidden email]>:

> Hi Francisco,
> Le jeudi 04 février 2010 à 11:49 +0100, Francisco Vila a écrit :
>> Aren't commas allowed in doctitle strings? I was not aware. See
>>
>> http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blobdiff;f=Documentation/snippets/adding-beams%2C-slurs%2C-ties-etc.-when-using-tuplet-and-non-tuplet-rhythms.ly;h=9fb7fe9fcb05a33ea55d1386bdfe5302470309ef;hp=28146c12f7df4a671b0c1c8d1a2c86d4f4180f2c;hb=d069aeb6109be7dd0f93b1e6b65f79198335ab96;hpb=11af64cf957f71ba2d9251fae30882f6743eff10
>>
>> or commit d069aeb6109be7dd0f93b1e6b65f79198335ab96 . Did makelsr
>> remove the commas?
>
> Indeed, makelsr.py removes the commas because the doctitle is used as a
> Texinfo node name, in which commas and other characters are forbidden --
> please see Texinfo manual for more details.

Thank you. I don't like commas supressed from the resulting PDF or HTML, though.

One more question: after having updated our files in
texidocs/*.texidoc do we still have to make makelsr and commit the
result?

Thanks!

--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


Reply | Threaded
Open this post in threaded view
|

Re: Commas in doctitle string

John Mandereau
Le jeudi 04 février 2010 à 12:18 +0100, Francisco Vila a écrit :
> Thank you. I don't like commas supressed from the resulting PDF or HTML, though.

Mmh, I guess we should add more magic in makelsr, lilypond-book and
Texinfo macro lydoctitle for generating a node name different from the
section name, which might help solving the problem of duplicated anchors
in Texi2HTML, but I'm way too busy for doing this before March^H^H^H^H^H
July.


> One more question: after having updated our files in
> texidocs/*.texidoc do we still have to make makelsr and commit the
> result?

Yes, but please check for possible messing up by makelsr.py, using "git
diff" before committing.

Best,
John

signature.asc (205 bytes) Download Attachment