[NTG-context] Russian language support in ConTeXt

2013-12-09 Thread Pavel Stupin
Hello:

I would like to use ConTeXt for typesetting the documents in Russian.
I used it about 10 years ago and it worked just fine. Much has been
changed since then, however, and it doesn't work out-of-box while the
only howto I've been able to find
(http://wiki.contextgarden.net/Russian) seems to be outdated as none
of the examples works with the latest ConTeXt. Could someone please
explain me what I need to set up the program accordingly. I would
appreciate your help a lot.

Kind regards, Pavel.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Devanagari in Siddhanta font with Context m-iv

2013-12-09 Thread Shree Devi Kumar
​I am converting some ITRANS documents with vedic accents to devanagari pdf
files using Context. I tried both Chandas and Siddhanta fonts with it, I
would prefer to use Siddhanta but in some cases the display is not coming
correctly.

eg. स॒र्वार्थ॑ in
स॒र्व॒म॒ङ्ग॒लमा॒ङ्गल्ये॑ शि॒वे स॒र्वार्थ॑ साधिके।
शर॑ण्ये त्र्यम्ब॑के दे॒वि॒ ना॒राय॑णि न॒मोऽस्तु॑ ते॥

does not display correctly when using Siddhanta font but it display
correctly in Chandas.​


​Please let me know if you need more details.

Thanks,
Shree​
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Fwd: Russian language support in ConTeXt

2013-12-09 Thread Pavel Stupin
Hello:

I would like to use ConTeXt for typesetting documents in Russian. I
used it about 10 years ago and it worked just fine. Much has been
changed since then, however, and it doesn't work out-of-box while the
only howto I've been able to find
(http://wiki.contextgarden.net/Russian) seems to be outdated (?) as
none of the examples works with the latest ConTeXt. Could someone
please explain me what I need to set up the program, if this is
possible at all. I would appreciate your help and advise a lot.

Kind regards, Pavel.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Russian language support in ConTeXt

2013-12-09 Thread Wolfgang Schuster

Am 09.12.2013 um 09:49 schrieb Pavel Stupin stupin.pa...@gmail.com:

 Hello:
 
 I would like to use ConTeXt for typesetting documents in Russian. I
 used it about 10 years ago and it worked just fine. Much has been
 changed since then, however, and it doesn't work out-of-box while the
 only howto I've been able to find
 (http://wiki.contextgarden.net/Russian) seems to be outdated (?) as
 none of the examples works with the latest ConTeXt. Could someone
 please explain me what I need to set up the program, if this is
 possible at all. I would appreciate your help and advise a lot.

When you use ConTeXt MkIV (context command on the command line)
you need a font which has cyrillic letters, e.g. the DejaVu fonts which are
shipped with the ConTeXt Suite.

\setupbodyfont[dejavu]

\mainlanguage[russian]

\starttext
Немного русского текста для пробы.
\stoptext


You can also use other fonts on your system with have cyrillic glyphs and
load the fonts with the simplefonts module. When you have a recent
installation you can use the internal simplefonts commands (not the best
example because you can load the libertine fonts also with 
\setupbodyfont[libertine])

\definefontfamily [mainface] [rm] [Linux Libertine O]
\definefontfamily [mainface] [ss] [Linux Biolinum O]
\definefontfamily [mainface] [mm] [Latin Modern Math]

\setupbodyfont[mainface]

\mainlanguage[russian]

\starttext

Немного русского текста для пробы.

\ss Немного русского текста для пробы.

\stoptext

When your ConTeXt version is older (e.g. because you use TeXLive) change
the example above to:

\usemodule[simplefonts]

\setmainfont [Linux Libertine O]
\setsansfont [Linux Biolinum O]

\mainlanguage[russian]

\starttext

Немного русского текста для пробы.

\ss Немного русского текста для пробы.

\stoptext

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Devanagari in Siddhanta font with Context m-iv

2013-12-09 Thread Wolfgang Schuster

Am 07.12.2013 um 15:21 schrieb Shree Devi Kumar shreesh...@gmail.com:

 ​I am converting some ITRANS documents with vedic accents to devanagari pdf 
 files using Context. I tried both Chandas and Siddhanta fonts with it, I 
 would prefer to use Siddhanta but in some cases the display is not coming 
 correctly. 
 
 eg. स॒र्वार्थ॑ in
 स॒र्व॒म॒ङ्ग॒लमा॒ङ्गल्ये॑ शि॒वे स॒र्वार्थ॑ साधिके।
 शर॑ण्ये त्र्यम्ब॑के दे॒वि॒ ना॒राय॑णि न॒मोऽस्तु॑ ते॥
 
 does not display correctly when using Siddhanta font but it display correctly 
 in Chandas.​
 
 ​Please let me know if you need more details.

Make a minimal example and provide links for the fonts (if possible).

Wolfgang___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] \startpagefigure[file.pdf][page=1, ...]\stoppagefigure

2013-12-09 Thread Xan
Hi,

When I use:

\startpagefigure[file.pdf][page=X]\stoppagefigure

with page = 2 does not work. Always it puts the first page.

I run MKIV.

Is it a bug?

Thanks in advance,
Xan.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \startpagefigure[file.pdf][page=1, ...]\stoppagefigure

2013-12-09 Thread Wolfgang Schuster

Am 09.12.2013 um 11:19 schrieb Xan dxpubl...@telefonica.net:

 Hi,
 
 When I use:
 
 \startpagefigure[file.pdf][page=X]\stoppagefigure
 
 with page = 2 does not work. Always it puts the first page.
 
 I run MKIV.
 
 Is it a bug?

It’s a change of the behavior of the command and I won’t say it’s a bad change.

To understand the change you have to know that pagefigure is combination
of \startTeXpage and \externalfigure and you get the same result with

\startTEXpage
  \externalfigure[filename]
\stopTEXpage


The first parameter of the page figure command is the name of the graphic
and the second argument let you change the values for TeXpage, in the old
MkII code the second parameter was also used as second argument for
\externalfigure. A problem in MkII was that you had something in the second
parameter which was used by \startTEXpage *and* \externalfigure and the
output wasn’t what you expected. I guess to avoid this Hans doesn’t pass
the values of the second argument to \externalfigure anymore.


To select now a certain page from your external document just use
the \startTEXpage and \externalfigure combination:

\startTEXpage
  \externalfigure[filename][page=number]
\stopTEXpage

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Adding a space between multiple years from same authors

2013-12-09 Thread Steffen Kram
Hi,

I’m using the apa-de style. When my citation includes publications from the 
same authors, then using

\cite[authorFirstRef,authorSecondRef]

or 

\cite[authoryear][authorFirstRef,authorSecondRef]

will not include Spaces between the years, e.g.

\cite[Dyer:2012ts,Dyer:2012hy,Dyer:2013te]
= … (Dyer et al., 2012a,2012b,2013a)

\cite[authoryear][Dyer:2012ts,Dyer:2012hy,Dyer:2013te]
= … Dyer et al. (2012a,2012b,2013a)

How can I accomplish that the years are separated by comma and space:

= … Dyer et al. (2012a, 2012b, 2013a)

I already played with the setupcite command and peeked at the source code but 
could not find the right place or an idea how to change this. Seems like 
setupcite has not option and this is somewhere buried deep in the 
compact-layout code.

Any ideas?

Cheers,
Steffen


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Adding a space between multiple years from same authors

2013-12-09 Thread Alan BRASLAU
See
texmf-context/text/context/bib/bibl-apa-de.tex

Alan

On Mon, 9 Dec 2013 15:50:32 +0100
Steffen Kram s...@kram.io wrote:

 Hi,
 
 I’m using the apa-de style. When my citation includes publications
 from the same authors, then using
 
 \cite[authorFirstRef,authorSecondRef]
 
 or 
 
 \cite[authoryear][authorFirstRef,authorSecondRef]
 
 will not include Spaces between the years, e.g.
 
 \cite[Dyer:2012ts,Dyer:2012hy,Dyer:2013te]
 = … (Dyer et al., 2012a,2012b,2013a)
 
 \cite[authoryear][Dyer:2012ts,Dyer:2012hy,Dyer:2013te]
 = … Dyer et al. (2012a,2012b,2013a)
 
 How can I accomplish that the years are separated by comma and space:
 
 = … Dyer et al. (2012a, 2012b, 2013a)
 
 I already played with the setupcite command and peeked at the source
 code but could not find the right place or an idea how to change
 this. Seems like setupcite has not option and this is somewhere
 buried deep in the compact-layout code.
 
 Any ideas?
 
 Cheers,
 Steffen

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___