Re: Issue with ModernCV class

2022-03-25 Thread Rich Shepard via lyx-users

On Fri, 25 Mar 2022, Jürgen Spitzmüller via lyx-users wrote:


Language default for English in LyX 2.3 is latin9 (ISO-8859-15). This is
independent of your OS defaults. IIRC ModernCV internally forces utf8,
which causes an inputenc clash.


Jürgen,

Okay; I've no quibble with this. However, I've not before had any issues
with using 'Language defaults'. But, I did make the change.

Thank you,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Issue with ModernCV class

2022-03-25 Thread Jürgen Spitzmüller via lyx-users
Am Freitag, dem 25.03.2022 um 05:55 -0700 schrieb Rich Shepard via lyx-
users:
> The encoding is set to language default, and the system is set to
> UTF-8 for English.

Language default for English in LyX 2.3 is latin9 (ISO-8859-15). This
is independent of your OS defaults. IIRC ModernCV internally forces
utf8, which causes an inputenc clash.

LyX 2.4.0 will switch to utf8 as default for all languages.

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Issue with ModernCV class

2022-03-25 Thread Rich Shepard via lyx-users

On Fri, 25 Mar 2022, Jürgen Spitzmüller via lyx-users wrote:


Try to set the encoding to "Unicode (utf8)" in Document > Language.


Jürgen,

The encoding is set to language default, and the system is set to UTF-8 for
English.

And it was the page headings not being set to 'Default' that caused the
problems.

Thanks,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Issue with ModernCV class [FIXED]

2022-03-25 Thread Rich Shepard via lyx-users

On Thu, 24 Mar 2022, Paul A. Rubin via lyx-users wrote:


Compiling your MWE, I did not run into the error message you mentioned. I
did get an "Undefined control sequence" error for the line
"\pagestyle{headings}", which I believe is caused by the fact that the
Modern CV class, unlike say the standard article class, does not define a
heading style. In Documents > Settings > Page Layout, I changed the "Page
style:" selection from "headings" to "Default", after which the MWE
compiled. (Whether it looks right is left to the reader as an exercise.)


Paul,

Thank you. For some reason the 'Page style' originally was Fancy and I
changed it to Headings. Just now changed it to Default.

Saved the document and compiled. An error appeared saying section headings
were inappropriate, but there are no section headings specified. Recompiled
and it completed without errors. Shrug.

How it changed since the last time I edited it several years ago I've no
idea. But now it's fixed.

Carpe weekend,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Issue with ModernCV class

2022-03-25 Thread Jürgen Spitzmüller via lyx-users
Am Donnerstag, dem 24.03.2022 um 16:21 -0700 schrieb Rich Shepard via
lyx-users:
> In my resume using the Modern CV class the preamble has no fancyhdr
> package specified, yet there's still an error; the displayed message
> box shows, 'option class for package inputenc'.

Try to set the encoding to "Unicode (utf8)" in Document > Language.

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Issue with ModernCV class

2022-03-24 Thread Paul A. Rubin via lyx-users

On 3/24/22 19:21, Rich Shepard via lyx-users wrote:
In my resume using the Modern CV class the preamble has no fancyhdr 
package

specified, yet there's still an error; the displayed message box shows,
'option class for package inputenc'. And it seems to find the fancyhdr
package although it's not called for in the preamble.

A MWE is attached.

TIA,

Rich


Rich,

Compiling your MWE, I did not run into the error message you mentioned. 
I did get an "Undefined control sequence" error for the line 
"\pagestyle{headings}", which I believe is caused by the fact that the 
Modern CV class, unlike say the standard article class, does not define 
a heading style. In Documents > Settings > Page Layout, I changed the 
"Page style:" selection from "headings" to "Default", after which the 
MWE compiled. (Whether it looks right is left to the reader as an exercise.)


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users