Try Mogan Research v1.2.0-beta25:
https://github.com/XmacsLabs/mogan/releases/tag/v1.2.0-beta25
The verbose logging has been fixed. And it works fine with images as far as I
know.
There are three cases:
1. embedded images in the tm document
2. included image in the folder
3. included image in other folders
Both of them should work, but for the case 3, there are known defects. Please
report bugs to https://github.com/XmacsLabs/mogan/issues if there are bugs.
---- On Tue, 10 Oct 2023 02:18:41 +0800 Hammer Hu <hammer...@foxmail.com> wrote
---
Looks good. But it doesn't work with images so far, right?
Best,
Hammer
---------------------------------------------
From: Darcy Shen via Texmacs-dev <mailto:texmacs-dev@gnu.org>
Sent: 09.10.2023 22:12
To: TeXmacs developer mailing list <mailto:texmacs-dev@gnu.org>
Subject: Re: [Texmacs-dev] New feature provides support for pdf format(OSPP)
tangdouer had done a great job on the PDF project.
I just released Mogan Research 1.2.0-beta23:
https://github.com/XmacsLabs/mogan/releases/tag/v1.2.0-beta23
Enable `Export PDF with tm attachment` in Edit-Preferences->Others, and then
you can export a tm document as a PDF with this tm document attached.
The produced PDF could be used to share with other people, and edit it via
Mogan Research 1.2.0-beta23.
I think Max's idea is really awesome! And tangdouer's impl is relatively robust.
Report one bug here:
I use Mogan Research 1.2.0 beta23, and find that if I try to export
sicp_full.tm to pdf.
https://github.com/XmacsLabs/interactive-sicp/blob/main/sicp_full.tm
The console logs is very verbose even debug_convert is not enabled.
The root cause is that `debug_convert` is not guarded. Here is right way to
avoid verbose logs:
```
if (DEBUG_CONVERT) debug_convert << blablabla
```
https://github.com/XmacsLabs/mogan/blob/v1.2.0-beta23/src/Plugins/Pdf/pdf_hummus_extract_attachment.cpp#L205-L220
---- On Mon, 09 Oct 2023 20:36:41 +0800 tjh via Texmacs-dev
<mailto:texmacs-dev@gnu.org> wrote ---
Hello everyone, I am tangdouer, from China. I have contributed to mogan some
code as a OSPP participant.
My project is
http://forum.texmacs.cn/t/proposal-mechanism-to-append-documents-to-and-augment-the-generated-pdf/1386.
My mentor is Max. I have contributed some code to
https://github.com/XmacsLabs/mogan. The main work is to add a new feature to
mogan: attach tm doc to exported pdf when exporting the pdf.And supports mogan
to open, modify, and save this kind of pdf.I think it is very convenient to
operate on a pdf file instead of a tm file.
Now I have almost completed this feature. And the latest beta version of mogan
already provides support for this feature. However, this feature has not been
fully tested at present, there may still be bugs. I would like to invite
everyone to experience this feature and review the code I wrote, so that this
code can be fed back to TeXmacs.
_______________________________________________
Texmacs-dev mailing list
mailto:Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
_______________________________________________
Texmacs-dev mailing list
mailto:Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
_______________________________________________
Texmacs-dev mailing list
mailto:Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev