[Nix-dev] Latex package to handle unicode characters?
Guillaume Maudoux (Layus)
layus.on at gmail.com
Wed Jun 1 12:24:45 CEST 2016
Hi,
`xelatex` comes with the texlive package `xetex`, which is included in
scheme-small.
I just checked that adding xetex to my texlive.combine function, and I
have access to xelatex.
You can try it yourself with
$ ls -l $(nix-build -E "with import <nixpkgs> {}; pkgs.texlive.combine {
foo = pkgs.texlive.scheme-small; }")/bin/xelatex
lrwxrwxrwx 7 root root 5 1 jan 1970
/nix/store/85ix8d6wy1f9lsy97cqyp0z7hp5iaapw-texlive-combined-2015/bin/xelatex
-> xetex
If you do not have xelatex in your env, there must be an issue somewhere.
Best regrads,
-- Layus.
Le 30/05/16 à 01:56, Jeffrey David Johnson a écrit :
> I get the following error when exporting some markdown to PDF with pandoc:
>
> An error occured: PDF creation failed:
> ! Package inputenc Error: Unicode char \u8: not set up for use with LaTeX.
>
> See the inputenc package documentation for explanation.
> Type H <return> for immediate help.
> ...
>
> l.150 Evolutionary Analysis}
>
> Try running pandoc with --latex-engine=xelatex.
>
> I could hunt this one character down, but is there a package I could add to my texlive environment that might help handle this type of problem in general? So far I just use the standard one:
>
> myTexLive = texlive.combine {
> inherit (texlive) scheme-small;
> };
>
> Don't see any mention of xelatex in nixpkgs. Ideally I'd like to handle all of unicode, but just skipping any unrenderable characters would be OK too, since I gather latex doesn't do that yet?
>
> Thanks
> Jeff
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
More information about the nix-dev
mailing list