Re: Miktex vs Texlive

2018-03-19 Thread Jürgen Spitzmüller
Am Montag, den 19.03.2018, 13:16 +0100 schrieb Michael Berger:
> Dear Jürgen,
> I am back now to answer your questions:
> - Was the file your son created a pure LaTeX file? >> Yes!
> - I take it that you imported it into LyX. >> Yes!
> And yes again, it is a Beamer presentation and that probably explains
> what I am facing here. I recall that I could indeed open and convert
> previous documents not even knowing that my son had to use Windows
> (because that is mandatory)
> 
> I learn now that you are already working on this problem, thanks for
> that.

Yes, I took some time to finally enable tex2lyx to handle the beamer
format we have since LyX 2.0 (especially the "overlay" inset stuff).
The work is finished, has landed in master and will be part of stable
at least with LyX 2.3.2 (depending on how urgent a 2.3.1 will be). Most
beamer presentations should be imported now without problems (but there
might be corner cases I have missed).

> Moreover, let me take this opportunity to thank you for continuously
> providing the domain of linguistics with so many great enhancements.

You're welcome.

Jürgen

> 
> Michael


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


Re: Miktex vs Texlive

2018-03-19 Thread Michael Berger

Dear Jürgen,

I am back now to answer your questions:

- Was the file your son created a pure LaTeX file? >> Yes!

- I take it that you imported it into LyX. >> Yes!

And yes again, it is a Beamer presentation and that probably explains 
what I am facing here. I recall that I could indeed open and convert 
previous documents not even knowing that my son had to use Windows 
(because that is mandatory)


I learn now that you are already working on this problem, thanks for that.
Moreover, let me take this opportunity to thank you for continuously 
providing the domain of linguistics with so many great enhancements.


Michael


On 12.03.2018 18:14, Jürgen Spitzmüller wrote:

2018-03-12 18:00 GMT+01:00 Richard Heck:

On 03/12/2018 12:39 PM, Michael Berger wrote:


Thanks Richard,

my son is using Windows 10, not Lyx. But I learned from Kornel
and Uwe that his file should nevertheless compile if opened in
LyX. Did I get something wrong here?:-(



Was the file your son created a pure LaTeX file? Or was it a LyX
file? If the former, I take it
that you imported it into LyX.


And if it's a beamer presentation, the chance it fails is high. The 
import of beamer documents in LyX is still very shaky (particularly 
due to the overlay arguments), but we're working presently on the issue.


Jürgen





Re: Miktex vs Texlive

2018-03-12 Thread Jürgen Spitzmüller
2018-03-12 18:00 GMT+01:00 Richard Heck:

> On 03/12/2018 12:39 PM, Michael Berger wrote:
>
> Thanks Richard,
>
> my son is using Windows 10, not Lyx. But I learned from Kornel and Uwe
> that his file should nevertheless compile if opened in LyX. Did I get
> something wrong here?:-(
>
>
> Was the file your son created a pure LaTeX file? Or was it a LyX file? If
> the former, I take it
> that you imported it into LyX.
>

And if it's a beamer presentation, the chance it fails is high. The import
of beamer documents in LyX is still very shaky (particularly due to the
overlay arguments), but we're working presently on the issue.

Jürgen


Re: Miktex vs Texlive

2018-03-12 Thread Michael Berger

Well Kornel and Richard,

that makes it very clear. Sorry for the noise and my unprofessional 
questioning.


Michael


On 12.03.2018 17:46, Kornel Benko wrote:

Am Montag, 12. März 2018 17:39:33 CET schrieb Michael Berger
:

Thanks Richard,

my son is using Windows 10, not Lyx. But I learned from Kornel and Uwe
that his file should nevertheless compile if opened in LyX. Did I get
something wrong here?:-(

Seems so. The structure and content of a lyx file does not depend on the
operating system, but of course, it depends on the used lyx-version. Therefore
your son also has to use lyx.

Apparently we did not understand your problem.

Kornel




Re: Miktex vs Texlive

2018-03-12 Thread Richard Heck
On 03/12/2018 12:39 PM, Michael Berger wrote:
>
> Thanks Richard,
>
> my son is using Windows 10, not Lyx. But I learned from Kornel and Uwe
> that his file should nevertheless compile if opened in LyX. Did I get
> something wrong here?:-(
>

Was the file your son created a pure LaTeX file? Or was it a LyX file?
If the former, I take it
that you imported it into LyX.

Either way, if you want to send me, privately, the file your son sent
you, then I can have a look
and see if I can figure out what's wrong.

Richard


> On 12.03.2018 16:54, Richard Heck wrote:
>> On 03/12/2018 08:12 AM, Michael Berger wrote:
>>>
>>> Hello Uwe, Kornel, thanks for offering your help.
>>>
>>> My son created this Beamer file under Windows 10 on his Laptop and
>>> presented it to an audience just a few days ago without facing any
>>> problem. However, on my desktop, Lyx 2.2.3, Mageia 6, it fails to
>>> convert to PDF. See below the corresponding LaTeX log file.
>>> I also attach my son's PDF output generated under Windows 10.
>>
>> We should have asked a simpler question first: What version of LyX is
>> your son using?
>>
>> That said, I think the problem is here:
>>
>>> ** mdframed patching \endmdf@trivlist
>>>
>>>
>>> ** -- failed**
>>>
>>
>> You then end up with a lot of errors that look like:
>>
>>> ! LaTeX Error: \begin{list} on input line 297 ended by
>>> \end{beamer@framepauses} 
>>
>> Possibly this could be due to different versions of the mdframed
>> package on the two systems,
>> but I do not know how of why that package is being used here, so it
>> is hard to say.
>>
>> Richard
>>
>



Re: Miktex vs Texlive

2018-03-12 Thread Kornel Benko
Am Montag, 12. März 2018 17:39:33 CET schrieb Michael Berger 
:
> Thanks Richard,
> 
> my son is using Windows 10, not Lyx. But I learned from Kornel and Uwe
> that his file should nevertheless compile if opened in LyX. Did I get
> something wrong here?:-(

Seems so. The structure and content of a lyx file does not depend on the 
operating system, but of course, it depends on the used lyx-version. Therefore
your son also has to use lyx.

Apparently we did not understand your problem.

Kornel

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


Re: Miktex vs Texlive

2018-03-12 Thread Michael Berger

Thanks Richard,

my son is using Windows 10, not Lyx. But I learned from Kornel and Uwe 
that his file should nevertheless compile if opened in LyX. Did I get 
something wrong here?:-(


Michael


On 12.03.2018 16:54, Richard Heck wrote:

On 03/12/2018 08:12 AM, Michael Berger wrote:


Hello Uwe, Kornel, thanks for offering your help.

My son created this Beamer file under Windows 10 on his Laptop and 
presented it to an audience just a few days ago without facing any 
problem. However, on my desktop, Lyx 2.2.3, Mageia 6, it fails to 
convert to PDF. See below the corresponding LaTeX log file.

I also attach my son's PDF output generated under Windows 10.


We should have asked a simpler question first: What version of LyX is 
your son using?


That said, I think the problem is here:


** mdframed patching \endmdf@trivlist


** -- failed**



You then end up with a lot of errors that look like:

! LaTeX Error: \begin{list} on input line 297 ended by 
\end{beamer@framepauses} 


Possibly this could be due to different versions of the mdframed 
package on the two systems,
but I do not know how of why that package is being used here, so it is 
hard to say.


Richard





Re: Miktex vs Texlive

2018-03-12 Thread Richard Heck
On 03/12/2018 08:12 AM, Michael Berger wrote:
>
> Hello Uwe, Kornel, thanks for offering your help.
>
> My son created this Beamer file under Windows 10 on his Laptop and
> presented it to an audience just a few days ago without facing any
> problem. However, on my desktop, Lyx 2.2.3, Mageia 6, it fails to
> convert to PDF. See below the corresponding LaTeX log file.
> I also attach my son's PDF output generated under Windows 10.

We should have asked a simpler question first: What version of LyX is
your son using?

That said, I think the problem is here:

> ** mdframed patching \endmdf@trivlist
>
>
> ** -- failed**
>

You then end up with a lot of errors that look like:

> ! LaTeX Error: \begin{list} on input line 297 ended by
> \end{beamer@framepauses} 

Possibly this could be due to different versions of the mdframed package
on the two systems,
but I do not know how of why that package is being used here, so it is
hard to say.

Richard



Re: Miktex vs Texlive

2018-03-11 Thread Richard Heck
On 03/11/2018 01:25 PM, Jean-Marc Lasgouttes wrote:
> Le 11/03/2018 à 18:09, Richard Heck a écrit :
>> On 03/11/2018 01:05 PM, Michael Berger wrote:
>>> Thanks Uwe and Kornel,
>>>
>>> I am somewhat puzzled. My son sent me a LyX document produced on his
>>> Windows laptop.
>>>
>>> I opened it with LyX under Linux but got heaps of errors when trying
>>> to compile it to PDF.
>>>
>>> What am I getting wrong here?
>>>
>>> Sorry, I am just an ordinary layman!
>>
>> Probably you do not have certain packages installed, though I gather
>> that MiKTeX is
>> supposed to install them on the fly. 
>
> It is the other way round: document produced with miktex but read with
> texlive. But your advice it correct about log file is still fine!

Oh, whoops, yes. In that case, we definitely need to log file.

Richard



Re: Miktex vs Texlive

2018-03-11 Thread Jean-Marc Lasgouttes

Le 11/03/2018 à 18:09, Richard Heck a écrit :

On 03/11/2018 01:05 PM, Michael Berger wrote:

Thanks Uwe and Kornel,

I am somewhat puzzled. My son sent me a LyX document produced on his
Windows laptop.

I opened it with LyX under Linux but got heaps of errors when trying
to compile it to PDF.

What am I getting wrong here?

Sorry, I am just an ordinary layman!


Probably you do not have certain packages installed, though I gather
that MiKTeX is
supposed to install them on the fly. 


It is the other way round: document produced with miktex but read with 
texlive. But your advice it correct about log file is still fine!


JMarc


Re: Miktex vs Texlive

2018-03-11 Thread Richard Heck
On 03/11/2018 01:05 PM, Michael Berger wrote:
> Thanks Uwe and Kornel,
>
> I am somewhat puzzled. My son sent me a LyX document produced on his
> Windows laptop.
>
> I opened it with LyX under Linux but got heaps of errors when trying
> to compile it to PDF.
>
> What am I getting wrong here?
>
> Sorry, I am just an ordinary layman!

Probably you do not have certain packages installed, though I gather
that MiKTeX is
supposed to install them on the fly. In any event, if you can post the
errors you are
getting, then we can help. Go to Document> LaTeX Log. You can either cut
and paste
what's there, or hit "Open Containing Directory" and attach the *.log file.

RK


> On 11.03.2018 17:38, Kornel Benko wrote:
>> Am Sonntag, 11. März 2018 17:30:30 CET schrieb Michael Berger
>> :
>>> Dear Lyx users,
>>>
>>> is there a way to convert a LyX document made with MikTeX (Windows)
>>> in a
>>> LyX TeXLive (Linux) document?
>>>
>>> Thanks and best,
>>>
>>> Michael
>> There should be no difference regarding lyx.
>> Documents are written by lyx, not be MikTeX or TeXLive.
>> Even exported to latex source is the same on all platforms.
>>
>> Kornel
>



Re: Miktex vs Texlive

2018-03-11 Thread Michael Berger

Thanks Uwe and Kornel,

I am somewhat puzzled. My son sent me a LyX document produced on his 
Windows laptop.


I opened it with LyX under Linux but got heaps of errors when trying to 
compile it to PDF.


What am I getting wrong here?

Sorry, I am just an ordinary layman!

Michael


On 11.03.2018 17:38, Kornel Benko wrote:

Am Sonntag, 11. März 2018 17:30:30 CET schrieb Michael Berger
:

Dear Lyx users,

is there a way to convert a LyX document made with MikTeX (Windows) in a
LyX TeXLive (Linux) document?

Thanks and best,

Michael

There should be no difference regarding lyx.
Documents are written by lyx, not be MikTeX or TeXLive.
Even exported to latex source is the same on all platforms.

Kornel




Re: Miktex vs Texlive

2018-03-11 Thread Kornel Benko
Am Sonntag, 11. März 2018 17:30:30 CET schrieb Michael Berger 
:
> Dear Lyx users,
> 
> is there a way to convert a LyX document made with MikTeX (Windows) in a
> LyX TeXLive (Linux) document?
> 
> Thanks and best,
> 
> Michael

There should be no difference regarding lyx.
Documents are written by lyx, not be MikTeX or TeXLive.
Even exported to latex source is the same on all platforms.

Kornel


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


Re: Miktex vs Texlive

2018-03-11 Thread Paul A. Rubin

On 03/11/2018 12:30 PM, Michael Berger wrote:

Dear Lyx users,

is there a way to convert a LyX document made with MikTeX (Windows) in 
a LyX TeXLive (Linux) document?


Thanks and best,

Michael

A LyX document is agnostic to the particular LaTeX distribution you use. 
As long as you have the packages used by the LyX document installed 
under both MiKTeX and TeXLive, you should be able to compile the LyX 
document with either.


Paul



Miktex vs Texlive

2018-03-11 Thread Michael Berger

Dear Lyx users,

is there a way to convert a LyX document made with MikTeX (Windows) in a 
LyX TeXLive (Linux) document?


Thanks and best,

Michael