]> git.lyx.org Git - features.git/commitdiff
seminar.sty works also with non-TeX fonts but requires Babel.
authorGünter Milde <milde@lyx.org>
Tue, 8 Dec 2015 16:40:15 +0000 (17:40 +0100)
committerGünter Milde <milde@lyx.org>
Tue, 8 Dec 2015 16:46:50 +0000 (17:46 +0100)
Always-Babel now set in the example document.

Adapted the autotest categorization:
* fails for some developers (why?)
* wrong output with pdflatex/LuaTeX and DVI (missing landscape slides).

development/autotests/suspiciousTests
development/autotests/unreliableTests
lib/examples/fr/seminar.lyx
lib/examples/seminar.lyx

index cf1851e8ef7e1c3f3a9810e5c9bc3d8a275c9f83..689858fb7e1aba6955a28dd1b5ea9d127a68b5f0 100644 (file)
@@ -193,15 +193,6 @@ export/examples/aas_sample_(dvi3|pdf5)_(texF|systemF)
 export/examples/achemso_(dvi3|pdf5)_texF
 Sublabel: RESET
 #
-# GM: seminar.sty uses Postscript specials and does not work with
-# PDF (pdflatex). 
-# TODO: how to tag seminar_dvi? Landscape slides do not work with DVI.
-# Export to certain formats cannot be excluded from a module currently,
-# but even if they don't report an error, other formats result in corrupt
-# output documents (missing landscape slides).
-export/examples/(|fr/)seminar_pdf(2|[45]_systemF)
-#export/examples/(|fr/)seminar_dvi #not failing but wrong output
-#
 # GM: Korean? I don't expect this to work with Xe/Lua and TeXfonts.
 export/examples/ko/splash_(dvi3|pdf[45])_texF
 #
index fb417af3891953bac4b128a74ced32e728f8efb9..162a3766deda621ebcb059318566667c97b29414 100644 (file)
@@ -16,8 +16,12 @@ export/examples/fa/splash_(dvi|pdf|pdf[23]|(dvi3|pdf4|pdf5)_(texF|systemF))
 # package versions, or the phase of the moon.
 Sublabel: erratic
 # for unknonwn reasons, seminar fails at some places:
-export/examples/(|fr/)seminar_(dvi|pdf|pdf[23]|pdf4_texF)
+export/examples/(|fr/)seminar_.*
 #
-Sublabel: 1wrong 2dvi 3output
-export/examples/(|fr/)seminar_dvi3.*F #not failing but wrong output
+Sublabel: 1wrong 2output
+#
+# seminar.sty uses Postscript specials 
+# -> wrong output with pdflatex/LuaTeX and DVI (missing landscape slides).
+export/examples/(|fr/)seminar_pdf[25].*)
+export/examples/(|fr/)seminar_dvi.*
 #
index c9c83fcd983be2f93325cf0d69b08edd20007c55..43a8a1534d392205b2f1a55f83a85ad5de34156a 100644 (file)
@@ -12,7 +12,7 @@
 \use_default_options false
 \maintain_unincluded_children false
 \language french
-\language_package default
+\language_package babel
 \inputencoding auto
 \fontencoding global
 \font_roman "lmodern" "default"
@@ -88,15 +88,15 @@ Note:
 \family sans
 PDF (dvipdfm)
 \family default
- fonctionne correctement sur toutes les distributions \SpecialCharNoPassThru LaTeX
- pour visionner/expor
-ter en PDF.
+ fonctionne correctement sur toutes les distributions \SpecialChar LaTeX
+ pour visionner/exporter
+ en PDF.
  Visionner et exporter en DVI ou PS les documents 
 \family typewriter
 seminar
 \family default
  peut produire des résultats incorrects, en fonction de la distribution
- \SpecialCharNoPassThru LaTeX
+ \SpecialChar LaTeX
  et des visionneurs DVI ou PostScript
 \end_layout
 
@@ -128,10 +128,10 @@ beamer
 \end_layout
 
 \begin_layout LandscapeSlide
-
 \begin_inset Separator parbreak
 \end_inset
 
+
 \end_layout
 
 \begin_deeper
@@ -165,18 +165,17 @@ Harry Testman
 
 \end_deeper
 \begin_layout Standard
-
 \begin_inset Separator parbreak
 \end_inset
 
-\end_layout
 
+\end_layout
 
 \begin_layout LandscapeSlide
-
 \begin_inset Separator parbreak
 \end_inset
 
+
 \end_layout
 
 \begin_deeper
@@ -210,18 +209,17 @@ sem-user.dvi
 
 \end_deeper
 \begin_layout Standard
-
 \begin_inset Separator parbreak
 \end_inset
 
-\end_layout
 
+\end_layout
 
 \begin_layout PortraitSlide
-
 \begin_inset Separator parbreak
 \end_inset
 
+
 \end_layout
 
 \begin_deeper
@@ -261,18 +259,17 @@ Guide de l'utilisateur
 
 \end_deeper
 \begin_layout Standard
-
 \begin_inset Separator parbreak
 \end_inset
 
-\end_layout
 
+\end_layout
 
 \begin_layout LandscapeSlide
-
 \begin_inset Separator parbreak
 \end_inset
 
+
 \end_layout
 
 \begin_deeper
@@ -281,14 +278,13 @@ Que peut-on mettre dans un transparent?
 \end_layout
 
 \begin_layout Standard
-Pratiquement tout ce qui peut apparaître en \SpecialCharNoPassThru LaTeX
+Pratiquement tout ce qui peut apparaître en \SpecialChar LaTeX
  ordinaire peut aussi figurer
  dans un transparent.
 \end_layout
 
 \begin_layout Standard
-(Enfin, sauf les flottants \threehyphens
- qui en souhaiterait dans un transparent?)
+(Enfin, sauf les flottants — qui en souhaiterait dans un transparent?)
 \end_layout
 
 \begin_layout Standard
@@ -335,12 +331,11 @@ Ceux-ci figurent dans le menu déroulant des styles.
 
 \end_deeper
 \begin_layout Standard
-
 \begin_inset Separator parbreak
 \end_inset
 
-\end_layout
 
+\end_layout
 
 \begin_layout LandscapeSlide
 Le texte dans l'environnement 
@@ -349,10 +344,10 @@ DiapoPaysage
 \family default
  apparaîtra en haut du transparent comme un paragraphe ordinaire.
  
-\family default
 \begin_inset Separator parbreak
 \end_inset
 
+
 \end_layout
 
 \begin_deeper
@@ -361,7 +356,7 @@ Que se passe-t-il, si vous voulez une liste ou un titre en premier?
 \end_layout
 
 \begin_layout Standard
-Habituellement,\SpecialCharNoPassThru LyX
+Habituellement,\SpecialChar LyX
  n'apprécie pas les paragraphes vides et les fait disparaître
  avant que vous ayez le temps d'emboîter quelque chose dedans (si vous ne
  saisissez pas une commande vide ou une note).
@@ -373,7 +368,7 @@ seminar
 \family typewriter
 layout
 \family default
- instruit \SpecialCharNoPassThru LyX
+ instruit \SpecialChar LyX
  de laisser un environnement 
 \family sans
 DiapoPaysage
@@ -388,12 +383,11 @@ DiapoPortrait
 \begin_layout Standard
 Le style 
 \family sans
-\twohyphens
-Séparateur\twohyphens
+–Séparateur–
 \family default
- après un transparent est nécessaire car \SpecialCharNoPassThru LyX
- fusionne deux environnements
- identiques s'ils se succèdent immédiatement (e.
+ après un transparent est nécessaire car \SpecialChar LyX
+ fusionne deux environnements identique
+s s'ils se succèdent immédiatement (e.
 \begin_inset space \thinspace{}
 \end_inset
 
@@ -410,12 +404,11 @@ DiapoPaysage
 
 \end_deeper
 \begin_layout Standard
-
 \begin_inset Separator parbreak
 \end_inset
 
-\end_layout
 
+\end_layout
 
 \begin_layout Standard
 La classe 
@@ -449,8 +442,7 @@ reference "sli:output-options"
 \begin_layout Standard
 Le style 
 \family sans
-\twohyphens
-Séparateur\twohyphens
+–Séparateur–
 \family default
  n'est pas nécessaire, si les notes suivent le transparent (ou si une 
 \family sans
@@ -559,10 +551,10 @@ SommaireProgression
 \end_layout
 
 \begin_layout LandscapeSlide
-
 \begin_inset Separator parbreak
 \end_inset
 
+
 \end_layout
 
 \begin_deeper
@@ -572,18 +564,17 @@ SommaireProgression
 
 \end_deeper
 \begin_layout Standard
-
 \begin_inset Separator parbreak
 \end_inset
 
-\end_layout
 
+\end_layout
 
 \begin_layout LandscapeSlide
-
 \begin_inset Separator parbreak
 \end_inset
 
+
 \end_layout
 
 \begin_deeper
@@ -715,21 +706,20 @@ notslides{4,8,9,11}
 
 \end_deeper
 \begin_layout Standard
-
 \begin_inset Separator parbreak
 \end_inset
 
-\end_layout
 
+\end_layout
 
 \begin_layout SlideSubHeading
 Mise en page plus sophistiquée
 \end_layout
 
 \begin_layout Standard
-Le préambule \SpecialCharNoPassThru LaTeX
- est l'endroit adéquat pour ajouter de nombreuses options
pour sophistiquer la présentation, e.
+Le préambule \SpecialChar LaTeX
+ est l'endroit adéquat pour ajouter de nombreuses options pour
+ sophistiquer la présentation, e.
 \begin_inset space \thinspace{}
 \end_inset
 
@@ -745,6 +735,7 @@ g.les polices Iwona:
 \begin_inset Separator parbreak
 \end_inset
 
+
 \end_layout
 
 \begin_deeper
@@ -762,6 +753,7 @@ encadrements plus esthétiques:
 \begin_inset Separator parbreak
 \end_inset
 
+
 \end_layout
 
 \begin_deeper
@@ -792,25 +784,22 @@ slideframe[
 \backslash
 setlength{
 \backslash
-shadowsize}{1pt}]{shadow} 
-framecolor "black"
-backgroundcolor "none"
+shadowsize}{1pt}]{shadow} framecolor "black"backgroundcolor "none"
 \end_layout
 
 \end_deeper
 \begin_layout Standard
-
 \begin_inset Separator parbreak
 \end_inset
 
-\end_layout
 
+\end_layout
 
 \begin_layout LandscapeSlide
-
 \begin_inset Separator parbreak
 \end_inset
 
+
 \end_layout
 
 \begin_deeper
@@ -868,7 +857,7 @@ A4
 \begin_inset Quotes frd
 \end_inset
 
- (si ce n'est pas le format implicite de votre distribution \SpecialCharNoPassThru LaTeX
+ (si ce n'est pas le format implicite de votre distribution \SpecialChar LaTeX
 ), et supprimez
  l'option 
 \family sans
index a34e572caa927619476b26c2cba0d5ac81afe419..f1c1bee9c7cc5a3433e77ffb83267ee96ad7fc7e 100644 (file)
@@ -18,7 +18,7 @@
 \use_default_options true
 \maintain_unincluded_children false
 \language english
-\language_package default
+\language_package babel
 \inputencoding auto
 \fontencoding global
 \font_roman "lmodern" "default"
@@ -32,7 +32,7 @@
 \font_sf_scale 100 100
 \font_tt_scale 100 100
 \graphics default
-\default_output_format pdf
+\default_output_format default
 \output_sync 0
 \bibtex_command default
 \index_command default
@@ -289,7 +289,7 @@ Preamble commands
 \begin_layout Plain Layout
 The following options can be added to the 
 \family sans
-\SpecialCharNoPassThru LaTeX
+\SpecialChar LaTeX
  preambel
 \family default
  in 
@@ -339,9 +339,9 @@ Slide contents
 \end_layout
 
 \begin_layout Plain Layout
-Virtually everything that can appear in normal \SpecialCharNoPassThru LaTeX
- (except floats) can
also be on a slide.
+Virtually everything that can appear in normal \SpecialChar LaTeX
+ (except floats) can also
+ be on a slide.
 \end_layout
 
 \begin_layout Plain Layout
@@ -386,6 +386,10 @@ seminar
  uses Postscript specials and does not work with 
 \family sans
 PDF (pdflatex)
+\family default
+ or 
+\family sans
+PDF (LuaTeX)
 \family default
 .
 \end_layout
@@ -393,7 +397,18 @@ PDF (pdflatex)
 \begin_layout Itemize
 Landscape slides do not work with 
 \family sans
-DVI.
+DVI
+\family default
+ or 
+\family sans
+PDF (LuaTeX)
+\family default
+.
+\end_layout
+
+\begin_layout Itemize
+Compiling with XeTeX works (with both, TeX-fonts and Unicode fonts) but
+ requires Babel (not Polyglossia).
 \end_layout
 
 \begin_layout Plain Layout
@@ -553,9 +568,9 @@ Fancier formatting
 \end_layout
 
 \begin_layout Standard
-The \SpecialCharNoPassThru LaTeX
- preamble is the right place for many options to get fancier formatting
-, e.
+The \SpecialChar LaTeX
+ preamble is the right place for many options to get fancier formatting,
+ e.
 \begin_inset space \thinspace{}
 \end_inset
 
@@ -605,9 +620,7 @@ slideframe[
 \backslash
 setlength{
 \backslash
-shadowsize}{1pt}]{shadow} 
-framecolor "black"
-backgroundcolor "none"
+shadowsize}{1pt}]{shadow} framecolor "black"backgroundcolor "none"
 \end_layout
 
 \begin_layout Standard
@@ -664,9 +677,9 @@ A4
 \begin_inset Quotes erd
 \end_inset
 
- (unless it is the default layout of your \SpecialCharNoPassThru LaTeX
- distribution), and delete
the option 
+ (unless it is the default layout of your \SpecialChar LaTeX
+ distribution), and delete the
+ option 
 \begin_inset Quotes eld
 \end_inset