Code Monkey home page Code Monkey logo

Comments (15)

rpspringuel avatar rpspringuel commented on August 15, 2024

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.

Brayanokles avatar Brayanokles commented on August 15, 2024

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.

jperon avatar jperon commented on August 15, 2024

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.

jperon avatar jperon commented on August 15, 2024

P.S : when giving code, you should use triple backticks before and after, to have it formatted better.

from lyluatex.

jperon avatar jperon commented on August 15, 2024

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.

Brayanokles avatar Brayanokles commented on August 15, 2024

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.

jperon avatar jperon commented on August 15, 2024

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.

Brayanokles avatar Brayanokles commented on August 15, 2024

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.

jperon avatar jperon commented on August 15, 2024

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.

Brayanokles avatar Brayanokles commented on August 15, 2024

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.

jperon avatar jperon commented on August 15, 2024

Are you sure you have a stable internet connection ?

from lyluatex.

jperon avatar jperon commented on August 15, 2024

Otherwise, try tlmgr --gui, then choose another mirror in the list. Perhaps the problem comes from the mirror.

from lyluatex.

Brayanokles avatar Brayanokles commented on August 15, 2024

Still no result.

Should I re-install TexLive?

from lyluatex.

jperon avatar jperon commented on August 15, 2024

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.

jperon avatar jperon commented on August 15, 2024

@Brayanokles Is this issue still relevant ?

from lyluatex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.