LyXLayout file is not visible

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Gabbe
Posts: 7
Joined: Wed Oct 13, 2010 1:37 pm

Layout file is not visible

Post by Gabbe »

I saved http://wiki.lyx.org/uploads/Examples/CV/cv_JMarc.layout among layout-files in Lyx, but when I want to choose New from template I cannot find it. :? What can I do?
Last edited by Gabbe on Fri Oct 15, 2010 9:52 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Layout file is not visible

Post by meho_r »

From LyX wiki:
This page points to user-provided layouts (a.k.a. document classes)...
So, you should:

1. put .layout files into "layouts" folder in your user directory

2. reconfigure LyX: Tools > Reconfigure

3. close LyX and open it again

4. look for new layout files in Documents > Settings > Document Class.
Gabbe
Posts: 7
Joined: Wed Oct 13, 2010 1:37 pm

Re: Layout file is not visible

Post by Gabbe »

Thank you for your help, it works. Now please tell me, what is the next step. As you see, I didn't make it so well.
Attachments
lyxcv.jpg
lyxcv.jpg (86.74 KiB) Viewed 4514 times
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Layout file is not visible

Post by meho_r »

Looks like an encoding problem. Can you post a Minimal Working Example (MWE), please?
Gabbe
Posts: 7
Joined: Wed Oct 13, 2010 1:37 pm

Re: Layout file is not visible

Post by Gabbe »

Sorry, that was too long for me to read about MWE, but I hope these file are suitable. However, they are minimal. Please, tell me if it is something else I need to send, in that case I shall read the MWE-article.
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Layout file is not visible

Post by meho_r »

Well, Board Rules, Avoidable mistakes, Obsolete Packages and Minimal Working Example (MWE) are a must-read for every user here ;) By following these guides you'll save yourself as well as others from frustrations and unnecessary waste of time and energy (not to mention a quick and precise response to your question).

For now, create a .lyx file containing some example text which, when compiled, produces that error you mentioned. Then put that .lyx file into a ZIP archive and attach it to your next post.
Gabbe
Posts: 7
Joined: Wed Oct 13, 2010 1:37 pm

Re: Layout file is not visible

Post by Gabbe »

I attach the file zipped here.
Attachments
curriculumvitae.zip
(701 Bytes) Downloaded 135 times
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Layout file is not visible

Post by meho_r »

1. The package graphicx is needed for the logo. Put into the preamble:

Code: Select all

\usepackage{graphicx}
2. Put an "End" of CV into the document too.

3. In Document Settings > Language you may have to set encoding to utf8x.

For more infos consult europecv documentation.
Attachments
curriculumvitae.lyx.zip
(720 Bytes) Downloaded 136 times
Gabbe
Posts: 7
Joined: Wed Oct 13, 2010 1:37 pm

Re: Layout file is not visible

Post by Gabbe »

EDITED I could find Latex preamble in Cocument>Settings. I pasted it in and the I've a message tbat tbe europasslogo is missing. I suppose, it will be solved, but it is still wrong.
Thank for your help.
Post Reply