[OPEN-ILS-DOCUMENTATION] Unicode and asciidoc?

Jane Sandberg sandbej at linnbenton.edu
Tue Mar 21 15:03:34 EDT 2017


Hi Rogan and Robert,

Thanks for your help.  The documentation is in English with an example
in Czech.  Changing the language I pass to a2x would not be
appropriate, as it uses Czech names for all the sections of the book
(e.g. Part I becomes Část I) and the diacritics still don't work (so
Part I actually becomes #ást I). :-(

I will explore fonts to find one that has the correct glyph, but I'm
wary of requiring machines to have one particular font installed
before they can compile the documentation.  Thoughts?

  -Jane



On Tue, Mar 21, 2017 at 11:36 AM, Soulliere, Robert
<robert.soulliere at mohawkcollege.ca> wrote:
> Hi Jane,
>
> I think the only workaround is to configure FOP to use a font which has the missing glyph.
>
> https://xmlgraphics.apache.org/fop/2.1/fonts.html
>
> You may also need to check to see if you have the system fonts installed on your machine.
>
> Regards,
> Robert
>
> -----Original Message-----
> From: OPEN-ILS-DOCUMENTATION [mailto:open-ils-documentation-bounces at list.georgialibraries.org] On Behalf Of Jane Sandberg
> Sent: March-21-17 1:53 PM
> To: Documentation discussion for Evergreen software <OPEN-ILS-DOCUMENTATION at list.georgialibraries.org>
> Subject: [OPEN-ILS-DOCUMENTATION] Unicode and asciidoc?
>
> Hi all,
>
> This question is for folks with some serious asciidoc or unicode chops.  I am trying to incorporate the excellent documentation that Eva sent to our list recently.  The documentation includes some examples of PO files, including a háček (the diacritic that you see above the "c" in the word háček).
>
> Unfortunately, when I run `a2x --fop`, the c with its háček is converted into a '#' character.  The `asciidoc` command results in the correct character.  I didn't see anything in the a2x or fop man files that seemed useful.  Does anybody know a way around this limitation?
>
> Thanks,
>
>   -Jane
>
> --
> Jane Sandberg
> Electronic Resources Librarian
> Linn-Benton Community College
> sandbej at linnbenton.edu / 541-917-4655
> Pronouns: she/her/hers or they/them/theirs _______________________________________________
> OPEN-ILS-DOCUMENTATION mailing list
> OPEN-ILS-DOCUMENTATION at list.georgialibraries.org
> http://list.georgialibraries.org/mailman/listinfo/open-ils-documentation
>
> ________________________________
>
> This E-mail contains privileged and confidential information intended
> only for the individual or entity named in the message. If the reader
> of this message is not the intended recipient, or the agent responsible
> to deliver it to the intended recipient, you are hereby notified that
> any review, dissemination, distribution or copying of this communication
> is prohibited. If this communication was received in error, please
> notify the sender by reply E-mail immediately, and delete and destroy
> the original message.
> _______________________________________________
> OPEN-ILS-DOCUMENTATION mailing list
> OPEN-ILS-DOCUMENTATION at list.georgialibraries.org
> http://list.georgialibraries.org/mailman/listinfo/open-ils-documentation



-- 
Jane Sandberg
Electronic Resources Librarian
Linn-Benton Community College
sandbej at linnbenton.edu / 541-917-4655
Pronouns: she/her/hers or they/them/theirs


More information about the OPEN-ILS-DOCUMENTATION mailing list