Vote #71100
完了{{toc}} is not replaced by table of content when exporting wiki page to pdf
0%
説明
While exporting a wiki page to pdf, the {{toc}} keyword stay untranslated, it should be replaced by a table of content as in html rendering of the page.
See attached pdf file for example.
journals
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
Macro pages (when you include a subpage) are not rendering correctly when you export to PDF and works well when you export to html.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
See attached file. Do you think I must open a new issue for this?
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
Macro in general are not rendered by the export job
--------------------------------------------------------------------------------
same problem in 1.3.1
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
This is present in Redmine 1.4.3.stable as well.
--------------------------------------------------------------------------------
Up!
Since defect #10688 was fixed, if this one and #10689 were fixed too, this would be very nice!
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
It really happens with any macro (exporting to pdf) not only with {{toc}}
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
Macro in general
--------------------------------------------------------------------------------
+1
Please
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
I can confirm this issue in 2.2.1 and current trunk (r11196).
This should be fixed. Anyway... just display the TOC or remove it, cause it doesn't make so much sense on the pdf-export, as Adobe has it's own TOC available.
--------------------------------------------------------------------------------
{{toc}} is now removed in PDF output.
--------------------------------------------------------------------------------
It seems that r11227 is broken in CJK.
--------------------------------------------------------------------------------
Toshi MARUYAMA wrote:
> It seems that r11227 is broken in CJK.
Sorry, r11227 works fine in CJK.
--------------------------------------------------------------------------------
The same problem seems to me remains in TXT export.
*Anyway I'd expect to implement TOC conversion to PDF instead of stripping of the tag.*
--------------------------------------------------------------------------------
Karel Pičman wrote:
> The same problem seems to me remains in TXT export.
>
> *Anyway I'd expect to implement TOC conversion to PDF instead of stripping of the tag.*
I have created new issue #13559.
--------------------------------------------------------------------------------
related_issues
relates,New,13559,{{toc}} remains when exporting wiki page to text
duplicates,Closed,11728,Macros should be rendered or stripped before render to PDF