Hello, For couple of years, I had a setup for invoices similar to the one described here:
http://notes.secretsauce.net/notes/2014/10/01_org-mode-for-invoices.html I had one modification: every month, I create a file with just some macro data, e.g.: <2025-06.org> #+PROPERTY: header-args+ :var rate=555 #+PROPERTY: header-args+ :var clock-file="2025-06.org" #+PROPERTY: header-args+ :var additional-amount=0 #+PROPERTY: header-args+ :var customer-address="xxx" #+COMMENT: Macros: #+COMMENT: https://superuser.com/questions/596803/how-to-define-text-variables-in-emacs/596808 #+MACRO: quotation-number QQQQQQ #+INCLUDE: "template.org" This way my monthly org mode is small and I can directly see what details changed. The heavy, static content part is in quotation-template.org. This worked well for many months. However, sometime around April 2025 I have my PDF files containing a TITLE which is some kind of concatenation of current file name and the template-defined #+TITLE. So to reproduce: <plain.org> #+TITLE: plain ... This gives just "plain" as title. However, when I have these 2 files: <2025-06.org> #+INCLUDE "template.org" <template.org> #+TITLE: template Then the PDF title on 2025-06.pdf is: "2025-06 template", i.e. main file name gets prepended. To make things clear, I created a git repo with plain and templated file, you can see what happens with title in the generated PDF files. Any help would be appreciated as I'm not sure what's going on here. Best, Przemek