[tex4ht] [bug #347] escapechar not usable in lstlisting, results in loss of line breaks

2016-12-15 Thread Karl Berry
Update of bug #347 (project tex4ht):

 Open/Closed:Open => Closed 

___

Follow-up Comment #3:

committed to tex live, r42717. thanks.


___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



Re: [tex4ht] [bug #345] regression testing is needed

2016-12-15 Thread Karl Berry
build.lua is a driver file with settings for the main l3build.lua script.

I know.  My question was whether l3build.lua is a fork (modified by you)
or a copy of the original l3build.lua file from the l3build
package. Which you answered below -- you made changes. Ok.

Probably it would be better to give  it a different name, 

build.lua -> l3test4ht.lua comes to mind.

As for l3build.lua, it would be much better not to have it committed in
our repository at all, but to use their installed version. We don't want
to continually be merging new versions, and sticking with an old version
"forever" doesn't sound good either.

just simple fix in l3build.lua:
   os_diffexe  = os.getenv("diffexe") or "diff -c --strip-trailing-cr 
--ignore-matching-lines='

[tex4ht] [bug #347] escapechar not usable in lstlisting, results in loss of line breaks

2016-12-15 Thread Tak Auyeung
Follow-up Comment #2, bug #347 (project tex4ht):

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

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #347] escapechar not usable in lstlisting, results in loss of line breaks

2016-12-15 Thread Michal Hoftich
Follow-up Comment #1, bug #347 (project tex4ht):

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

(file #271)
___

Additional Item Attachment:

File name: listings.4ht   Size:2 KB


___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



Re: [tex4ht] [bug #345] regression testing is needed

2016-12-15 Thread Deimantas Galcius


On 12/15/2016 02:46 AM, Karl Berry wrote:

But we don't really want/need a copy of build.lua in the repo, do we?
Did you have to modify it? I can't tell if the differences from the
distributed version are just different versions, or something you needed
to do.

build.lua is a driver file with settings for the main l3build.lua script.
Probably it would be better to give  it a different name, as
we will want to amend it.


I see it somehow avoids testing the date line?

just simple fix in l3build.lua:

  os_diffexe  = os.getenv("diffexe") or "diff -c --strip-trailing-cr 
--ignore-matching-lines='

[tex4ht] [bug #347] escapechar not usable in lstlisting, results in loss of line breaks

2016-12-15 Thread Tak Auyeung
URL:
  

 Summary: escapechar not usable in lstlisting, results in loss
of line breaks
 Project: tex4ht
Submitted by: tauyeung
Submitted on: Thu 15 Dec 2016 09:11:01 AM EET
Category: None
Priority: 5 - Normal
Severity: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

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

\begin{lstlisting}[language=C, mathescape]
#include 

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!




___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/