bugtex4ht - Bugs: bug #347, escapechar not usable in...

 
 
Show feedback again

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

bug #347: escapechar not usable in lstlisting, results in loss of line breaks

Submitted by:  Tak Auyeung <tauyeung>
Submitted on:  Thu Dec 15 07:11:01 2016  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri Dec 16 00:17:20 2016, comment #3:

committed to tex live, r42717. thanks.

Karl Berry <karl>
Project Administrator
Thu Dec 15 18:11:25 2016, comment #2:

file #271 listings.4ht fixes the problem! Most excellent and prompt work, much appreciated!

Tak Auyeung <tauyeung>
Thu Dec 15 16:09:31 2016, comment #1:

I can confirm that. Please try the attached listings.4ht.

(file #271)

Michal Hoftich <michal_h21>
Project Member
Thu Dec 15 07:11:01 2016, original submission:

The following code results in the loss of all line breaks <br> after the mathescape:

\begin{lstlisting}[language=C, mathescape]
#include <stdio.h>

int main()
{
return 0; // $x$
}
\end{lstlisting}

The output is correct once the math escape is removed. Regular latex does render the code correctly.

Any bug fix or ways to get around this problem is much appreciated!

Tak Auyeung <tauyeung>

 

Attached Files
file #271:  listings.4ht added by michal_h21 (3kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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 Dec 16 00:17:20 2016karlOpen/ClosedOpen=>Closed
    Thu Dec 15 16:09:31 2016michal_h21Attached File-=>Added listings.4ht, #271
    Thu Dec 15 07:11:01 2016tauyeungCarbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray