Comments (4)
However I found a workaround for this case: I build the markup in Scheme.
#(markup #:center-column ("abc" "def"))
from lyluatex.
Should be fixed in 9b415a1. All I hope is it won't introduce other bugs, but I don't think so.
The problem was that lualatex separates what it sees as a command (\center
) from what it sees as an argument (-column
). The fix deletes the spurious space, but as a consequence, it is impossible to see wether the source had \center-column
or \center -column
: in either case, the fix will delete the space.
from lyluatex.
This fixes only \center-column
, \left-column
, \right-column
, and \dir-column
but there are a whole bunch of other commands containing dashes, e. g. \center-align
, \with-color
and \fret-diagram
. One could do a similar “fix” for all these other commands but IMO that would be a really ugly hack.
However, if I didn’t miss something (and I went through the whole LilyPond command index, the only commands with dashes are markup and markuplist commands, so they can be input as in my workaround from August 14th (see above).
If no less ugly fix can be found I would suggest to document this limitation of lyluatex with a hint to the workaround.
from lyluatex.
Oops ! I had forgotten to change it after my tests. It will work now. I agree that the fix is quite ugly, but thinking about it, I think it's better than not using it : I don't see so many cases where anyone would use a \command
followed by a space and -something
, and in such rare cases, there would be workarounds.
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 3
- 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 HOT 1
- 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.