Mojca Miklavec wrote:

\defineregimesynonym[windows-1250][cp1250]

the synonym features is already in the kernel; the following patch to regi-ini will permit file name synonyms, so

\definefilesynonym[regi-win][...]

patch:

\def\douseregime#1% nearly identical to encoding
 {\doifundefined{\c!file\f!regimeprefix#1}%
    {\setvalue{\c!file\f!regimeprefix#1}{}%
     \makeshortfilename[\truefilename{\f!regimeprefix#1}]%
     \startreadingfile
       \readsysfile\shortfilename
         {\showmessage\m!encodings2{#1}}
         {\showmessage\m!encodings3{#1}}%
     \stopreadingfile}}

so, we can make (many) files called

regi-cp-1250

and then say

\definefilesynonym[regi-win][regi-cp-1250]

\defineregimesynonym[win][cp1250]

(of course the internals of regi-... should become cp1250 then)

Hans

_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to