]> git.lyx.org Git - features.git/commitdiff
Capitalization fix.
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 18 Mar 2013 14:06:49 +0000 (15:06 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 18 Mar 2013 14:06:49 +0000 (15:06 +0100)
This would be a file format change, but since the previous version is just two hours old, I will do without.

lib/examples/powerdot-example.lyx
lib/layouts/powerdot.layout
lib/lyx2lyx/lyx_2_1.py

index 9ab9d1d3d6af079bfeadcb9d41bba3c5eb351da7..2d970cf889a634966d5b861da918bfaacef3cafe 100644 (file)
 
 \begin_body
 
-\begin_layout Title
-A LyX sample
+\begin_layout Standard
 \begin_inset Note Note
 status open
 
 \begin_layout Plain Layout
 
 \series bold
-Note:
+\size larger
+Notes
+\end_layout
+
+\begin_layout Enumerate
+
+\series bold
+Output Format:
 \series default
- Powerdot does not work with PDF
-\begin_inset space ~
+ Powerdot heavily draws on 
+\begin_inset Quotes eld
 \end_inset
 
-(pdflatex).
- The view PDF button uses PDF
-\begin_inset space ~
+postscript code
+\begin_inset Quotes erd
 \end_inset
 
-(ps2pdf), but you can also use the method or PDF
+.
+ Thus, it does 
+\series bold
+not work with PDF
 \begin_inset space ~
 \end_inset
 
-(dvipdfm) via the menus or the 
+(pdflatex)
+\series default
+.
+ The 
+\begin_inset Quotes eld
+\end_inset
+
+View
+\begin_inset Quotes erd
+\end_inset
+
+ button uses 
+\emph on
+ps2pdf
+\emph default
+ to generate a PDF, which is the recommended method.
+ Via the menus or the 
 \begin_inset Quotes eld
 \end_inset
 
@@ -107,53 +131,76 @@ View other formats
 \begin_inset Quotes erd
 \end_inset
 
- button.
- For more informations, please read the 
-\series bold
-powerdot
-\series default
- manual.
+ button, you can use other output formats.
+ However, the only sensible alternative is 
+\emph on
+Postscript
+\emph default
+ itself.
+\emph on
+PDF
+\begin_inset space ~
+\end_inset
+
+(dvipdfm)
+\emph default
+ compiles, but most likely does not produce correct output.
+ The same applies to 
+\emph on
+DVI
+\emph default
+.
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Enumerate
 
 \series bold
-Note:
+Options:
 \series default
- Depending on your LaTeX-system you might have to add the option 
-\begin_inset Quotes fld
+ Depending on your LaTeX system you might have to add the option 
+\begin_inset Quotes eld
 \end_inset
 
 dvips
-\begin_inset Quotes frd
+\begin_inset Quotes erd
 \end_inset
 
- to the document class options to get proper DVI output.
+ to the document class options (
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+\SpecialChar \ldots{}
+Document Class\SpecialChar \menuseparator
+Class Options\SpecialChar \menuseparator
+Custom
+\family default
+) to get proper output.
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Enumerate
 
 \series bold
-Note:
+Compatibility:
 \series default
  
-\series bold
-powerdot
-\series default
+\emph on
+Powerdot
+\emph default
  version <= 1.4g is incompatible with 
-\series bold
+\emph on
 enumitem
-\series default
+\emph default
  version 3.5.
  If you get 
-\family typewriter
+\emph on
 enumitem
-\family default
+\emph default
  errors, make sure to download 
-\series bold
+\emph on
 powerdot
-\series default
- version 1.4h (2011/09/15) from CTAN.
+\emph default
+ version 1.4h (2011/09/15) or a later version from CTAN.
 \end_layout
 
 \end_inset
@@ -161,6 +208,10 @@ powerdot
 
 \end_layout
 
+\begin_layout Title
+A LyX sample
+\end_layout
+
 \begin_layout Author
 Mael HillĂ©reau 
 \begin_inset ERT
@@ -325,11 +376,27 @@ Text Style to access the
 \begin_inset Quotes eld
 \end_inset
 
+Onslide
+\begin_inset Quotes erd
+\end_inset
+
+ (
+\begin_inset Quotes eld
+\end_inset
+
 visible
 \begin_inset Quotes erd
 \end_inset
 
-, 
+), 
+\begin_inset Quotes eld
+\end_inset
+
+Onslide*
+\begin_inset Quotes erd
+\end_inset
+
+ (
 \begin_inset Quotes eld
 \end_inset
 
@@ -337,7 +404,15 @@ only
 \begin_inset Quotes erd
 \end_inset
 
- and 
+) and 
+\begin_inset Quotes eld
+\end_inset
+
+Onslide+
+\begin_inset Quotes erd
+\end_inset
+
+ (
 \begin_inset Quotes eld
 \end_inset
 
@@ -345,7 +420,7 @@ uncover
 \begin_inset Quotes erd
 \end_inset
 
- insets which correspond to powerdot's various 
+) insets which correspond to powerdot's various 
 \family typewriter
 
 \backslash
@@ -358,18 +433,20 @@ onslide
 \begin_inset Quotes eld
 \end_inset
 
-visible
+Onslide
 \begin_inset Quotes erd
 \end_inset
 
  (
-\family typewriter
+\begin_inset Quotes eld
+\end_inset
+
+visible
+\begin_inset Quotes erd
+\end_inset
 
-\backslash
-onslide
-\family default
 ): This 
-\begin_inset Flex onslide
+\begin_inset Flex Onslide
 status open
 
 \begin_layout Plain Layout
@@ -395,18 +472,20 @@ makes hidden text
 \begin_inset Quotes eld
 \end_inset
 
-only
+Onslide*
 \begin_inset Quotes erd
 \end_inset
 
  (
-\family typewriter
+\begin_inset Quotes eld
+\end_inset
+
+only
+\begin_inset Quotes erd
+\end_inset
 
-\backslash
-onslide*
-\family default
 ): This 
-\begin_inset Flex onslide*
+\begin_inset Flex Onslide*
 status open
 
 \begin_layout Plain Layout
@@ -431,18 +510,20 @@ shows previously invisible text
 \begin_inset Quotes eld
 \end_inset
 
-uncover
+Onslide+
 \begin_inset Quotes erd
 \end_inset
 
  (
-\family typewriter
+\begin_inset Quotes eld
+\end_inset
+
+uncover
+\begin_inset Quotes erd
+\end_inset
 
-\backslash
-onslide+
-\family default
 ): This 
-\begin_inset Flex onslide+
+\begin_inset Flex Onslide+
 status open
 
 \begin_layout Plain Layout
index bfe295ae3e9bac69a47ea894bd76cf4db5d800cb..93223a64117c057a359ed7b569868aa7ed0da625 100644 (file)
@@ -564,7 +564,7 @@ End
 # Charstyle definitions
 ###
 
-InsetLayout Flex:onslide
+InsetLayout Flex:Onslide
   LyXType          charstyle
   LabelString      "Visible"
   LatexType        command
@@ -578,14 +578,14 @@ InsetLayout Flex:onslide
   EndArgument
 End
 
-InsetLayout Flex:onslide+
-  CopyStyle        Flex:onslide
+InsetLayout Flex:Onslide+
+  CopyStyle        Flex:Onslide
   LatexName        onslide+
   LabelString      "Uncover"
 End
 
-InsetLayout Flex:onslide*
-  CopyStyle        Flex:onslide
+InsetLayout Flex:Onslide*
+  CopyStyle        Flex:Onslide
   LatexName        onslide*
   LabelString      "Only"
 End
index fce5b43a15c03db268f9bc106f15568e347d5477..771748e093f054bfd0e391c7bd35b4b5f13e8b38 100644 (file)
@@ -3837,9 +3837,9 @@ def revert_powerdot_flexes(document):
     if document.textclass != "powerdot":
         return
 
-    flexes = {"onslide" : "\\onslide",
-              "onslide*" : "\\onslide*",
-              "onslide+" : "\\onslide+"}
+    flexes = {"Onslide" : "\\onslide",
+              "Onslide*" : "\\onslide*",
+              "Onslide+" : "\\onslide+"}
     rx = re.compile(r'^\\begin_inset Flex (.+)$')
 
     i = 0