Closed Brayanokles closed 5 years ago
Option clash
errors usually result from trying to load the same package twice with different options. What does the preamble of your document look like?
Here it is:
\documentclass[a4paper,article,14pt]{memoir}
\usepackage[dutch]{babel}
% fonts
\usepackage{bera}
\usepackage{alltt}
\makeatletter
\def\verbatim@font{\normalfont}
\makeatother
% graphics
\usepackage{graphicx}
\usepackage{tikzsymbols}
\usepackage{xcolor}
% page layout
\usepackage{afterpage}
\settrimmedsize{297mm}{210mm}{*}
\setlength{\trimtop}{0pt}
\setlength{\trimedge}{\stockwidth}
\addtolength{\trimedge}{-\paperwidth}
\settypeblocksize{634pt}{448.13pt}{*}
\setulmargins{4cm}{*}{*}
\setlrmargins{*}{*}{1.5}
\setmarginnotes{17pt}{51pt}{\onelineskip}
\setheadfoot{\onelineskip}{2\onelineskip}
\setheaderspaces{*}{2\onelineskip}{*}
\checkandfixthelayout
\setlength{\parindent}{0pt}
\nonzeroparskip
% header and footer
\copypagestyle{lvstyle}{plain}
\makefootrule{lvstyle}{\textwidth}{\normalrulethickness}{\footruleskip}
\makeheadfootruleprefix{lvstyle}{\color{black}}{\color{black}}
\makeevenfoot{lvstyle}{\color{black}\small\thepage}{}{}
\makeoddfoot{lvstyle}{}{}{\color{black}\small\thepage}
\pagestyle{lvstyle}
% lilypond
\usepackage{lyluatex}
\begin{document}
% title page
\thispagestyle{empty}
\begin{center}
\Huge{Gedachtenisviering} \\
\vspace{2cm}
\includegraphics{hart.jpg}
\normalsize{26 november 2017} \\
\end{center}
\newpage
\par\vspace*{\fill}
\parbox[b][5cm][t]{\linewidth}{\small
voorganger: ds. C. E. Dahmen \\
ouderling van dienst: M. Schrader \\
organist: Erik van der Does de Bye \\
m.m.v. de Cantorij \\
m.m.v.: Groep Liturgisch Bloemschikken
\normalsize
}
\newpage
\section*{Voorbereiding}
\textbf{Orgelspel}
\textbf{Mededelingen}
\textbf{Stilte}
\textbf{Aanvangslied Psalm 116: 1 en 2}
\begin{ly}
\version "2.18.2"
#(define-public (format-time-sig-note grob)
(let* ((frac (ly:grob-property grob 'fraction))
(num (if (pair? frac) (car frac) 4))
(den (if (pair? frac) (cdr frac) 4))
(m (markup #:override '(baseline-skip . 0.5)
#:center-column (#:number (number->string num)
#:override '(style . default)
#:note (number->string den) DOWN))))
(grob-interpret-markup grob m)))
\paper {
indent = 0\mm
line-width = 160\mm
line-width = #(- line-width (* mm 3.000000) (* mm 1))
line-width = 160\mm - 2.0 * 10.16\mm
line-width = #(- line-width (* mm 3.000000) (* mm 1))
}
global = {
\override Staff.TimeSignature #'stencil = #format-time-sig-note
\override Staff.BarLine #'transparent = ##t
\time 1/2
\key f \major
}
melody = \relative c'' { \global
a2 a4 bes c2 c a4 bes g g f2 \r2 \break
f2 a4 bes c2 bes a4 g a c b2 c r2 \break
c2 bes4 a g2 c bes4 a bes c d2 c \break
g2 a4 bes c2 g a4 bes g g f\breve
\override Staff.BarLine #'transparent = ##f \bar "|."
}
words = \lyricmode { \set stanza = #"1. "
God heb ik lief, want die ge -- trou -- we Heer
nam, toen ik riep, met toe -- ge -- ne -- gen o -- ren
mijn woor -- den aan, Hij zal mij blij -- ven ho -- ren
en le -- vens -- lang ben ik niet een -- zaam meer.
}
\score {
<<
\new Staff { \melody }
\addlyrics { \words }
>>
\layout {
\context { \Score
\remove "Bar_number_engraver"
}
}
}
\end{ly}
\end{document}
On my computer, I get no option clash, but the following :
! Class memoir Error: The combination of argument values is ambiguous.
(memoir) The lengths will be set to zero.
See the memoir class documentation for explanation.
Type H <return> for immediate help.
...
l.23 \setulmargins{4cm}{}{}
?
Could you please try updating your TeXLive (tlmgr update --all
) to ensure you didn't encounter a bug that would have been corrected, then try again ?
P.S : when giving code, you should use triple backticks before and after, to have it formatted better.
I just tried compiling a document on a Windows VM ; it didn't work with stock TeXLive 2017 (but the error was none of those that were mentionned in this issue), but after tlmgr update --self
and tlmgr update --all
, it worked. @Brayanokles Could you confirm, please ?
Thank you for your information. I somehow can't find the two updates. Could you explain the steps I have to take? Thank you in advance.
What I mean is to update TeXLive itself. To do so, launch the commandline from the TeXLive menu, then type those two commands followed by <Enter>
(assuming you are connected to the internet) :
tlmgr update --self
tlmgr update --all
If you installed from DVD, perhaps it will reply that no update is available. If so, launch the gui :
tlmgr --gui
and navigate through menus to update from a distant repository.
I got this message by tlmgr update --all:
TLUtils::check_file: removing C:\Users\doesd\AppData\Local\Temp\rSKz5cS1Qk\ne4R4yG0IU\csplain.tar.xz, sizes differ: TLUtils::check_file: TL=9979, arg=117296 TLPDB::_install_package: downloading did not succeed tlmgr.pl: Installation of new version of csplain failed, trying to unwind. [ 60/287, 09:21/41:34] update: csplain [115k] (45678 -> 46212) ... xzdec: (stdin): Unexpected end of input Cannot open tlpobj file: C:/texlive/2017/tlpkg/tlpobj/csplain.tlpobj at C:/texlive/2017/tlpkg/TeXLive/TLPOBJ.pm line 69.
Seems like a download corruption. You should try again, and if it fails, ask for help on TeXLive mailing list : I don't really know from where this error comes.
Now I got this one:
C:\texlive>tlmgr update --all xzdec: (stdin): Unexpected end of input tlmgr.pl: package repository http://ctan.triasinformatica.nl/systems/texlive/tlnet (not verified: gpg unavailable) tlmgr.pl: saving backups to C:/texlive/2017/tlpkg/backups tlmgr.pl: no updates available
Are you sure you have a stable internet connection ?
Otherwise, try tlmgr --gui
, then choose another mirror in the list. Perhaps the problem comes from the mirror.
Still no result.
Should I re-install TexLive?
This is certainly something you could try. All I can say is that, on my Window VM, it worked after the following steps:
texlive-full
scheme);@Brayanokles Is this issue still relevant ?
Hello everybody,
I have a problem with running lyluatex and TexLive 2017. OS: Windows 10.
According to a friend, the problem is here:
The complete output:
Who can help me?