Templates g-brief, g-brief2

2012-09-17 Thread Max Funk

Hallo,

I wanted to suggest a correction of the requirements of the three templates
g-brief2.lyx
g-brief-de.lyx
g-brief-en.lyx

Problem:

If I open a new document using these templates, I get an error, that 
europs.sty is not found.


My System:
--
Lyx 2.0.4 + Win7-64 + TexLive 2012 Full

Solution Suggestion:

The dependency on
europs.sty
and (if existing) also on
marvosym.sty
eurosym.sty
can simply be removed.

Verification:
-
- The Document compiles well without europs.sty
- The Version of g-brief2.cls contained in most recent texlive 2012 reads

\IfFileExists{marvosym.sty}
  {\RequirePackage{marvosym}}
  {}{}
\IfFileExists{europs.sty}
  {\RequirePackage{europs}}
  {}{}
\IfFileExists{eurosym.sty}
  {\RequirePackage{eurosym}}
  {}{}

  So, the packages are only optional.
- See also the thread

http://www.mail-archive.com/tetex@informatik.uni-hannover.de/msg01825.html

Regards, mf


Re: Templates g-brief, g-brief2

2012-09-19 Thread Richard Heck

On 09/17/2012 02:50 PM, Max Funk wrote:

Hallo,

I wanted to suggest a correction of the requirements of the three 
templates

g-brief2.lyx
g-brief-de.lyx
g-brief-en.lyx


Uwe, do you have a view about this?

Richard


Problem:

If I open a new document using these templates, I get an error, that 
europs.sty is not found.


My System:
--
Lyx 2.0.4 + Win7-64 + TexLive 2012 Full

Solution Suggestion:

The dependency on
europs.sty
and (if existing) also on
marvosym.sty
eurosym.sty
can simply be removed.

Verification:
-
- The Document compiles well without europs.sty
- The Version of g-brief2.cls contained in most recent texlive 2012 reads

\IfFileExists{marvosym.sty}
  {\RequirePackage{marvosym}}
  {}{}
\IfFileExists{europs.sty}
  {\RequirePackage{europs}}
  {}{}
\IfFileExists{eurosym.sty}
  {\RequirePackage{eurosym}}
  {}{}

  So, the packages are only optional.
- See also the thread

http://www.mail-archive.com/tetex@informatik.uni-hannover.de/msg01825.html 



Regards, mf




Re: Templates g-brief, g-brief2

2012-09-20 Thread Max Funk

I found one more verification:

In the official documentation "g-brief.pdf", it is written (Ch.9 
"Bugfixes", Version 4.0, translated):


"The inclusion of packages for the support of the Euro Symbol has been 
corrected. Up to now, there was a Class Error in case of missing packages."


So, now there is no error in g-brief.cls for missing eurosym.sty / 
europs.sty any more.




20.09.2012 05:23, Richard Heck:

On 09/17/2012 02:50 PM, Max Funk wrote:

Hallo,

I wanted to suggest a correction of the requirements of the three
templates
g-brief2.lyx
g-brief-de.lyx
g-brief-en.lyx


Uwe, do you have a view about this?

Richard


Problem:

If I open a new document using these templates, I get an error, that
europs.sty is not found.

My System:
--
Lyx 2.0.4 + Win7-64 + TexLive 2012 Full

Solution Suggestion:

The dependency on
europs.sty
and (if existing) also on
marvosym.sty
eurosym.sty
can simply be removed.

Verification:
-
- The Document compiles well without europs.sty
- The Version of g-brief2.cls contained in most recent texlive 2012 reads

\IfFileExists{marvosym.sty}
  {\RequirePackage{marvosym}}
  {}{}
\IfFileExists{europs.sty}
  {\RequirePackage{europs}}
  {}{}
\IfFileExists{eurosym.sty}
  {\RequirePackage{eurosym}}
  {}{}

  So, the packages are only optional.
- See also the thread

http://www.mail-archive.com/tetex@informatik.uni-hannover.de/msg01825.html


Regards, mf








Re: Templates g-brief, g-brief2

2012-09-20 Thread Max Funk

I looked further into it...

Package marvosym is also not forcibly required by g-brief and g-brief2. 
It just provides symbols, which are not used in the class definitions 
and also not in the templates.
Perhaps the author of the g-brief package wanted, that some symbols for 
office use: \EUR, \Telefon, \Letter ... are always readily available.


I would suggest to improve the introductory lyx note to the template 
g-brief2.lyx. Instead of "Note also the document preamble settings", I 
would write:



Document settings
--

•Available Languages (Package “babel” required):
English, English (USA), German, German (New Ortography)

•Lines/Markers:
See document preamble settings.

•Symbols (only if Package “marvosym” installed):
\EUR
\Telefon
\Letter
\Smiley
...


and remove the requirement of g-brief2.lyx from package "marvosym" 
"europs", "eurosym"




Hallo,

I wanted to suggest a correction of the requirements of the three
templates
g-brief2.lyx
g-brief-de.lyx
g-brief-en.lyx





Re: Templates g-brief, g-brief2

2012-09-20 Thread Richard Heck


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

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.


Richard


On 09/20/2012 07:17 AM, Max Funk wrote:

I looked further into it...

Package marvosym is also not forcibly required by g-brief and 
g-brief2. It just provides symbols, which are not used in the class 
definitions and also not in the templates.
Perhaps the author of the g-brief package wanted, that some symbols 
for office use: \EUR, \Telefon, \Letter ... are always readily available.


I would suggest to improve the introductory lyx note to the template 
g-brief2.lyx. Instead of "Note also the document preamble settings", I 
would write:



Document settings
--

•Available Languages (Package “babel” required):
English, English (USA), German, German (New Ortography)

•Lines/Markers:
See document preamble settings.

•Symbols (only if Package “marvosym” installed):
\EUR
\Telefon
\Letter
\Smiley
...


and remove the requirement of g-brief2.lyx from package "marvosym" 
"europs", "eurosym"




Hallo,

I wanted to suggest a correction of the requirements of the three
templates
g-brief2.lyx
g-brief-de.lyx
g-brief-en.lyx







Re: Templates g-brief, g-brief2

2012-09-20 Thread Max Funk

I have continued this on lyx-devel.


20.09.2012 21:03, Richard Heck:


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

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.

Richard





Re: Templates g-brief, g-brief2

2012-10-14 Thread Uwe Stöhr

Am 20.09.2012 13:17, schrieb Max Funk:


I would suggest to improve the introductory lyx note to the template g-brief2.lyx. 
Instead of "Note
also the document preamble settings", I would write:...


Thank you. i have now removed the europs dependency and adopted the introduction note according to 
your proposal:

http://www.lyx.org/trac/changeset/ba0454fd0c1b1857688a3e8a36d2067928380486/lyxgit

We never had a dependency on eurosym and marvosym. You can always use these packages at any time if 
you want.


best regards
Uwe


Re: Templates g-brief, g-brief2

2012-10-16 Thread Max Funk

Thanks :-)

There is still the small issue left:
In "Help -> Latex-Configuration", section 3.17 and 3.18, LyX searches 
for classes g-brief-de and classes g-brief-en and does not find.


There are two templates, but only one class: g-brief. I fixed that also 
in my proposal.


best regards, Max



Am 15.10.2012 01:33, schrieb Uwe Stöhr:

Thank you. i have now removed the europs dependency and adopted the
introduction note according to your proposal:
http://www.lyx.org/trac/changeset/ba0454fd0c1b1857688a3e8a36d2067928380486/lyxgit





Re: Templates g-brief, g-brief2

2012-10-16 Thread Uwe Stöhr

Am 16.10.2012 13:04, schrieb Max Funk:


There is still the small issue left:
In "Help -> Latex-Configuration", section 3.17 and 3.18, LyX searches for 
classes g-brief-de and
classes g-brief-en and does not find.
There are two templates, but only one class: g-brief. I fixed that also in my 
proposal.


Thanks for the hint. I fixed this
http://www.lyx.org/trac/changeset/5c353f4a34152542c2db3dadd97a5d33ca736e7d/lyxgit
regards Uwe