Issues with test.tex

8 views
Skip to first unread message

Gerardo Callejas

unread,
Dec 19, 2025, 7:24:03 AM12/19/25
to Gregorio Users
Hello, 

I have been following the tutorials posted on the Gregorio official website. 
When I make my directory, I am able to make my example.gabc file just fine. 
I make the test.tex file and place it in the same directory, yet when I go to compile it I am met with an error 

system commands enabled.
! I can't find file ` test.tex'.
<*> " test.tex"

Please help. 
Thank you. 
Gerardo Callejas 

Matthias Bry

unread,
Dec 19, 2025, 4:41:51 PM12/19/25
to gregori...@googlegroups.com
Please indicate your operating system, the pieces of software you installed as part of the tutorial, and the steps you take when you "go to compile".

In Christo
MB

--
Gregorio homepage: http://gregorio-project.github.io
Archives for the old mailing list: http://www.mail-archive.com/gregori...@gna.org/
To report a bug, please post to: https://github.com/gregorio-project/gregorio/issues
---
You received this message because you are subscribed to the Google Groups "Gregorio Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gregorio-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gregorio-users/72c633cc-bd52-40f4-b18a-d515eff1fdd6n%40googlegroups.com.

Gerardo Callejas

unread,
Dec 20, 2025, 10:58:04 AM12/20/25
to gregori...@googlegroups.com
I have Windows 10, 
I installed TeXlive 2025 as a CTAN mirror, 
I installed Gregorio 6.1 from the download sections on the Git.hub page listed on the official Gregorio website. 

I follow the tutorials when making a “.gabc” file and then I create the separate “test.tex” file. 
For compiling, I have tried two methods, both listen in the tutorials sections: 

Compiling from the .gabc file where I add the “root: test.tex” line of code at the top of the file and then click the green “typeset” button. 
I have also tried compiling from the “test.tex” file using the instructions listed in the tutorial. 

Both are met with the program saying it cannot find the “test.tex” file despite being in the same directory as the .gabc one. 



Fr. Samuel Springuel

unread,
Dec 20, 2025, 11:03:54 AM12/20/25
to gregori...@googlegroups.com
If you installed TeX Live 2025 with the full scheme, then Gregorio 6.1 was already installed, and there’s no need to do the second install (not that it’ll hurt anything, just that you’ll have to do all updates manually as the second install will be preferred to the TeX Live installed version, even in subsequent years).

What editor are you using? It sounds to me like this might be an editor configuration issue.

✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Fr. Samuel, OSB
(R. Padraic Springuel)
St. Anselm’s Abbey
4501 South Dakota Ave, NE
Washington, DC, 20017
202-269-2300
(c) 202-853-7036

PAX ☧ ΧΡΙΣΤΟΣ
> To view this discussion visit https://groups.google.com/d/msgid/gregorio-users/CAOwA%2BS3xNvexCYMLp8PQPhq5s71gsU-hJkfm8K9oeNCK75OCCQ%40mail.gmail.com.

Gerardo Callejas

unread,
Dec 20, 2025, 3:58:21 PM12/20/25
to gregori...@googlegroups.com
I did not know that on the Gregorio install portion, thank you for the clarification!

I am using Texworks as my editor. I configured it according to the tutorial by adding the LuaLatex “shell escape” command line, with the three different arguments under its configuration. 

Matthias Bry

unread,
Dec 20, 2025, 4:16:29 PM12/20/25
to gregori...@googlegroups.com
Could you please:
1) post a screenshot of the configuration with the three arguments; 
2) check that lualatex is selected, and that lualatex.exe is present in the directory at the top of the "path to tex" list;
3) paste the entire contents of the output console ?

Thank you

In Christo,
Matthias Bry

Gerardo Callejas

unread,
Dec 21, 2025, 1:47:11 PM12/21/25
to gregori...@googlegroups.com
This is the script given to me when I try to "Typset" the GABC score when I press the little green arrow button on the top left. 

From the Console Output 

This is LuaHBTeX, Version 1.21.0 (TeX Live 2025)

system commands enabled.

! I can't find file ` test.tex'.

<*> " test.tex"

(Press Enter to retry, or Control-Z to exit)

Please type another input file name:

Process interrupted by user


From the Error, Warnings, Badbox

Errors: 1, Warnings: 0, Bad boxes: 0


I can't find file ` test.tex'.

Screenshot 2025-12-20 225158.png
Screenshot 2025-12-20 224933.png
Screenshot 2025-12-20 225143.png
Screenshot 2025-12-20 225434.png
Screenshot 2025-12-20 225641.png

Fr. Samuel Springuel

unread,
Dec 21, 2025, 1:52:30 PM12/21/25
to gregori...@googlegroups.com
So, the first thing that jumps out at me is that you’ve got two extensions on your gabc file: .gabc.tex. Please remove the .tex extension as that will mess things up when things get going.

Second, the header should be “name” not “\name” (no backslash).

Third, instead of invoking LuaLaTeX+se from the gabc file, have you tried invoking it from text.tex?

✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Fr. Samuel, OSB
(R. Padraic Springuel)
St. Anselm’s Abbey
4501 South Dakota Ave, NE
Washington, DC, 20017
202-269-2300
(c) 202-853-7036

PAX ☧ ΧΡΙΣΤΟΣ

> On Dec 21, 2025, at 1:59 AM, Gerardo Callejas <gmcall...@gmail.com> wrote:
>
> This is the script given to me when I try to "Typset" the GABC score when I press the little green arrow button on the top left.
>
> From the Console Output
> This is LuaHBTeX, Version 1.21.0 (TeX Live 2025)
> system commands enabled.
> ! I can't find file ` test.tex'.
> <*> " test.tex"
> (Press Enter to retry, or Control-Z to exit)
> Please type another input file name:
> Process interrupted by user
>
> From the Error, Warnings, Badbox
> Errors: 1, Warnings: 0, Bad boxes: 0
> — I can't find file ` test.tex'.
> To view this discussion visit https://groups.google.com/d/msgid/gregorio-users/CAOwA%2BS2GP3aD1QBfMrnjGmUSKnJfzRLdxw8r9JfyPuds9%3DX25w%40mail.gmail.com.
> <Screenshot 2025-12-20 225158.png><Screenshot 2025-12-20 224933.png><Screenshot 2025-12-20 225143.png><Screenshot 2025-12-20 225434.png><Screenshot 2025-12-20 225641.png>

Gerardo Callejas

unread,
Dec 21, 2025, 2:07:52 PM12/21/25
to gregori...@googlegroups.com
When saving my example.gabc score, how do I remove the ".tex" extension from the end of it. 

I watched a video on this and for some other users there appears to be a ".gabc" extension already present in their file types, however for me it does not appear. 

Screenshot 2025-12-21 110439.png

Matthias Bry

unread,
Dec 21, 2025, 2:13:56 PM12/21/25
to gregori...@googlegroups.com
In the file explorer, hit the three dots next to "View", "Options", "View" tab, uncheck "Hide extensions of known file types".
Then, you will see the file as "example.gabc.tex". Rename it as "example.gabc". It will prompt for confirmation.

Fr. Samuel Springuel

unread,
Dec 21, 2025, 2:18:12 PM12/21/25
to gregori...@googlegroups.com
Select “All files” from that drop down menu and explicitly write the gabc extension in the filename yourself.

Also make sure any “Automatically add file extension” options are off.

Of course, since you’ve already created the file, the easiest thing to do is to rename it in Windows Explorer (note, the file cannot be open in TeXworks while you do this). You can Google how to do this. At least for me Google AI gives some reasonable instructions and a link to a video.

✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Fr. Samuel, OSB
(R. Padraic Springuel)
St. Anselm’s Abbey
4501 South Dakota Ave, NE
Washington, DC, 20017
202-269-2300
(c) 202-853-7036

PAX ☧ ΧΡΙΣΤΟΣ

> To view this discussion visit https://groups.google.com/d/msgid/gregorio-users/CAOwA%2BS0DF83upZrZ-_4Le2bWdPQqtfF%3DdqR0GipH-GAbOtBwNw%40mail.gmail.com.
> <Screenshot 2025-12-21 110439.png>

Gerardo Callejas

unread,
Dec 21, 2025, 8:07:01 PM12/21/25
to gregori...@googlegroups.com
I believe that removing the ".tex" extension from the "example" file worked. 
I also tried invoking LuaLateX+se from the ".tex" file, yet I still received the same error message. 

GABC Code 
name: ;
user-notes: ;
commentary: ;
annotation: I;
centering-scheme: english;
%fontsize: 12;
%spacing: vichi;
%font: GaramondPremierPro;
%width: 4.5;
%height: 11;
%%
(c4)
(/)GLo’(f)ri(gh)a(h) Pa(h)tri,(h) et(h) Fi’(h)li(h)o,(h.) (//)(,)
(//)et(h) Spi(h)rí(hj)tu(h)i(h) San(hg~)cto.(gh..) (//)(:)
(//)Si(gf)cut(gh) e(h)rat(h) in(h) Prin(h)ci(h)pi(h)o,(h.) (//)(,)
(//)et(h) nunc,(hj) et(h) se(hg~)per,(gh..) (//)(:)
(//)et(gf) in(gh) sǽ(h)cu(h)la(h) sǽ(h)cu(hjh)lo(g')rum.(f)
A(fff)men(d.) (//)(::)
(//)E(h) (//) u(hjh) (//) o(g') (//) u(f) (//) a(fg) (//) e.(h.) (//)(::)
(//)E(h) (//) u(hjh) (//) o(g') (//) u(f) (//) a(fff) (//) e.(dc/df..) (//)(::)

Test.tex error

This is LuaHBTeX, Version 1.21.0 (TeX Live 2025)

system commands enabled.

! I can't find file ` test.tex'.

<*> " test.tex"

(Press Enter to retry, or Control-Z to exit)

Please type another input file name:


Screenshot 2025-12-21 135548.png

Gerardo Callejas

unread,
Dec 22, 2025, 8:19:29 AM12/22/25
to gregori...@googlegroups.com
Actually, all I need help on now is maybe a tip or two on how to organize all of the external files that were automatically downloaded to my "example" directory when compiling. 

Thank you!

On Sun, Dec 21, 2025 at 6:31 PM Gerardo Callejas <gmcall...@gmail.com> wrote:
Hello!

I believe I discovered the issue. I still don't understand why it was causing an issue so maybe you can explain it to me. 

In the Test.tex document I was trying to compile by using the "LuaLaTeX Shell Escape" configuration that I set up by following the tutorial in the Gregorio official website. 
I googled my issue out of curiosity and Google AI said to compile using "LuaLaTeX", without the shell escape argument. 
I tried it and It worked. No idea why though. 

Anyway, Thank you for all your help!

Gerardo Callejas

unread,
Dec 22, 2025, 8:19:47 AM12/22/25
to gregori...@googlegroups.com
Hello!

I believe I discovered the issue. I still don't understand why it was causing an issue so maybe you can explain it to me. 

In the Test.tex document I was trying to compile by using the "LuaLaTeX Shell Escape" configuration that I set up by following the tutorial in the Gregorio official website. 
I googled my issue out of curiosity and Google AI said to compile using "LuaLaTeX", without the shell escape argument. 
I tried it and It worked. No idea why though. 

Anyway, Thank you for all your help!

Matthias Bry

unread,
Dec 22, 2025, 8:43:25 AM12/22/25
to gregori...@googlegroups.com
Files ending in .aux, .gaux, .log, .glog, .syntex.gz, are generated by the compilation process in the same directory as your tex file, and you can't move them elsewhere (well... it depends on things but you mostly can't).

For large projects I recommend using the subfile package and one or several dedicated directories for GABC files. See https://github.com/nocturnale-Romanum/nocturnale-romanum/

In Christo,
Matthias Bry


Matthew Roth

unread,
Dec 22, 2025, 12:48:26 PM12/22/25
to gregori...@googlegroups.com
I learned from Matthias so I copy this (and it causes me issues but…)

Every directory for various projects has a scores, psalms if needed, and text folder (I mostly do the office, and I have rubrics, translations, etc. organized so that I don’t confuse them for a .tex file to be compiled). 

The problem that I mentioned is that multiple projects may use the same files. Or I put it in my local git repository. And a mistake in one is multiplied. Cross-file/directory search-and-replace tools in a text editor works to solve that.

For our purposes, you can add these auxiliary files to .gitignore if you use a git repository, but don’t set them to delete (this affects the chant as well as anything in normal LaTeX like cross-references). 

Also I don’t change anything in the default configuration for typesetting. Nor do I hit buttons. Every .tex file to be typeset begins with a magic comment (the specific format may be editor-dependent) that invokes LuaLaTeX + se and then latexmk (because the line height can change after an initial run, I need braces in the psalmody, index or page crossreferences etc.)
Reply all
Reply to author
Forward
0 new messages