]> git.lyx.org Git - features.git/commitdiff
modernCV.lyx: add important compilation notes
authorUwe Stöhr <uwestoehr@lyx.org>
Mon, 28 Jan 2013 23:17:35 +0000 (00:17 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Mon, 28 Jan 2013 23:17:35 +0000 (00:17 +0100)
- thanks to Jürgen, I could now resolve the bug why the compilation of modernCV failed for certain themes

- moderncv.layout: a whitespace fix

lib/examples/modernCV.lyx
lib/layouts/moderncv.layout
status.20x

index 57ae534a5eb92617c9fd32b9606cefc008e93082..80bf1cb06285b3e3ebf64bd3cad09037f00c8a23 100644 (file)
@@ -9,7 +9,7 @@
 
 % required
 \moderncvtheme[blue]{classic}
-% possible themes are "classic" and "casual"
+% possible themes are 'classic', 'casual', 'oldstyle' and 'banking'
 % optional argument are 'blue' (default), 'orange', 'red', 'green', 'grey' and 'roman' (for roman fonts, instead of sans serif fonts)
 
 % required
@@ -22,8 +22,9 @@
 
 % optional
 % \address{street and number}{postcode city}
-% '\\' adds a line break
-\address{Teststreet 17}{03333 Nicecity\protect\\[0.1em] Switzerland\protect\\[0.2em]}
+% only with the classic theme you can add a line break with
+% \protect\\
+\address{Teststreet 17}{03333 Nicecity Switzerland}
 
 % optional
 \phone{+43(0)999 9999}
@@ -422,6 +423,24 @@ status collapsed
 \end_inset
 
 Maintainer of the xxx documentation
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ If you use the 
+\emph on
+banking
+\emph default
+ theme, no linebreaks are allowed in entries.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Entry
index 332a5267d51aa0012915e957ef7141e816a2fe80..84c4e2d8b647d28e6c17fb02610b36c2ace313cb 100644 (file)
@@ -69,7 +69,7 @@ Style Entry
        Margin          Dynamic
        LatexType       Command
        LatexName       cventry
-       OptionalArgs            1
+       OptionalArgs    1
        ParSkip         0.4
        Align           Block
        LabelSep        xx
index edff7ccd407e47925fdf10d2fa3ff71b00f2f457..6818b735277810dcf71cf52fc19aae5548a364b7 100644 (file)
@@ -125,6 +125,8 @@ What's new
 
 - Make the thesis template compilable again.
 
+- Fix compilation of modernCV example file for all themes.
+
 
 * LYXHTML