Skip to content

Commit

Permalink
feat: render script now accepts relative path to master
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeesters committed Apr 25, 2024
1 parent 2d7d9da commit 78b598f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions render
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ if __name__ == "__main__":
)
args = parser.parse_args()

# the master tex needs to be without the 'slides' path, because
# on the tempfs, the relative path work without
args.master_tex = os.path.basename(args.master_tex)

logger = logging.getLogger(__name__)

data = parse_config(args.configfile)
Expand Down

0 comments on commit 78b598f

Please # to comment.