Hi all,

as I noticed, new users could have problems generating the very
first document, which comes up at first start of LyX after
installation ('splash.lyx'), giving potentially new users the
impression, that LyX is no usable program at all.

This is always the case, if the babel/polyglossia package for the
user's language has not been installed (e.g. according texlive-lang-*
package has not been installed automatically).

Also I do not know how this is handled on every possible system LyX
will work on, at least at Debian (and its derivatives like Ubuntu) the
according texlive-lang-* packages are not installed automatically, as
there is no way (at least I would know of) to check during the
installation process, which one would be needed, and installing all
would be somehow a bit much unneeded data.

My proposal is to place an additional comment to point the user to the
need of installing the according package at least in the 'splash.lyx'
and also in the 'Tutorial.lyx' of every language.
For the language 'de' there already is a hint in 'splash.lyx', which I
changed a bit in attached proposing patch together with an addition to
'Tutorial.lyx'. Unfortunately I'd be no big help with all
the other ones…

Is this list the right place to get this proposal going, or should a
bug be filed for this? (For Debian there is already existing one as
#780501 but this should be fixed for all distributions I would think.)


Greetings,
Alexander
From 43e368e9121835ee543b3c19a0f87e7b04527640 Mon Sep 17 00:00:00 2001
From: Alexander Stiebing <pkg-lyx-de...@jalsti.de>
Date: Sat, 30 Jan 2016 16:52:38 +0100
Subject: [PATCH] added further hint to use babel-german package

---
 lib/doc/de/Tutorial.lyx    | 44 +++++++++++++++++++++++++++++++++++++++++++-
 lib/examples/de/splash.lyx | 12 +++++++++++-
 2 files changed, 54 insertions(+), 2 deletions(-)

diff --git a/lib/doc/de/Tutorial.lyx b/lib/doc/de/Tutorial.lyx
index 0e3f5bb..2e0cc90 100644
--- a/lib/doc/de/Tutorial.lyx
+++ b/lib/doc/de/Tutorial.lyx
@@ -3,7 +3,7 @@
 \begin_document
 \begin_header
 \save_transient_properties true
-\origin /systemlyxdir/doc/de/
+\origin unavailable
 \textclass book
 \begin_preamble
 % DO NOT ALTER THIS PREAMBLE!!!
@@ -671,7 +671,49 @@ arg   "buffer-update"

 \end_inset

+
+\begin_inset Newline newline
+\end_inset
+
+Sollte es bei dem Versuch die PDF-Datei zu erstellen zu einer Fehlermeldung
+ kommen, welche
+\begin_inset Quotes gld
+\end_inset
+
+Package babel Error: You haven't specified a language option.
+\begin_inset Quotes grd
+\end_inset
+
+ lautet, so haben Sie zwei Möglichkeiten damit umzugehen.
+ Zunächst könnten Sie diese Meldung einfach ignorieren und im Fenster mit
+ der Fehlermeldung unten die Schaltfläche 'Ausgabe trotzdem zeigen' benutzen
+ um (Sie erraten es bereits) die Ausgabe trotzdem anzuzeigen, was normalerweise
+ auch trotz dieser Fehlermeldung funktionieren sollte.
+ Da Sie aber wahrscheinlich nicht bei jedem weiteren deutschsprachigem \SpecialChar LyX
+-Dokument
+ diesen überflüssigen Klick durchführen möchten, sollten Sie für ihre \SpecialChar LaTeX
+-Umgebung
+ das Paket 'babel-german' installieren, worauf Sie anschließend nicht nur
+ das PDF ohne Fehlermeldungen generieren können, sondern vor allem auch
+ Funktionen für die korrekte Silbentrennung geliefert bekommen.
+ Das Paket 'babel-german' können Sie über ihren Paketmanager (Linux) installiere
+n, oder (Windows) via
+\family typewriter
+Mik\SpecialChar TeX
+
+\family default
+ bzw.
+
+\family typewriter
+\SpecialChar TeX

+\begin_inset space ~
+\end_inset
+
+Live
+\family default
+ .
+
 \end_layout

 \begin_layout Itemize
diff --git a/lib/examples/de/splash.lyx b/lib/examples/de/splash.lyx
index 8716dca..9069ccc 100644
--- a/lib/examples/de/splash.lyx
+++ b/lib/examples/de/splash.lyx
@@ -3,7 +3,7 @@
 \begin_document
 \begin_header
 \save_transient_properties true
-\origin /systemlyxdir/examples/de/
+\origin unavailable
 \textclass article
 \use_default_options false
 \maintain_unincluded_children false
@@ -139,6 +139,16 @@ arg   "buffer-view"
 \end_inset

 .
+ (Sollte es bei dem Versuch die PDF-Datei zu erstellen zu einer Fehlermeldung
+ kommen, welche
+\begin_inset Quotes gld
+\end_inset
+
+Package babel Error: You haven't specified a language option.
+\begin_inset Quotes grd
+\end_inset
+
+ lautet, so beachten Sie bitte Punkt 7.)
 \end_layout

 \begin_layout Enumerate
--
2.1.4

Attachment: pgp8OGodTwPcN.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to