1

I am using GregorioTeX to compile handouts for chanting the Divine Office. I have organized my folders in a similar manner to the Breviary; however, I run into the issue that whenever I want to compile a file under a different folder for its respective day, I have to copy and paste all of my .gabc files into that folder in order for the \gregorioscore command to work. Is there a way I can instruct \gregorioscore to search for the .gabc file in another directory?

Note: I've already unsuccessfully attempted accessing another directory within the \gregorioscore command like this:

\gregorioscore{/C/Users/User/Documents/Divine Office/Modes/}{mode-1} % error throwback: /C/Users/User/Documents/Divine Office/Modes/.gabc can't be found 

and

\gregorioscore{/C/Users/User/Documents/Divine Office/Modes/mode-1} % error throwback: /C/Users/User/Documents/Divine Office/Modes/mode-1.gabc can't be found 

assuming the LaTeX file is saved in /Documents/Divine Office/Day and mode-1.gabc is saved in /Documents/Divine Office/Modes. Thanks for the help.

2
  • My spontaneous idea is: cancel the space in the directory's name. In file names you can't just use a space, so it's unlikely that you can in directory names. Commented Sep 10 at 6:14
  • Thank you for your thoughtfulness--it has helped me several times before, and it helped me this time too. You are absolutely right: once I renamed Divine Office to Divine-Office, omitting the space, the command could locate the file. Commented Sep 11 at 20:35

1 Answer 1

1

The solution to my problem was simply to remove any spaces in the names of any folders within the directory path. For the example above, I renamed the folder Divine Office to Divine-Office, and I had success with the second attempt at telling the command where to locate the files, namely

\gregorioscore{/Users/User/Documents/Divine-Office/Modes/mode-1}, 

with only one argument containing both the file path and the file name (i.e., \gregorioscore{[file path]/[file name]}) rather than two arguments (i.e., \gregorioscore{[file path]}{[file name]}).

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.