Przemysław Kamiński <cge...@pm.me> writes: > ... > 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. > ... > 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.
This is expected. According to Org manual section 13.2 Export Settings: ‘TITLE’ Org displays this title. For long titles, use multiple ‘#+TITLE’ lines. In other words, Org mode concatenates multiple #+TITLE lines together into a single title. Why not simply removing #+TITLE from the template or include the template partially? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>