Re: The TeX problem

2008-11-03 Thread A B
 I'm trying to use latest latex on WinXP but there is something wrong
 with my tex. Please give me advice which TeX distribution should I download.

 Please note that I'm new here, so it would be nice if you could give me
 a step-by-step instruction.
I'm not sure if this will solve your problem, but I've had the most
luck with miktex.
1) download the miktex installer
2) install it
3) reboot (since it is windows)


The TeX problem

2008-11-03 Thread Grzesiek Sójka
Hi there,

I'm trying to use latest latex on WinXP but there is something wrong
with my tex. Please give me advice which TeX distribution should I download.

Please note that I'm new here, so it would be nice if you could give me
a step-by-step instruction.


Regards

greg


Re: The TeX problem

2008-11-03 Thread A B
 I'm trying to use latest latex on WinXP but there is something wrong
 with my tex. Please give me advice which TeX distribution should I download.

 Please note that I'm new here, so it would be nice if you could give me
 a step-by-step instruction.
I'm not sure if this will solve your problem, but I've had the most
luck with miktex.
1) download the miktex installer
2) install it
3) reboot (since it is windows)


The TeX problem

2008-11-03 Thread Grzesiek Sójka
Hi there,

I'm trying to use latest latex on WinXP but there is something wrong
with my tex. Please give me advice which TeX distribution should I download.

Please note that I'm new here, so it would be nice if you could give me
a step-by-step instruction.


Regards

greg


Re: The TeX problem

2008-11-03 Thread A B
> I'm trying to use latest latex on WinXP but there is something wrong
> with my tex. Please give me advice which TeX distribution should I download.
>
> Please note that I'm new here, so it would be nice if you could give me
> a step-by-step instruction.
I'm not sure if this will solve your problem, but I've had the most
luck with miktex.
1) download the miktex installer
2) install it
3) reboot (since it is windows)


The TeX problem

2008-11-03 Thread Grzesiek Sójka
Hi there,

I'm trying to use latest latex on WinXP but there is something wrong
with my tex. Please give me advice which TeX distribution should I download.

Please note that I'm new here, so it would be nice if you could give me
a step-by-step instruction.


Regards

greg


.tex to .lyx to .tex problem

2007-02-06 Thread Kevin Paunovic

I start from a .tex latex file that contains:
\lipsum[11] blahblah

I import this in LyX.

Then I export the .lyx file to plain latex (.tex) and I find this line:
\lipsum{[}11]

This seems to be due to the fact \lipsum command don't take arguments  
but a unique optional argument (between square brackets). So LyX may  
consider, as no '{' was found after \lipsum, that lipsum command  
takes the next char as argument (the opening square bracket) and puts  
it between accolades. Maybe there is a way to fix this a simple way?


Re: .tex to .lyx to .tex problem

2007-02-06 Thread Enrico Forestieri
Kevin Paunovic writes:
 
 I start from a .tex latex file that contains:
 \lipsum[11] blahblah
 
 I import this in LyX.
 
 Then I export the .lyx file to plain latex (.tex) and I find this line:
 \lipsum{[}11]
 
 This seems to be due to the fact \lipsum command don't take arguments  
 but a unique optional argument (between square brackets). So LyX may  
 consider, as no '{' was found after \lipsum, that lipsum command  
 takes the next char as argument (the opening square bracket) and puts  
 it between accolades. Maybe there is a way to fix this a simple way?

You must teach LyX the syntax of your command. The most simple way is
copying the syntax.default file from the system directory to your personal
.lyx directory and add at the very bottom the single line

\lipsum[]

However, if you do so, from now on the system syntax.default file is not
read anymore, which may be a problem when you upgrade. So, it is better
that you create a file containing only the line above and then modify
the LaTeX-LyX converter in Tools-Preferences-Converters. Most probably
this converter is defined as tex2lyx -f $$i $$o and you should change it
to read tex2lyx -s /path/to/your/syntax.file -f $$i $$o, where
/path/to/your/syntax.file is the file above containing that single line
(of course you can also add to it the syntax of other commands, one per line).
If you are on *nix, man tex2lyx is your friend.

HTH

-- 
Enrico



.tex to .lyx to .tex problem

2007-02-06 Thread Kevin Paunovic

I start from a .tex latex file that contains:
\lipsum[11] blahblah

I import this in LyX.

Then I export the .lyx file to plain latex (.tex) and I find this line:
\lipsum{[}11]

This seems to be due to the fact \lipsum command don't take arguments  
but a unique optional argument (between square brackets). So LyX may  
consider, as no '{' was found after \lipsum, that lipsum command  
takes the next char as argument (the opening square bracket) and puts  
it between accolades. Maybe there is a way to fix this a simple way?


Re: .tex to .lyx to .tex problem

2007-02-06 Thread Enrico Forestieri
Kevin Paunovic writes:
 
 I start from a .tex latex file that contains:
 \lipsum[11] blahblah
 
 I import this in LyX.
 
 Then I export the .lyx file to plain latex (.tex) and I find this line:
 \lipsum{[}11]
 
 This seems to be due to the fact \lipsum command don't take arguments  
 but a unique optional argument (between square brackets). So LyX may  
 consider, as no '{' was found after \lipsum, that lipsum command  
 takes the next char as argument (the opening square bracket) and puts  
 it between accolades. Maybe there is a way to fix this a simple way?

You must teach LyX the syntax of your command. The most simple way is
copying the syntax.default file from the system directory to your personal
.lyx directory and add at the very bottom the single line

\lipsum[]

However, if you do so, from now on the system syntax.default file is not
read anymore, which may be a problem when you upgrade. So, it is better
that you create a file containing only the line above and then modify
the LaTeX-LyX converter in Tools-Preferences-Converters. Most probably
this converter is defined as tex2lyx -f $$i $$o and you should change it
to read tex2lyx -s /path/to/your/syntax.file -f $$i $$o, where
/path/to/your/syntax.file is the file above containing that single line
(of course you can also add to it the syntax of other commands, one per line).
If you are on *nix, man tex2lyx is your friend.

HTH

-- 
Enrico



.tex to .lyx to .tex problem

2007-02-06 Thread Kevin Paunovic

I start from a .tex latex file that contains:
\lipsum[11] blahblah

I import this in LyX.

Then I export the .lyx file to plain latex (.tex) and I find this line:
\lipsum{[}11]

This seems to be due to the fact \lipsum command don't take arguments  
but a unique optional argument (between square brackets). So LyX may  
consider, as no '{' was found after \lipsum, that lipsum command  
takes the next char as argument (the opening square bracket) and puts  
it between accolades. Maybe there is a way to fix this a simple way?


Re: .tex to .lyx to .tex problem

2007-02-06 Thread Enrico Forestieri
Kevin Paunovic writes:
> 
> I start from a .tex latex file that contains:
> \lipsum[11] blahblah
> 
> I import this in LyX.
> 
> Then I export the .lyx file to plain latex (.tex) and I find this line:
> \lipsum{[}11]
> 
> This seems to be due to the fact \lipsum command don't take arguments  
> but a unique optional argument (between square brackets). So LyX may  
> consider, as no '{' was found after \lipsum, that lipsum command  
> takes the next char as argument (the opening square bracket) and puts  
> it between accolades. Maybe there is a way to fix this a simple way?

You must teach LyX the syntax of your command. The most simple way is
copying the syntax.default file from the system directory to your personal
.lyx directory and add at the very bottom the single line

\lipsum[]

However, if you do so, from now on the system syntax.default file is not
read anymore, which may be a problem when you upgrade. So, it is better
that you create a file containing only the line above and then modify
the LaTeX->LyX converter in Tools->Preferences->Converters. Most probably
this converter is defined as "tex2lyx -f $$i $$o" and you should change it
to read "tex2lyx -s /path/to/your/syntax.file -f $$i $$o", where
/path/to/your/syntax.file is the file above containing that single line
(of course you can also add to it the syntax of other commands, one per line).
If you are on *nix, "man tex2lyx" is your friend.

HTH

-- 
Enrico