jperon / lyluatex

Alternative à lilypond-book pour lualatex
MIT License
58 stars 12 forks source link

compilation failure of manual with pandoc 1.19.2.1 #182

Closed lemzwerg closed 5 years ago

lemzwerg commented 6 years ago

[git 89c021b86]

Saying make manual doesn't work with pandoc 1.19.2.1 if combined with the forthcoming TeXLive 2018 (i.e., TeXLive SVN revision 47442).

The compilation stops with

! LaTeX Error: Option clash for package hyperref.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.26 \hypersetup
              {
? H
The package hyperref has already been loaded with options:
  [colorlinks=true]
There has now been an attempt to load it with options
  [unicode=true]
Adding the global options:
  colorlinks=true,unicode=true
to your \documentclass declaration may fix this.
Try typing  <return>  to proceed.
? 
jperon commented 5 years ago

@lemzwerg Is this issue still relevant for you ?

I think this would be a Pandoc bug rather than lyluatex. If no one has any objection, I'll close this issue.

fedelibre commented 5 years ago

FWIW I can run make manual successfully on current master using Pandoc version 2.1.2 and TexLive 2018.

$ tex --version
TeX 3.14159265 (TeX Live 2018)
lemzwerg commented 5 years ago

My report was a bit sloppy, sorry for that. What I actually wanted to say is that make manual should emit a warning against invalid combinations of pandoc and TeXLive versions, or at least describe somewhere in the documentation which version(s) of pandoc and TeXLive are known to work.

jperon commented 5 years ago

Last commit adds a warning when make manual is called with pandoc < 2.