[Cc'ing this interesting question to the CJK mailing list and to
Heiko, the maintainer of the hyperref package]


> sorry if this is going through improper channels, but I recently
> took up TeX in order to rewrite my book on Japanese grammar, and
> discovered that while the "ruby" package is well suit for ruby in
> print, it leads to problems in books that stay available in pdf form
> - the problem has to do with how the text is structured: the TeX
> declaration "This is a \ruby{document}{text}\ using ruby markup"

[Cf. http://de.wikipedia.org/wiki/Ruby-Markup]

> becomes the pdf string "this is a text document using ruby markup",
> so that searching for "This is a document using ruby markup" will
> fail. Are there any plans to update the ruby package in such a way
> that ruby markup is not part of the 'main' paragraph text, but
> simply boxed between lines, with glue appropriately added in the
> paragraph line and the ruby line?

Honestly, I don't know how to do that easily.  Additionally, I don't
think that the `simply boxed between lines' is a good concept.  I
could imagine that \ruby{document}{text} should be output as `text
(document)' or something.  Heiko, is this possible?


    Werner

_______________________________________________
Cjk maillist  -  [email protected]
https://lists.ffii.org/mailman/listinfo/cjk

Reply via email to