bugtex4ht - Bugs: bug #142, Wrapping an environment with...

 
 
Show feedback again

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

bug #142: Wrapping an environment with \text*{} breaks xtpipes with oolatex

Submitted by:  ^m.e <sphakka>
Submitted on:  Tue May 3 16:49:37 2011  
 
Category: NonePriority: 5 - Normal
Severity: 8 - BlockerStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri Jul 17 10:11:16 2020, comment #2:

This issue is impossible to fix, I am afraid. It is never good idea to use \text.. commands for larger chunks of text that contains paragraphs, tables, lists, etc. The \textsf inserts opening tag, but \begin{description} closes the current paragraph, which results in invalid XML structure. The same thing happens with the closing tag, which is inserted in another paragraph. \sffamily uses HTF fonts mechanism, which can respect paragraphs and styling is applied just to the text.

Michal Hoftich <michal_h21>
Project Member
Wed May 4 08:41:09 2011, comment #1:

As suggested by William F.H., using
instead of "\textsf{}" works with oolatex.
AFAIK, those two are usage-equivalent (I don't know about the internals, though):
http://en.wikibooks.org/wiki/LaTeX/Formatting#Font_Styles
http://www.ctan.org/tex-archive/macros/latex/doc/fntguide.pdf

I'm happy with the workaround (so the severity can be lowered), but the bug stays...

^s

^m.e <sphakka>
Tue May 3 16:49:37 2011, original submission:

Hi there,
Wrapping an environment with \text{} (tried with in [bf,tt,sf]) breaks xtpipes with oolatex, f.i. the following

processed by

raises the following java exception:

I'm using tex4ht v20090611_p1038-r1 on Gentoo, with
same problem with Sun's Java:

Cheers,

^s

^m.e <sphakka>

 

Attached Files
file #103:  test.tmp added by sphakka (3kB - application/octet-stream)
file #104:  test.tex added by sphakka (137B - application/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 sphakka (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):

     

     

    3 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Jul 17 10:11:16 2020michal_h21Open/ClosedOpen=>Closed
    Tue May 3 16:49:37 2011sphakkaAttached File-=>Added test.tmp, #103
      Attached File-=>Added test.tex, #104
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray