docbook-xsl

Markup-less way to title and link abbrevations/acronyms to glossary entries

旧城冷巷雨未停 提交于 2020-01-06 14:10:49
问题 Background: I'm writing a DocBook 5 document (and including in it some already-written text) with the intention of generating HTML from it. I would like to get the semantic markup correct from the beginning so I don't need to re-do it later, but the standard way does not seem to generate what I'm looking for, so I'm not sure if I should deviate from it or not, depending on what is possible with XSL. Current setup: My glossary only has abbreviated items. It consists of glossentry s each

XSL-FO: wrapping long words in table cell

狂风中的少年 提交于 2019-12-13 02:28:41
问题 I'm using Docbook-XSL and Apache FOP to generate PDF documents containing tables. With the default settings, tables have fixed-width columns and lines wrap at word boundaries. But if a word is longer than the cell width, it overflows the cell. I'd like to break up the words across multiple lines in such a case. How could this be done? Hyphenation is not a solution since the words need not be in English. (Edit: hyphenation in other languages is not a solution either. It may not be known ahead