Re: Editing modernCV LaTeX source and style file

2007-12-10 Thread Andreas K .
I have filed a bug report on http://bugzilla.lyx.org/show_bug.cgi?id=4415 
where I also suggest a temporary work around.

Andreas



Re: Editing modernCV LaTeX source and style file

2007-12-10 Thread Andreas K .
I have filed a bug report on http://bugzilla.lyx.org/show_bug.cgi?id=4415 
where I also suggest a temporary work around.

Andreas



Re: Editing modernCV LaTeX source and style file

2007-12-10 Thread Andreas K .
I have filed a bug report on http://bugzilla.lyx.org/show_bug.cgi?id=4415 
where I also suggest a temporary work around.

Andreas



Re: Editing modernCV LaTeX source and style file

2007-12-02 Thread Liviu Andronic
On 11/28/07, Dave Hewitt [EMAIL PROTECTED] wrote:
   A simple change to two lines of the 'moderncvthemeclassic.sty' style file
   fixes this. Can I just edit the style file in my MikTeX directory and save
   over it? Alternatively, if I create a modified style file and save it in
   that same directory, how do I tell LyX to use that one instead?
 
 Best, thing, probably, backup your current .sty file and modify the
 one you leave for TeX and LyX to work with (that is, the original
 one). Since the file is already known to the TeX distribution and LyX,
 I imagine that no Windows equivalent to Linux texhash in a Terminal
 nor a LyX Tools  Reconfigure are required.

 I just hacked a copy of the original and put it in the same directory as
 the modified .tex file, and pdflatex found it and all played well together.

Would it be possible for you to post the hacked .sty file? I imagine
that somewhere here [1] would be a good place.

[1] http://wiki.lyx.org/Examples/CV

Regards,
Liviu


Re: Editing modernCV LaTeX source and style file

2007-12-02 Thread Liviu Andronic
On 11/28/07, Dave Hewitt [EMAIL PROTECTED] wrote:
   A simple change to two lines of the 'moderncvthemeclassic.sty' style file
   fixes this. Can I just edit the style file in my MikTeX directory and save
   over it? Alternatively, if I create a modified style file and save it in
   that same directory, how do I tell LyX to use that one instead?
 
 Best, thing, probably, backup your current .sty file and modify the
 one you leave for TeX and LyX to work with (that is, the original
 one). Since the file is already known to the TeX distribution and LyX,
 I imagine that no Windows equivalent to Linux texhash in a Terminal
 nor a LyX Tools  Reconfigure are required.

 I just hacked a copy of the original and put it in the same directory as
 the modified .tex file, and pdflatex found it and all played well together.

Would it be possible for you to post the hacked .sty file? I imagine
that somewhere here [1] would be a good place.

[1] http://wiki.lyx.org/Examples/CV

Regards,
Liviu


Re: Editing modernCV LaTeX source and style file

2007-12-02 Thread Liviu Andronic
On 11/28/07, Dave Hewitt <[EMAIL PROTECTED]> wrote:
> > > A simple change to two lines of the 'moderncvthemeclassic.sty' style file
> > > fixes this. Can I just edit the style file in my MikTeX directory and save
> > > over it? Alternatively, if I create a modified style file and save it in
> > > that same directory, how do I tell LyX to use that one instead?
> >
> >Best, thing, probably, backup your current .sty file and modify the
> >one you leave for TeX and LyX to work with (that is, the original
> >one). Since the file is already known to the TeX distribution and LyX,
> >I imagine that no Windows equivalent to Linux "texhash" in a Terminal
> >nor a LyX "Tools > Reconfigure" are required.
>
> I just hacked a copy of the original and put it in the same directory as
> the modified .tex file, and pdflatex found it and all played well together.

Would it be possible for you to post the hacked .sty file? I imagine
that somewhere here [1] would be a good place.

[1] http://wiki.lyx.org/Examples/CV

Regards,
Liviu


Re: Editing modernCV LaTeX source and style file

2007-11-28 Thread Liviu Andronic
On 11/28/07, Dave Hewitt [EMAIL PROTECTED] wrote:
 If not, do you have to export, change, save, and then import back to LyX?
 After doing that, will the blank lines not return upon subsequent saves?

This would seem the best way to go, under current conditions. Export
to .tex, remove the spaces and import it again. Never tried, so just
might work.

 The obvious short-term answer to get around this is to export the .tex
 file, edit it, then run LaTeX on it to get the PDF. I'm ashamed to say I
 have no idea how to make that happen, inside or outside of LyX. My only
 experience with LaTeX is through LyX w/ MikTeX.

Don't know how it works under Windows. You should look on the
Internet; related information should readily be available. Wikibooks
at least has a comprehensive LaTeX manual.


 A simple change to two lines of the 'moderncvthemeclassic.sty' style file
 fixes this. Can I just edit the style file in my MikTeX directory and save
 over it? Alternatively, if I create a modified style file and save it in
 that same directory, how do I tell LyX to use that one instead?

Best, thing, probably, backup your current .sty file and modify the
one you leave for TeX and LyX to work with (that is, the original
one). Since the file is already known to the TeX distribution and LyX,
I imagine that no Windows equivalent to Linux texhash in a Terminal
nor a LyX Tools  Reconfigure are required.

Regards,
Liviu


Re: Editing modernCV LaTeX source and style file

2007-11-28 Thread Dave Hewitt



On 11/28/07, Dave Hewitt [EMAIL PROTECTED] wrote:
 If not, do you have to export, change, save, and then import back to LyX?
 After doing that, will the blank lines not return upon subsequent saves?


This would seem the best way to go, under current conditions. Export
to .tex, remove the spaces and import it again. Never tried, so just
might work.


Doesn't work. The modernCV class does a fair number of odd things with ERT, 
and apparently LyX doesn't like it. Even if you export the working .tex 
file and import it without making any changes, LyX changes some things upon 
import (and it fails to work with LaTeX). It also re-inserts the extra 
spaces that were a problem before if you do edit those out before importing.


So you can't edit out the blank lines unless you move to running pdflatex 
on it yourself (which I did figure out how to do from a command line). The 
only trouble was that line breaks I had specified in LyX were gone, and I 
couldn't use \newpage or \pagebreak to make them happen. Odd. I used 
\vspace to push things down and that worked.




 The obvious short-term answer to get around this is to export the .tex
 file, edit it, then run LaTeX on it to get the PDF. I'm ashamed to say I
 have no idea how to make that happen, inside or outside of LyX. My only
 experience with LaTeX is through LyX w/ MikTeX.

Don't know how it works under Windows. You should look on the
Internet; related information should readily be available. Wikibooks
at least has a comprehensive LaTeX manual.

 A simple change to two lines of the 'moderncvthemeclassic.sty' style file
 fixes this. Can I just edit the style file in my MikTeX directory and save
 over it? Alternatively, if I create a modified style file and save it in
 that same directory, how do I tell LyX to use that one instead?

Best, thing, probably, backup your current .sty file and modify the
one you leave for TeX and LyX to work with (that is, the original
one). Since the file is already known to the TeX distribution and LyX,
I imagine that no Windows equivalent to Linux texhash in a Terminal
nor a LyX Tools  Reconfigure are required.


I just hacked a copy of the original and put it in the same directory as 
the modified .tex file, and pdflatex found it and all played well together.


Not an elegant solution, but it works.

Dave



Re: Editing modernCV LaTeX source and style file

2007-11-28 Thread Liviu Andronic
On 11/28/07, Dave Hewitt [EMAIL PROTECTED] wrote:
 If not, do you have to export, change, save, and then import back to LyX?
 After doing that, will the blank lines not return upon subsequent saves?

This would seem the best way to go, under current conditions. Export
to .tex, remove the spaces and import it again. Never tried, so just
might work.

 The obvious short-term answer to get around this is to export the .tex
 file, edit it, then run LaTeX on it to get the PDF. I'm ashamed to say I
 have no idea how to make that happen, inside or outside of LyX. My only
 experience with LaTeX is through LyX w/ MikTeX.

Don't know how it works under Windows. You should look on the
Internet; related information should readily be available. Wikibooks
at least has a comprehensive LaTeX manual.


 A simple change to two lines of the 'moderncvthemeclassic.sty' style file
 fixes this. Can I just edit the style file in my MikTeX directory and save
 over it? Alternatively, if I create a modified style file and save it in
 that same directory, how do I tell LyX to use that one instead?

Best, thing, probably, backup your current .sty file and modify the
one you leave for TeX and LyX to work with (that is, the original
one). Since the file is already known to the TeX distribution and LyX,
I imagine that no Windows equivalent to Linux texhash in a Terminal
nor a LyX Tools  Reconfigure are required.

Regards,
Liviu


Re: Editing modernCV LaTeX source and style file

2007-11-28 Thread Dave Hewitt



On 11/28/07, Dave Hewitt [EMAIL PROTECTED] wrote:
 If not, do you have to export, change, save, and then import back to LyX?
 After doing that, will the blank lines not return upon subsequent saves?


This would seem the best way to go, under current conditions. Export
to .tex, remove the spaces and import it again. Never tried, so just
might work.


Doesn't work. The modernCV class does a fair number of odd things with ERT, 
and apparently LyX doesn't like it. Even if you export the working .tex 
file and import it without making any changes, LyX changes some things upon 
import (and it fails to work with LaTeX). It also re-inserts the extra 
spaces that were a problem before if you do edit those out before importing.


So you can't edit out the blank lines unless you move to running pdflatex 
on it yourself (which I did figure out how to do from a command line). The 
only trouble was that line breaks I had specified in LyX were gone, and I 
couldn't use \newpage or \pagebreak to make them happen. Odd. I used 
\vspace to push things down and that worked.




 The obvious short-term answer to get around this is to export the .tex
 file, edit it, then run LaTeX on it to get the PDF. I'm ashamed to say I
 have no idea how to make that happen, inside or outside of LyX. My only
 experience with LaTeX is through LyX w/ MikTeX.

Don't know how it works under Windows. You should look on the
Internet; related information should readily be available. Wikibooks
at least has a comprehensive LaTeX manual.

 A simple change to two lines of the 'moderncvthemeclassic.sty' style file
 fixes this. Can I just edit the style file in my MikTeX directory and save
 over it? Alternatively, if I create a modified style file and save it in
 that same directory, how do I tell LyX to use that one instead?

Best, thing, probably, backup your current .sty file and modify the
one you leave for TeX and LyX to work with (that is, the original
one). Since the file is already known to the TeX distribution and LyX,
I imagine that no Windows equivalent to Linux texhash in a Terminal
nor a LyX Tools  Reconfigure are required.


I just hacked a copy of the original and put it in the same directory as 
the modified .tex file, and pdflatex found it and all played well together.


Not an elegant solution, but it works.

Dave



Re: Editing modernCV LaTeX source and style file

2007-11-28 Thread Liviu Andronic
On 11/28/07, Dave Hewitt <[EMAIL PROTECTED]> wrote:
> If not, do you have to export, change, save, and then import back to LyX?
> After doing that, will the blank lines not return upon subsequent saves?

This would seem the best way to go, under current conditions. Export
to .tex, remove the spaces and import it again. Never tried, so just
might work.

> The obvious short-term answer to get around this is to export the .tex
> file, edit it, then run LaTeX on it to get the PDF. I'm ashamed to say I
> have no idea how to make that happen, inside or outside of LyX. My only
> experience with LaTeX is through LyX w/ MikTeX.

Don't know how it works under Windows. You should look on the
Internet; related information should readily be available. Wikibooks
at least has a comprehensive LaTeX manual.


> A simple change to two lines of the 'moderncvthemeclassic.sty' style file
> fixes this. Can I just edit the style file in my MikTeX directory and save
> over it? Alternatively, if I create a modified style file and save it in
> that same directory, how do I tell LyX to use that one instead?

Best, thing, probably, backup your current .sty file and modify the
one you leave for TeX and LyX to work with (that is, the original
one). Since the file is already known to the TeX distribution and LyX,
I imagine that no Windows equivalent to Linux "texhash" in a Terminal
nor a LyX "Tools > Reconfigure" are required.

Regards,
Liviu


Re: Editing modernCV LaTeX source and style file

2007-11-28 Thread Dave Hewitt



On 11/28/07, Dave Hewitt <[EMAIL PROTECTED]> wrote:
> If not, do you have to export, change, save, and then import back to LyX?
> After doing that, will the blank lines not return upon subsequent saves?


This would seem the best way to go, under current conditions. Export
to .tex, remove the spaces and import it again. Never tried, so just
might work.


Doesn't work. The modernCV class does a fair number of odd things with ERT, 
and apparently LyX doesn't like it. Even if you export the working .tex 
file and import it without making any changes, LyX changes some things upon 
import (and it fails to work with LaTeX). It also re-inserts the extra 
spaces that were a problem before if you do edit those out before importing.


So you can't edit out the blank lines unless you move to running pdflatex 
on it yourself (which I did figure out how to do from a command line). The 
only trouble was that line breaks I had specified in LyX were gone, and I 
couldn't use \newpage or \pagebreak to make them happen. Odd. I used 
\vspace to push things down and that worked.




> The obvious short-term answer to get around this is to export the .tex
> file, edit it, then run LaTeX on it to get the PDF. I'm ashamed to say I
> have no idea how to make that happen, inside or outside of LyX. My only
> experience with LaTeX is through LyX w/ MikTeX.

Don't know how it works under Windows. You should look on the
Internet; related information should readily be available. Wikibooks
at least has a comprehensive LaTeX manual.

> A simple change to two lines of the 'moderncvthemeclassic.sty' style file
> fixes this. Can I just edit the style file in my MikTeX directory and save
> over it? Alternatively, if I create a modified style file and save it in
> that same directory, how do I tell LyX to use that one instead?

Best, thing, probably, backup your current .sty file and modify the
one you leave for TeX and LyX to work with (that is, the original
one). Since the file is already known to the TeX distribution and LyX,
I imagine that no Windows equivalent to Linux "texhash" in a Terminal
nor a LyX "Tools > Reconfigure" are required.


I just hacked a copy of the original and put it in the same directory as 
the modified .tex file, and pdflatex found it and all played well together.


Not an elegant solution, but it works.

Dave