Re: [NTG-context] texshow problem after update (teTeX-2.99.10.20050123-beta)
On Thu, 27 Jan 2005, Taco Hoekwater wrote: > It cannot find the cont-en.xml data file. > > The XML data files live in /context/data/ > > Perhaps you forgot to run mktexlsr (most likely) or your system's kpsewhich > doesn't search for "other text files" in this data directory (possible)? Thanks. I'm using the newest teTeX. Here the output of kpsewhich: kpsewhich --format="other text files" --progname=context cont-en.xml -> no output kpsewhich --progname=context cont-en.xml -> /opt/teTeX/texmf-dist/tex/context/interface/cont-en.xml Then, I loaded the texmf.cnf into my editor and found the following text: % Some additional input variables for several programs. If you add % a program that uses the 'other text files' or 'other binary files' % search formats, you'll want to add their variables here as well. So I added this line: CONTEXTINPUTS = .;$TEXMF/tex/context// And now, it seems all ok! Thanks! Peter P.S.: In the manual of kpsewhich, the options begin with only one hyphen. -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texshow problem after update
On Thu, 27 Jan 2005 18:25:28 +0100 (CET) Peter Münster <[EMAIL PROTECTED]> wrote: > Hello, > texshow is no more working on my system after update. Here is the output: It cannot find the cont-en.xml data file. The XML data files live in /context/data/ Perhaps you forgot to run mktexlsr (most likely) or your system's kpsewhich doesn't search for "other text files" in this data directory (possible)? Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] texshow problem after update
Hello, texshow is no more working on my system after update. Here is the output: TeXShow-XML 0.2 beta / Taco Hoekwater 2004 interface : cont-en status : searching for setup files error : setup files not found error : no setup files found Versions of the other programs: TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 texexec : TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.20c-beta-20050121-2.2 (Web2C 7.5.4) context : ver: 2005.01.13 cont-en : ver: 2005.01.13 fmt: 2005.1.25 mes: english TIA for any help! Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \starttables and \footnote
Hello, could someone help me with placing a footnote in a multipage-table? Here an example, where the table overwrite the footnote: \starttext \starttablehead \HL \NC command \NC meaning \NC\SR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|l|l|] \NC \tex{NC}\NC next column\footnote{a footnote}\NC\FR \dorecurse{50}{\NC \tex{MR} \NC middle row \NC\MR} \NC \tex{LR}\NC last row\NC\LR \stoptables \stoptext Used versions: TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 texexec : TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.20c-beta-20050121-2.2 (Web2C 7.5.4) context : ver: 2005.01.13 cont-en : ver: 2005.01.13 fmt: 2005.1.25 mes: english Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TeX control sequence inside XML param
Hans Hagen wrote: Vit Zyka wrote: Hallo, it is possible to use TeX control sequence inside XML param? How? Example: ^^ \defineXMLenvironment[figure][file=,width=] {} {\externalfigure[\XMLop{file}][width=\XMLop{width}]} Hm. You're lucky. We should make a test suite (at the wiki) to make sure that this kind of stuff keeps working -) \starttext \defineXMLentity[ctx-var-textwidth] {\textwidth} I s! I might come to me... Actually I'd like to solve a bit more complex task: \starttext \defineXMLentity[ctx-var-textwidth] {\textwidth} \newcount\FigNo \defineXMLenvironment[float][] {\defineXMLpush[caption]% \global\FigNo=0 } {\placefigure{\XMLflush{caption}}% {\dorecurse{\FigNo}% {\edef\filewithpath{\XMLpop{dir-fig}\getvalue{file:\recurselevel}}% \edef\param{\getvalue{param:\recurselevel}}% \externalfigure[\filewithpath][\param]}}% } \defineXMLenvironment[figure][file=,context=] {} {\global\advance\FigNo by1 % \expanded{\setvalue{file:\the\FigNo}{\XMLop{file}}}% \expanded{\setvalue{param:\the\FigNo}{\XMLop{context}}}% } \startXMLdata Cow and hacker. \stopXMLdata \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Russia (cyrillic letters)
Mikael Persson said this at Thu, 27 Jan 2005 14:50:13 +0100: >> (Adam: what to do with names, we have Greeka GreekA etc maybe it should be >> greeka greekA, but maybe that will clash some day; same for cyrillic) >> >> Hans Ack! You're asking me? I always thought you had a logic to it... I just picked up the (\cyrillicBLAH) pattern from what was already in ConTeXt. But if you were to push me on my opinion, the greek characters should probably have a \greek prefix, rather than \Greek, because of your usual lowercase namespacing conventions. I'd say leave cyrillic as it is? adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Russia (cyrillic letters)
Rob Ermers wrote: Hi, I would be interested in a solution for Arabic... Presently \ works, but otherwise support for Arabic (\startarabic) is not optimal. If one of you could make a set-up for that too ... arabic a bit more tricky since it has those ligatures, so that needs aleph or arabtex (of course we can make an encoding with named glyphs) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Russia (cyrillic letters)
On Thu, 27 Jan 2005 13:01:30 +0100, Hans Hagen <[EMAIL PROTECTED]> wrote: > Mikael Persson wrote: > > > OK, so here they are. Hope I understood correctly how it works... :) > > enco-004.tex > > and > > enco-uc-add.tex > > I used the names from gucharmap (char map app for Gnome) where they > > were not yet defined. The names is not always so short as one maybe > > would like. > > This one probably needs to be updated > > (Adam: what to do with names, we have Greeka GreekA etc maybe it should be > greeka greekA, but maybe that will clash some day; same for cyrillic) > > Hans > Hm, OK, I can update enco-cyr.tex aswell. Atleast for t2a. I don't really know the differences between t2a, t2b and so on... But how to do? Use \ShowFont and see what characters actually are present, and then add the ones that need to be added? Or maybe there is some spec file over the encodings :) Moreover I wonder if there is any differences between t2a and cm-super-t2a... I guess it would be nice wth hebrew and arabic too, as mentioned. However, since I dont recognize the characters at all from these alphabets I am not sure I am the person who should do this. About the memory-saving \ucharfourhex you wrote about I assume you fix the file to the right format Hans? So, is there anything right now I can do for speeding ut getting cyrillic letters via utf? /Micke P ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Russia (cyrillic letters)
Hi, I would be interested in a solution for Arabic... Presently \ works, but otherwise support for Arabic (\startarabic) is not optimal. If one of you could make a set-up for that too ... Kind regards, Robert Ermers Hans Hagen wrote: concerning cyrillic ... we should also take care of hebrew, then we have latin. greek, cyrillic and hebrew covered. 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Russia (cyrillic letters)
concerning vectors: \def\ucharfourhex#1 {\uchar4{"#1}} \definecharacter cyrillicEgrave{\ucharfourhex00 } saves some memory 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Russia (cyrillic letters)
concerning cyrillic ... we should also take care of hebrew, then we have latin. greek, cyrillic and hebrew covered. 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TeX control sequence inside XML param
Vit Zyka wrote: Hallo, it is possible to use TeX control sequence inside XML param? How? Example: ^^ \defineXMLenvironment[figure][file=,width=] {} {\externalfigure[\XMLop{file}][width=\XMLop{width}]} Hm. You're lucky. We should make a test suite (at the wiki) to make sure that this kind of stuff keeps working -) \starttext \defineXMLentity[ctx-var-textwidth] {\textwidth} \defineXMLcommand[test][width=\textwidth] {\the\dimexpr\XMLop{width}\relax} \startXMLdata \stopXMLdata \stoptext - 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Russia (cyrillic letters)
Mikael Persson said this at Thu, 27 Jan 2005 11:59:57 +0100: >OK, so here they are. Hope I understood correctly how it works... :) >enco-004.tex >and >enco-uc-add.tex Nice work. It holds up to spot-checking with my Mac OSX Unicode "Character Palette". >I used the names from gucharmap (char map app for Gnome) where they >were not yet defined. The names is not always so short as one maybe >would like. I don't think we can get around that. All we really need is to hook together with existing encodings, and I don't think many of those new glyphs are used in the existing Cyrillic TeX encodings. thanks, adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Russia (cyrillic letters)
On Thu, 27 Jan 2005 10:11:51 +0100, Hans Hagen <[EMAIL PROTECTED]> wrote: > Adam Lindsay wrote: > > > Yeah, there is a way to use UTF-8 input, but it's not ready for Cyrillic > > quite yet--It'll take some work (from you? :D ) to get it going. > > indeed, it would be godo to have that vector, yesterday i (partially) made the > greek one > > Hans > OK, so here they are. Hope I understood correctly how it works... :) enco-004.tex and enco-uc-add.tex I used the names from gucharmap (char map app for Gnome) where they were not yet defined. The names is not always so short as one maybe would like. /Micke P %D \module %D [ file=unic-004, %Dversion=2005.01.27, %D title=\CONTEXT\ \UNICODE\ Macros, %D subtitle=Vector 1, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA / Hans Hagen \& Ton Otten}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. \unprotect \startunicodevector 4 \expandafter\strippedcsname \ifcase\numexpr(#1+1) % space needed, terminates expr \cyrillicEgrave \or % 04-00 \uchar0{200} aswell \cyrillicYO \or % 04-01 Capital YO (or IO) \cyrillicDJE \or % 04-02 \cyrillicGJE \or % 04-03 not in enco-uc.tex \cyrillicIE \or % 04-04 Ukrainian IE \cyrillicDZE \or % 04-05 \cyrillicII \or % 04-06 Byelorussian-ukrainian I \cyrillicYI \or % 04-07 \cyrillicJE \or % 04-08 same letter as latin J? \cyrillicLJE \or % 04-09 \cyrillicNJE \or % 04-0A \cyrillicTSHE \or % 04-0B \cyrillicKJE \or % 04-0C \cyrillicIgrave \or % 04-0D I with grave \cyrillicUSHRT\or % 04-0E \cyrillicDZHE \or % 04-0F \cyrillicA \or % 04-10 \cyrillicB \or \cyrillicV \or \cyrillicG \or \cyrillicD \or \cyrillicE \or \cyrillicZH\or \cyrillicZ \or \cyrillicI \or \cyrillicISHRT \or \cyrillicK \or \cyrillicL \or \cyrillicM \or \cyrillicN \or \cyrillicO \or \cyrillicP \or \cyrillicR \or \cyrillicS \or \cyrillicT \or \cyrillicU \or \cyrillicF \or \cyrillicH \or \cyrillicC \or \cyrillicCH\or \cyrillicSH\or \cyrillicSHCH \or \cyrillicHRDSN \or \cyrillicERY \or \cyrillicSFTSN \or \cyrillicEREV \or \cyrillicYU\or \cyrillicYA\or \cyrillica \or % 04-30 \cyrillicb \or \cyrillicv \or \cyrillicg \or \cyrillicd \or \cyrillice \or \cyrilliczh\or \cyrillicz \or \cyrillici \or \cyrillicishrt \or \cyrillick \or \cyrillicl \or \cyrillicm \or \cyrillicn \or \cyrillico \or \cyrillicp \or \cyrillicr \or \cyrillics \or \cyrillict \or \cyrillicu \or \cyrillicf \or \cyrillich \or \cyrillicc \or \cyrillicch\or \cyrillicsh\or \cyrillicshch \or \cyrillichrdsn \or \cyrillicery \or \cyrillicsftsn \or \cyrillicerev \or \cyrillicyu\or \cyrillicya\or % 04-4F \cyrillicegrave \or % 04-50 not i enco-uc.tex but same as \uchar0{232} \cyrillicio\or % 04-51 small yo (or io) \cyrillicdje \or % 04-52 serbian letter \cyrillicgje \or % 04-53 macedonian letter not in enco-uc.tex \cyrillicie\or % 04-54 ukrainian ie \cyrillicdze \or % 04-55 macedonian zelo \cyrillicii\or % 04-56 byelorussian-ukrainian i. \cyrillicyi\or % 04-57 \cyrillicje\or % 04-58 not in enco-uc.tex same as latin j? \cyrilliclje \or % 04-59 \cyrillicnje \or % 04-5A \cyrillictshe \or % 04-5B \cyrillickje \or % 04-5C macedonian, not in enco-uc.tex \cyrillicigrave \or % 04-5D macedonian, cyr i with grave not in enco-uc.tex \cyrillicushrt \or % 04-5E \cyrillicdzhe \or % 04-5F \cyrillicOMEGA \or % 04-60 Omega not in enco-uc.tex \cyrillicomega \or % 04-61 omega not in enco-uc.tex \cyrillicYAT \or % 04-62 Yat not in enco-uc.tex \cyrillicyat \or % 04-63 Yat not in enco-uc.tex \cyrillicEiotified \or % 04-64 iotified E not in enco-uc.tex \cyrilliceiotified \or % 04-65 iotified e not in enco-uc.tex \cyrillicLITTLEYUS \or % 04-66 Little Yus not in enco-enc.tex \cyrilliclittleyus \or % 04-67 Little yus not in enco-enc.tex \cyrillicLITTLEYUSiotified \or % 04-68 Little Yus iotified not in enco-enc.tex \cyrilliclittleyusiotified \or % 04-69 Little yus iotified not in enco-enc.tex \cyrillicBIGYUS\or % 04-6A Big Yus not in enco-enc.tex \cyrillicbigyus\or % 04-6B Big yus not in enco-enc.tex \cyrillicBIGYUSiotified\or % 04-6C Big Yus iotified not in enco-enc.tex \cyrillicbigyusiotified\or % 04-6D Big yus iotified
[NTG-context] TeX control sequence inside XML param
Hallo, it is possible to use TeX control sequence inside XML param? How? Example: ^^ \defineXMLenvironment[figure][file=,width=] {} {\externalfigure[\XMLop{file}][width=\XMLop{width}]} Thank you Vit Zyka -- Error message (from a bit complex source): ! Missing \endcsname inserted. \texescape \XML:ent:tex-backslash ...kslash \else \texescape \fi \param:1 ->width=.45\getXMLentity {tex-backslash} textwidth \getvalue #1->\csname #1 \endcsname \calculateexternalfigure ...guresvg #1[#4][#5][#6] \doifsomething \@@efmaxwid... ...dummy ][\filewithpath ][\param ][][] \calculateexternalscreenfi... ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Russia (cyrillic letters)
On Thu, 27 Jan 2005 10:11:51 +0100, Hans Hagen <[EMAIL PROTECTED]> wrote: > Adam Lindsay wrote: > > > Yeah, there is a way to use UTF-8 input, but it's not ready for Cyrillic > > quite yet--It'll take some work (from you? :D ) to get it going. > > indeed, it would be godo to have that vector, yesterday i (partially) made the > greek one > > Hans I am doing it right now for the cyrillic ones. There are some \definecharacter that has to be added (I list them too) It will be finished within an hour or two. Micke ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Russia (cyrillic letters)
Mikael Persson wrote: Hm, I don't think so. But that is a question for everyone to consider. However, if you ask me I would be happy to have (snipped from the README file): rm: Computer Modern Roman sl: Computer Modern Slanted ti: Computer Modern Italic cc: Computer Modern Caps and Small Caps ui: Computer Modern Unslanted Italic is this oen really used? sc: Computer Modern Slanted Caps and Small Caps ci: Computer Modern Classical Serif Italic is that one used? bx: Computer Modern Bold Extended bl: Computer Modern Bold Extended Slanted bi: Computer Modern Bold Extended Italic xc: Computer Modern Bold Extended Caps and Small Caps oc: Computer Modern Bold Extended Slanted Caps and Small Caps rb: Computer Modern Roman Bold bm: Computer Modern Roman Bold Variant ss: Computer Modern Sans Serif si: Computer Modern Sans Serif Slanted sx: Computer Modern Sans Serif Bold Extended so: Computer Modern Sans Serif Bold Extended Slanted tt: Computer Modern Typewriter st: Computer Modern Typewriter Slanted it: Computer Modern Typewriter Italic tc: Computer Modern Typewriter Caps and Small Caps vt: Computer Modern Variable Width Typewriter vi: Computer Modern Variable Width Typewriter Italic "Each font shape comes in 14 font sizes ranging from 5pt to 35.83pt (or 11 font sizes for typewriter fonts ranging from 8pt to 35.83pt)." I don't think all sizes are necessary. if we stick to 10pt as base ... (see type-cbg.tex) and moreover it would be nice to have sform5 .. sform10: Computer Modern Concrete Roman sfosl5 .. sfosl10: Computer Modern Concrete Slanted sfoti10:Computer Modern Concrete Italic sfocc10:Computer Modern Concrete Caps and Small Caps ok, but a different set (maybe not all sizes here either) and sfbmr{8,9,10,17}: Computer Modern Bright Roman sfbmo{8,9,10,17}: Computer Modern Bright Oblique sfbsr{8,9,10,17}: Computer Modern Bright Semibold sfbso{8,9,10,17}: Computer Modern Bright Semibold Oblique sfbbx10: Computer Modern Bright Bold Extended sfbtl10: Computer Modern Typewriter Light sfbto10: Computer Modern Typewriter Light Oblique used? keep in mind that cmsuper is far from perfect Hm, well, this is all but ~18 (times 13 or 14 sizes)... so maybe it is worth to have them all? What do one loose? speed? work? If work, then I am ready to write what shall be written if you only show me for one font. i don't want 75 meg font files; i can live with 2 meg extra in the minimal distribution, so a base of 10pt ones sounds ok to me so: - we need a koi vector (enco-koi) - a list of the 10pt font files that make sense About the encodings: According to my russian friend koi8-r is the most common now, but utf is coming more and more. This is what one person said, so if someone else think it is different, they may very well be right (my friend is mostly TeX:ing on UNIX systems, and from what I read from search results, the koi8r and koi8-r (which seems to be the same?) are mostly used on UNIX and www. So maybe the windows 1521 encoding is still used by Windows users?) However, I can't get it working with koi8-r. It works in LaTeX (tried with the russian "Not so short introduction to LaTeX" document, and it seemed to use t2a and koi8-r). Under ConTeXt, the document I try (the rexample.tex saved in koi8-r instead of windows 1521) compiles, I get russian letters, but the letters are at wrong places. I am using \enableregime[koi8-r], and saving the document in koi8-r encoding. Is there anything else I should do? so where does this t2a then fit in? we can make koi the main one and move the t2's to some additional typescript [so that it no longer slows down things] that users can 'load' in their cont-sys.tex 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Russia (cyrillic letters)
Adam Lindsay wrote: Yeah, there is a way to use UTF-8 input, but it's not ready for Cyrillic quite yet--It'll take some work (from you? :D ) to get it going. indeed, it would be godo to have that vector, yesterday i (partially) made the greek one 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context