GNU TeXmacs - Bugs: bug #59540, beamer pdf export: graphics from...
You are not allowed to post comments on this tracker with your current authentication level.
bug #59540: beamer pdf export: graphics from executable folds not exported
Submitter: | Jeroen Wouters <jeronim> | ||
Submitted: | Wed 25 Nov 2020 11:36:58 AM UTC | ||
Category: | Conversion | Priority: | 5 - Normal |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | None |
Originator Name: | Open/Closed: | Open | |
Release: | None | Release: | 1.99.15 |
Fixed Release: | None | Fixed Release: | |
Keywords: |
Tue 23 Feb 2021 01:31:53 PM UTC, comment #3: |
Jeroen Wouters <jeronim>![]() |
Sat 20 Feb 2021 06:05:25 PM UTC, comment #2: The traversal of the slides as the pdf is prepared seems to be defined in "TeXmacs/progs/dynamic/fold-edit.scm", more precisely in the "process-screen" function which calls "dynamic-traverse-buffer".
|
Jeroen Wouters <jeronim>![]() |
Thu 17 Dec 2020 03:50:43 PM UTC, comment #1: After checking the "Expand beamer slides" in Preferences->Export->PDF the exported pdf does contain graphics.
|
Jeroen Wouters <jeronim>![]() |
Wed 25 Nov 2020 11:36:58 AM UTC, original submission:
Most graphics included using Fold -> Executable don't get exported to pdf. They only show as a box with the text "Busy...". From the plugins I've tested only Graphviz produces some output.
|
Jeroen Wouters <jeronim>![]() |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-02-23 | jeronim | Attached File | - | ![]() |
Added do-not-traverse.diff, #50912 |
2020-11-25 | jeronim | Attached File | - | ![]() |
Added pdf-export-beamer-fold.tm, #50342 |
2020-11-25 | jeronim | Attached File | - | ![]() |
Added pdf-export-beamer-fold.pdf, #50341 |
From studying the source, it seems as if "keep-unfolded" is intended to be used inside of a "fold-back" tag, such that the folds inside of the "keep-unfolded" don't get folded back again at the end of traversing them. It seems as if there is an error in "fold-edit.scm". It should check for "keep-unfolded", not "keep-folded". See the attached patch.
As for the main problem of this bug report, I would suggest to add a "do-not-traverse" tag with which the user can choose not to fold or unfold the contents. This way users that would like to show the code behind a figure can use the bare script-input/script-output fold and users who only want to show the figure can fold it away and put a do-not-traverse tag around it.
Please see the attached patch for details.
(file #50912)