Re: How to use German capital sharp s (U+1E9E)?

2009-03-30 Thread Guenter Milde
On 2009-03-27, Tao Cumplido wrote:

> When I try to print the German capital sharp s I get this error: 'Some
> characters of your document are probably not representable in the
> chosen encoding. Changing the document encoding to utf8 could help.'

Actually, LyX's Unicode symbols translation is more comprehensive than
LaTeX's "plain" utf8, I don't know if there is any case left where
changing to utf8 would help. There are cases (e.g. polytonic Greek) when
changing to utf8x [UTF8 (ucs enhanced)] helps, though.

However, the capital sharp s is a recent addition to Unicode and not
supported by utf8 or utf8x. You can use it with the libertine font,
though (as pointed out by others).

> I searched the User's Guide and found in chapter 'B.7. Language' this
> part: 'All characters that cannot be encoded using the specified
> encoding will be exported as LATEX-commands (this can fail if a
> LATEX-command is not known for a particular character).'

> This passage has the following footnote attached: 'The known commands
> are defined in a text file. You can add commands for unknown symbols to
> that file yourself, see the Customization manual for details.'

> But I couldn't find anything on this topic in the Customization manual.

The file in question is called "unicodesymbols" and lives in the LYXDIR.
You can copy /usr/share/lyx/unicodesymbols to ~/.lyx/unicodesymbols
and modify it (on Windows the paths will differ).


With XeTeX, it only depends on the chosen font if the character is
available or not.

Günter



Re: How to use German capital sharp s (U+1E9E)?

2009-03-29 Thread Dominik Waßenhoven
Jürgen Spitzmüller wrote:

> Dominik Waßenhoven wrote:
>> The Linux Libertine font has a capital sharp s. See
>> http://linuxlibertine.sourceforge.net/
> 
> I see. And is there a corresponding LaTeX macro?

libertine.sty comes with several options, including 'ss' for not using
the capital sharp s. Besides that, there is a macro (\useTextGlyph) to
use every character that's in the font.

Regards,
Dominik.-



Re: How to use German capital sharp s (U+1E9E)?

2009-03-28 Thread Andre Poenitz
On Sat, Mar 28, 2009 at 10:59:34AM +0100, Tao Cumplido wrote:
> > The Linux Libertine font has a capital sharp s.
> 
> That's the font I'm using.
> 
> > I don't know for what purpose you need a capital ß, but in german
> > ortography, the ß becomes SS when writing capitalized.
> 
> I don't know yet whether I am gonna need it or not, but I'd like to
> know if it's possible before I start getting into Lyx seriously.

It is possible as Juergen wrote, but I question the approach you use
to check whether some piece of software suits your purposes.

Capital ß is as much part of Real Life as is World Peace.

> Why does with Latex everything have to be so complicated? :/

Partially because TeX is a horrible language, and partially because
it tends to lead to pagmatic solution (as opposed to "Ivory Tower
style" solutions) ;-}

Andre'
 


Re: How to use German capital sharp s (U+1E9E)?

2009-03-28 Thread Jürgen Spitzmüller
Tao Cumplido wrote:
> I don't know yet whether I am gonna need it or not, but I'd like to know if
> it's possible before I start getting into Lyx seriously.

With LaTeX, the following works:

\usepackage{libertine}

GRO\MakeUppercase{ß}E SACHE
\textsc{Große Sache}

In other words, the LaTeX package automatically uses the capital <ß> unless 
you load the package with the option "ss".

Jürgen


Re: How to use German capital sharp s (U+1E9E)?

2009-03-28 Thread Tao Cumplido
> The Linux Libertine font has a capital sharp s.

That's the font I'm using.

> I don't know for what purpose you need a capital ß, but in german ortography, 
> the ß becomes SS when writing capitalized.

I don't know yet whether I am gonna need it or not, but I'd like to know if 
it's possible before I start getting into Lyx seriously.

Why does with Latex everything have to be so complicated? :/

Would it work if I got Xetex working with Lyx and use the xelibertine package?
I found this article but I don't know if it will work for me since I am on 
WinXP.
http://wiki.lyx.org/Mac/XeTeX

And if I got it to work would it still be possible to use the Lilypond 
converters?
These are actually the main reason why I started using Lyx, because it's so 
easy to implement music snippets into a text document.

Regards,

Tao
-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss 
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a


Re: How to use German capital sharp s (U+1E9E)?

2009-03-28 Thread Jürgen Spitzmüller
Dominik Waßenhoven wrote:
> The Linux Libertine font has a capital sharp s. See
> http://linuxlibertine.sourceforge.net/

I see. And is there a corresponding LaTeX macro?

Jürgen


Re: How to use German capital sharp s (U+1E9E)?

2009-03-27 Thread Florian Rubach

Dominik Waßenhoven schrieb:

| Allerdings darf mündigen Bürgerinnen und Bürgern im Einzelfall
| getrost die Entscheidung überlassen werden, ob sie das große Eszett
| etwa für die Schreibung ihres Namens nutzen oder nicht.

(in short: it's not official, but people can decide whether to use it
for their names or not)

Regards,
Dominik.-


Honestly I hadn't thought of the name-problem, good point...

Regards,
Florian


Re: How to use German capital sharp s (U+1E9E)?

2009-03-27 Thread Dominik Waßenhoven
Florian Rubach wrote:

> Tao Cumplido schrieb:
>> When I try to print the German capital sharp s I get this error:
> 
> I don't know for what purpose you need a capital ß, but in german 
> ortography, the ß becomes SS when writing capitalized. (See 
> http://de.wikipedia.org/wiki/%C3%9F#Gro.C3.9Fschreibweise_mit_Ersetzung_von_.C3.9F_durch_SS
>  
> )

That's right, but browse a little further down
(http://de.wikipedia.org/wiki/ß#Gro.C3.9Fschreibweise_mit_Versal-Eszett).
And the DUDEN stated in a Newsletter
(http://www.duden.de/deutsche_sprache/sprachberatung/newsletter/archiv.php?id=204#gewusst):

| eine wichtige Neuerung, besonders für Buch- und Zeitungsverlage, aber
| eine, die nicht Bestandteil der amtlichen Rechtschreibung ist.
| Allerdings darf mündigen Bürgerinnen und Bürgern im Einzelfall
| getrost die Entscheidung überlassen werden, ob sie das große Eszett
| etwa für die Schreibung ihres Namens nutzen oder nicht.

(in short: it's not official, but people can decide whether to use it
for their names or not)

Regards,
Dominik.-



Re: How to use German capital sharp s (U+1E9E)?

2009-03-27 Thread Dominik Waßenhoven
Andre Poenitz wrote:

> On Fri, Mar 27, 2009 at 05:15:14PM +0100, Jürgen Spitzmüller wrote:
>> Tao Cumplido wrote:
>>> When I try to print the German capital sharp s I get this error:
>>> 'Some characters of your document are probably not representable in the
>>> chosen encoding. Changing the document encoding to utf8 could help.'
>>>
>>> So, I changed the encoding to utf8 and get the following:
>>> 'Package inputenc Error: Unicode char \u8ẞ not setup for use with LaTeX.'
>> 
>> I don't think that there is any LaTeX package that supports this character 
>> (neither a font that includes it). After all, this was only recently added 
>> to 
>> the unicode standard.
> 
> I am a bit surprised that it is standardized at all. So far I have
> considered any use of "sharp s" in a capitalized word as error...

Well, in some circumstances, it would be quite useful to have a capital
sharp s, e.g. when printing my last name in small caps. But it is
debatable whether a capital sharp s is correct German. At the moment, it
is only standardised in a technical sense. But if it will be common
practice in the next years, it will maybe also make its way into the
DUDEN, who knows...

Regards,
Dominik.-



Re: How to use German capital sharp s (U+1E9E)?

2009-03-27 Thread Andre Poenitz
On Fri, Mar 27, 2009 at 05:15:14PM +0100, Jürgen Spitzmüller wrote:
> Tao Cumplido wrote:
> > When I try to print the German capital sharp s I get this error:
> > 'Some characters of your document are probably not representable in the
> > chosen encoding. Changing the document encoding to utf8 could help.'
> >
> > So, I changed the encoding to utf8 and get the following:
> > 'Package inputenc Error: Unicode char \u8ẞ not setup for use with LaTeX.'
> 
> I don't think that there is any LaTeX package that supports this character 
> (neither a font that includes it). After all, this was only recently added to 
> the unicode standard.

I am a bit surprised that it is standardized at all. So far I have
considered any use of "sharp s" in a capitalized word as error...

Andre'


Re: How to use German capital sharp s (U+1E9E)?

2009-03-27 Thread Florian Rubach

Tao Cumplido schrieb:

When I try to print the German capital sharp s I get this error:


I don't know for what purpose you need a capital ß, but in german 
ortography, the ß becomes SS when writing capitalized. (See 
http://de.wikipedia.org/wiki/%C3%9F#Gro.C3.9Fschreibweise_mit_Ersetzung_von_.C3.9F_durch_SS 
)

Regards,
Florian


Re: How to use German capital sharp s (U+1E9E)?

2009-03-27 Thread Dominik Waßenhoven
Jürgen Spitzmüller wrote:

> Tao Cumplido wrote:
>> When I try to print the German capital sharp s I get this error:
>> 'Some characters of your document are probably not representable in the
>> chosen encoding. Changing the document encoding to utf8 could help.'
>>
>> So, I changed the encoding to utf8 and get the following:
>> 'Package inputenc Error: Unicode char \u8ẞ not setup for use with LaTeX.'
> 
> I don't think that there is any LaTeX package that supports this character 
> (neither a font that includes it). After all, this was only recently added to 
> the unicode standard.

The Linux Libertine font has a capital sharp s. See
http://linuxlibertine.sourceforge.net/

Regards,
Dominik.-



Re: How to use German capital sharp s (U+1E9E)?

2009-03-27 Thread Jürgen Spitzmüller
Tao Cumplido wrote:
> When I try to print the German capital sharp s I get this error:
> 'Some characters of your document are probably not representable in the
> chosen encoding. Changing the document encoding to utf8 could help.'
>
> So, I changed the encoding to utf8 and get the following:
> 'Package inputenc Error: Unicode char \u8ẞ not setup for use with LaTeX.'

I don't think that there is any LaTeX package that supports this character 
(neither a font that includes it). After all, this was only recently added to 
the unicode standard.

Jürgen


How to use German capital sharp s (U+1E9E)?

2009-03-27 Thread Tao Cumplido
When I try to print the German capital sharp s I get this error:
'Some characters of your document are probably not representable in the chosen 
encoding.
Changing the document encoding to utf8 could help.'

So, I changed the encoding to utf8 and get the following:
'Package inputenc Error: Unicode char \u8ẞ not setup for use with LaTeX.'

I searched the User's Guide and found in chapter 'B.7. Language' this part:
'All characters that cannot be encoded using the specified encoding will be 
exported
as LATEX-commands (this can fail if a LATEX-command is not known for a 
particular
character).'

This passage has the following footnote attached:
'The known commands are defined in a text file. You can add commands for 
unknown symbols to
that file yourself, see the Customization manual for details.'

But I couldn't find anything on this topic in the Customization manual.

After some more searching I found the uni-*.def files in the Miktex directory.

I tried to add a new command for the German capital sharp s like this
'\...@dclc{7838}{default}{\vs ß}%'
but it still won't work and since I didn't find any documentation I have no 
idea if I did something wrong.

Regards,

Tao
-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss 
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a