-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delay removing files in case of RTF till end of process
In case we include a file by means of a `\rtfonly` section like: ``` \rtfonly \par \pard\plain {\field\fldedit{\*\fldinst INCLUDETEXT "inc_aa.rtf" \\*MERGEFORMAT}{\fldrslt includedstuff}} \endrtfonly ``` or ``` \rtfonly \par \pard\plain {\field\fldedit{\*\fldinst INCLUDETEXT "../inc_aa1.rtf" \\*MERGEFORMAT}{\fldrslt includedstuff}} \endrtfonly ``` we get errors when a file is included multiple times or for the relative link on the second invocation as the files are removed directly after been included. This is not desirable. - remove files just at the end of the merging process - only remove files in the `RTF_OUTPUT` directory (this will contain only "generated / copied" files) - create possibility to have "RTF_EXTRA_FILES` analogous to the HTML and LATEX counterparts.
- Loading branch information
1 parent
aa55cc8
commit fa30e8e
Showing
3 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters