Comments (15)
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?
from lyluatex.
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}
from lyluatex.
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 ?
from lyluatex.
P.S : when giving code, you should use triple backticks before and after, to have it formatted better.
from lyluatex.
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 ?
from lyluatex.
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.
from lyluatex.
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.
from lyluatex.
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.
from lyluatex.
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.
from lyluatex.
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
from lyluatex.
Are you sure you have a stable internet connection ?
from lyluatex.
Otherwise, try tlmgr --gui
, then choose another mirror in the list. Perhaps the problem comes from the mirror.
from lyluatex.
Still no result.
Should I re-install TexLive?
from lyluatex.
This is certainly something you could try. All I can say is that, on my Window VM, it worked after the following steps:
- install TeXLive 2017 from dvd (using
texlive-full
scheme); - update my TeXLive installation (as it didn't work with the not updated version).
from lyluatex.
@Brayanokles Is this issue still relevant ?
from lyluatex.
Related Issues (20)
- \setmainfont causes problems HOT 6
- The score doesn't contain any music HOT 5
- MiKTeX with LilyPond 2.24: blank scores
- attempt to index a nil value ( field 'metadata') HOT 5
- lyluatex runs slowly on mac HOT 8
- Includepaths no longer working HOT 3
- Reuse precompiled files in different document HOT 3
- Some weird alignment issues when using a custom header HOT 5
- TexLive can't find Lilypond anymore HOT 5
- Make lyluatex work with LilyPond 2.25.4 and newer HOT 2
- Make lyluatex process LilyPond snippets in parallel HOT 6
- Error in lilypond-Log: "/bin/sh: 1: Syntax error: Unterminated quoted string" HOT 4
- Print copyright and tagline below song
- Suppress bar numbers HOT 2
- Large left padding with inline inserts HOT 5
- Can't compile on MacOS - bad argument #1 to 'rawget' HOT 1
- Make lyluatex work with LilyPond v2.25.5 and newer
- Found something incompatible with `fragment` HOT 4
- Compilation fails when using `--output-dir=build` option
- included score is not horizontally centered. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lyluatex.