ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Umlaute in Formula
Date: Mon, 13 Apr 2009 20:40:08 +0200	[thread overview]
Message-ID: <6faad9f00904131140j1e9fec84rd9618692f629323b@mail.gmail.com> (raw)
In-Reply-To: <49E38107.3090807@uni-konstanz.de>

[-- 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
___________________________________________________________________________________

  reply	other threads:[~2009-04-13 18:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-13  9:01 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 [this message]
2009-04-15 14:06   ` Problem with MyItemCommand bbvogel
2009-04-16 13:14     ` Hans Hagen
2009-04-20  7:38       ` E. Witbreuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f00904131140j1e9fec84rd9618692f629323b@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).