|
From: | Graham King |
Subject: | lyLuaTex (solved) |
Date: | Thu, 24 Nov 2022 01:58:31 +0000 |
(with apologies for the digression on a previous thread[1]) I have now succeeded in getting lyLuaTex[2][3] working, and this posting seems as good a place as any to record the steps, in case anyone else might find it helpful. This is a summary of a moderately painful learning curve, full of interruptions and blind alleys, so I hope I've captured the result properly (modulo any spurious linebreaks introduced in the email chain)...
My environment:
Install some luaTex extension packages:
Create a wrapper script to suppress TeXstudio complaints about $TERM [4]:
cat > ~/bin/lualatex-wrapper <<-EOF #! /bin/bash # Don't indent the previous line! chmod 755 ~/bin/lualatex-wrapper In TeXstudio, select <Options><Configure TeXstudio>:
Now we should be ready to compile a fairly minimal example document:
\documentclass{article} % Adjust the program path to match your installation: \usepackage[program=/usr/local/lilypond/lilypond-2.23.10/bin/lilypond]{lyluatex} \begin{document} \begin{ly} And here is a fragment, \lilypond{\new RhythmicStaff { \time 3/4 c4( c16) c c c c c c c \bar "|."}} inserted inline. \end{document} (Remember to use <Tools><Build and View(F5)> if you want to see the updated PDF) HTH. Grateful thanks to all the contributors listed at [2]. -- Graham
References:
|
[Prev in Thread] | Current Thread | [Next in Thread] |