Thanks Xavier,

Indeed it *is* working directly from lyx with the "\recomputelengths"
command.

I just did not realize my outer margin was set at 0.25! Everything is
looking fine now.

Thanks so much for your help.

I'll send you a diff for the brown colour in another email.

Thanks to Richard for helping me with this also.

B.

Xavier Danaux wrote:
> Hi Ben,
> 
> 
> Your file compiles perfectly fine on my computer! There is only a small
> bug in the alignment of the contact details (due to the spacing for the
> photo), that is corrected in the attached theme file (to be released as
> soon as I get back from holidays and correct some other small bugs).
> 
> I've attached your .tex file and the .pdf compilation I get, both for
> 0.25in and 1in as right margin. If there is still a bug that I haven't
> spotted, just let me know.
> 
> Cheers,
> 
> 
> Xavier
> 
> 
> On Fri, Oct 24, 2008 at 1:47 PM, B. Bogart <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     Thanks Xavier,
> 
>     Line 9 is generated by LyX.
> 
>     I tried adding \recomputelengths in various places (just before the bib,
>     right at the top of the document) in my LyX document as tex code, which
>     does not result in any change in appearance (lines still wrap long).
> 
>     So I tried inserting the command directly after line 9 in the tex file I
>     sent (generated from lyx, attached) and STILL I don't see any change in
>     appearance. I even dropped my hacked moderncv for the official one, and
>     still the \recomputelengths commands seems to make no difference.
> 
>     I've attached the modified tex file (with \recomputelengths) and my bib
>     again.
> 
>     I'm generating a PDF like so:
> 
>     latex Ben-Bogart-cv
>     bibtex Ben-Bogart-cv
>     pdflatex Ben-Bogart-cv
> 
>     Here is the version info for these tools:
>     (Maybe your solution is only working in different versions??)
> 
>     [EMAIL PROTECTED]:~/tmp/cv$ latex -v
>     pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
>     kpathsea version 3.5.6
>     Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
>     Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
>     There is NO warranty.  Redistribution of this software is
>     covered by the terms of both the pdfTeX using libpoppler copyright and
>     the Lesser GNU General Public License.
>     For more information about these matters, see the file
>     named COPYING and the pdfTeX using libpoppler source.
>     Primary author of pdfTeX using libpoppler: Peter Breitenlohner
>     (eTeX)/Han The Thanh (pdfTeX).
>     Kpathsea written by Karl Berry, Olaf Weber, and others.
> 
>     Compiled with libpng 1.2.15beta5; using libpng 1.2.15beta5
>     Compiled with zlib 1.2.3.3 <http://1.2.3.3>; using zlib 1.2.3.3
>     <http://1.2.3.3>
>     Compiled with libpoppler version 3.00
> 
>     [EMAIL PROTECTED]:~/tmp/cv$ bibtex -v
>     BibTeX 0.99c (Web2C 7.5.6)
>     kpathsea version 3.5.6
>     Copyright 2007 Oren Patashnik.
>     Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
>     There is NO warranty.  Redistribution of this software is
>     covered by the terms of both the BibTeX copyright and
>     the Lesser GNU General Public License.
>     For more information about these matters, see the file
>     named COPYING and the BibTeX source.
>     Primary author of BibTeX: Oren Patashnik.
>     Kpathsea written by Karl Berry, Olaf Weber, and others.
> 
>     [EMAIL PROTECTED]:~/tmp/cv$ pdflatex -v
>     pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
>     kpathsea version 3.5.6
>     Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
>     Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
>     There is NO warranty.  Redistribution of this software is
>     covered by the terms of both the pdfTeX using libpoppler copyright and
>     the Lesser GNU General Public License.
>     For more information about these matters, see the file
>     named COPYING and the pdfTeX using libpoppler source.
>     Primary author of pdfTeX using libpoppler: Peter Breitenlohner
>     (eTeX)/Han The Thanh (pdfTeX).
>     Kpathsea written by Karl Berry, Olaf Weber, and others.
> 
>     Compiled with libpng 1.2.15beta5; using libpng 1.2.15beta5
>     Compiled with zlib 1.2.3.3 <http://1.2.3.3>; using zlib 1.2.3.3
>     <http://1.2.3.3>
>     Compiled with libpoppler version 3.00
> 
>     I'm lost here...
> 
>     I'm posting back to the lyx list as I think it would be useful for
>     people to be able to use moderncv with lyx in the future without all
>     these issues!
> 
>     Thanks,
>     B. Bogart
> 
>     Xavier Danaux wrote:
>     > Hi Ben,
>     >
>     >
>     > Sorry again for being out of touch. But I solved the problem :-)
>     >
>     > The "problem" is that you are modifying the page geometry by using the
>     > "geometry" package (see line 9 in the .tex file).
>     > In order for moderncv to adapt its inner lengths, you should then call
>     > \recomputelengths. Just add this command after line 9 and everything
>     > will be fine :-)
>     >
>     > I'll add a hook to automatically call \recomputelengths at the
>     beginning
>     > of a document in the next version to avoid the need to manually call
>     > this \recomputelenghts.
>     >
>     > Good luck!
>     >
>     >
>     > Xavier
>     >
>     >
>     > On Wed, Oct 22, 2008 at 5:27 PM, B. Bogart <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>     > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
>     >
>     >     Hello Xavier,
>     >
>     >     Any luck with this strange behaviour?
>     >
>     >     I need to submit my CV by the end of the week.
>     >
>     >     Thanks for your help.
>     >     B. Bogart
>     >
>     >     rgheck wrote:
>     >     > Xavier Danaux wrote:
>     >     >> Hi Ben,
>     >     >>
>     >     >>
>     >     >> Sorry for not being very responsive as I am on holiday for the
>     >     moment.
>     >     >> I am however in Montreal for the moment and have internet
>     access
>     >     every
>     >     >> day (oh joy :-)).
>     >     >>
>     >     >> Is there any chance you can export a .tex file from Lyx and
>     send
>     >     it to
>     >     >> me? I tried modifying the example attached with the package
>     to have a
>     >     >> bib entry longer than 1 line, but the line wrapped
>     correctly when I
>     >     >> compiled. If you can export a .tex version, I could compile it,
>     >     >> reproduce the bug and try to solve it.
>     >     >>
>     >     > Here's what Ben sent me. I get the same bug he reported.
>     >     >
>     >     > rh
>     >     >
>     >
>     >
>     >
>     >
>     > --
>     > Xavier Danaux
>     > Rue Van Campenhout, 19
>     > 1000 Brussels, Belgium
>     > tel: + 32 477 480 136
>     > e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>     <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> 
> 
> 
> 
> -- 
> Xavier Danaux
> Rue Van Campenhout, 19
> 1000 Brussels, Belgium
> tel: + 32 477 480 136
> e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 

Reply via email to