Re: [NTG-context] Ctx & Lua: determination of the language being used

2010-11-25 Thread Wolfgang Schuster
Am 25.11.2010 um 12:49 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > how to determine the current language being used in Ctx source via Lua? I > mean soumething like: > > --- > \mainlanguage[cz] > > \starttext > AAA > > \startluacode >

[NTG-context] Ctx & Lua: determination of the language being used

2010-11-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to determine the current language being used in Ctx source via Lua? I mean soumething like: --- \mainlanguage[cz] \starttext AAA \startluacode if context.mainlanguage == "cz" then -- Do something specific context("Ahoj!") elseif context

Re: [NTG-context] "Key" words translations

2010-11-03 Thread Wolfgang Schuster
Am 03.11.2010 um 11:06 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > is there a file which defines translation of some words? > > E.g. when I use \mainlanguage[cz], ConTeXts gets to know to write "Kapitola" > instead of "Chapter" etc.

[NTG-context] "Key" words translations

2010-11-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is there a file which defines translation of some words? E.g. when I use \mainlanguage[cz], ConTeXts gets to know to write "Kapitola" instead of "Chapter" etc. It would be nice if ctx knew also: "Table of Contents" = "Obsah" &quo

[NTG-context] Lettermodule: error message

2010-10-24 Thread Willi Egger
getbuffer [lettercontent]... \stopletter ->\processlettervalues \directsetup {\v!letter :\v!place }\endgr... l.31 \stopletter I used the following test-file: \usemodule[letter][style=dutch] \mainlanguage[de] \language[de] \starttext \startletter Nach unsere

[NTG-context] Problem processing a non-UTF8 Lua script

2010-10-21 Thread Procházka Lukáš
Hello, I have a problem with processing a Lua file similar to that with \typefile described several days (weeks?) ago. Let's have the following files: - Ctx: --- \mainlanguage[cz] \enableregime[cp1250] \starttext AAA \startluacode local t = dofile("t.lua")

Re: [NTG-context] Pound sign £ output as italic dollar sign [urgent]

2010-10-20 Thread Mojca Miklavec
On Wed, Oct 20, 2010 at 11:44, Elliot Clifton wrote: > Hello, > > I was just about to send my book to press when I noticed the '£' appears in > my PDF as an italic dollar sign. > > \language[en] > \mainlanguage[en] > \enableregime[utf-8] > > I'm using

[NTG-context] Pound sign £ output as italic dollar sign [urgent]

2010-10-20 Thread Elliot Clifton
duct separately from the project the £ appears as expected. When I generate the project it appears as italic $. I'm using ConTeXt ver: 2010.10.19 23:03 MKII fmt: 2010.10.20 int: english/english with TeXLive 2010 on MacOS X 10.6. And I have the following in my environment file: \lang

Re: [NTG-context] Two layer in a document

2010-09-30 Thread Wolfgang Schuster
hows > only the figure on the left side. > > \enableregime[utf-8] > \mainlanguage[de] > \setupcolors [state=start] > \setupoutput[pdftex] > \setuppapersize[A4][A4] > \usemodule [simplefonts,r,tikz,edtsnc,chart] > \setmainfont [rubscalatz] > \setsansfont [rubflama]

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen
On 30-9-2010 1:18, Vladimir Lomov wrote: Hi Hans. 2010/9/30 Hans Hagen: how does your test file look Ok. Second shoot :) [file name="ex_ru.tex"] %\usetypescriptfile[cmu] \usetypefile[cmu] \setupbodyfont[computer-modern-unicode, rm, 10pt] \mainlanguage[ru] \starttext \input

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen
rn-unicode defined? Maybe Wolfgang had a another file? \mainlanguage[ru] \starttext \input ru_li2.tex \stoptext [/file] The ru_li2.tex is attached (text borrowed from ru.wikipedia.ru, about Alexandrov P.S. mathematician) --- WBR, Vlad

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi Hans. 2010/9/30 Hans Hagen : > how does your test file look Ok. Second shoot :) [file name="ex_ru.tex"] %\usetypescriptfile[cmu] \usetypefile[cmu] \setupbodyfont[computer-modern-unicode, rm, 10pt] \mainlanguage[ru] \starttext \input ru_li2.tex \stoptext [/file] The ru_li2.te

Re: [NTG-context] columnset - float vertical spacing

2010-09-30 Thread Jan Pohanka
pace=1.5cm, width=middle,height=middle, location=middle,marking=on] \setuppagenumbering[location=] \mainlanguage[en] \enableregime[utf8] \usetypescript[helvetica][ec] \setupbodyfont[helvetica,25pt] \setupindenting[always,small] \definecolumnset[cols][n=3,distance=1em,balance=yes] \s

[NTG-context] columnset - float vertical spacing

2010-09-30 Thread Jan Pohanka
ering[location=] \mainlanguage[en] \enableregime[utf8] \usetypescript[helvetica][ec] \setupbodyfont[helvetica,25pt] \setupindenting[always,small] \definecolumnset[cols][n=3,distance=1em,balance=yes] \setupfloats[frame=on,spacebefore=none,spaceafter=none,before=,after=] \starttext \show

[NTG-context] Two layer in a document

2010-09-30 Thread Daniel Grycman
Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the figure on the left side. \enableregime[utf-8] \mainlanguage

[NTG-context] layer problem

2010-09-07 Thread Andrea Valle
Hi to all, I'm using this code to insert a page from pdf into a layer: \enableregime[utf8] \mainlanguage[it] \setupinteraction[state=start] \setupcolors[state=start] \setuppagenumbering[state=stop] %%% Colors %%% %\definepapersize [flyer][width=99mm, height=

[NTG-context] Macros for paper feedback form

2010-09-06 Thread Cecil Westerhof
I am trying to make a set of macros for a paper feedback form. The first part is: \setuplayout [backspace=20mm,footer=5mm,header=5mm,height=middle,margin=1cm,topspace=0mm,width=middle] \setupindenting[yes,none] \enableregime[utf-8] \mainlanguage[nl] \setupbodyfont[roman

Re: [NTG-context] polish sorting

2010-08-19 Thread Hans Hagen
Hi, \mainlanguage[pl] \starttext \placeregister[index][criterium=text,n=1] \startlines aaa\index{aaa} Aaa\index{Aaa} aab\index{aab} Aab\index{Aab} \stoplines \stoptext typesets a aaa 1 Aaa 1 aab 1 Aab 1 aaa aab Aaa Aab so, what order do you expect here

[NTG-context] Bib Module: \cite can kill spaces

2010-08-15 Thread Andreas Schneider
Hi, I don't know how exactly it happens, but in the attached example the last footnote is missing a space before the inserted \cite. In my real document that happens a lot and kills the layout. Anything I can do to fix that? Best Regards, Andreas.\mainlanguage[de] \usemodul

[NTG-context] [PATCH] small corrections for the ConTeXt-correspondence manual

2010-08-15 Thread Paul Menzel
to this concept and use {\em memo:} as prefix for the label names.} +an exception to this concept and uses {\em memo:} as prefix for the label names.} \setup[setuplabeltext]\flushatnextpar{\index{\tex{setuplabeltext}}} -To add now a label for our currently used {\em skype} value put the followi

[NTG-context] 2 sets of footnotes?

2010-08-05 Thread Martin Althoff
er page? Extensive (sorry) example below. Thanks Martin \mainlanguage [de] \setuppapersize[A5][A5] \usetypescript[palatino] \setupbodyfont[pagella,12pt] \setupinmargin[style=\rmx] \setupindenting[yes,small] \indenting[next] \setupfootnotes [way=section] \definelist[SideNote] \setuplis

Re: [NTG-context] Better support for Croatian in lang-sla.tex (patch included)

2010-07-12 Thread Hans Hagen
Cyrillic script require different patterns, different font encodings and different labels. The \mainlanguage[serbian][script=latin] and [script=cyrillic] would only be "a more elegant/proper" way as opposed to \mainlanguage[serbian-latn] and \mainlanguage[serbian-cyrl] (or serbian-latin

Re: [NTG-context] Better support for Croatian in lang-sla.tex (patch included)

2010-07-12 Thread Mojca Miklavec
erms of TeX. Latin script and Cyrillic script require different patterns, different font encodings and different labels. The \mainlanguage[serbian][script=latin] and [script=cyrillic] would only be "a more elegant/proper" way as opposed to \mainlanguage[serbian-latn] and \mainlanguage[serbi

Re: [NTG-context] Serbian: Latin vs. Cyrillic

2010-07-12 Thread Hans Hagen
On 12-7-2010 4:00, Vedran Miletić wrote: Datuma 11. srpnja 2010. 13:24 Mojca Miklavec je napisao/la: It would be great if ConTeXt supported: \mainlanguage [serbian] [script=latin | cyrillic] as well as \mainlanguage [english] [variant=american | british] etc. This is what

Re: [NTG-context] Serbian: Latin vs. Cyrillic

2010-07-12 Thread Vedran Miletić
Datuma 11. srpnja 2010. 13:24 Mojca Miklavec je napisao/la: > It would be great if ConTeXt supported: > > \mainlanguage >    [serbian] >    [script=latin | cyrillic] > > as well as > > \mainlanguage >    [english] >    [variant=american | british] > > etc. T

[NTG-context] How to sort in Lua using locale?

2010-07-12 Thread Mojca Miklavec
tija} \section{H} \person{Haček}{Caron} \person{Hagen}{Hans} \person{Henkel}{Hartmut} \person{Hoekwater}{Taco} The following code works for English and needs a fix to respect local sorting rules. I would be grateful for any hint before reinventing the wheel (the hint can also be a pointer to the ri

[NTG-context] Serbian: Latin vs. Cyrillic

2010-07-11 Thread Mojca Miklavec
2010/7/11 Vedran Miletić wrote: > > I could also add support for Serbian latin, but I have no idea how to > add new language that will allow both latin and cyrilic. It would be great if ConTeXt supported: \mainlanguage [serbian] [script=latin | cyrillic] as well as \mai

Re: [NTG-context] two languages hyphenation

2010-06-27 Thread Vyatcheslav Yatskovsky
Hi Hans, Since they are written in two different scripts you can theoretically enable them simultaneously (but I'm not sure if this is supported by default). interesting and quite trivial to support ... do you have a test file? I suspect to use \mainlanguage[en,ua] command, if it'

Re: [NTG-context] two languages hyphenation

2010-06-25 Thread Hans Hagen
On 25-6-2010 2:24, Mojca Miklavec wrote: On Fri, Jun 25, 2010 at 14:19, Vyatcheslav Yatskovsky wrote: Hello, I have two languages in my document: English and Russian, and want to enable hyphenation for both. (By default, only English words are hyphenated). How to achive this? \mainlanguage

Re: [NTG-context] two languages hyphenation

2010-06-25 Thread Mojca Miklavec
On Fri, Jun 25, 2010 at 14:19, Vyatcheslav Yatskovsky wrote: > Hello, > > I have two languages in my document: English and Russian, and want to enable > hyphenation for both. (By default, only English words are hyphenated). How > to achive this? \mainlanguage[ru] \starttext so

[NTG-context] \setcharacterspacing[frenchpunctuation] in mkiv

2010-06-22 Thread Otared Kavian
« http » and « :// » as if the \type command were ignored regarding spacing. Best regards: OK %%% french-punctuation.tex \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setupinteraction [state=start,color=darkgreen] \useURL [wiki] [http://wiki.contextgarden.net

Re: [NTG-context] Problems with TeX Live 2010

2010-06-17 Thread Matija Šuklje
Dne četrtek 17. junija 2010 ob 19:39:32 je Wolfgang Schuster napisal(a): > Can you show the content of the letter? See attached. Cheers, Matija -- gsm: +386 41 849 552 www: http://matija.suklje.name xmpp: matija.suk...@gabbler.org \mainlanguage[en] \enableregime[utf8] \setuppapersize[a4]

Re: [NTG-context] MKIV and bib module

2010-06-09 Thread Honza Pohanka
too. \placepublications and MKII works fine. example \enableregime[utf] \mainlanguage[cz] \input pdfr-def.mkii % glyph to unicode \usemodule[bib] \setupbibtex[database={stereo}] \setuppublications[alternative=num,autohang=yes] \setuppublicationlist[before=\blank] \setupexternalfigures[directory=./

Re: [NTG-context] MKIV and bib module

2010-06-09 Thread Aditya Mahajan
] \mainlanguage[cz] \input pdfr-def.mkii % glyph to unicode \usemodule[bib] \setupbibtex[database={stereo}] \setuppublications[alternative=num,autohang=yes] \setuppublicationlist[before=\blank] \setupexternalfigures[directory=./img] \starttext bla \cite[moltonetal1998] bla \cite[andersonetal2007

[NTG-context] MKIV and bib module

2010-06-09 Thread Honza Pohanka
Hallo, I have discovered a problem with bib module in MKIV. Using \completepublications command typesets only the heading and no bib items. Numbers in citations are missing too. \placepublications and MKII works fine. example \enableregime[utf] \mainlanguage[cz] \input pdfr-def.mkii % glyph

Re: [NTG-context] hyphenation patterns

2010-05-23 Thread Mojca Miklavec
contain "i1c" which means "break between i and c". Nothing in ConTeXt can or will be fixed, but here's a short answer with four options of what you can do: 1. Use \hyphenation{Ma-no-vich} on top of your document 2. Use "Manovič" instead of Manovich (it then hyphen

Re: [NTG-context] czech sorting in MiIV

2010-05-15 Thread Hans Hagen
On 15-5-2010 2:49, Tomáš Pustelník wrote: Hi, is czech sorting in MkIV working? When I tried it with this code: \mainlanguage[cz] \enableregime [utf-8] \starttext \setupregister[index][language=cz] \index{chobot}chobot \index{áro}áro \index{akát}akát \index{Áčko}Áčko \index{astma}astma \index

[NTG-context] czech sorting in MiIV

2010-05-15 Thread Tomáš Pustelník
Hi, is czech sorting in MkIV working? When I tried it with this code: \mainlanguage[cz] \enableregime [utf-8] \starttext \setupregister[index][language=cz] \index{chobot}chobot \index{áro}áro \index{akát}akát \index{Áčko}Áčko \index{astma}astma \index{ámerika}ámerika \index{arábie}arábie

Re: [NTG-context] mistake in lang-cjk.mkiv

2010-05-09 Thread Hans Hagen
acing \stopsetups and for style changes that's quite some extra code (and adding an extra level of language hashes to each mechanism is also no solution) so, we might distinguish between 'mainlanguage' and local 'language' \startlanguagesetups [fr:punctuation:set] % local l

Re: [NTG-context] [NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII

2010-05-04 Thread Jan Pohanka
Minimal example is here and support files are attached. Original support can be downloaded here: http://modules.contextgarden.net/stormfontsupport \mainlanguage[cz] \enableregime[il2] \useencoding[st2] \useencoding[st3] \usetypescriptfile[t-type-slido] \usetypescript[Lido][st2] \setupbodyfont

Re: [NTG-context] redefine word "Figure" for a specific language

2010-05-02 Thread Otared Kavian
Hi Fabio, You can add for instance, at the top of your setups: \mainlanguage[it] \setuplabeltext[it][figure=Foto ] Or whatever other words than « Foto » you may wish (beware: there should be a space after « Foto »). The command \setuplabeltext can be used also when translating other words like

[NTG-context] redefine word "Figure" for a specific language

2010-05-01 Thread Fabio Tiriticco
sh is "Figure". If I switch to \mainlanguage[it] the word becomes "Fig." How can I arbitrarily decide what to show there? thanks for the attention, Fabio ___ If your question is of interest to others as

Re: [NTG-context] table of contents

2010-04-29 Thread Marius
mands in ConTeXt, so that these commands just >> insert a line into the english table of contents, but do not insert >> chapter or section in the current page? >> > > \mainlanguage[de] > > \starttext > > \completecontent > > %\start\language[en] >

Re: [NTG-context] table of contents

2010-04-29 Thread Wolfgang Schuster
ConTeXt, so that these commands just insert a line into the english table of contents, but do not insert chapter or section in the current page? \mainlanguage[de] \starttext \completecontent %\start\language[en] \start\mainlanguage[en] \completecontent \stop \chapter{\translate[en=Chapter

Re: [NTG-context] Why page is breaking after combined itemize list?

2010-04-29 Thread Jaroslav Hajtmar
pagesetup is : \enableregime[utf-8] \mainlanguage[cz] \setuppagenumbering[state=stop] \setuplayout[width=middle, topspace=1cm, header=0mm, footer=0mm] Where is a problem? Thankx Jaroslav ___ If your question is of

[NTG-context] Why page is breaking after combined itemize list?

2010-04-28 Thread Jaroslav Hajtmar
the list : then page page is breaking afer \stopitemize command (and regular text is on next page) although bottom on page with list is enough place. My pagesetup is : \enableregime[utf-8] \mainlanguage[cz] \setuppagenumbering[state=stop] \setuplayout[width=middle, topspace=1cm, header=0mm

Re: [NTG-context] fr or en ?

2010-04-22 Thread R. Bastian
On Thu, 22 Apr 2010 11:51:09 +0200 Peter Münster scribit: > On Thu, Apr 22 2010, R. Bastian wrote: > > > > \mainlanguage[fr], but in the log: 'language en is active' > > Hello, > > en is the language of the interface, the command names. > > en: \mai

Re: [NTG-context] fr or en ?

2010-04-22 Thread Peter Münster
On Thu, Apr 22 2010, R. Bastian wrote: > > \mainlanguage[fr], but in the log: 'language en is active' Hello, en is the language of the interface, the command names. en: \mainlanguage[] fr: \langueprincipale[] > if fact, the spacing of ': ; ? !' are not t

Re: [NTG-context] setupinterlinespace

2010-04-22 Thread R. Bastian
; smaller > > then between line 2 and 3. > > ---- > > \enableregime[utf] > > \mainlanguage[fr] > > \setupbodyfont[sansserif, 10pt] > > [...] > > {\setupinterlinespace[line=1.1ex] > > > \setupinterlinespace[...]\par > .

[NTG-context] fr or en ?

2010-04-22 Thread R. Bastian
Hello, \mainlanguage[fr], but in the log: 'language en is active' is this no important ? if fact, the spacing of ': ; ? !' are not the french spacing (i prefer something intermediate betweeen the french and the german spacing ;-) -- René Bastian www.pythoneon.org www.

Re: [NTG-context] setupinterlinespace

2010-04-21 Thread Wolfgang Schuster
Am 21.04.10 22:09, schrieb R. Bastian: Hello, What is the sense of \setupinterlinespace? In the following example, the distance between the line 1 and 2 seems to be smaller then between line 2 and 3. \enableregime[utf] \mainlanguage[fr] \setupbodyfont

[NTG-context] setupinterlinespace

2010-04-21 Thread R. Bastian
Hello, What is the sense of \setupinterlinespace? In the following example, the distance between the line 1 and 2 seems to be smaller then between line 2 and 3. \enableregime[utf] \mainlanguage[fr] \setupbodyfont[sansserif, 10pt] [...] {\setupinterlinespace

Re: [NTG-context] Grid typesetting, colums and vertical spacing

2010-04-20 Thread Peter Rolf
\setupoutput[pdftex] > > \setuppapersize[A4,landscape][A4,landscape] > \setuplayout[backspace=0.5cm,topspace=0.5cm,top=0cm,footer=0.5cm, > width=middle,height=middle,margin=0cm,header=0cm] > > \setupbodyfont[10pt] > > \mainlanguage[cz] > \enab

Re: [NTG-context] table, setuptable, TWO

2010-04-20 Thread Wolfgang Schuster
] \setupindenting[yes, 3mm] \setupwhitespace[6mm] \mainlanguage[fr] \setupbodyfont[sansserif, 12pt] \definepapersize[monpapier][width=210mm, height=297mm] \definebodyfont[10pt][tt][bf=cmbtt10] \setuplines[space=on] \setupheadertexts[chapter] \setuppagenumbering[alternative=doublesided,location={footer

[NTG-context] Grid typesetting, colums and vertical spacing

2010-04-20 Thread Jan Pohanka
\setupoutput[pdftex] \setuppapersize[A4,landscape][A4,landscape] \setuplayout[backspace=0.5cm,topspace=0.5cm,top=0cm,footer=0.5cm, width=middle,height=middle,margin=0cm,header=0cm] \setupbodyfont[10pt] \mainlanguage[cz] \enableregime[utf8] \setuppagenumbering[location=] \setuphead

[NTG-context] table, setuptable, TWO

2010-04-20 Thread R. Bastian
] \setupindenting[yes, 3mm] \setupwhitespace[6mm] \mainlanguage[fr] \setupbodyfont[sansserif, 12pt] \definepapersize[monpapier][width=210mm, height=297mm] \definebodyfont[10pt][tt][bf=cmbtt10] \setuplines[space=on] \setupheadertexts[chapter] \setuppagenumbering[alternative=doublesided,location={footer

[NTG-context] Grid typesetting, colums and vertical spacing

2010-04-19 Thread Honza Pohanka
\setupoutput[pdftex] \setuppapersize[A4,landscape][A4,landscape] \setuplayout[backspace=0.5cm,topspace=0.5cm,top=0cm,footer=0.5cm, width=middle,height=middle,margin=0cm,header=0cm] \setupbodyfont[10pt] \mainlanguage[cz] \enableregime[utf8] \setuppagenumbering[location=] \setuphead

[NTG-context] \hyphenation ignored

2010-04-16 Thread Marco
Hi, I've a problem with the command \hyphenation. It does not seem to work for me. See following MWE: \mainlanguage [de] \starttext \hyphenation{Index-eintrag} \hyphenatedword{Indexeintrag} % Gives Inde-xein-trag \stoptext In this example the word »Indexeintrag« is mishyphenated. I expe

Re: [NTG-context] line-break index bug

2010-04-12 Thread Steffen Wolfrum
>> \setuplayout [width=113mm,location=middle] >> \usetypescript[postscript] >> \definetypeface[postscript][rm][serif][times][default] >> \mainlanguage[de] >> \setupbodyfont[postscript,10pt] \setupinterlinespace[line=12pt] >> \setupalign[line,block] >&g

Re: [NTG-context] line-break index bug

2010-04-12 Thread Wolfgang Schuster
] \mainlanguage[de] \setupbodyfont[postscript,10pt] \setupinterlinespace[line=12pt] \setupalign[line,block] \starttext dieses ist dabei typisch für den Bereich der Architekten- oder Ingenieurleistungen\index{Ingenieurleistungen}. Warum? \stoptext Can you test \unexpanded\def\forcecolorhack

[NTG-context] line-break index bug

2010-04-12 Thread Steffen Wolfrum
Hi, I am sorry, but in ConTeXt ver: 2010.04.10 MKIV there still is this index/line-break bug! See example below please: \setuplayout[width=113mm,location=middle] \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \mainlanguage[de] \setupbodyfont

[NTG-context] no protrusion or hz

2010-04-12 Thread Michael Saunders
\usetypescript[test] \setupalign[hanging,hz] \setupbodyfont[test,12pt]% \mainlanguage[en-us] \showgrid \starttext \addff{body} \input{knuth} \stoptext Results in no protrusion or hz. What's wrong? ___ If your question

[NTG-context] stopcolumns causes new page!!!?

2010-04-11 Thread Xan
=solucions nomfitxer.context per veure les solucions % Regime \enableregime[utf] % Choose a font \setupbodyfont [cmr,11pt] % Be tolerant with paragraph building \setuptolerance [horizontal,verytolerant,stretch] % Choose a language, and associated hyphenation rules. %\language [ca] \mainlanguage[c

Re: [NTG-context] No indicators in registers when using french as main language

2010-04-07 Thread Wolfgang Schuster
Am 07.04.10 21:37, schrieb Vianney le Clément: Hello, The subject says it all. \mainlanguage[fr] \starttext \index{Item}Item \placeindex \stoptext There is no indicator "i" in the index. It appears when you comment out the first line or change it to another language. Adding \set

[NTG-context] No indicators in registers when using french as main language

2010-04-07 Thread Vianney le Clément
Hello, The subject says it all. \mainlanguage[fr] \starttext \index{Item}Item \placeindex \stoptext There is no indicator "i" in the index. It appears when you comment out the first line or change it to another language. Adding \setupregister[index][indicator=yes] does not help

Re: [NTG-context] Need help with the "letter" module

2010-04-04 Thread Andreas Schneider
> > Clearly I'm doing something wrong although I'm looking at the manuals: > http://dl.contextgarden.net/modules/t- > letter/doc/context/third/letter/correspondence.pdf > > MkII from TexLive 2008. > > Any help welcome :] > > --[snip]-- >

[NTG-context] Need help with the "letter" module

2010-04-04 Thread Matija Šuklje
though I'm looking at the manuals: http://dl.contextgarden.net/modules/t- letter/doc/context/third/letter/correspondence.pdf MkII from TexLive 2008. Any help welcome :] --[snip]-- \mainlanguage[en] \enableregime[utf8] \setuppapersize[a4][a4] \usemodule[letter] \setupletter [ope

[NTG-context] minimal example of some problems

2010-04-03 Thread Michael Saunders
[garamondMD][optical] \stoptypescript \usetypescript[MTbook] \setupalign[hanging,hz] \setupbodyfont[MTbook,12pt]% \mainlanguage[en-us] \definepapersize[MTS][width=823pt,height=462pt] \definepapersize[MTA][width=823pt,height=462pt] \setuppapersize[MTA][MTS] \setuplayout[width=604.46pt,height=462pt,% topsp

[NTG-context] letter module not working

2010-03-24 Thread Wolfgang Werners-Lucchini
Hallo, I have problems compiling this with ConTeXt ver: 2010.03.20 22:59 MKIV -- % coding: utf-8 \usemodule[letter][style=dina] \mainlanguage[deo] \enableregime[utf-8] \setupletter [fromname={\tfa Wolfgang Werners-Lucchini}, subject={Blub

[NTG-context] index / line-break bug

2010-03-21 Thread Steffen Wolfrum
Hi, in yesterday's beta (ConTeXt ver: 2010.03.20 22:59 MKIV) there still is this index/line-break bug, see example below please: \setuplayout[width=113mm,location=middle] \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \mainlanguage[de] \setupbod

Re: [NTG-context] not printable pdf

2010-03-13 Thread R. Bastian
p 6mm > > > \setupwhitespace[6mm] > > \language[fr] > > > \language is for the local change of the language *in* the document, the > global language of the document is set with > > \mainlanguage[fr] > > \setupinterlinespace[small] > > >

Re: [NTG-context] not printable pdf

2010-03-13 Thread Wolfgang Schuster
document is set with \mainlanguage[fr] \setupinterlinespace[small] useless Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] interlinespace confusion (MkIV)

2010-03-12 Thread Hans Hagen
one please help?! Steffen - \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \mainlanguage[de] \setupbodyfont[postscript,10pt]\setupinterlinespace[line=9pt] \def\MyChapter{% \switchtobodyfont[rm,13pt]\bf \setuplocalinterlinespace[line=16pt]%<- spurious sp

Re: [NTG-context] interlinespace confusion (MkIV)

2010-03-12 Thread Peter Rolf
en > > - > > \usetypescript[postscript] > \definetypeface[postscript][rm][serif][times][default] > \mainlanguage[de] > > \setupbodyfont[postscript,10pt]\setupinterlinespace[line=9pt] > > \def\MyChapter{% > \switchtobodyfont[rm,13pt]\bf > \setuploc

[NTG-context] interlinespace confusion (MkIV)

2010-03-12 Thread Steffen Wolfrum
typescript[postscript] \definetypeface[postscript][rm][serif][times][default] \mainlanguage[de] \setupbodyfont[postscript,10pt]\setupinterlinespace[line=9pt] \def\MyChapter{% \switchtobodyfont[rm,13pt]\bf \setuplocalinterlinespace[line=16pt]% <- spurious space between 1. and 2. line % \setupinterlinesp

Re: [NTG-context] Dezimalkomma

2010-03-11 Thread Hans Hagen
On 11-3-2010 5:16, Otared Kavian wrote: \setupmathematics[mainlanguage=pl] indeed, but i want to wait woth that till we run into more language dependent issues (as we might need to distinguish between label like things and typesetting) Hans

Re: [NTG-context] Dezimalkomma

2010-03-10 Thread Otared Kavian
denoted as \tg, \cotg, and \arcsin is printed rather as arc{\,}sin. So the solution pointed out by Hans works fine (it is something like \quote{} which yields different quotation marks depending on how \mainlanguage[] is set). I just tested the example given by Hans with the latest beta… (inde

Re: [NTG-context] Dezimalkomma

2010-03-10 Thread Aditya Mahajan
but having it as an option would be handy (although not really indispensable). Would such a switch be possible (without too much work, of course)? some things are easy (and can be written in parallel to watching a movie) ... in the beta ... \starttext $\tan{x} + \cos{x}$ \mainlanguage[pl]

Re: [NTG-context] Dezimalkomma

2010-03-10 Thread Hans Hagen
lthough not really indispensable). Would such a switch be possible (without too much work, of course)? some things are easy (and can be written in parallel to watching a movie) ... in the beta ... \starttext $\tan{x} + \cos{x}$ \mainlanguage[pl] $\tan{x} + \cos{x}$ \mainlang

[NTG-context] Dezimalkomma

2010-03-09 Thread Wolfgang Werners-Lucchini
Hallo, if I write $0,8$ the distance between the ',' and the '8' is too big. I can write $0,\!8$ or an other kern, but I don't see how I can write a macro to avoid the extra effort. Shouldn't be this gap in german (\mainlanguage[deo]) as big as $0.8$ in US? Is

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread James Fisher
example of this in an image on the contextgarden wiki, >> but now can't find it. To reproduce what I mean, compile this with Mark IV: >> >> \mainlanguage[en] >> \usetypescript[palatino] >> \setupbodyfont[palatino,11pt] >> > In this case you don't

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread Wolfgang Schuster
;t find it. To reproduce what I mean, compile this with Mark IV: \mainlanguage[en] \usetypescript[palatino] \setupbodyfont[palatino,11pt] In this case you don't need \usetypescript. \setuppapersize[A4][A4] \setuphead[title][header=empty] \starttext \title{Personal statement} \st

[NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread James Fisher
this with Mark IV: \mainlanguage[en] \usetypescript[palatino] \setupbodyfont[palatino,11pt] \setuppapersize[A4][A4] \setuphead[title][header=empty] \starttext \title{Personal statement} \startcolumns[n=2] This heavily-hyphenated jauntily-formatted flush-left flush-right justified-text paragra

Re: [NTG-context] Grid, Footnotes and MkIV

2010-02-14 Thread Hans Hagen
On 14-2-2010 19:39, Steffen Wolfrum wrote: Am 14.02.2010 um 19:25 schrieb Hans Hagen: On 14-2-2010 19:15, Steffen Wolfrum wrote: \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \mainlanguage[de] \setupbodyfont[postscript,10pt] \setuplayout [grid=yes

Re: [NTG-context] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread commb07
18:40 > On 10-2-2010 17:03, comm...@googlemail.com wrote: >> \mainlanguage[de] >> \enableregime[windows] >> \setuplayout[backspace=1cm, rightmargin=0.58cm, width=fit, topspace=1cm, >> header=1cm, footer=1cm, height=fit] >> >> \starttext >> >> \showm

Re: [NTG-context] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread Hans Hagen
On 10-2-2010 17:03, comm...@googlemail.com wrote: \mainlanguage[de] \enableregime[windows] \setuplayout[backspace=1cm, rightmargin=0.58cm, width=fit, topspace=1cm, header=1cm, footer=1cm, height=fit] \starttext \showmathcharacters \stoptext ok, this was the problem: the math definition

Re: [NTG-context] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread commb07
\showcomposition >> \complexstartcolumns ...nstrue \beginmulticolumns >>\fi \fi >> \showmathcharacters ...\enccols ,\c!distance =2em] >> \def >&

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-10 Thread Hans Hagen
\mainlanguage[fr] and what is provided by such french-module. For me, "\setcharacterspacing[frenchpunctuation]" is the border case. the problem is that there's always a dominant language in a document and i think it's not a good idea to have french punctuation in a french quotatio

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-10 Thread Alan BRASLAU
On Wednesday 10 February 2010 10:52:22 Hans Hagen wrote: > On 10-2-2010 10:45, Sebastien Mengin wrote: > > Le 10 févr. 2010 à 09:33, Hans Hagen a écrit: > >> On 10-2-2010 9:22, Peter Münster wrote: > >>> At some point, someone should decide, what is triggered by >

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-10 Thread Hans Hagen
On 10-2-2010 10:45, Sebastien Mengin wrote: Le 10 févr. 2010 à 09:33, Hans Hagen a écrit: On 10-2-2010 9:22, Peter Münster wrote: At some point, someone should decide, what is triggered by \mainlanguage[fr] and what is provided by such french-module. For me, "\setcharactersp

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-10 Thread Sebastien Mengin
Le 10 févr. 2010 à 09:33, Hans Hagen a écrit: > On 10-2-2010 9:22, Peter Münster wrote: > >> At some point, someone should decide, what is triggered by >> \mainlanguage[fr] and what is provided by such french-module. >> >> For me, "\setcharacterspacing[fre

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-10 Thread Hans Hagen
On 10-2-2010 9:22, Peter Münster wrote: At some point, someone should decide, what is triggered by \mainlanguage[fr] and what is provided by such french-module. For me, "\setcharacterspacing[frenchpunctuation]" is the border case. the problem is that there's always a dominan

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-10 Thread Peter Münster
uage specific features are and will be part of the mechanisms > themselves (and are then driven by mainlanguage) Ok, then I just don't know how to use them... >>> 1. the 1. paragraph of each section is indented (LATEX only); >>> 2. the default items in itemize envir

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-09 Thread Alan BRASLAU
On Tuesday 09 February 2010 23:30:56 Peter Münster wrote: > > Yes. I attach a recent t-french.tex file, that supports most of frenchb. > > \usemodule[french] > Should not these rules automatically come into play through \mainlanguage[fr] rather than as a module? Also (for Hans

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-09 Thread Hans Hagen
are then driven by mainlanguage) 1. the 1. paragraph of each section is indented (LATEX only); 2. the default items in itemize environment 3. vertical spacing in general LATEX lists is shortened; to me these sounds like a design issue, not related to french 4. footnotes are displayed "

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-09 Thread Peter Münster
[symbol=2] \setupitemize[packed] \setupheads[indentnext=yes] \setupindenting[yes, medium] \lccode`\'=`\' \mainlanguage[fr] \ifx \ieme \undefined \def\ieme {\highordinalstr{e}} \fi \ifx \iemes \undefined \def\iemes {\highordinalstr{es}} \fi \ifx \ier \undefined \def\ier {\highordinal

[NTG-context] texexec --purge (was: Linux PPC64 & minimals)

2010-02-02 Thread Mojca Miklavec
nterface: command not found sh: line 16: --touchcontextfile: command not found sh: line 17: --updatecontext: command not found sh: line 18: --purge: command not found TeXExec | runtime: 5.496058 TeXExec | option 'purge' is set to 'true' TeXExec | option 'verbose' is set

Re: [NTG-context] new language and hyphenation

2010-01-23 Thread Marius
: > > \startlanguagespecifics[\s!lt] > \setuphads[\c!sectionstopper=.] > \stoplanguagespecifics > > You get now a dot at the end of the section number when write > \mainlanguage[lithuanian] in the preamble of your document. > Yes, this would be a good solution. _

Re: [NTG-context] new language and hyphenation

2010-01-22 Thread Wolfgang Schuster
ngs is but in MkII you could have done this with: \startlanguagespecifics[\s!lt] \setuphads[\c!sectionstopper=.] \stoplanguagespecifics You get now a dot at the end of the section number when write \mainlanguage[lithuanian] in the preamble of your document.

Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-01-09 Thread Lubos Kolouch
Hello, (sorry for posting to wrong group first). \setupoutput [pdftex] \enableregime[utf] \usetypescript [modern][ec] \setupbodyfont [ss,10pt] \mainlanguage[en] \setuppapersize [A4][A4] \setupcolors [state=start] \setuppagenumber [state=stop] \starttext \setupTABLE

<    5   6   7   8   9   10   11   12   13   14   >