ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Umlaute in Formula
@ 2009-04-13  9:01 Florian M. Baudach
  2009-04-13  9:16 ` Mojca Miklavec
  2009-04-13 13:27 ` Aditya Mahajan
  0 siblings, 2 replies; 8+ messages in thread
From: Florian M. Baudach @ 2009-04-13  9:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear all,

I need german Umlaute in my formulas of my master thesis.

I used \ddot{a} for ä. It had worked fine until I updated Context
yesterday :-(. Since that update I only get an crossed a with an accent,
but no ä.

I still use MKII.

Has anybody a solution for my little problem?
Thanks

Greetings and Happy Eastern
Florian Baudach
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Umlaute in Formula
  2009-04-13  9:01 Umlaute in Formula Florian M. Baudach
@ 2009-04-13  9:16 ` Mojca Miklavec
  2009-04-13 13:27 ` Aditya Mahajan
  1 sibling, 0 replies; 8+ messages in thread
From: Mojca Miklavec @ 2009-04-13  9:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Apr 13, 2009 at 11:01, Florian M. Baudach wrote:
> Dear all,
>
> I need german Umlaute in my formulas of my master thesis.
>
> I used \ddot{a} for ä. It had worked fine until I updated Context
> yesterday :-(. Since that update I only get an crossed a with an accent,
> but no ä.
>
> I still use MKII.

Hello Florian,

(I fear to update ConTeXt now that you mention it, so I won't try out
your example :) :) :)

Do you need "a umlaut" or do you need a double differential (d^a/dt^2)?

I just wanted to say that if you need ä as "a umlaut" in formulas, you
would probably want to use $\text{bär}$ rather than $\rm b\ddot ar$ in
such cases. But if there's indeed a problem, it needs to be fixed
anyway.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Umlaute in Formula
  2009-04-13  9:01 Umlaute in Formula Florian M. Baudach
  2009-04-13  9:16 ` Mojca Miklavec
@ 2009-04-13 13:27 ` Aditya Mahajan
  2009-04-13 18:14   ` Florian M. Baudach
  2009-04-15 14:06   ` Problem with MyItemCommand bbvogel
  1 sibling, 2 replies; 8+ messages in thread
From: Aditya Mahajan @ 2009-04-13 13:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 510 bytes --]

On Mon, 13 Apr 2009, Florian M. Baudach wrote:

> Dear all,
>
> I need german Umlaute in my formulas of my master thesis.
>
> I used \ddot{a} for ä. It had worked fine until I updated Context
> yesterday :-(. Since that update I only get an crossed a with an accent,
> but no ä.

Here

\starttext
$\ddot a$
\stoptext

works fine (see attached pdf). I am using

ConTeXt  ver: 2009.04.13 14:45 MKII  fmt: 2009.4.13  int: english/english

Can you create a minimal example that fails?

Aditya

[-- Attachment #2: Type: APPLICATION/pdf, Size: 20803 bytes --]

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Umlaute in Formula
  2009-04-13 13:27 ` Aditya Mahajan
@ 2009-04-13 18:14   ` Florian M. Baudach
  2009-04-13 18:40     ` Mojca Miklavec
  2009-04-15 14:06   ` Problem with MyItemCommand bbvogel
  1 sibling, 1 reply; 8+ messages in thread
From: Florian M. Baudach @ 2009-04-13 18:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan schrieb:
> On Mon, 13 Apr 2009, Florian M. Baudach wrote:
> 
>> Dear all,
>>
>> I need german Umlaute in my formulas of my master thesis.
>>
>> I used \ddot{a} for ä. It had worked fine until I updated Context
>> yesterday :-(. Since that update I only get an crossed a with an accent,
>> but no ä.
> 
> Here
> 
> \starttext
> $\ddot a$
> \stoptext
> 
> works fine (see attached pdf). I am using
> 
> ConTeXt  ver: 2009.04.13 14:45 MKII  fmt: 2009.4.13  int: english/english
> 
> Can you create a minimal example that fails?
> 
> Aditya

Yes. I think I have found the problem:

\starttext
\placeformula
\startformula
 Knappheit = \frac{Stimmen\ f \ddot{u}r\ erstplatzierte\ Partei -
Stimmen\ f\ddot{u}r\
 zweitplatzierte\ Partei}{G\ddot{u}ltige\
 Stimmen}
\stopformula
\startformula
\ddot a
\stopformula
\usetypescript[times][ec]
\setupbodyfont[times,11pt]
\placeformula
\startformula
 Knappheit = \frac{Stimmen\ f \ddot{u}r\ erstplatzierte\ Partei -
Stimmen\ f\ddot{u}r\
 zweitplatzierte\ Partei}{G\ddot{u}ltige\
 Stimmen}
\stopformula
\startformula
\ddot a
\stopformula
\stoptext

When I use the Default-Font, then \ddot{} works fine. But when I switch
to times, then I get an very strange symbol.
(I wasn't able to attach the output of my example, because it was to big
:-()

This problem has started when I updated to:
ConTeXt  ver: 2009.04.10 18:02 MKII  fmt: 2009.4.12.

Before the update \ddot{} worked also with times.

Is there an solution?

Greetings
Florian Baudach


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Umlaute in Formula
  2009-04-13 18:14   ` Florian M. Baudach
@ 2009-04-13 18:40     ` Mojca Miklavec
  0 siblings, 0 replies; 8+ messages in thread
From: Mojca Miklavec @ 2009-04-13 18:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1741 bytes --]

On Mon, Apr 13, 2009 at 20:14, Florian M. Baudach wrote:
> Aditya Mahajan schrieb:
>> On Mon, 13 Apr 2009, Florian M. Baudach wrote:
>>
>>> Dear all,
>>>
>>> I need german Umlaute in my formulas of my master thesis.
>>>
>>> I used \ddot{a} for ä. It had worked fine until I updated Context
>>> yesterday :-(. Since that update I only get an crossed a with an accent,
>>> but no ä.
>
> \starttext
> \usetypescript[times][ec]
> \setupbodyfont[times,11pt]
> \placeformula
> \startformula
>  Knappheit = \frac{Stimmen\ f \ddot{u}r\ erstplatzierte\ Partei -
> Stimmen\ f\ddot{u}r\
>  zweitplatzierte\ Partei}{G\ddot{u}ltige\
>  Stimmen}
> \stopformula
> \startformula
> \ddot a
> \stopformula
> \stoptext
>
> When I use the Default-Font, then \ddot{} works fine. But when I switch
> to times, then I get an very strange symbol.
> (I wasn't able to attach the output of my example, because it was to big
> :-()
>
> This problem has started when I updated to:
> ConTeXt  ver: 2009.04.10 18:02 MKII  fmt: 2009.4.12.
>
> Before the update \ddot{} worked also with times.
>
> Is there an solution?

Yes, use
    Knappheit = \frac{\text{Stimmen für erstplatzierte Partei} ...

but I agree that it needs to be fixed. I didn't manage to convince
Hans to fix this so far, so maybe you'll have more luck with it :) :)

This has been a known problem for a few months (my fault, sorry), but
I was sure that it has already been fixed a while ago.

------

I would suggest adding the file q-8r.enc to
   /fonts/enc/dvips/context/
and replace
   "encqrm ReEncodeFont" <q-rm.enc
with
   "encq8r ReEncodeFont" <q-8r.enc
everywhere in original-youngryu-px.map and original-youngryu-tx.map.

Mojca

[-- Attachment #2: q-8r.enc --]
[-- Type: application/octet-stream, Size: 2359 bytes --]

% This file could belong to the TeX Gyre collection of fonts,
% but is only needed and thus distributed with ConTeXt macro package.
%
% It provides 8r encoding compatible with TeX Gyre fonts and is used to enable
% substituting Adobe fonts by TeX Gyre in pxfonts & txfonts.
%
/encq8r [
/.notdef
/dotaccent
/fi
/fl
/fraction
/hungarumlaut
/Lslash
/lslash
/ogonek
/ring
/.notdef
/breve
/minus
/.notdef
/Zcaron
/zcaron
/caron
/dotlessi
/dotlessj
/ff
/ffi
/ffl
/notequal
/infinity
/lessequal
/greaterequal
/partialdiff
/summation
/product
/pi
/grave
/quotesingle
/space
/exclam
/quotedbl
/numbersign
/dollar
/percent
/ampersand
/quoteright
/parenleft
/parenright
/asterisk
/plus
/comma
/hyphen
/period
/slash
/zero
/one
/two
/three
/four
/five
/six
/seven
/eight
/nine
/colon
/semicolon
/less
/equal
/greater
/question
/at
/A
/B
/C
/D
/E
/F
/G
/H
/I
/J
/K
/L
/M
/N
/O
/P
/Q
/R
/S
/T
/U
/V
/W
/X
/Y
/Z
/bracketleft
/backslash
/bracketright
/asciicircum
/underscore
/quoteleft
/a
/b
/c
/d
/e
/f
/g
/h
/i
/j
/k
/l
/m
/n
/o
/p
/q
/r
/s
/t
/u
/v
/w
/x
/y
/z
/braceleft
/bar
/braceright
/asciitilde
/.notdef
/Euro
/integral
/quotesinglbase
/florin
/quotedblbase
/ellipsis
/dagger
/daggerdbl
/circumflex
/perthousand
/Scaron
/guilsinglleft
/OE
/Omega
/radical
/approxequal
/.notdef
/.notdef
/.notdef
/quotedblleft
/quotedblright
/bullet
/endash
/emdash
/tilde
/trademark
/scaron
/guilsinglright
/oe
/Delta
/lozenge
/Ydieresis
/.notdef
/exclamdown
/cent
/sterling
/currency
/yen
/brokenbar
/section
/dieresis
/copyright
/ordfeminine
/guillemotleft
/logicalnot
/hyphen
/registered
/macron
/degree
/plusminus
/two.superior
/three.superior
/acute
/mu
/paragraph
/periodcentered
/cedilla
/one.superior
/ordmasculine
/guillemotright
/onequarter
/onehalf
/threequarters
/questiondown
/Agrave
/Aacute
/Acircumflex
/Atilde
/Adieresis
/Aring
/AE
/Ccedilla
/Egrave
/Eacute
/Ecircumflex
/Edieresis
/Igrave
/Iacute
/Icircumflex
/Idieresis
/Eth
/Ntilde
/Ograve
/Oacute
/Ocircumflex
/Otilde
/Odieresis
/multiply
/Oslash
/Ugrave
/Uacute
/Ucircumflex
/Udieresis
/Yacute
/Thorn
/germandbls
/agrave
/aacute
/acircumflex
/atilde
/adieresis
/aring
/ae
/ccedilla
/egrave
/eacute
/ecircumflex
/edieresis
/igrave
/iacute
/icircumflex
/idieresis
/eth
/ntilde
/ograve
/oacute
/ocircumflex
/otilde
/odieresis
/divide
/oslash
/ugrave
/uacute
/ucircumflex
/udieresis
/yacute
/thorn
/ydieresis
] def

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Problem with MyItemCommand
  2009-04-13 13:27 ` Aditya Mahajan
  2009-04-13 18:14   ` Florian M. Baudach
@ 2009-04-15 14:06   ` bbvogel
  2009-04-16 13:14     ` Hans Hagen
  1 sibling, 1 reply; 8+ messages in thread
From: bbvogel @ 2009-04-15 14:06 UTC (permalink / raw)
  To: ntg-context

Dear all,


Is the following example still valid for MKIV or is it a bug?

%from:
%tex/context/base/strc-itm.tex
%

\def\MyItemCommand#1{{\bf#1}\quad}
\setupitemgroup[itemize][command=\MyItemCommand]

\starttext
\startitemize
\item {test} is this okay?
\item {test} is this okay?
\item {test} is this okay?
\stopitemize

\stoptext

This is the error I see:

This is LuaTeX, Version snapshot-0.38.0-2009041013 (Web2C 7.5.7)
(myitemcommand.tex

ConTeXt  ver: 2009.04.15 12:15 MKIV  fmt: 2009.4.15  int: english/english

.............
..........

! Argument of \MyItemCommand has an extra }.
<inserted text>
                \par
<to be read again>
                   }
\doifsomething #1->\edef \!!stringa {#1}
                                        \ifx \!!stringa \empty 
\expandafter ...
<argument> ...fsomething {command=\MyItemCommand }
                                                   {\ifcase 
\currentitemleve...
\firstoftwoarguments #1#2->#1

\dodosetupitemgroup ...dodosetupitemgroup [#2][#3]
                                                  \doifsomething {#4}
{\dodod...
...
l.7


Regards,

B. Vogel

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problem with MyItemCommand
  2009-04-15 14:06   ` Problem with MyItemCommand bbvogel
@ 2009-04-16 13:14     ` Hans Hagen
  2009-04-20  7:38       ` E. Witbreuk
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2009-04-16 13:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

bbvogel@home.nl wrote:
> Dear all,
> 
> 
> Is the following example still valid for MKIV or is it a bug?
> 
> %from:
> %tex/context/base/strc-itm.tex
> %
> 
> \def\MyItemCommand#1{{\bf#1}\quad}

\unexpanded\def...

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problem with MyItemCommand
  2009-04-16 13:14     ` Hans Hagen
@ 2009-04-20  7:38       ` E. Witbreuk
  0 siblings, 0 replies; 8+ messages in thread
From: E. Witbreuk @ 2009-04-20  7:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Bedankt

Bernard

On Thursday 16 April 2009, Hans Hagen wrote:
> bbvogel@home.nl wrote:
> > Dear all,
> >
> >
> > Is the following example still valid for MKIV or is it a bug?
> >
> > %from:
> > %tex/context/base/strc-itm.tex
> > %
> >
> > \def\MyItemCommand#1{{\bf#1}\quad}
>
> \unexpanded\def...
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>
>                                               | www.pragma-pod.nl
>
> -----------------------------------------------------------------
> ___________________________________________________________________________
>________ If your question is of interest to others as well, please add an
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context webpage  :
> http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________
>________


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-04-20  7:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-13  9:01 Umlaute in Formula Florian M. Baudach
2009-04-13  9:16 ` Mojca Miklavec
2009-04-13 13:27 ` Aditya Mahajan
2009-04-13 18:14   ` Florian M. Baudach
2009-04-13 18:40     ` Mojca Miklavec
2009-04-15 14:06   ` Problem with MyItemCommand bbvogel
2009-04-16 13:14     ` Hans Hagen
2009-04-20  7:38       ` E. Witbreuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).