プロジェクト

全般

プロフィール

Vote #71100

完了

{{toc}} is not replaced by table of content when exporting wiki page to pdf

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
低め
担当者:
-
カテゴリ:
PDF export_39
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
39
version_id:
66
issue_org_id:
9842
author_id:
20195
assigned_to_id:
0
comments:
26
status_id:
5
tracker_id:
1
plus1:
12
affected_version:
closed_on:
affected_version_id:
63
ステータス-->[Closed]

説明

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

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0