Re: Templates g-brief, g-brief2

2012-09-21 Thread Jürgen Spitzmüller
Max Funk wrote:
 This is a patch of an issue with the g-brief-de.lyx, g-brief-en.lyx and
 g-brief2.lyx templates.

Looks good!

Jürgen


Re: Templates g-brief, g-brief2

2012-09-21 Thread Jürgen Spitzmüller
Max Funk wrote:
> This is a patch of an issue with the g-brief-de.lyx, g-brief-en.lyx and
> g-brief2.lyx templates.

Looks good!

Jürgen


Re: Templates g-brief, g-brief2

2012-09-20 Thread Max Funk
My previous post did apparently not arrive. I repeat it with only the 
patch file attached.



This is a patch of an issue with the g-brief-de.lyx, g-brief-en.lyx and
g-brief2.lyx templates.

I fixed the following Problems:
- The g-brief templates require latex package europs. However, since
g-brief Version 4.0, this dependency has been removed in latex, so it
can be removed in lyx. (Package europs is not contained in the texlive
and miktex distributions)
- The file latexconfig.lyx searches for the classes g-brief-de.cls and
g-brief-en.cls. These do not exist, instead there is only g-brief.cls.
- The template g-brief2.lyx has a more detailed description for the
document settings in the beginning.

The previous discussion of the issue is on lyx-doc.

20.09.2012 21:03, Richard Heck:


Max, could you produce corrected versions of these files and post them
here?



I attach the unified diff from tortoise GIT against 2.0.x.


Actually, this should all be moved to lyx-devel, so post them there
including some of this explanation. That'll get the attention of the
right people. This list is more for discussion of LyX's documentation.



Sorry, I thought the template issues would belong to lyx-doc...

Max








 lib/doc/LaTeXConfig.lyx |  39 +++--
 lib/layouts/g-brief.layout  |   2 +-
 lib/layouts/g-brief2.layout |   2 +-
 lib/templates/g-brief2.lyx  | 134 +++-
 4 files changed, 143 insertions(+), 34 deletions(-)

diff --git a/lib/doc/LaTeXConfig.lyx b/lib/doc/LaTeXConfig.lyx
index 0112c30..5db9ad9 100644
--- a/lib/doc/LaTeXConfig.lyx
+++ b/lib/doc/LaTeXConfig.lyx
@@ -1865,14 +1865,14 @@ seminar
 \end_layout
 
 \begin_layout Subsection
-g-brief-en
+g-brief
 \end_layout
 
 \begin_layout Description
 Found: 
 \begin_inset Info
 type  textclass
-arg   g-brief-en
+arg   g-brief
 \end_inset
 
 
@@ -1887,41 +1887,18 @@ macros/latex/contrib/g-brief/
 \begin_layout Description
 Notes: The document class 
 \family sans
-g-brief-en
+g-brief
 \family default
  can be used to type commercial letters with a nice outfit.
-\end_layout
-
-\begin_layout Subsection
-g-brief-de
-\end_layout
-
-\begin_layout Description
-Found: 
-\begin_inset Info
-type  textclass
-arg   g-brief-de
-\end_inset
-
-
-\end_layout
-
-\begin_layout Description
-CTAN: 
-\family typewriter
-macros/latex/contrib/g-brief/
-\end_layout
-
-\begin_layout Description
-Notes: The document class 
+ There is a template document
 \family sans
-g-brief-de
+ g-brief-en
 \family default
- is the same as the above 
+ with english labels and a template document
 \family sans
-g-brief-en
+ g-brief-de
 \family default
- only with german labels.
+ with german labels.
 \end_layout
 
 \begin_layout Subsection
diff --git a/lib/layouts/g-brief.layout b/lib/layouts/g-brief.layout
index 222a992..8c3e8bb 100644
--- a/lib/layouts/g-brief.layout
+++ b/lib/layouts/g-brief.layout
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[g-brief,europs.sty]{letter (g-brief)}
+#  \DeclareLaTeXClass[g-brief]{letter (g-brief)}
 # Letter textclass definition file.
 # Author : Thomas Hartkens tho...@hartkens.de
 
diff --git a/lib/layouts/g-brief2.layout b/lib/layouts/g-brief2.layout
index ff0ec6a..fa2b547 100644
--- a/lib/layouts/g-brief2.layout
+++ b/lib/layouts/g-brief2.layout
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[g-brief2,europs.sty]{letter (g-brief2)}
+#  \DeclareLaTeXClass[g-brief2]{letter (g-brief2)}
 # Letter textclass definition file.
 # Author : Felix Kurth l...@fkurth.de based on work from
 #  Thomas Hartkens tho...@hartkens.de
diff --git a/lib/templates/g-brief2.lyx b/lib/templates/g-brief2.lyx
index 91c2911..e2da08c 100644
--- a/lib/templates/g-brief2.lyx
+++ b/lib/templates/g-brief2.lyx
@@ -72,7 +72,139 @@
 status open
 
 \begin_layout Plain Layout
-Note also the document preamble settings.
+Commercial letter with a nice outfit
+\end_layout
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\begin_layout Plain Layout
+Languages: 
+\begin_inset Newline newline
+\end_inset
+
+English
+\begin_inset space \quad{}
+\end_inset
+
+(write 
+\begin_inset Quotes eld
+\end_inset
+
+english
+\begin_inset Quotes erd
+\end_inset
+
+ into Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Document Class\SpecialChar \menuseparator
+Custom)
+\begin_inset Newline newline
+\end_inset
+
+English (USA)
+\begin_inset Newline newline
+\end_inset
+
+German
+\begin_inset Newline newline
+\end_inset
+
+German (old spelling)
+\end_layout
+
+\begin_layout Plain Layout
+Lines / markers: 
+\begin_inset Newline newline
+\end_inset
+
+See document preamble settings
+\end_layout
+
+\begin_layout Plain Layout
+Symbols (if package 
+\begin_inset Quotes eld
+\end_inset
+
+marvosym
+\begin_inset Quotes erd
+\end_inset
+
+ installed):
+\begin_inset Newline newline
+\end_inset
+
+

Re: Templates g-brief, g-brief2

2012-09-20 Thread Max Funk
My previous post did apparently not arrive. I repeat it with only the 
patch file attached.



This is a patch of an issue with the g-brief-de.lyx, g-brief-en.lyx and
g-brief2.lyx templates.

I fixed the following Problems:
- The g-brief templates require latex package europs. However, since
g-brief Version 4.0, this dependency has been removed in latex, so it
can be removed in lyx. (Package europs is not contained in the texlive
and miktex distributions)
- The file latexconfig.lyx searches for the classes g-brief-de.cls and
g-brief-en.cls. These do not exist, instead there is only g-brief.cls.
- The template g-brief2.lyx has a more detailed description for the
document settings in the beginning.

The previous discussion of the issue is on lyx-doc.

20.09.2012 21:03, Richard Heck:


Max, could you produce corrected versions of these files and post them
here?



I attach the unified diff from tortoise GIT against 2.0.x.


Actually, this should all be moved to lyx-devel, so post them there
including some of this explanation. That'll get the attention of the
right people. This list is more for discussion of LyX's documentation.



Sorry, I thought the template issues would belong to lyx-doc...

Max








 lib/doc/LaTeXConfig.lyx |  39 +++--
 lib/layouts/g-brief.layout  |   2 +-
 lib/layouts/g-brief2.layout |   2 +-
 lib/templates/g-brief2.lyx  | 134 +++-
 4 files changed, 143 insertions(+), 34 deletions(-)

diff --git a/lib/doc/LaTeXConfig.lyx b/lib/doc/LaTeXConfig.lyx
index 0112c30..5db9ad9 100644
--- a/lib/doc/LaTeXConfig.lyx
+++ b/lib/doc/LaTeXConfig.lyx
@@ -1865,14 +1865,14 @@ seminar
 \end_layout
 
 \begin_layout Subsection
-g-brief-en
+g-brief
 \end_layout
 
 \begin_layout Description
 Found: 
 \begin_inset Info
 type  "textclass"
-arg   "g-brief-en"
+arg   "g-brief"
 \end_inset
 
 
@@ -1887,41 +1887,18 @@ macros/latex/contrib/g-brief/
 \begin_layout Description
 Notes: The document class 
 \family sans
-g-brief-en
+g-brief
 \family default
  can be used to type commercial letters with a nice outfit.
-\end_layout
-
-\begin_layout Subsection
-g-brief-de
-\end_layout
-
-\begin_layout Description
-Found: 
-\begin_inset Info
-type  "textclass"
-arg   "g-brief-de"
-\end_inset
-
-
-\end_layout
-
-\begin_layout Description
-CTAN: 
-\family typewriter
-macros/latex/contrib/g-brief/
-\end_layout
-
-\begin_layout Description
-Notes: The document class 
+ There is a template document
 \family sans
-g-brief-de
+ g-brief-en
 \family default
- is the same as the above 
+ with english labels and a template document
 \family sans
-g-brief-en
+ g-brief-de
 \family default
- only with german labels.
+ with german labels.
 \end_layout
 
 \begin_layout Subsection
diff --git a/lib/layouts/g-brief.layout b/lib/layouts/g-brief.layout
index 222a992..8c3e8bb 100644
--- a/lib/layouts/g-brief.layout
+++ b/lib/layouts/g-brief.layout
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[g-brief,europs.sty]{letter (g-brief)}
+#  \DeclareLaTeXClass[g-brief]{letter (g-brief)}
 # Letter textclass definition file.
 # Author : Thomas Hartkens 
 
diff --git a/lib/layouts/g-brief2.layout b/lib/layouts/g-brief2.layout
index ff0ec6a..fa2b547 100644
--- a/lib/layouts/g-brief2.layout
+++ b/lib/layouts/g-brief2.layout
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[g-brief2,europs.sty]{letter (g-brief2)}
+#  \DeclareLaTeXClass[g-brief2]{letter (g-brief2)}
 # Letter textclass definition file.
 # Author : Felix Kurth  based on work from
 #  Thomas Hartkens 
diff --git a/lib/templates/g-brief2.lyx b/lib/templates/g-brief2.lyx
index 91c2911..e2da08c 100644
--- a/lib/templates/g-brief2.lyx
+++ b/lib/templates/g-brief2.lyx
@@ -72,7 +72,139 @@
 status open
 
 \begin_layout Plain Layout
-Note also the document preamble settings.
+Commercial letter with a nice outfit
+\end_layout
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\begin_layout Plain Layout
+Languages: 
+\begin_inset Newline newline
+\end_inset
+
+English
+\begin_inset space \quad{}
+\end_inset
+
+(write 
+\begin_inset Quotes eld
+\end_inset
+
+english
+\begin_inset Quotes erd
+\end_inset
+
+ into Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Document Class\SpecialChar \menuseparator
+Custom)
+\begin_inset Newline newline
+\end_inset
+
+English (USA)
+\begin_inset Newline newline
+\end_inset
+
+German
+\begin_inset Newline newline
+\end_inset
+
+German (old spelling)
+\end_layout
+
+\begin_layout Plain Layout
+Lines / markers: 
+\begin_inset Newline newline
+\end_inset
+
+See document preamble settings
+\end_layout
+
+\begin_layout Plain Layout
+Symbols (if package 
+\begin_inset Quotes eld
+\end_inset
+
+marvosym
+\begin_inset Quotes erd
+\end_inset
+
+ installed):
+\begin_inset Newline newline