Am Samstag, 17. Juni 2017 um 19:01:43, schrieb Kornel Benko <kor...@lyx.org>
> Am Samstag, 17. Juni 2017 um 18:47:58, schrieb Enrico Forestieri 
> <for...@lyx.org>
> > On Sat, Jun 17, 2017 at 04:56:58PM +0200, Kornel Benko wrote:
> > 
> > > Am Samstag, 17. Juni 2017 um 15:22:23, schrieb Enrico Forestieri 
> > > <for...@lyx.org>
> > > > On Sat, Jun 17, 2017 at 11:11:18AM +0200, Kornel Benko wrote:
> > > > 
> > > > > Am Samstag, 17. Juni 2017 um 02:39:03, schrieb Enrico Forestieri 
> > > > > <for...@lyx.org>
> > > > > > commit 7a9bb851840fe7211cac05cbd898b27143f73559
> > > > > > Author: Enrico Forestieri <for...@lyx.org>
> > > > > > Date:   Sat Jun 17 02:23:00 2017 +0200
> > > > > > 
> > > > > >     tex2lyx: import minted listings
> > > > > >     
> > > > > >     This commit updates tex2lyx in order to also import minted 
> > > > > > listings.
> > > > > 
> > > > > Do also exist test files? Something like
> > > > >       src/tex2lyx/test/test-minted.lyx.lyx    // expected result
> > > > >       src/tex2lyx/test/test-minted.tex                // source
> > > > > ?
> > > > 
> > > > Please, find attached a latex source and the expected result from
> > > > importing it. I am not familiar with the testing framework, so I
> > > > would be grateful if you can integrate these test files.
> > > > 
> > > 
> > > I had to change the file test-minted.tex, wrong encoding (ISO-8859, 
> > > should be utf-8),
> > > but even so I had to change the German Tschüß to some ascii to make it 
> > > work (iconv chokes).
> > > Otherwise the try to load .lyx.lyx into lyx did not even show the string 
> > > 'This is a German word: Tschüß'.
> > > 
> > > Don't know how to enter German words. It should go in nevertheless IMHO.
> > 
> > Sorry, but that is wrong. The file is purposely encoded in ISO-8859 and
> > it should not be changed. Most probably the mail transfer is playing tricks.
> > I am attaching a tar archive this time. If it still doesn't work, there is
> > something fishy going on.
> > 
> 
> Tested, and, against to my expectations, tests pass with this set of files.
> 
> #ctest -R test-minted
> Test project /BUILD/BUILDMint17/BuildLyxGitQt5.8self-gcc7.1
>     Start 22: tex2lyx/roundtrip/test-minted.tex
> 1/2 Test #22: tex2lyx/roundtrip/test-minted.tex ...   Passed    0.77 sec
>     Start 23: tex2lyx/cmplyx/test-minted.tex
> 2/2 Test #23: tex2lyx/cmplyx/test-minted.tex ......   Passed    2.00 sec
> 
> 100% tests passed, 0 tests failed out of 2
> 
> Label Time Summary:
> cmplyx       =   2.00 sec (1 test)
> roundtrip    =   0.77 sec (1 test)
> 
> Please commit.
> 

Sorry, forgot to push my previous commit. Now its out, you may commit the files.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to