bugtex4ht - Bugs: bug #505, Provide way to produce odt file...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #505: Provide way to produce odt file without dynamic contents

Submitted by:  Jürgen Spitzmüller <jspitzm>
Submitted on:  Thu Apr 8 07:58:07 2021  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Thu Oct 21 15:22:29 2021, comment #5:

Yes, thanks for the reminder. There is also one issue you posted last week that needs to be resolved. I hope that I will have some time and energy tomorrow for that.

Michal Hoftich <michal_h21>
Project Member
Thu Oct 21 14:36:36 2021, comment #4:

Michal, as I currently have your attention, maybe you can also look at the remainder of this issue (a script to turn bibliography and toc to static text).

Jürgen Spitzmüller <jspitzm>
Fri Apr 23 05:10:18 2021, comment #3:

Thanks, this does remove the links, though it does not turn the bibliography and the toc from fields to static text.

Jürgen Spitzmüller <jspitzm>
Thu Apr 22 21:54:14 2021, comment #2:

I don't know if it is enough, but the attached make4ht build file removes links. TeX sample is attached as well. I don't know if the removing of links is enough.

Compile as

make4ht -e build.lua -f odt sample.tex

(file #404, file #405)

Michal Hoftich <michal_h21>
Project Member
Thu Apr 22 20:36:56 2021, comment #1:

Hi Jürgen,

sorry for the late reply. I didn't notice this message earlier. There were some issues with mail notifications from the bug tracker.

I think that this should be possible using Lua post-processing. It would be much harder on the TeX level. I will try to come with something, probably in the form of make4ht extension.

Best regards,
Michal

Michal Hoftich <michal_h21>
Project Member
Thu Apr 8 07:58:07 2021, original submission:

Often publishers request to submit Word documents that do not have any dynamic elements (no fields, no hyperlinks, toc and bibliography as simple static text). It is possible to remove such elements in Word (Shift+Ctrl+F9) and by jumping through some more hoops [1] it is also possible in LibreOffice.

Since producing Word files from LaTeX for publishers strikes me a common use case of tex4ht (at least in my field, the Humanities, where LaTeX submissions are very rarely accepted), it would be good if tex4ht (or make4ht) provided a simple option to produce such static output.

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=80786

Jürgen Spitzmüller <jspitzm>

 

Attached Files
file #404:  build.lua added by michal_h21 (348B - text/x-lua)
file #405:  sample.tex added by michal_h21 (809B - text/x-tex)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by jspitzm (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    2 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Apr 22 21:54:14 2021michal_h21Attached File-=>Added build.lua, #404
      Attached File-=>Added sample.tex, #405
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray