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
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
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
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
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"
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
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 -----------------------------------------------------------------
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 ___________________________________________________________________________ ________
participants (6)
-
Aditya Mahajan
-
bbvogel@home.nl
-
E. Witbreuk
-
Florian M. Baudach
-
Hans Hagen
-
Mojca Miklavec