Skip to content

Fix, potentially, for fontspec/pdflatex problem #79

Open
@NormanDunbar

Description

@NormanDunbar

The code generated by asciidoctor-latex in the preamble is as follows:

% Needed to properly typeset
% standard unicode characters:
%
\RequirePackage{fix-cm}
\usepackage{fontspec}
\usepackage[Latin,Greek]{ucharclasses}

I believe this is to allow UTF8 charactersets in the generated tex file. Unfortunately, this also prevents the use of pdflatex.

I have been using the following with pdflatex for some time and this also allows tex files to use utf8 encoding:

\usepackage[utf8]{inputenc}

This line could be used to replace the ones currently being output.

I'm not sure if the lack of fontspec will cause problems elsewhere of course, but people with better brains than me will know.

Cheers,
Norm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions