Re: [NTG-context] Modern CV like cover letter example

2017-12-02 Thread Jonas Baggett
  \setuplabeltext [en] [longtitle=Madam]   \setuplabeltext [fr] [longtitle=Madame] } \starttext   \mainlanguage[fr] \labeltext{longtitle}   \mainlanguage[en] \labeltext{longtitle} \stoptext You can also do: \setuplabeltext [en] [male:longtitle=Mister, female:longtitle=Madam] \setuplabeltext [fr

Re: [NTG-context] Two requests for new btx subsystem

2017-10-30 Thread Rik
that [translator] is not inserted into the text. *NOTE* that when \cite[editor][tag] is attempted (and present in the bib entry) compilation halts with the Lua error no string to print, but continues to completion when allowed.  \mainlanguage[en]  \startbuffer[TestBib]     @BOOK{Tschichold1953

[NTG-context] \hyphenation problem

2017-10-22 Thread Rik Kabel
Or am I doing something wrong? With the following, Schwarzenegger is not hyphenated according to the instruction. I get: \mainlanguage[en] \hyphenation{Schwarz-en-egger} \startexceptions[en] epi-graphs Mount-weazels Mount-weazel \stopexceptions \starttext

[NTG-context] Two requests for new btx subsystem

2017-10-21 Thread Rik Kabel
error no string to print, but continues to completion when allowed.  \mainlanguage[en]  \startbuffer[TestBib]     @BOOK{Tschichold1953,   author   = {Jan Tschichold},   title    = {Formenwandlungen der \&-Zeichen},   year = {

Re: [NTG-context] Sorting of abbreviations in index

2017-10-09 Thread Jano Kula
ll name and abbreviation, and > I try to avoid many verbose entries in the text. > > If I use \infull within \index, entries get sorted at i – probably a > problem of expansion. How can I solve this? > > \Sach[\infull{ADN}]{\infull{ADN} (ADN)} doesn’t help. > > - &

[NTG-context] struggling with font features (sc, os)

2017-10-08 Thread Henning Hraban Ramm
to smcp feature of the Roman font? \definefontfeature[default] [mode=node,script=latn,language=dflt,kern=yes,liga=yes,lnum=yes] \mainlanguage[de] \setupbodyfont[termes,12pt] \definefontfeature[f:smallcaps][smcp=yes] \definefontfeature[f:oldstyle][onum=yes,lnum=no] \def\Sample{Hämbürgefonßy123

Re: [NTG-context] ligature exceptions

2017-10-07 Thread Henning Hraban Ramm
going on. *) https://fonts.google.com/?selection.family=Alegreya|Alegreya+SC|Alegreya+Sans|Alegreya+Sans+SC \mainlanguage[de] %\usetypescriptfile [type-alegreya] %\usetypescript [alegreya-light] %\setupbodyfont [alegreya,rm,16pt] \setupbodyfont [termes,rm,16pt] \definefontfeature[default

Re: [NTG-context] Sorting of abbreviations in index

2017-10-01 Thread Henning Hraban Ramm
> of expansion. How can I solve this? >> >> \Sach[\infull{ADN}]{\infull{ADN} (ADN)} doesn’t help. >> >> - >> >> \mainlanguage[de] >> \setupsynonyms [abbreviation] [textstyle=normal] >> >> \abbreviation{Abt.}{Abteilung} >> \abbreviation{ADN}{A

Re: [NTG-context] Sorting of abbreviations in index

2017-09-25 Thread Henning Hraban Ramm
s in the text. > > If I use \infull within \index, entries get sorted at i – probably a problem > of expansion. How can I solve this? > > \Sach[\infull{ADN}]{\infull{ADN} (ADN)} doesn’t help. > > - > > \mainlanguage[de] > \setupsynonyms [abbreviation] [textstyle=n

[NTG-context] Sorting of abbreviations in index

2017-09-23 Thread Henning Hraban Ramm
of expansion. How can I solve this? \Sach[\infull{ADN}]{\infull{ADN} (ADN)} doesn’t help. - \mainlanguage[de] \setupsynonyms [abbreviation] [textstyle=normal] \abbreviation{Abt.}{Abteilung} \abbreviation{ADN}{Allgemeiner Deutscher Nachrichtendienst} \abbreviation{AFL}{American Federation

Re: [NTG-context] Some questions about my document

2017-08-27 Thread Fabrice Couvreur
set=numbers] and a different one for > \defineenumeration[remark][prefixconversionset=digits]. > > If there is no different conversion set for the enumeration, you get the > default for the head. > > Here is the full sample: > > \mainlanguage[fr] > \setuphead[chapter][command

Re: [NTG-context] Some questions about my document

2017-08-27 Thread Pablo Rodriguez
eads[sectionconversionset=numbers] and a different one for \defineenumeration[remark][prefixconversionset=digits]. If there is no different conversion set for the enumeration, you get the default for the head. Here is the full sample: \mainlanguage[fr] \setuphead[chapter][commandbe

Re: [NTG-context] Some questions about my document

2017-08-27 Thread Fabrice Couvreur
I.1 - Expérience aléatoire et univers " > > > > I did this : > > > > \setuphead[chapter][commandbefore={: }] > > \setuphead[section][distance=\zeropoint,commandbefore={\ > space\endash\space}] > > \setuplabeltext[en][chapter=Chapitre ] > > Hi Fabrice, > >

Re: [NTG-context] Some questions about my document

2017-08-27 Thread Pablo Rodriguez
=\zeropoint,commandbefore={\space\endash\space}] > \setuplabeltext[en][chapter=Chapitre ] Hi Fabrice, I think it would be better to use French: \mainlanguage[fr] \setuplabeltext[fr][chapter=Chapitre ] > But for this > > Remark 1.1. > Remark 1.2 > Remark 1.3 > >

Re: [NTG-context] Couple of questions

2017-07-31 Thread Gerion Entrup
> > Gerion > > > > > >> I don’t know how it is implemented, but prefixsegments (or prefixes) for > >> captions only work when number is enabled. > >> > >> This makes sense if the section is part of the prefixsegments, but not > >&g

Re: [NTG-context] Couple of questions

2017-07-31 Thread Jan Willem Flamma
is makes sense if the section is part of the prefixsegments, but not >> if it isn’t. >> >> Another sample that shows the problem: >> >>\mainlanguage[de] >>\setupexternalfigures[location=default] >>\setuphead[subsection][number=no] >>

Re: [NTG-context] Couple of questions

2017-07-30 Thread Gerion Entrup
d. > > This makes sense if the section is part of the prefixsegments, but not > if it isn’t. > > Another sample that shows the problem: > > \mainlanguage[de] > \setupexternalfigures[location=default] > \setuphead[subsection][number=no] > \setupcaptio

Re: [NTG-context] Couple of questions

2017-07-29 Thread Pablo Rodriguez
for captions only work when number is enabled. This makes sense if the section is part of the prefixsegments, but not if it isn’t. Another sample that shows the problem: \mainlanguage[de] \setupexternalfigures[location=default] \setuphead[subsection][number=no] \setupcaptions[pr

Re: [NTG-context] Couple of questions

2017-07-28 Thread Gerion Entrup
is ignored. For example there are 5 figures in > > chapter 2, then the captions of the figures (the text is in German) are: > > Abbildung 2.1 foo > > Abbildung 2.2 bar > > Abbildung 3foobar > > Abbildung 4otherfoo > > Abbildung 5lastfoo

Re: [NTG-context] Couple of questions

2017-07-28 Thread Pablo Rodriguez
2.1 foo > Abbildung 2.2 bar > Abbildung 3foobar > Abbildung 4otherfoo > Abbildung 5lastfoo > > Is there anything, I can do, to prevent this? I cannot reproduce the problem you mention: \mainlanguage[de] \starttext \dorecurse{5}{\chapter{Kapitel} \placefigure{Eine Kuh}{\

Re: [NTG-context] italian index: "I" and "J" under "I", "U" and "V" under "V"

2017-06-27 Thread Hans Hagen
On 6/26/2017 11:39 PM, Hans Åberg wrote: On 26 Jun 2017, at 15:34, Hans Hagen <pra...@wxs.nl> wrote: On 6/26/2017 2:48 PM, MF wrote: there's a bug in the way ConTeXt groups the items of a register when "indicator=yes" and mainlanguage is "it": - items starting wit

Re: [NTG-context] italian index: "I" and "J" under "I", "U" and "V" under "V"

2017-06-26 Thread Hans Åberg
> On 26 Jun 2017, at 15:34, Hans Hagen <pra...@wxs.nl> wrote: > > On 6/26/2017 2:48 PM, MF wrote: >> >> there's a bug in the way ConTeXt groups the items of a register when >> "indicator=yes" and mainlanguage is "it": >> - item

Re: [NTG-context] italian index: "I" and "J" under "I", "U" and "V" under "V"

2017-06-26 Thread Hans Hagen
On 6/26/2017 2:48 PM, MF wrote: Hello list, there's a bug in the way ConTeXt groups the items of a register when "indicator=yes" and mainlanguage is "it": - items starting with the J letter are grouped under the I letter - items starting with the V letter are groupe

[NTG-context] italian index: "I" and "J" under "I", "U" and "V" under "V"

2017-06-26 Thread MF
Hello list, there's a bug in the way ConTeXt groups the items of a register when "indicator=yes" and mainlanguage is "it": - items starting with the J letter are grouped under the I letter - items starting with the V letter are grouped under the U letter This is not what o

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-23 Thread Henri Menke
kerning and font expansion are definitely options, but again, > > > > my real query would be how to trigger them dynamically to avoid a > > > > widow or an orphan. > > > can you make a small example showing the problem > > Sorry about the delay – here you g

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-23 Thread Thomas Widmann
n, >>> my real query would be how to trigger them dynamically to avoid a >>> widow or an orphan. >> >> can you make a small example showing the problem > > Sorry about the delay – here you go! > > On my computer, the first column goes on for two lines more

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-23 Thread Thomas Widmann
nd font expansion. >> >> >> \widowpenalty and \clubpenalty are almost useless in this context – >> believe me, I've tried! (I'm typesetting on a grid, with a fixed >> number of lines per page.) Which is why I'm looking for alternatives. >> >> Margin kern

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-21 Thread Gerion Entrup
gt; > > languages > language 'en' is active > > > > open source > 2 > 3 > > > > > /home/gerion/sourcecode/grisu/test-document/test-document.tex > > > > colors > 'rgb' color space is supported > > >

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Hans Hagen
> tex error on line 6 in file /home/gerion/sourcecode/test-document/test- document.tex: ! Undefined control sequence \usetikzlibrary l.6 \usetikzlibrary [positioning] 1 \mainlanguage[de] 2 3 \setupcolors[state=start] 4 5 \usemodul

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Gerion Entrup
anguages > language 'en' is active > > > open source > 2 > 3 > > > > /home/gerion/sourcecode/grisu/test-document/test-document.tex > > > colors > 'rgb' color space is supported > > > colors > 'cmyk' color spa

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Gerion Entrup
t; > languages > language 'en' is active > > open source > 2 > 3 > > > /home/gerion/sourcecode/grisu/test-document/test-document.tex > > colors > 'rgb' color space is supported > > colors > 'cmyk' color space is support

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Henri Menke
gt; resolvers   > modules > 'tikz' is not found > > tex error   > tex error on line 6 in file > /home/gerion/sourcecode/test-document/test- > document.tex: ! Undefined control sequence > > \usetikzlibrary  > > l.6 \usetikzlibrary >

[NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Gerion Entrup
solvers > modules > 'tikz' is not found tex error > tex error on line 6 in file /home/gerion/sourcecode/test-document/test-document.tex: ! Undefined control sequence \usetikzlibrary l.6 \usetikzlibrary [positioning] 1 \mainlanguage[d

Re: [NTG-context] Modes in Lua

2017-06-01 Thread Henning Hraban Ramm
know how to do it >> for \mainlanguage (**en). >> \mainlanguage[es] >> \starttext >> \en\startlua >> if tex.systemmodes['en'] then >> context('Language is English.') >> else >> context('Language is not Englis

Re: [NTG-context] Modes in Lua

2017-05-31 Thread Hans Hagen
)? This is the way to detect system modes, but I don’t know how to do it for \mainlanguage (**en). \mainlanguage[es] \starttext \en\startlua if tex.systemmodes['en'] then context('Language is English.') else context('Language is not English.') end context

Re: [NTG-context] Modes in Lua

2017-05-31 Thread Pablo Rodriguez
On 05/31/2017 04:51 PM, Pablo Rodriguez wrote: > [...] > This is the way to detect system modes, but I don’t know how to do it > for \mainlanguage (**en). It was simple (not even using tex.systemmodes): \mainlanguage[es] \starttext \en\startlua if tex.m

Re: [NTG-context] Modes in Lua

2017-05-31 Thread Pablo Rodriguez
odes (*en)? This is the way to detect system modes, but I don’t know how to do it for \mainlanguage (**en). \mainlanguage[es] \starttext \en\startlua if tex.systemmodes['en'] then context('Language is English.') else context('Language is not English.')

Re: [NTG-context] (again) index sorting of accented characters

2017-04-29 Thread Pablo Rodriguez
th Spanish and >> French, […] > > Even with {zm, zc} or any of the predefined methods I don’t really think > it is working completely as expected, even though the problem might just > occur in very special cases: Hi Florian, a simpler sample would be: \mainlangua

[NTG-context] (again) index sorting of accented characters

2017-04-27 Thread Pablo Rodriguez
Dear list, sorry for bothering again with this issue, but I need to have indices in my documents. I have the following sample: \mainlanguage[es] \setupregister[method=default] \starttext \startTEXpage[offset=1em] \index{ámame}\index{arisco}\index{ándrago} \index{antonia

Re: [NTG-context] Modern CV like cover letter example

2017-04-21 Thread Jonas Baggett
} {male} { \setuplabeltext [en] [longtitle=Mister] \setuplabeltext [fr] [longtitle=Monsieur] }{ % female \setuplabeltext [en] [longtitle=Madam] \setuplabeltext [fr] [longtitle=Madame] } \starttext \mainlanguage[fr] \labeltext{longtitle} \mainlanguage[en] \labeltext{longtitle} \stoptext

Re: [NTG-context] Modern CV like cover letter example

2017-04-21 Thread Aditya Mahajan
] \setuplabeltext [fr] [longtitle=Monsieur] }{ % female \setuplabeltext [en] [longtitle=Madam] \setuplabeltext [fr] [longtitle=Madame] } \starttext \mainlanguage[fr] \labeltext{longtitle} \mainlanguage[en] \labeltext{longtitle} \stoptext You can also do: \setuplabeltext [en] [male:longtitle=Mister

Re: [NTG-context] Modern CV like cover letter example

2017-04-20 Thread Jonas Baggett
\setuplabeltext [en] [longtitle=Madam] \setuplabeltext [fr] [longtitle=Madame] } \starttext \mainlanguage[fr] \labeltext{longtitle} \mainlanguage[en] \labeltext{longtitle} \stoptext Regards, Jonas Le 20.04.17 à 07:56, Pablo Rodriguez a écrit : On 04/20/2017 07:08 AM, Jonas Baggett wrote

Re: [NTG-context] Modern CV like cover letter example

2017-04-19 Thread Pablo Rodriguez
labeltext [fr] [Name=nom] > >\starttext > \labeltext{East} % Works > \labeltext{West} % Works > \labeltext[en]{Name} % Doesn't work > \labeltext[fr]{Name} % Doesn't work >\stoptext Hi Jonas, it seems that labeltext works based on \mainlanguage, such as

[NTG-context] bug in index sorting with latest beta?

2017-04-03 Thread Pablo Rodriguez
Dear list, I have this minimal sample: \mainlanguage[fr] \setupregister[method=default] \starttext Aristote\index{Aristote}, %~ Œdipe\index{Œdipe} Platon\index{Platon} d'Ænésidème\index{Ænésidème} \placeindex \stoptext If I comment the “Platon” entry

[NTG-context] Greek word sorting

2017-04-01 Thread Pablo Rodriguez
Hans, I have the following source: \mainlanguage[agr] \setupbodyfont[dejavu] \defineregister[indexgr][indexgrs] \setupregister[indexgr][pagenumber=no, balance=yes] \define[1]\grcindx{#1\index{#1}\indexgr{#1}} \setupregisters[n=3, pagenumber=no, method=default

Re: [NTG-context] aligning heads in indices

2017-04-01 Thread Pablo Rodriguez
with a different diacritical mark is considerer a different letter for the index sorting. It seems to be a problem only related to ancient Greek, since the following works as expected: \mainlanguage[es] \define[1]\indx{#1\index{#1}} \setupregister[index][n=6, balance=no, command={\centerl

[NTG-context] \language[is] not working

2017-03-30 Thread Florian Grammel
The Icelandic hyphenation and language settings, though present in the installation (lang-is.lua), don’t seem to work on ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2017.3.21 I’ve tried both \language[is] / \language[icelandic] and \mainlanguage[is] but the result is identical to English

Re: [NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-20 Thread Ibn Saeed
gt; === > > > > I am trying to use the following context document which used to work > fine before. > > > > I have upgraded my complete computer so had to install everything again. > > > > When i ran the same file, it gave all kinds of linespacing issue, tha

Re: [NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-19 Thread Otared Kavian
issue, that is > what i think the issue might be. > > here is the code : > > === > \showgrid > \mainlanguage[arabic] > \setupalign[r2l] > \righttoleft > \definefontfeature > [arabic] > [mode=node,language=dflt,script=arab, > init=yes, > medi=yes, > fina=yes, &

[NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-19 Thread Ibn Saeed
: === \showgrid \mainlanguage[arabic] \setupalign[r2l] \righttoleft \definefontfeature [arabic] [mode=node,language=dflt,script=arab, init=yes, medi=yes, fina=yes, isol=yes, liga=yes, dlig=yes, rlig=yes, tlig=yes, calt=yes, trep=yes, clig=yes, mark=yes, mkmk=yes, kern=yes, curs

Re: [NTG-context] labeltext via lua

2017-02-16 Thread Hans Hagen
in there. Here is an example which apparently doesn't work (or I'm still overlooking something): ``` \mainlanguage[de] \setuplabeltext[de][Page=Seite] \setuplabeltext[en][Page=Page] \starttext \startluacode local language = languages.numbers[tex.getcount("mainlanguagenumber")]

Re: [NTG-context] labeltext via lua

2017-02-16 Thread Andreas Schneider
work (or I'm still overlooking something): ``` \mainlanguage[de] \setuplabeltext[de][Page=Seite] \setuplabeltext[en][Page=Page] \starttext \startluacode local language = languages.numbers[tex.getcount("mainlanguagenumber")] local lbl = languages.data.labels.t

Re: [NTG-context] Problem with Russian letters in itemize

2017-02-14 Thread Hans Hagen
custom conversion command and it works, but my point was that I expected that \items will give Russian letters if I use '\mainlanguage[ru]'. I tried with 'sl' and 'es' and both give special letters. Still 'ar', 'gr' and 'kr' don't give me other than Latin letters in \items as I would expect (examples

Re: [NTG-context] Problem with Russian letters in itemize

2017-02-13 Thread Vladimir Lomov
make custom conversion command and it works, but my point was that I expected that \items will give Russian letters if I use '\mainlanguage[ru]'. I tried with 'sl' and 'es' and both give special letters. Still 'ar', 'gr' and 'kr' don't give me other than Latin letters in \items as I would expect (examples

[NTG-context] Problem with Russian letters in itemize

2017-02-13 Thread Vladimir Lomov
Hello, I'm trying to use Russian (Cyrillic) letters for itemize list but without luck. This is small example to show a problem: -- 8< - \mainlanguage[ru] \setupbodyfont[cambria] % \setupbodyfont[computer-modern-unicode] % \setupbodyfont[dej

Re: [NTG-context] Bibliography sorting order by Czech alphabet in Context

2017-02-08 Thread Petra Janouchová
Hello Alan, I have tried the solution you have suggested, nevertheless it does not affect the position of letter 'Ch' in the list of publications. Setting the \mainlanguage[cz] affects for example format of \date, but not the alphabetical order of bibliography. I have tried switching to other

Re: [NTG-context] Bibliography sorting order by Czech alphabet in Context

2017-02-08 Thread Alan Braslau
Hello, I believed that the sorting order follows the current active language (\mainlanguage[cz]). You might want to try \setupbtxdataset [language=cz] but I have never used this (I believe that it sets the default language for entries lacking a language= field). Sorting can be controlled

[NTG-context] Bibliography sorting order by Czech alphabet in Context

2017-02-07 Thread Petra Janouchová
it needs to be after D. Any ideas? http://tex.stackexchange.com/questions/352496/bibliography-sorting-order-by-czech-alphabet-in-context/352514#352514 Here is the minimal example \mainlanguage[cz] \usebtxdataset[bibliotest.bib] \usebtxdefinitions[apa] \unprotect %here I substitute the annoying

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-23 Thread Pablo Rodriguez
r your help, Pablo -- http://www.ousia.tk hefestio-ctx-mailinglist.pdf Description: Adobe PDF document \showframe \mainlanguage[la] \setuplanguage[la][patterns={la,agr}] \definefontfamily[mainface][serif][Minion Pro] \setupbodyfont[mainface,12pt] \setupbodyfontenvironment[default][em=italic] \

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-23 Thread Jean-Pierre Delange
\definenote[toofnote][before=,after=] \dorecurse{100}{ test #1.a\footnote{note #1} test #1.b\toofnote{eton #1} \par} \page \setuplanguage[agr][patterns={agr,la}] \mainlanguage[agr] % Greek as main language \definefallbackfamily [mainface]

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-22 Thread Hans Hagen
\setupnote [footnote][before=,after=] \definenote[toofnote][before=,after=] \dorecurse{100}{ test #1.a\footnote{note #1} test #1.b\toofnote{eton #1} \par} \page \setuplanguage[agr][patterns={agr,la}] \mainlanguage[agr] % Greek as mai

[NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-18 Thread Jean-Pierre Delange
right one ? See the mismatch between texts on the second page in the sample below . Thank you very much for your remarks and advices. JP \setuplanguage[agr][patterns={agr,la}] \mainlanguage[agr] % Greek as main language \definefallbackfamily [mainface] [serif] [GFS Didot] [preset=r

Re: [NTG-context] Wrtiting in two languages

2016-11-18 Thread Jean-Pierre Delange
\setuplanguage[de][patterns={de,agr}] \mainlanguage[de] % Set the Greek font (use your usual Greek font) \definefallbackfamily[mainface][serif][Theano Didot][preset=range:greek, it={Old Standard Italic}, force=yes] \definefontfamily [mainface] [sans] [FreeSans] [rscale=0.8] \setupbodyfont[mainface] % You

Re: [NTG-context] There is only german in the little text, why

2016-11-16 Thread Ursula Hermann
10:01:08 +0100 "Ursula Hermann" <ursula.herm...@univie.ac.at> wrote: > Now i have tried another one , but I have only german text in the PDF. > Why? Because the font you use doesn't contain the letter “ἄ”. Switch fonts and it'll work. > mainlanguage[de]

Re: [NTG-context] There is only german in the little text, why

2016-11-16 Thread Marco Patzer
On Wed, 16 Nov 2016 10:01:08 +0100 "Ursula Hermann" <ursula.herm...@univie.ac.at> wrote: > Now i have tried another one , but I have only german text in the > PDF. Why? Because the font you use doesn't contain the letter “ἄ”. Switch fonts and it'll work. &g

[NTG-context] There is only german in the little text, why

2016-11-16 Thread Ursula Hermann
Hy everybody! Thans for the Inputs yesterday. Now i have tried another one , but I have only german text in the PDF. Why? The text schould be german and greek in one text, but no colums. mainlanguage[de] \starttext Das Bin ich \gr {ἄ} \stoptext Thanks Uschi

Re: [NTG-context] Wrtiting in two languages

2016-11-15 Thread Jean-Pierre Delange
and Greek \setuplanguage[de][patterns={de,agr}] \mainlanguage[de] % Set the Greek font (use your usual Greek font) \definefallbackfamily[mainface][serif][Theano Didot][preset=range:greek, it={Old Standard Italic}, force=yes] \definefontfamily [mainface] [sans] [FreeSans] [rscale=0.8] \setupbodyfont

[NTG-context] Wrtiting in two languages

2016-11-14 Thread Ursula Hermann
Hy evreybody! If i write a text in acient greek and in german side by side, how can I do this? The mainlanguage should be german . But is that the right way if i wright: \starttext Hier bin ich and then i write side by side \startgreek and\stopgreek \stoptext ? Thanks

[NTG-context] BUG: Undefined control sequence \greekleftquot

2016-10-27 Thread Henri Menke
forgotten \def\greekleftquot {\leftguillemot } \def\greekrightquot{\rightguillemot} \stopmode \mainlanguage[gr] \setupbodyfont[computer-modern-unicode]% font with greek script \starttext \quotation{Νέα Ελληνικά} \stoptext Please fix. Cheers, Henri

Re: [NTG-context] Changes in hyphenations with 2016-10-12 beta

2016-10-13 Thread josephcanedo
e hyphenator one can also argue that the first pass can be omitted (i.e. always go for the best solution) >> MWE (well as close to MWE I could write, requires EBGaramond unfortunately). >> >> \language[fr] > > The document main language is invoked in ConTeXt with: > >

Re: [NTG-context] Changes in hyphenations with 2016-10-12 beta

2016-10-13 Thread Hans Hagen
(well as close to MWE I could write, requires EBGaramond unfortunately). \language[fr] The document main language is invoked in ConTeXt with: \mainlanguage[fr] \setupalign[hanging, lesshyphenation, hz] I suspect that if you ask for less hyphenation, you get it. See my sample

Re: [NTG-context] Changes in hyphenations with 2016-10-12 beta

2016-10-13 Thread Pablo Rodriguez
me, but I have a different approach. > MWE (well as close to MWE I could write, requires EBGaramond unfortunately). > > \language[fr] The document main language is invoked in ConTeXt with: \mainlanguage[fr] > \setupalign[hanging, lesshyphenation, hz] I suspect that if you ask for

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-07 Thread Mohammad Hossein Bateni
ampler example" with Persian fonts (please > >>> see below or "http://wiki.luatex.org/index.php/Fontsampler; > >>> for fontsampler codes). > >>> The problem is that Persian words apears as a string of separate > >>> glyphs, for

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-07 Thread Mingranina Gingranina
;>> The problem is that Persian words apears as a string of separate >>> glyphs, for example I get "ح‌س‌ن" instead of "حسن". >>> Do I have to use commands like the followings inside \directlua or >>> tex.tprint to fix the problem? If yes, how

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-07 Thread Mohammad Hossein Bateni
m is that Persian words apears as a string of separate >> glyphs, for example I get "ح‌س‌ن" instead of "حسن". >> Do I have to use commands like the followings inside \directlua or >> tex.tprint to fix the problem? If yes, how can I do that? >> >> \i

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-07 Thread Mohammad Hossein Bateni
of "حسن". > Do I have to use commands like the followings inside \directlua or > tex.tprint to fix the problem? If yes, how can I do that? > > \installlanguage [fa][default=pe,date=\longjalalidatefmt] > \mainlanguage[fa] > > \definefontfeature[tlig][tlig=yes] > \definef

[NTG-context] How to use "fontsampler example" with Persian font

2016-10-07 Thread Mingranina Gingranina
; instead of "حسن". Do I have to use commands like the followings inside \directlua or tex.tprint to fix the problem? If yes, how can I do that? \installlanguage [fa][default=pe,date=\longjalalidatefmt] \mainlanguage[fa] \definefontfeature[tlig][tlig=yes] \definefontfeature[slanted]

Re: [NTG-context] Hyphenation on apostrophe and proper noun

2016-10-01 Thread Jean-Pierre Delange
6 19:12:30 Objet: Re: [NTG-context] Hyphenation on apostrophe and proper noun Bonjour Jean-Pierre, excellent ! Votre solution corrige le problème de l'apostrophe. Toutefois j'ai rencontré un message d'erreur avec la commande : \mainlanguage[fr] Est-ce la version de ConTeXt que j'utilis

Re: [NTG-context] Hyphenation on apostrophe and proper noun

2016-09-30 Thread Alain Auger
Bonjour Jean-Pierre, excellent ! Votre solution corrige le problème de l'apostrophe. Toutefois j'ai rencontré un message d'erreur avec la commande : \mainlanguage[fr] Est-ce la version de ConTeXt que j'utilise ? (ConTeXt ver: 2016.05.17 19:20 MKIV current fmt: 2016.8.29 int: english/english

Re: [NTG-context] Hyphenation on apostrophe and proper noun

2016-09-30 Thread Jean-Pierre Delange
) : \setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] - Mail original - De: "Alain Auger" <aau...@diffusionvie.com> À: ntg-context@ntg.nl Envoyé: Vendredi 30 Septembre 2016 15:45:53 Objet: [NTG-context] Hyphenation on apostrophe and pr

Re: [NTG-context] Protrusion, hyphens and lining figures

2016-09-27 Thread Pablo Rodriguez
osé Luis, I remembered that EB Garamond is such a typeface. Here is the sample (which works for me): \showframe\showgrid \mainlanguage[es] \setuppapersize[A6] \definefontfeature[default][default] [lnum=yes, protrusion=quality, expansion=quality] \setupa

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Jean-Pierre Delange
(two pair of braces: {}). The second is missing. BTW, serif for mainface is defined twice. GFS Didot is selected after Garamond. Please compile the following: 8< \showframe\showgrid \setuplanguage[fr][patterns={fr

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Pablo Rodriguez
lowing: 8< \showframe\showgrid \setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargin

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Jean-Pierre Delange
][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin

Re: [NTG-context] Missing hyphentation in natural tables (was: French hyphenation issue in tablepaired boxes)

2016-08-15 Thread Jean-Pierre Delange
pTABLE. \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \starttext \setupTABLE[start][align=normal] %\setupTABLE[start][align=flushleft] %\setupTABLE[start][align={flushleft,broad}] \bTABLE \bTR \bTD « Dans la société présente, où le jeu de la spéciali

[NTG-context] Missing hyphentation in natural tables (was: French hyphenation issue in tablepaired boxes)

2016-08-15 Thread Wolfgang Schuster
tnotes or paired boxes but a result of the default alignment setting for natural tables. To change the default value for the alignment you can use the align key for \setupTABLE. \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \starttext \setupTABLE[start][align=normal] %\setupTABLE

Re: [NTG-context] French hyphenation issue in tablepaired boxes

2016-08-15 Thread Jean-Pierre Delange
), and fill the tables titles with my own. All is fine, except hyphenation which seems to be an issue here : see in the first text the word 'automatiquement'. I have added the following commands : \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \defineparagraphs[n=1, align={hz,hanging

Re: [NTG-context] placelocalfootnotes breaks center alignment

2016-08-15 Thread Wolfgang Schuster
\input tufte and \input ward previously given), and fill the tables titles with words of my own. All is fine, except hyphenation which doesn't appear here. \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \defineparagraphs[n=1, align={hz,hanging}] \setupalign[hyphenated] You m

Re: [NTG-context] placelocalfootnotes breaks center alignment

2016-08-15 Thread Jean-Pierre Delange
with words of my own. All is fine, except hyphenation which doesn't appear here. \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \defineparagraphs[n=1, align={hz,hanging}] \setupalign[hyphenated] You may try with this text (in place of 'Content') : « Dans la société présente, où le jeu de

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-13 Thread Jean-Pierre Delange
/Logo.svg within context repertory) doesn't print : 'state: unknown'; is it an issue caused by a layer definition ? You have to set it (see sample below). % Select language \mainlanguage[fr] \language[fr] \mainlanguage also selects the language for the document. The second command isn’t required

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-12 Thread Pablo Rodriguez
ate: unknown'; is it an issue caused by a layer > definition ? You have to set it (see sample below). > % Select language > > \mainlanguage[fr] > \language[fr] \mainlanguage also selects the language for the document. The second command isn’t required. > % Normal A4 size paper &

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-12 Thread Jean-Pierre Delange
=2.8ex]}] which allow to define interlines inside the 2nd column ? 2. The Logo.svg picture (in /Images/Logo.svg within context repertory) doesn't print : 'state: unknown'; is it an issue caused by a layer definition ? Thanks for your advices. JP % Select language \mainlanguage[fr] \language

Re: [NTG-context] Wrong hyphenation when using patterns={fr,agr}

2016-08-10 Thread Jean-Pierre Delange
well. I found no more hyphenation issues, nor punctuation ones, even within text defined by \definefallbackfamily setup. \setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] Le 09/08/2016 à 23:21, josephcan...@gmail.com a écrit : Dear all, Combining

Re: [NTG-context] Wrong hyphenation when using patterns={fr,agr}

2016-08-10 Thread Hans Hagen
> initialization > language 'fr', patterns 'agr,fr', discarding conflict (0-9)'(0-9) so, the ' is used differently between the languages Using ConTeXt ver: 2016.08.08 21:28 MKIV beta fmt: 2016.8.9 int: english/English \setuplanguage[fr][patterns={fr, agr}] \mainla

[NTG-context] Wrong hyphenation when using patterns={fr,agr}

2016-08-09 Thread josephcanedo
/English \setuplanguage[fr][patterns={fr, agr}] \mainlanguage[fr] \starttext \hyphenatedword{l'homme} \stoptext - The above prints : l’-homme If so, what is the alternative to specify hyphenation in a text containing both french and ancient greek (the minority) words. Thanks

Re: [NTG-context] Question about a link in a footnote to cite

2016-08-05 Thread Henri Menke
=start] % enable hyperlinks \mainlanguage[en] \usebtxdataset[biblio.buffer] \usebtxdefinitions[apa] \starttext \startbodymatter \startchapter[title={Me}] That's me \footnote{\cite[alternative=entry][Truman1949]} \stopchapter \stopbodymatter \startbackmatter \startchapter[title

[NTG-context] Question about a link in a footnote to cite

2016-08-05 Thread Ursula Hermann
ht way? \startbuffer[biblio] @url and I have an author and a year, do I have to write it here? } \stopbuffer \mainlanguage[en] \usebtxdataset[biblio.buffer] \starttext \startbodymatter \startchapter[title={Me}] That's me \footnote{\cite[url, author, year]? \stopchapter \stopbody

[NTG-context] Question about links

2016-08-05 Thread Ursula Hermann
, the year? Or only the link? } \stopbuffer \mainlanguage[en] \usebtxdataset[biblio.buffer] \starttext \startbodymatter \startchapter[title={Me}] Your attachment actively impedes the aim that brought you to it initially \footnote{\cite[url] [www.contextgarden.net

Re: [NTG-context] Hyphenation errors (again or still) in recent mkiv

2016-08-02 Thread Robert Blackstone
; format=flowed > > On 8/1/2016 11:52 AM, Wolfgang Schuster wrote: >>> Robert Blackstone <mailto:blackstone.rob...@gmail.com> >>> 1. August 2016 um 11:02 >>> On 31 Jul 2016, at 21:06 , Hans Hagen <pra...@wxs.nl> >>> >>> >

Re: [NTG-context] \mainlanguage[pe]

2016-08-01 Thread Mohammad Hossein Bateni
gives the 'missing number' error. > > % \mainlanguage[en] > \romannumerals{\currentdate[day]} > > 1. The \currentdate command isn’t expandable and is therefore not expanded > when you use it as argument for another command. > > 2. The \romannumerals commands expects a number

<    1   2   3   4   5   6   7   8   9   10   >