\setupinteractionscreen and translation failure
Since my last MikTeX update (pdfeTeX 3.141592-1.20a-rc7.1-2.1, ConTeXt 2004.8.15) the line \setupinteractionscreen[option=max] doesn't have any effect any more (the same .tex document as before produces diffrent output - I can't get the whole-screen output any more). *** *** *** *** *** The second question concerns the translations of ConTeXt support for some other languages. I've added Slovenian translations to 'lang-sla.tex' and added a couple of lines to 'cont-usr.tex'. However: I don't know how to enable it. I tried with texexec --make --alone --all, but it complains:
Undefined control sequence. <argument> \??la \s!sl \c!status ... l.108 \c!status=\v!stop]
Did I miss any other files, did I make any mistake in my translations, is there any other command to be executed first? Or maybe just any of my local files or settings corrupted? I also don't know what exactly to do to fully support the three special letters (and their uppercase equvalent) č,š,ž,Č,Š,Ž (\v{c},\v{s},\v{z}, ...). In 'cont-usr.tex' I simply copied \installlanguage [\s!sl] [\s!mapping={il2,ec},\s!encoding={il2,ec}] although I have no idea if it is correct or not. In LaTeX I use \usepackage[cp1250]{inputenc} (or latin2 or utf8, depending on the operating system and editor), but \useencoding and/or translate=cp1250cz in ConTeXt seem to have no effect (they do work for German äöü, but not for our strange signs). Thanks a lot, Mojca Miklavec
... well, I forgot to add the files in my mail. Here they are. Thank you, Mojca Miklavec
Mojca Miklavec wrote:
... well, I forgot to add the files in my mail. Here they are.
the right files are in the alpha i uploaded a while ago (don't use your own lang-sla and conr-usr any more!) Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Mojca Miklavec wrote:
Since my last MikTeX update (pdfeTeX 3.141592-1.20a-rc7.1-2.1, ConTeXt 2004.8.15) the line
\setupinteractionscreen[option=max]
doesn't have any effect any more (the same .tex document as before produces diffrent output - I can't get the whole-screen output any more).
*** *** *** *** ***
ok repaired, had nothing to do with the translation, more with a change in shipout flushing
Undefined control sequence. <argument> \??la \s!sl \c!status ... l.108 \c!status=\v!stop]
Did I miss any other files, did I make any mistake in my translations, is there any other command to be executed first? Or maybe just any of my local files or settings corrupted?
no, just that your old files don't work with the new ones, make a fresh install and then "texexec --make --alone --all" should give you what you want (all patterns to start with)
I also don't know what exactly to do to fully support the three special letters (and their uppercase equvalent) č,š,ž,Č,Š,Ž (\v{c},\v{s},\v{z}, ...). In 'cont-usr.tex' I simply copied \installlanguage [\s!sl] [\s!mapping={il2,ec},\s!encoding={il2,ec}] although I have no idea if it is correct or not.
i huess it is
In LaTeX I use \usepackage[cp1250]{inputenc} (or latin2 or utf8, depending on the operating system and editor), but \useencoding and/or translate=cp1250cz in ConTeXt seem to have no effect (they do work for German äöü, but not for our strange signs).
i think that latin 2 is il2, so \enableregime[latin] should work, but best ask advice to czech users Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
I also don't know what exactly to do to fully support the three special letters (and their uppercase equvalent) č,š,ž,Č,Š,Ž (\v{c},\v{s},\v{z}, ...). In 'cont-usr.tex' I simply copied \installlanguage [\s!sl] [\s!mapping={il2,ec},\s!encoding={il2,ec}] although I have no idea if it is correct or not.
i huess it is
In LaTeX I use \usepackage[cp1250]{inputenc} (or latin2 or utf8, depending on the operating system and editor), but \useencoding and/or translate=cp1250cz in ConTeXt seem to have no effect (they do work for German äöü, but not for our strange signs).
i think that latin 2 is il2, so \enableregime[latin] should work, but best ask advice to czech users
Hi Mojca, czech users use CS fonts (Czech Computer Modern) from Petr Olsak. They are in latin2=il2 encoding and low 7 bits are identical with original Knuth's Computer Modern. 1. Setting in Context is in cont-cz.tex and important line is \setupbodyfont [csr,ams,rm,12pt] CS fonts are part of TeX Live. 2. If you use editor with encoding in cp1250 write % -translate-file=cp1250cs at very first document line. (Perhaps it is not the best solution in ConTeX, perhaps \enableregime[] ??) For using CS Times etc. I created some quick patch. See attachement. Perhaps, it will help you. Vit Zyka % Czech font definition for ConTeXt (addition to ) % Courier (URW) \starttypescript [mono] [courier] [texnansi,ec,8r,8z] \definefontsynonym [Courier] [\typefaceencoding-ucrr8a] [encoding=\typefaceencoding] \definefontsynonym [Courier-Bold] [\typefaceencoding-ucrb8a] [encoding=\typefaceencoding] \definefontsynonym [Courier-Oblique] [\typefaceencoding-ucrro8a] [encoding=\typefaceencoding] \definefontsynonym [Courier-BoldOblique] [\typefaceencoding-ucrbo8a] [encoding=\typefaceencoding] \stoptypescript % Helvetica \starttypescript [sans] [helvetica] [texnansi,ec,8r,8z] \definefontsynonym [Helvetica] [\typefaceencoding-uhvr8a] [encoding=\typefaceencoding] \definefontsynonym [Helvetica-Italic] [\typefaceencoding-uhvri8a] [encoding=\typefaceencoding] \definefontsynonym [Helvetica-Oblique] [\typefaceencoding-uhvro8a] [encoding=\typefaceencoding] \definefontsynonym [Helvetica-Bold] [\typefaceencoding-uhvb8a] [encoding=\typefaceencoding] \definefontsynonym [Helvetica-BoldItalic] [\typefaceencoding-uhvbi8a] [encoding=\typefaceencoding] \definefontsynonym [Helvetica-BoldOblique] [\typefaceencoding-uhvbo8a] [encoding=\typefaceencoding] \stoptypescript % Times Roman (URW) \starttypescript [serif] [times] [texnansi,ec,8r,8z] \definefontsynonym [Times-Roman] [\typefaceencoding-utmr8a] [encoding=\typefaceencoding] \definefontsynonym [Times-Italic] [\typefaceencoding-utmri8a] [encoding=\typefaceencoding] \definefontsynonym [Times-Bold] [\typefaceencoding-utmb8a] [encoding=\typefaceencoding] \definefontsynonym [Times-BoldItalic] [\typefaceencoding-utmbi8a] [encoding=\typefaceencoding] \definefontsynonym [Times-Slanted] [\typefaceencoding-utmr8a-slanted-167] [encoding=\typefaceencoding] \definefontsynonym [Times-BoldSlanted] [\typefaceencoding-utmb8a-slanted-167] [encoding=\typefaceencoding] \definefontsynonym [Times] [Times-Roman] \stoptypescript % Palatino (URW) \starttypescript [serif] [palatino] [texnansi,ec,8r,8z] \definefontsynonym [Palatino] [\typefaceencoding-uplr8a] [encoding=\typefaceencoding] \definefontsynonym [Palatino-Italic] [\typefaceencoding-uplri8a] [encoding=\typefaceencoding] \definefontsynonym [Palatino-Bold] [\typefaceencoding-uplb8a] [encoding=\typefaceencoding] \definefontsynonym [Palatino-BoldItalic] [\typefaceencoding-uplbi8a] [encoding=\typefaceencoding] \definefontsynonym [Palatino-Slanted] [\typefaceencoding-uplr8a-slanted-167] [encoding=\typefaceencoding] \definefontsynonym [Palatino-BoldSlanted] [\typefaceencoding-uplb8a-slanted-167] [encoding=\typefaceencoding] \definefontsynonym [Palatino-Caps] [\typefaceencoding-uplr8a-capitalized-800] [encoding=\typefaceencoding] \stoptypescript % Bookman (URW) \starttypescript [serif] [bookman] [ec,texnansi,8r,8z] \definefontsynonym [Bookman-Light] [\typefaceencoding-ubkl8a] [encoding=\typefaceencoding] \definefontsynonym [Bookman-LightItalic] [\typefaceencoding-ubkli8a] [encoding=\typefaceencoding] \definefontsynonym [Bookman-DemiBold] [\typefaceencoding-ubkd8a] [encoding=\typefaceencoding] \definefontsynonym [Bookman-DemiBoldItalic] [\typefaceencoding-ubkdi8a] [encoding=\typefaceencoding] \definefontsynonym [Bookman-LightSlanted] [\typefaceencoding-ubkl8a-slanted-167] [encoding=\typefaceencoding] \definefontsynonym [Bookman-DemiBoldSlanted] [\typefaceencoding-ubkd8a-slanted-167] [encoding=\typefaceencoding] \definefontsynonym [Bookman-Light-Caps] [\typefaceencoding-ubkl8a-capitalized-800] [encoding=\typefaceencoding] \stoptypescript % Chancery (URW) \starttypescript [calligraphy] [chancery] [ec,texnansi,8r,8z] \definefontsynonym [Chancery] [\typefaceencoding-uzcmi8a] [encoding=\typefaceencoding] \stoptypescript % New Century Schoolbook (URW) \starttypescript [serif] [schoolbook] [ec,texnansi,8r,8z] \definefontsynonym [Schoolbook-Roman] [\typefaceencoding-uncr8a] [encoding=\typefaceencoding] \definefontsynonym [Schoolbook-Italic] [\typefaceencoding-uncri8a] [encoding=\typefaceencoding] \definefontsynonym [Schoolbook-Bold] [\typefaceencoding-uncb8a] [encoding=\typefaceencoding] \definefontsynonym [Schoolbook-BoldItalic] [\typefaceencoding-uncbi8a] [encoding=\typefaceencoding] \definefontsynonym [Schoolbook-RomanSlanted] [\typefaceencoding-uncr8a-slanted-167] [encoding=\typefaceencoding] \definefontsynonym [Schoolbook-BoldSlanted] [\typefaceencoding-uncb8a-slanted-167] [encoding=\typefaceencoding] \definefontsynonym [Schoolbook-Roman-Caps] [\typefaceencoding-uncr8a-capitalized-800] [encoding=\typefaceencoding] \stoptypescript % 8z \starttypescript [berry] [8z] \setupencoding[default=8z] \definefontsynonym [8z-utmr8a] [ptmr8z] [encoding=8z] \definefontsynonym [8z-utmri8a] [ptmri8z] [encoding=8z] \definefontsynonym [8z-utmb8a] [ptmb8z] [encoding=8z] \definefontsynonym [8z-utmbi8a] [ptmbi8z] [encoding=8z] \definefontsynonym [8z-utmr8a-slanted-167] [ptmro8z] [encoding=8z] \definefontsynonym [8z-utmb8a-slanted-167] [ptmbo8z] [encoding=8z] \definefontsynonym [8z-uhvr8a] [phvr8z] [encoding=8z] \definefontsynonym [8z-uhvro8a] [phvb8z] [encoding=8z] \definefontsynonym [8z-uhvb8a] [phvro8z] [encoding=8z] \definefontsynonym [8z-uhvbo8a] [phvbo8z] [encoding=8z] \definefontsynonym [8z-ucrr8a] [pcrr8z] [encoding=8z] \definefontsynonym [8z-ucrb8a] [pcrb8z] [encoding=8z] \definefontsynonym [8z-ucrro8a] [pcrro8z] [encoding=8z] \definefontsynonym [8z-ucrbo8a] [pcrbo8z] [encoding=8z] \definefontsynonym [8z-uplr8a] [pplr8z] [encoding=8z] \definefontsynonym [8z-uplri8a] [pplri8z] [encoding=8z] \definefontsynonym [8z-uplb8a] [pplb8z] [encoding=8z] \definefontsynonym [8z-uplbi8a] [pplbi8z] [encoding=8z] \definefontsynonym [8z-uplr8a-slanted-167] [pplro8z] [encoding=8z] \definefontsynonym [8z-uplb8a-slanted-167] [pplbo8z] [encoding=8z] \definefontsynonym [8z-uplr8a-capitalized-800] [pplr8z] [encoding=8z] \definefontsynonym [8z-ubkl8a] [pbkl8z] [encoding=8z] \definefontsynonym [8z-ubkli8a] [pbkli8z] [encoding=8z] \definefontsynonym [8z-ubkd8a] [pbkd8z] [encoding=8z] \definefontsynonym [8z-ubkdi8a] [pbkdi8z] [encoding=8z] \definefontsynonym [8z-ubkl8a-slanted-167] [pbklo8z] [encoding=8z] \definefontsynonym [8z-ubkd8a-slanted-167] [pbkdo8z] [encoding=8z] \definefontsynonym [8z-ubkl8a-capitalized-800] [pbkl8] [encoding=8z] \definefontsynonym [8z-uzcmi8a] [pzcmi8z] [encoding=8z] \definefontsynonym [8z-putr8a] [putr8r] [encoding=8z] \definefontsynonym [8z-putri8a] [putri8r] [encoding=8z] \definefontsynonym [8z-putb8a] [putr8r] [encoding=8z] \definefontsynonym [8z-putbi8a] [putbi8r] [encoding=8z] \definefontsynonym [8z-putr8a-slanted-167] [putro8r] [encoding=8z] \definefontsynonym [8z-putb8a-slanted-167] [putbo8r] [encoding=8z] \definefontsynonym [8z-putr8a-capitalized-800] [putr8r] [encoding=8z] \definefontsynonym [8z-bchr8a] [bchr8r] [encoding=8z] \definefontsynonym [8z-bchri8a] [bchri8r] [encoding=8z] \definefontsynonym [8z-bchb8a] [bchb8r] [encoding=8z] \definefontsynonym [8z-bchbi8a] [bchbi8r] [encoding=8z] \definefontsynonym [8z-bchr8a-slanted-167] [bchro8r] [encoding=8z] \definefontsynonym [8z-bchb8a-slanted-167] [bchbo8r] [encoding=8z] \definefontsynonym [8z-bchr8a-capitalized-800] [bchr8r] [encoding=8z] \stoptypescript \endinput %% ------- Usage: \usetypescript[berry][8z] %\setupbodyfont[pos]\ss \setupbodyfont[helvetica]\ss \switchtobodyfont[14pt] % Zapf-
participants (3)
-
Hans Hagen
-
Mojca Miklavec
-
Vit Zyka