diff options
Diffstat (limited to 'Master/texmf-dist/tex/luatex/optex/base/languages.opm')
-rw-r--r-- | Master/texmf-dist/tex/luatex/optex/base/languages.opm | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/luatex/optex/base/languages.opm b/Master/texmf-dist/tex/luatex/optex/base/languages.opm index eea821f6a63..52b52f775e7 100644 --- a/Master/texmf-dist/tex/luatex/optex/base/languages.opm +++ b/Master/texmf-dist/tex/luatex/optex/base/languages.opm @@ -1,16 +1,16 @@ -%% This is part of OpTeX project, see http://petr.olsak.net/optex +%% This is part of the OpTeX project, see http://petr.olsak.net/optex \_codedecl \_mtext {Languages <2020-12-05>} % preloaded in format \_doc ----------------------------- Only four words are generated by \OpTeX/ macros: \"Chapter", - \"Table", \"Figure" and \"Subject". These phrases can be generated depending - on the current value of `\language` register, if you use \`\_mtext``{<phrase-id>}`, - specially `\_mtext{chap}`, `\_mtext{t}`, `\_mtext{f}` or `\_mtext{subj}`. - If your macros generate more words then + \"Table", \"Figure" and \"Subject". These phrases can be generated depending + on the current value of `\language` register, if you use \`\_mtext``{<phrase-id>}`, + specially `\_mtext{chap}`, `\_mtext{t}`, `\_mtext{f}` or `\_mtext{subj}`. + If your macros generate more words then you can define such words by `\sdef{_mt:<phrase-id>:<lang>}` where - `<phrase-id>` is a label for declared word and `<lang>` is language shortcut - (iso code). + `<phrase-id>` is a label for the declared word and `<lang>` is a language shortcut + (iso code). \_cod ----------------------------- \_def\_mtext#1{\_trycs{_mt:#1:\_trycs{_lan:\_the\_language}{en}} @@ -23,7 +23,7 @@ \_doc ----------------------------- Using \`\_langw` `<lang> <chapter> <table> <figure> <subject>` you can - declare these words more effectively: + declare these words more effectively: \maxlines=13 \_cod ----------------------------- @@ -66,7 +66,7 @@ júla augusta septembra októbra novembra decembra \_monthw it gennaio febbraio marzo aprile maggio giugno luglio agosto settembre ottobre novembre dicembre - + \_sdef{_mt:today:en}{\_mtext{m\_the\_month} \_the\_day, \_the\_year} \_sdef{_mt:today:cs}{\_the\_day.~\_mtext{m\_the\_month} \_the\_year} @@ -76,16 +76,16 @@ \_public \today ; \_doc ----------------------------- - Quotes should be tagged by `\"<text>"` and `\'<text>'` if `\<iso-code>quotes` - is declared at beginning of the document (for example `\enquotes`). + Quotes should be tagged by `\"<text>"` and `\'<text>'` if `\<iso-code>quotes` + is declared at beginning of the document (for example `\enquotes`). If not, then the control sequences `\"` and `\'` are undefined. Remember, that they are used in - another meaning when `\oldaccents` command is used. + another meaning when the `\oldaccents` command is used. The macros `\"` and `\'` are not defined as `\protected` because we need their expansion when `\outlines` are created. User can declare quotes by \^`\quoteschars``<clqq><crqq><clq><crq>`, where `<clqq>...<crqq>` are normal quotes and `<clq>...<crq>` are alternative quotes. - or use \`\altquotes` to swap between meaning of these two types of quotes. + or use \`\altquotes` to swap between the meaning of these two types of quotes. \nl \`\enquotes`, \`\csquotes`, \`\dequotes`, \`\frquotes` etc. are defined here. \_cod ----------------------------- @@ -105,10 +105,10 @@ The \`\quoteschars``<lqq><rqq><lq><rq>` defines `\"` and `\"` as `\_qqA` in in normal mode and as expadable macros in outline mode. We want to well process the common cases: \code{\\"`&`"} or \code{\\"`\{`"}. - This is reason why the quotes parameter is read in verbatim mode and retokenized - again by `\scantextokens`. We want to allow to quote the quoutes mark - itself by \code{\\"{`"`}"}. This is reason why the sub-verbatim mode is - used when first character is \code{\{} in the parameter.\nl + This is the reason why the quotes parameter is read in verbatim mode and retokenized + again by `\scantextokens`. We want to allow to quote the quotes mark + itself by \code{\\"{`"`}"}. This is the reason why the sub-verbatim mode is + used when the first character is \code{\{} in the parameter.\nl The `\"` is defined as `\_qqA\_qqB<lqq><rqq>` and `\'` as `\_qqA\_qqC<lq><rq>`. The \`\_qqA``\_qqB<clqq><crqq>` runs \`\_qqB``<lqq><rqq><text>"`. \_cod ----------------------------- @@ -125,8 +125,8 @@ \_doc ----------------------------- Sometimes should be usable to leave the markup `"such"` or `'such'` i.e.~without the first backslash. Then you can make the characters `"` and `'` active - by the \`\activequotes` macro and leave quotes without first backslash. - First, declare `\<iso-code>quotes`, then \^`\altquotes` (if needed) and finally + by the \`\activequotes` macro and leave quotes without the first backslash. + First, declare `\<iso-code>quotes`, then \^`\altquotes` (if needed) and finally \^`\activequotes`. \`\_resetaquotes` redefines expandable version of `\"<text>"` and `\'<text>'` @@ -143,20 +143,20 @@ \_regmacro{}{}{\_edef\"##1~{\"##1"}\_edef\'##1,{\'##1'}}} } -\_public \quoteschars \activequotes \enquotes \csquotes \skquotes \frquotes \plquotes +\_public \quoteschars \activequotes \enquotes \csquotes \skquotes \frquotes \plquotes \esquotes \grquotes \ruquotes \itquotes \dequotes ; \_doc ----------------------------- Bibliography references generated by \^`\usebib` uses more language-dependent phrases. They are declared here. We don't want to save - all these phrases into format, so the trick with {`\_endinput`} - is used here. When \^`\usebib` is processed then following part of the file + all these phrases into the format, so the trick with {`\_endinput`} + is used here. When \^`\usebib` is processed then the following part of the file `languages.opm` is read again. Only phrases of few languages are declared here now. If you want to declare phrases of your language, please create an \"issue" or a \"request" at - \url{https://github.com/olsak/OpTeX} or send me email with new - phrarses for your language (or language you know:). I am ready to put them here. + \url{https://github.com/olsak/OpTeX} or send me an email with new + phrases for your language (or language you know:). I am ready to put them here. Temporarily, you can put your definitions into `\bibtexhook` token list. \_cod ----------------------------- @@ -180,7 +180,7 @@ {Bakalárska práca} {Diplomová práca} {Dizertačná práca} % \_<lang>dateformat year/month/day\relax, for example: \_csdateformat 2020/05/21\relax -% This is used in iso690 bib style when the the field "citedate" is used. +% This is used in iso690 bib-style when the field "citedate" is used. \_def\_endateformat #1/#2/#3\relax{#1-#2-#3} % \_csdateformat 2020/05/21\relax -> \hbox{21. 5. 2020} |