spanish tilde-n lost
Hi all, I finally got around the intallation of context minimals. Thank you for those who helped. I ran my old tex files (in spanish) and found that \~n is not working now. It should create an n with a tilde on top, but what happens is that there is no letter printed at all. What is the fix for this? Any switch? (I know I could use \char but I am looking for a more elegant solution) thank you Ciro
On Jun 28, 2009, at 1:16 AM, Ciro Soto wrote:
Hi all, I finally got around the intallation of context minimals. Thank you for those who helped. I ran my old tex files (in spanish) and found that \~n is not working now. It should create an n with a tilde on top, but what happens is that there is no letter printed at all.
What is the fix for this? Any switch? (I know I could use \char but I am looking for a more elegant solution)
thank you Ciro
If you can do without MkII compatibility the most elegant solution may be to simply replace all instances of "\~n" with "ñ", e.g. "co\~nazo" --> "coñazo". Tom
On Sun, 28 Jun 2009, thfl@mac.com wrote:
If you can do without MkII compatibility the most elegant solution may be to simply replace all instances of "\~n" with "ñ", e.g. "co\~nazo" --> "coñazo".
Works even with MKII, you only need to declare you character set, for example: \enableregime[utf] Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
On Jun 28, 2009, at 7:30 AM, thfl@mac.com wrote:
On Jun 28, 2009, at 1:16 AM, Ciro Soto wrote:
Hi all, I finally got around the intallation of context minimals. Thank you for those who helped. I ran my old tex files (in spanish) and found that \~n is not working now. It should create an n with a tilde on top, but what happens is that there is no letter printed at all.
What is the fix for this? Any switch? (I know I could use \char but I am looking for a more elegant solution)
thank you Ciro
If you can do without MkII compatibility the most elegant solution may be to simply replace all instances of "\~n" with "ñ", e.g. "co\~nazo" --> "coñazo".
Tom
correction: this even works in MkII also if you put a "\enableregime[utf]" in your file/environment. Tom
On Sun, Jun 28, 2009 at 01:16, Ciro Soto wrote:
Hi all, I finally got around the intallation of context minimals. Thank you for those who helped. I ran my old tex files (in spanish) and found that \~n is not working now. It should create an n with a tilde on top, but what happens is that there is no letter printed at all.
I guess that you are asking about MKIV since it seems to work OK in MKII.
What is the fix for this? Any switch? (I know I could use \char but I am looking for a more elegant solution)
The most elegant solution is to use just ñ and it should work out of the box there. But still I would ask Hans to add the following line to enco-ini.mkiv: \defineaccent ~ N {\Ntilde} \defineaccent ~ n {\ntilde} You can try to modify the file yourself, then run "context --make" and it should start working. (I always thought that these lines were "auto-generated" from Unicode data on the fly.) Mojca
Mojca Miklavec wrote:
On Sun, Jun 28, 2009 at 01:16, Ciro Soto wrote:
Hi all, I finally got around the intallation of context minimals. Thank you for those who helped. I ran my old tex files (in spanish) and found that \~n is not working now. It should create an n with a tilde on top, but what happens is that there is no letter printed at all.
I guess that you are asking about MKIV since it seems to work OK in MKII.
What is the fix for this? Any switch? (I know I could use \char but I am looking for a more elegant solution)
The most elegant solution is to use just ñ and it should work out of the box there. But still I would ask Hans to add the following line to enco-ini.mkiv:
\defineaccent ~ N {\Ntilde} \defineaccent ~ n {\ntilde}
You can try to modify the file yourself, then run "context --make" and it should start working.
(I always thought that these lines were "auto-generated" from Unicode data on the fly.)
not this one; the ntild probably got lost at some point during cleaning up ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Thank you all.
This is the feedback of your recommendations:
\enableregime[utf]
didn't work.
typing just ñ
worked fine.
\defineaccent ~ n {\ntilde}
worked using \~n and
This last solution is the one I was looking for because my keyboard has no ñ
thanks
Ciro
-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre
On Sun, Jun 28, 2009 at 10:31 AM, Hans Hagen
Mojca Miklavec wrote:
On Sun, Jun 28, 2009 at 01:16, Ciro Soto wrote:
Hi all, I finally got around the intallation of context minimals. Thank you for those who helped. I ran my old tex files (in spanish) and found that \~n is not working now. It should create an n with a tilde on top, but what happens is that there is no letter printed at all.
I guess that you are asking about MKIV since it seems to work OK in MKII.
What is the fix for this? Any switch?
(I know I could use \char but I am looking for a more elegant solution)
The most elegant solution is to use just ñ and it should work out of the box there. But still I would ask Hans to add the following line to enco-ini.mkiv:
\defineaccent ~ N {\Ntilde} \defineaccent ~ n {\ntilde}
You can try to modify the file yourself, then run "context --make" and it should start working.
(I always thought that these lines were "auto-generated" from Unicode data on the fly.)
not this one; the ntild probably got lost at some point during cleaning up
----------------------------------------------------------------- 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 -----------------------------------------------------------------
On Sun, 28 Jun 2009, Ciro Soto wrote:
This last solution is the one I was looking for because my keyboard has no ñ
You only need "dead_tilde" and "n" to build the "ñ". Cheers, Peter P.S.: I've just tried "dead_tilde" -> "dead_circumflex" -> "E", it works! --->> Ễ -- Contact information: http://pmrb.free.fr/contact/
On Sun, Jun 28, 2009 at 16:31, Hans Hagen wrote:
Mojca Miklavec wrote:
But still I would ask Hans to add the following line to enco-ini.mkiv:
\defineaccent ~ N {\Ntilde} \defineaccent ~ n {\ntilde}
(I always thought that these lines were "auto-generated" from Unicode data on the fly.)
not this one; the ntild probably got lost at some point during cleaning up
I would bet that not many people would use those characters if any, but on the list quite some more characters are missing that exist in Unicode: Zcircumflex, Ngrave, Wgrave, Etilde, Vtilde, Ytilde, Hdiaeresis, Tdiaeresis, Wdiaeresis, Xdiaeresis, Gacute, Kacute, Macute, Pacute, Wacute, ... (I stopped at acute, there are a few more accents ...) But just repeating the pattern (\defineaccent ^ Z {\Zcircumflex}) would mean having to define new named entities. In MKII these would not make any sense at all as there was no TeX encoding supporting these characters. An alternative would be to define them directly from Unicode data in MKIV. I'm not suggesting that this needs to be added ... Extra low priority task, or if someone else asks. Mojca
participants (5)
-
Ciro Soto
-
Hans Hagen
-
Mojca Miklavec
-
Peter Münster
-
thfl@mac.com