Graham Smith | 19 Aug 07:32

Lyx cross platform compatability - is there a problem?

I have asked in another question (sa far without a solution) about  
problems with getting a Lyx file created on a Mac to compile on  
Windows (it compiles fine on Linux).

As I intend sharing files with a Windows user, is this a common  
problem, and is there any routine methods of avoiding it.  Creating  
files on Macs/Linux that then won't compile on Windows is a major  
problem for me. Indeed, it will force me to stop using Lyx as our  
main document processor, as compatibility is fundamental.

Many thanks,

Graham

Graham Smith
graham.smith@...

Re: Lyx cross platform compatability - is there a problem?

On Tue, 19 Aug 2008, Graham Smith wrote:

> I have asked in another question (sa far without a solution) about 
> problems with getting a Lyx file created on a Mac to compile on Windows 
> (it compiles fine on Linux).
>
> As I intend sharing files with a Windows user, is this a common problem, 
> and is there any routine methods of avoiding it.  Creating files on 
> Macs/Linux that then won't compile on Windows is a major problem for me. 
> Indeed, it will force me to stop using Lyx as our main document 
> processor, as compatibility is fundamental.

Hi Graham,

I'm forwarding your post to the developers' list. We'd greatly appreciate 
a small example file that demonstrates the problem, can you supply one?

AFAIK, there shouldn't be any cross-platform issues. You may however have 
system compatibility issues, e.g. if some non-standard LaTeX packages that 
your document uses are missing from one of the systems.

Best regards,
Christian

--

-- 
Christian Ridderström, +46-8-768 39 44            http://www.md.kth.se/~chr
Graham Smith | 19 Aug 14:31

Re: Lyx cross platform compatability - is there a problem?

Christian,

As you will see, from my other post,  the issue was a leading comma  
in the preamble, setting the Komascript options.

It seems that both the Mac and Linux are forgiving of this syntax  
error, but Windows is not.

So it isn't a Windows issue, but a sloppy syntax issue on my part.

Thanks for your help.

Graham

Graham Smith
graham.smith@...

Station Cottage, Station Road
Binegar, Somerset
BA3 4UQ

On 19 Aug 2008, at 07:52, Christian Ridderström wrote:

> On Tue, 19 Aug 2008, Graham Smith wrote:
>
>> I have asked in another question (sa far without a solution) about  
>> problems with getting a Lyx file created on a Mac to compile on  
>> Windows (it compiles fine on Linux).
>>
>> As I intend sharing files with a Windows user, is this a common  
(Continue reading)

Re: Lyx cross platform compatability - is there a problem?

On Tue, 19 Aug 2008, Graham Smith wrote:

> As you will see, from my other post, the issue was a leading comma in 
> the preamble, setting the Komascript options.
>
> It seems that both the Mac and Linux are forgiving of this syntax error, 
> but Windows is not.
>
> So it isn't a Windows issue

Hi Graham,

I'm glad you solved the problem.

regards,
Christian

--

-- 
Christian Ridderström, +46-8-768 39 44            http://www.md.kth.se/~chr
Graham Smith | 19 Aug 21:21

Re: Lyx cross platform compatability - is there a problem?

On 19 Aug 2008, at 19:57, Christian Ridderström wrote:

> On Tue, 19 Aug 2008, Graham Smith wrote:
>
>> As you will see, from my other post, the issue was a leading comma  
>> in the preamble, setting the Komascript options.
>>
>> It seems that both the Mac and Linux are forgiving of this syntax  
>> error, but Windows is not.
>>
>> So it isn't a Windows issue
>
> Hi Graham,
>
> I'm glad you solved the problem.
>
> regards,
> Christian

I'm glad it was that simple.

Graham

Manveru | 20 Aug 08:45
Favicon

Re: Lyx cross platform compatability - is there a problem?

I think explanation to the problem is fact that Mac new line character (EOL)
is CR, Windows is CR+LF, and Unix is LF. For compatibility most Unix based
applications ported to Windows handles only LF from these two, so on Windows
options were seen as in separate lines, while on Mac until explicitely
specified lines were not seen. But this is my speculation.

2008/8/19 Graham Smith <graham.smith@...>

> On 19 Aug 2008, at 19:57, Christian Ridderström wrote:
>
>  On Tue, 19 Aug 2008, Graham Smith wrote:
>>
>>  As you will see, from my other post, the issue was a leading comma in the
>>> preamble, setting the Komascript options.
>>>
>>> It seems that both the Mac and Linux are forgiving of this syntax error,
>>> but Windows is not.
>>>
>>> So it isn't a Windows issue
>>>
>>
>> Hi Graham,
>>
>> I'm glad you solved the problem.
>>
>> regards,
>> Christian
>>
>
> I'm glad it was that simple.
(Continue reading)

José Matos | 20 Aug 09:00
Favicon

Re: Lyx cross platform compatability - is there a problem?

On Wednesday 20 August 2008 07:45:18 Manveru wrote:
> I think explanation to the problem is fact that Mac new line character
> (EOL) is CR, Windows is CR+LF, and Unix is LF. For compatibility most Unix
> based applications ported to Windows handles only LF from these two, so on
> Windows options were seen as in separate lines, while on Mac until
> explicitely specified lines were not seen. But this is my speculation.

We remove any possible end of line marker, so unless there is a bug that 
should not be the problem. :-)

And if that is the case we would like to hear.

--

-- 
José Abílio

Daniel Lohmann | 20 Aug 09:07
Favicon

Re: Lyx cross platform compatability - is there a problem?


On 19.08.2008, at 21:21, Graham Smith wrote:

> On 19 Aug 2008, at 19:57, Christian Ridderström wrote:
>
>> On Tue, 19 Aug 2008, Graham Smith wrote:
>>
>>> As you will see, from my other post, the issue was a leading comma  
>>> in the preamble, setting the Komascript options.
>>>
>>> It seems that both the Mac and Linux are forgiving of this syntax  
>>> error, but Windows is not.
>>>
>>> So it isn't a Windows issue
>>
>> Hi Graham,
>>
>> I'm glad you solved the problem.

I want to add a word of encouragement here: In out group we have been  
co-writing papers and documents using LyX on Windows/Linux/OSX for  
years:

- There never, ever has been a problem with LyX itself.
- Only occasionally (2 or 3 times) we had compatibility issues with  
different versions of one of the supporting tools. Usually,  different  
versions of ImageMagik were the cause.

Overall, I can truly recommend LyX as a cross-plattform document  
processor!
(Continue reading)

Graham Smith | 20 Aug 10:24

Re: Lyx cross platform compatability - is there a problem?


>>>> So it isn't a Windows issue
>>>
>>> Hi Graham,
>>>
>>> I'm glad you solved the problem.
>
> I want to add a word of encouragement here: In out group we have  
> been co-writing papers and documents using LyX on Windows/Linux/OSX  
> for years:
>
> - There never, ever has been a problem with LyX itself.
> - Only occasionally (2 or 3 times) we had compatibility issues with  
> different versions of one of the supporting tools. Usually,   
> different versions of ImageMagik were the cause.
>
> Overall, I can truly recommend LyX as a cross-plattform document  
> processor!
>
> Daniel

Thanks, that is good to know.

Graham
José Matos | 19 Aug 10:16
Favicon

Re: Lyx cross platform compatability - is there a problem?

On Tuesday 19 August 2008 06:35:32 Graham Smith wrote:
> I have asked in another question (sa far without a solution) about
> problems with getting a Lyx file created on a Mac to compile on
> Windows (it compiles fine on Linux).
>
> As I intend sharing files with a Windows user, is this a common
> problem, and is there any routine methods of avoiding it.  Creating
> files on Macs/Linux that then won't compile on Windows is a major
> problem for me. Indeed, it will force me to stop using Lyx as our
> main document processor, as compatibility is fundamental.

The error message suggests that the culprit is a different version installed 
of Koma between your different systems.

The next step is to identify what causes this difference in behaviour between 
the two versions, because sooner or later the same will happen when other 
systems update the Koma latex classes.

> Many thanks,
>
> Graham
>
> Graham Smith
> graham.smith@...

--

-- 
José Abílio

Graham Smith | 19 Aug 11:31

Re: Lyx cross platform compatability - is there a problem?

On 19 Aug 2008, at 09:16, José Matos wrote:

> On Tuesday 19 August 2008 06:35:32 Graham Smith wrote:
>> I have asked in another question (sa far without a solution) about
>> problems with getting a Lyx file created on a Mac to compile on
>> Windows (it compiles fine on Linux).
>>
>> As I intend sharing files with a Windows user, is this a common
>> problem, and is there any routine methods of avoiding it.  Creating
>> files on Macs/Linux that then won't compile on Windows is a major
>> problem for me. Indeed, it will force me to stop using Lyx as our
>> main document processor, as compatibility is fundamental.
>
> The error message suggests that the culprit is a different version  
> installed
> of Koma between your different systems.
>
> The next step is to identify what causes this difference in  
> behaviour between
> the two versions, because sooner or later the same will happen when  
> other
> systems update the Koma latex classes.

Thanks, this could well be the case,  on the Mac and ubuntu its  
whatever installed by default, but on Windows, Koma Script wasn't  
installed with Lyx/Miktex and I needed to install Koma Script through  
MikTex, so I assume this will be the latest version, where as it  
might be older version on the Mac and Linux.

However, I realise I don't actually know how to find out the  
(Continue reading)

John McCabe-Dansted | 19 Aug 11:59

Re: Lyx cross platform compatability - is there a problem?

On Tue, Aug 19, 2008 at 5:31 PM, Graham Smith <graham.smith@...> wrote:
> On 19 Aug 2008, at 09:16, José Matos wrote:
>> The error message suggests that the culprit is a different version
>> installed of Koma between your different systems.
<snip>
> Thanks, this could well be the case,
<snip>

I think bundling the KomaScript .sty file with the .lyx file may help
if this is the case.

> However, I realise I don't actually know how to find out the versions, or
> indeed even where the packages are installed on the different systems.  I
> will need to find out.

This should be listed in your log file. This can be viewed e.g. by the
menu item Document > LaTeX Log. However LyX does not allow searching
so you can't just do a find ".sty" to get this information unless you
dig around in /tmp/lyx_tmdir?????? and open the .log file in a real
text editor/viewer.

--

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia

Graham Smith | 19 Aug 13:23

Re: Lyx cross platform compatability - is there a problem?


On 19 Aug 2008, at 10:59, John McCabe-Dansted wrote:

> On Tue, Aug 19, 2008 at 5:31 PM, Graham Smith  
> <graham.smith@...> wrote:
>> On 19 Aug 2008, at 09:16, José Matos wrote:
>>> The error message suggests that the culprit is a different version
>>> installed of Koma between your different systems.
> <snip>
>> Thanks, this could well be the case,
> <snip>
>
> I think bundling the KomaScript .sty file with the .lyx file may help
> if this is the case.
>
>> However, I realise I don't actually know how to find out the  
>> versions, or
>> indeed even where the packages are installed on the different  
>> systems.  I
>> will need to find out.
>
> This should be listed in your log file. This can be viewed e.g. by the
> menu item Document > LaTeX Log. However LyX does not allow searching
> so you can't just do a find ".sty" to get this information unless you
> dig around in /tmp/lyx_tmdir?????? and open the .log file in a real
> text editor/viewer.
>

Thanks it would seem that it is 2.95b on the Mac and 2.98 on Windows.

(Continue reading)


Gmane