texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] New feature provides support for pdf format(OSPP)


From: Hammer Hu
Subject: Re: [Texmacs-dev] New feature provides support for pdf format(OSPP)
Date: Mon, 9 Oct 2023 14:18:41 -0400

Looks good. But it doesn't work with images so far, right?

Best,
Hammer

---------------------------------------------
From: Darcy Shen via Texmacs-dev <texmacs-dev@gnu.org>
Sent: 09.10.2023 22:12
To: TeXmacs developer mailing list <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 
<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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]