If I do that, it can't find the file I'm trying to include.
I think chasing this particular goose will lead nowhere. This is why:
I was using gregorio commit 24c8fa3dc3ebc94f316f99a32bc3f6b55ca99d47,
which already has all the changes for the auto-compilation of scores,
including the fix to find file extensions. Using that version,
everything seems to work fine. I use [f] and it finds all my scores,
<alt> text renders correctly, etc. Everything works fine.
Tonight, I updated to the latest commit,
1c6622fdbe844f9dd3d8c41ac69c558602ba7c49. Using this version, I get the
error described in the opening post. I tried every variation I could
think of to load scores and nothing worked.
So then I started backing out commits. The latest non-merge commit was
3e5a0508d81bba3f648b773efbd42857069b60f1, and by reverting this, at
least I was able to load scores again. The <alt> text appears in the
wrong place, but at least it doesn't die.
I don't think my problem has anything to do with loading scores.
Henry
On Saturday, 07 March 2015 at 08:27:30 pm -0600, Brother Gabriel-Marie wrote:
> Ah, you must be running on linux.
>
> I'm using windows; so my troubleshooting that part probably
> won't help.
>
> What if you do this:
> \includescore[f]{myscore}
>
>
> On 3/7/2015 8:16 PM, Henry So Jr. wrote:
> > Nope, I tried that too. No difference.
> >
> > Note, if I do it that way and leave out --shell-escape, I get a
> > DIFFERENT error that tells me that shell-escape needs to be activated.
> >
> > Henry
> >
> > On Saturday, 07 March 2015 at 07:59:04 pm -0600, Brother Gabriel-Marie
> > wrote:
> >> Henry,
> >>
> >> Try removing the .gtex in the \includescore line.
> >> That's what I had to do.
> >>
> >> Just do this:
> >> \includescore{myfile}
> >>
> >> On 3/7/2015 7:48 PM, Henry So Jr. wrote:
> >>> My understanding is that --shell-escape is only necessary if you want
> >>> auto-compilation of scores, which is disabled when you use the [f]
> >>> option.
> >>>
> >>> I am already using the [f] option since I use Makefiles to convert gabc
> >>> to gtex. I also do specify the extension in the includescore command:
> >>>
> >>> \includescore[f]{myfile.gtex}
> >>>
> >>> However, in a fit of desperation, I did add --shell-escape to see if it
> >>> would make any difference, but alas, no.
> >>>
> >>> The only way I was able to produce PDF files was to revert commit
> >>> 3e5a0508d81bba3f648b773efbd42857069b60f1.
> >>>
> >>> Henry
> >>>
> >>> On Saturday, 07 March 2015 at 07:32:29 pm -0600, Brother Gabriel-Marie
> >>> wrote:
> >>>> Henry,
> >>>>
> >>>> I was having that problem too, but was instructed to to do
> >>>> this (Brother Samuel's post:
> >>>> http://www.mail-archive.com/[email protected]/msg02239.html):
> >>>> in the call to lualatex, add this parameter:
> >>>> --shell-escape
> >>>> So the call looks like this:
> >>>> lualatex --shell-escape "c:\some\folder name\mytex.tex"
> >>>>
> >>>> but I can't see that this makes any difference at all (I'm
> >>>> only using gabc files - not gtex).
> >>>>
> >>>> Also, I found that the compilation would still hang if you
> >>>> use the file extension
> >>>> unless you put [f] as a parameter for the include statement
> >>>> in the tex file.
> >>>>
> >>>> So, you CAN'T DO THIS:
> >>>> \includescore[f]{mygabcfile.tex}
> >>>>
> >>>> BUT YOU CAN
> >>>> EITHER
> >>>> \includescore[f]{mygabcfile.tex}
> >>>> OR
> >>>> \includescore{mygabcfile}
> >>>>
> >>>>
> >>>>
> >>>> On 3/7/2015 7:09 PM, Henry So Jr. wrote:
> >>>>> I updated to the latest gregorio this evening, commit
> >>>>> 1c6622fdbe844f9dd3d8c41ac69c558602ba7c49.
> >>>>>
> >>>>> Everything I try to make using this version ends up with this error when
> >>>>> I run lualatex on the "master" tex file:
> >>>>>
> >>>>> Module luatexbase-mcb info: inserting 'gregoriotex.callback'
> >>>>> (luatexbase-mcb) at position 1 in 'post_linebreak_filter'
> >>>>> Module luatexbase-mcb info: inserting 'gregoriotex.disable_hyphenation'
> >>>>> (luatexbase-mcb) at position 1 in 'hyphenate'
> >>>>> ! Missing = inserted for \ifdim.
> >>>>> <to be read again>
> >>>>> p
> >>>>>
> >>>>> I found that if I reverted commit
> >>>>> 3e5a0508d81bba3f648b773efbd42857069b60f1, I am once again able to make
> >>>>> things.
> >>>>>
> >>>>> I am not good enough to understand what's wrong with the changes to the
> >>>>> tex files in that commit or what new thing I'm supposed to do with my
> >>>>> tex files. Can anyone clue me in?
> >>>>>
> >>>>> Thanks,
> >>>>> Henry
> >>>>>
> >>>>> _______________________________________________
> >>>>> Gregorio-users mailing list
> >>>>> [email protected]
> >>>>> https://mail.gna.org/listinfo/gregorio-users
> >>>>>
>
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users