Bug 416897 - Project master file not respected
Summary: Project master file not respected
Status: REPORTED
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-29 09:35 UTC by Philipp A.
Modified: 2023-06-10 19:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp A. 2020-01-29 09:35:18 UTC
SUMMARY
I created a project containing a ConTeXt file structure (I chose the file ending .ctx for all files), and picked the correct file as the project’s master file. I updated the “ConTeXt” build tool to be `context --nonstopmode --silent=all %source”`. Trying to run it gives me “Could not determine the master file for this document”.

To work around this, I have to manually set the project’s master file as global master document using the Settings menu.

STEPS TO REPRODUCE
1. Create a project
2. Set the project’s master file to something with a non-.tex suffix (I assume that might be part of the problem)
3. Try to run a build tool with `%source` in it from any file in the project

OBSERVED RESULT
“Could not determine the master file for this document” in the output window

EXPECTED RESULT
The selected build tool is run on the project master file

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0