[NTG-context] redifining font sizes

2013-06-09 Thread Pablo Rodríguez
Hi there,

using the latest beta, I have tried to change the x font size from 0.8
to 0.9, but it doesn't work.

Here is a minimal sample:

\definefontsize[w]
\setupbodyfontenvironment[default][w=0.9, x=0.9]
\starttext
a {\tfx a} {\tfw a}
\stoptext

Why isn't the x font size set to 0.9?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] mathml linebreak?

2013-06-09 Thread Steffen Wolfrum
Hi,

usually it is possible to break long formulas.

But is there a way to do so, when formula is coded in mathml (see example 
below)?

Thanks, Steffen

---

\placeformula\startformula[9pt]
\setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
msub xmlns=http://www.w3.org/1998/Math/MathML;
mrow
miC/mi
miE/mi
/mrow
mrow
miA/mi
/mrow
/msub
mo xmlns=http://www.w3.org/1998/Math/MathML;=/mo
mi xmlns=http://www.w3.org/1998/Math/MathML;F/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;+/mo
msup xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mi mathvariant=boldv/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bolda/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;+/mo
msup xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mi mathvariant=boldi/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bolda/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;-/mo
mfrac xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mn1/mn
/mrow
mrow
mn2/mn
/mrow
/mfrac
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bold /mi
msup xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=boldK/mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bold /mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bolda/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;-/mo
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normalm/mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normala/mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normalx/mi
mfenced xmlns=http://www.w3.org/1998/Math/MathML; separators=.
mrow
msub
mrow
miλ/mi
/mrow
mrow
mn1/mn
/mrow
/msub
mo,/mo
msub
mrow
miλ/mi
/mrow
mrow
mn2/mn
/mrow
/msub
mo,/mo
mo…/mo
mo,/mo
msub
mrow
miλ/mi
/mrow
mrow
min/mi
/mrow
/msub
/mrow
/mfenced
mo xmlns=http://www.w3.org/1998/Math/MathML;·/mo
mfenced xmlns=http://www.w3.org/1998/Math/MathML; open=[ close=] 
separators=.
mrow
mic/mi
mo-/mo
msup
mrow
mi mathvariant=boldf/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi mathvariant=bolda/mi
mo+/mo
mil/mi
mfenced separators=.
mrow
msup
mrow
mi mathvariant=boldv/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi mathvariant=bolda/mi
/mrow
/mfenced
/mrow
/mfenced
mo xmlns=http://www.w3.org/1998/Math/MathML;-/mo
mfrac xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mir/mi
/mrow
mrow
mn2/mn
/mrow
/mfrac
msup xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mfenced open={ close=} separators=.
mrow
mi mathvariant=boldλ/mi
mi mathvariant=bold /mi
mo⊙/mo
mfenced open=[ close=] separators=.
mrow
mfenced separators=.
mrow
mn1/mn
mo-/mo
mil/mi
/mrow
/mfenced
mi mathvariant=boldv/mi
mo+/mo
mi mathvariant=boldf/mi
/mrow
/mfenced
/mrow
/mfenced
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bold /mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=boldΣ/mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normal /mi
mfenced xmlns=http://www.w3.org/1998/Math/MathML; open={ close=} 
separators=.
mrow
mi mathvariant=boldλ/mi
mi mathvariant=bold /mi
mo⊙/mo
mfenced open=[ close=] separators=.
mrow
mfenced separators=.
mrow
mn1/mn
mo-/mo
mil/mi
/mrow
/mfenced
mi mathvariant=boldv/mi
mo+/mo
mi mathvariant=boldf/mi
/mrow
/mfenced
/mrow
/mfenced
/mml:math\endbuffer{\processxmlbuffer}
\stopformula
___
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] bug with paragraph notes

2013-06-09 Thread Pablo Rodríguez
Hi Hans,

as I posted to the list in the past and it has been confirmed by
Wolfgang Schuster, there is a bug that prevents the proper separation of
paragraph notes from text body.

Here you have a sample:

\setupbodyfont[pagella]
\setupnote[footnote][paragraph=yes]
\setupnotation[footnote][alternative=serried,display=no]

\starttext
\dorecurse{500}{text text text\footnote{note} }
\stoptext

Would it be possible that this bug could be fixed? (This is specially
important for critical apparati.)

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] math guru wanted

2013-06-09 Thread Steffen Wolfrum
Hi,

whats wrong with this formula (see below)?
It runs into error:

! Missing \endgroup inserted.

system   tex  error on line 10 in file 
/Volumes/daten_pro/_AKTUELL/BRUNNER/mathml_test/mathml_test1.tex: Missing  ...

 1 %context
 2 %!TEX TS-program = luatex
 3 
 4 
 5 
 6 \usemodule[mathml] \starttext
 7 
 8 
 9 \setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
10   mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bolda/mi
11 mo xmlns=http://www.w3.org/1998/Math/MathML;∈/mo
12 mi xmlns=http://www.w3.org/1998/Math/MathML; 
mathvariant=normala/mi
13 mi xmlns=http://www.w3.org/1998/Math/MathML; 
mathvariant=normalr/mi
14 mi xmlns=http://www.w3.org/1998/Math/MathML; 
mathvariant=normalg/mi
15 mrow xmlns=http://www.w3.org/1998/Math/MathML;
16 mrow
17 munder
18 mrow
19 mi mathvariant=normalmax/mi
20 /mrow

inserted text 
\endgroup 
to be read again 
\right 
\fakerightdelimiter ...nesting \zerocount \right 
  .\fi 
argument ...imiter \xmlflush {temp::22}\fakerightdelimiter 
  \disabledelimiter 
\firstoftwoarguments #1#2h-#1
 
\15:mml:mrow ...sabledelimiter } {\xmlflush {#1}}
  \endgroup 
...
l.217 /mml:math\endbuffer{\processxmlbuffer}

? 
Process aborted



Steffen
---


\usemodule[mathml] \starttext


\setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bolda/mi
mo xmlns=http://www.w3.org/1998/Math/MathML;∈/mo
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normala/mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normalr/mi
mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=normalg/mi
mrow xmlns=http://www.w3.org/1998/Math/MathML;
mrow
munder
mrow
mi mathvariant=normalmax/mi
/mrow
mrow
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
/mrow
/munder
/mrow
mo⁡/mo
mrow
mfenced open={ close=} separators=.
mrow
miF/mi
mo+/mo
msup
mrow
mi mathvariant=boldv/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
mo+/mo
msup
mrow
mi mathvariant=boldi/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi mathvariant=bolda/mi
mo-/mo
mfrac
mrow
mn1/mn
/mrow
mrow
mn2/mn
/mrow
/mfrac
mi mathvariant=bold /mi
msup
mrow
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi mathvariant=boldK/mi
mi mathvariant=bold /mi
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
mo-/mo
mfenced open=[ close=] separators=.
mrow
mic/mi
mo-/mo
msup
mrow
mi mathvariant=boldf/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
mo+/mo
mil/mi
mfenced separators=.
mrow
msup
mrow
mi mathvariant=boldv/mi
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
/mrow
/mfenced
/mrow
/mfenced
mo-/mo
mfrac
mrow
mir/mi
/mrow
mrow
mn2/mn
/mrow
/mfrac
msup
mrow
mfenced open=[ close=] separators=.
mrow
mfenced separators=.
mrow
mn1/mn
mo-/mo
mil/mi
/mrow
/mfenced
mi mathvariant=boldv/mi
mo+/mo
mi mathvariant=boldf/mi
/mrow
/mfenced
/mrow
mrow
mi mathvariant=boldT/mi
/mrow
/msup
mi mathvariant=bold /mi
mi mathvariant=boldΣ/mi
mfenced open=[ close=] separators=.
mrow
mfenced separators=.
mrow
mn1/mn
mo-/mo
mil/mi
/mrow
/mfenced
mi mathvariant=boldv/mi
mo+/mo
mi mathvariant=boldf/mi
/mrow
/mfenced
mo|/mo
mi mathvariant=bold-italic /mi
msup
mrow
mi mathvariant=bolda/mi
/mrow
mrow
mi mathvariant=bold'/mi
/mrow
/msup
mo∈/mo
msubsup
mrow
mi mathvariant=double-struckR/mi
/mrow
mrow
mo+/mo
/mrow
mrow
min/mi
/mrow
/msubsup
/mrow
/mfenced
/mrow
/mrow
/mml:math\endbuffer{\processxmlbuffer}


\stoptext
___
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] rebuild font cache

2013-06-09 Thread Pablo Rodríguez
Hi there,

after installing a new beta this morning, I'm afraid that ConTeXt isn't
able to find the installed fonts on my system (path is added to setuptex).

It isn't the first time I experience this. I solved this in the past
rebuilding the font cache.

But now it doesn't work.

mtxrun --script fonts --reload

fonts   | names | warnings are disabled (tracker
'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
attempt to index field 'treatments' (a nil value)

How can I force the font cache to be rebuild?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] Woe is me :( mkiv misbehaving.

2013-06-09 Thread john Culleton
On Sat, 8 Jun 2013 22:02:35 +0200
luigi scarso luigi.sca...@gmail.com wrote:

 On Sat, Jun 8, 2013 at 8:45 PM, john Culleton j...@wexfordpress.com
 wrote:
 
 
  After fiddling with some unrelated issues involving a python program
  called makehuman my well behaved context mkiv job is acting up. It
  finds all kinds of unrelated modules but no longer can find the OTF
  fonts I use in /usr/share/fonts/OTF.
 
  here is a brief sample of some of the output I get now:
  ---
  kbuildsycoca4(2398) KBuildSycoca::createEntry: modified:
  video/wavelet.xml in xdgdata-mime kbuildsycoca4(2398)
  KBuildSycoca::createEntry: modified: video/x-ogm+ogg.xml in
  xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry:
  modified: video/x-anim.xml in xdgdata-mime kbuildsycoca4(2398)
  KBuildSycoca::createEntry: modified: video/ogg.xml in xdgdata-mime
  kbuildsycoca4(2398) KBuildSycoca::createEntry: modified:
  video/x-ms-wmp.xml in xdgdata-mime kbuildsycoca4(2398)
  KBuildSycoca::createEntry: modified: video/mp4.xml in xdgdata-mime
  kbuildsycoca4(2398) KBuildSycoca::createEntry: modified:
  video/vnd.rn-realvideo.xml in xdgdata-mime kbuildsycoca4(2398)
  KBuildSycoca::createEntry: modified: video/x-matroska.xml in
  xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry:
  modified: video/mp2t.xml in xdgdata-mime
  ---
 
  no cluecontext
 
  I have added some python things. Does MKIV use python in any way?
 
  no, as far I know.
 
 The directory is not a standard one, so I presume you have modified
 some variables.
 What
 does
 mtxrun --variables
 say ?
 
 Maybe you have forgotten
 mtxrun --generate

I solved the wierd messages by a brute force method.  I created a fresh
slackware partition and whatever I did wrong was eliminated. Now, down
to the fonts; the directory /usr/share/fonts and its subdirectories is
a standard place to put fonts on a Linux system. Most of my other
programs (Inkscape, Scribus) find those fonts without difficulty. I
checked my permissions in that directory and subdirectories and they
are not restrictive. I will link those fonts to a directory that
Context searches. I just wonder why it worked before and not now. 
-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: Create Book Covers with Scribus
available at http://www.booklocker.com/books/4055.html
___
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] Woe is me :( mkiv misbehaving.

2013-06-09 Thread Wolfgang Schuster

Am 09.06.2013 um 14:24 schrieb john Culleton j...@wexfordpress.com:

 I solved the wierd messages by a brute force method.  I created a fresh
 slackware partition and whatever I did wrong was eliminated. Now, down
 to the fonts; the directory /usr/share/fonts and its subdirectories is
 a standard place to put fonts on a Linux system. Most of my other
 programs (Inkscape, Scribus) find those fonts without difficulty. I
 checked my permissions in that directory and subdirectories and they
 are not restrictive. I will link those fonts to a directory that
 Context searches. I just wonder why it worked before and not now. 

You have set the directories with the OSFONTDIR variable:
http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database

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] rebuild font cache

2013-06-09 Thread luigi scarso
On Sun, Jun 9, 2013 at 1:25 PM, Pablo Rodríguez oi...@web.de wrote:

 Hi there,

 after installing a new beta this morning, I'm afraid that ConTeXt isn't
 able to find the installed fonts on my system (path is added to setuptex).

 It isn't the first time I experience this. I solved this in the past
 rebuilding the font cache.

 But now it doesn't work.

 mtxrun --script fonts --reload

 fonts   | names | warnings are disabled (tracker

 'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
 attempt to index field 'treatments' (a nil value)

 How can I force the font cache to be rebuild?

 mtxrun --script fonts --reload
is ok here

-- 
luigi
___
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] bug with overbar

2013-06-09 Thread Steffen Wolfrum
Hi Hans,

this seems to be a bug: the overbar should not be set separately again over A



\usemodule[mathml] \starttext


\startbuffer 
math xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mover accent=true
mrow
msub
miU/mi
miA/mi
/msub
/mrow
moOverBar;/mo
/mover
/mrow
/math
\stopbuffer{\processxmlbuffer} 

\stoptext



Is there a fix?

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
___


Re: [NTG-context] bug with overbar

2013-06-09 Thread luigi scarso
On Sun, Jun 9, 2013 at 3:38 PM, Steffen Wolfrum cont...@st.estfiles.dewrote:

 Hi Hans,

 this seems to be a bug: the overbar should not be set separately again
 over A



 \usemodule[mathml] \starttext


 \startbuffer
 math xmlns=http://www.w3.org/1998/Math/MathML;
 mrow
 mover accent=true
 mrow
 msub
 miU/mi
 miA/mi
 /msub
 /mrow
 moOverBar;/mo
 /mover
 /mrow
 /math
 \stopbuffer{\processxmlbuffer}

 \stoptext


 not a fix but should overbar be only over U ?

\usemodule[mathml] \starttext


\startbuffer
math xmlns=http://www.w3.org/1998/Math/MathML;
mrow
mover accent=true
mrow
msub
miU/mi
miA/mi
/msub
/mrow
moOverBar;/mo
/mover
/mrow
/math
\stopbuffer{\processxmlbuffer}

\startbuffer
math xmlns=http://www.w3.org/1998/Math/MathML;
mrow
msub
mover accent=true
mrow
miU/mi

/mrow
moOverBar;/mo
/mover
miA/mi
/msub
/mrow
/math
\stopbuffer{\processxmlbuffer}

\stoptext




 Is there a fix?

 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

 ___




-- 
luigi
___
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] bug with overbar

2013-06-09 Thread Steffen Wolfrum
... no. it should look this (see below): $\overline{U_A}$

but coded in MathML.

st.




Bildschirmfoto 2013-06-09 um 16.25.37.pdf
Description: Adobe PDF document


___
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] distinguish different characters from different languages

2013-06-09 Thread Tim Li
 Hi,
 
Is there a way in ConTeXt to distinguish (or recognise) different characters 
from different languages, especially distinguishing those used in China, Japan 
and Korea (CJK) from English.
 
For example, sentence(1) and its translation (sentence (2))  below are mixed 
English with Chinese characters,
 
as far as I know, Chinese write 排版 as typography.  (1)
translation: 据我所知,中国人将typography写作排版。  (2)
 
If I input this sentence in the ConTeXt source file, how can I recognise 
English characters and Chinese characters respectively so that I can insert 
space (say, 1/4 space) when nesting English words into Chinese (the result of 
sentence (2) in PDF file will look like this: 据我所知,中国人将 typography 写作排版。)
 
Are there some materials or topics about this?
 
Tim
  ___
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] rebuild font cache

2013-06-09 Thread Pablo Rodríguez
On 09/06/13 15:29, luigi scarso wrote:
 On Sun, Jun 9, 2013 at 1:25 PM, Pablo Rodríguez wrote:
 mtxrun --script fonts --reload
 
 fonts   | names | warnings are disabled (tracker
 
 'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
 attempt to index field 'treatments' (a nil value)
 
 How can I force the font cache to be rebuilt?
 
 mtxrun --script fonts --reload
 is ok here

After reinstalling ConTeXt Standalone, system installed fonts don't work
either.

If I try to rebuild the font cache, here is what I get:

$ mtxrun --script fonts --reload
cannot open : No such file or directory

This happens after changing in tex/texmf/web2c/texmfcnf.lua:

TEXMFCACHE  = /var/cache/ctxbeta/texmf-cache,

And if I try to compile a document with luajittext I get the following
error:

mtx-context   | error, no format found with name: cont-en, aborting

In the meantime, I have a single user installation that does the job, Is
there no way to fix my system-wide installation?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] rebuild font cache

2013-06-09 Thread luigi scarso
On Sun, Jun 9, 2013 at 5:57 PM, Pablo Rodríguez oi...@web.de wrote:

 On 09/06/13 15:29, luigi scarso wrote:
  On Sun, Jun 9, 2013 at 1:25 PM, Pablo Rodríguez wrote:
  mtxrun --script fonts --reload
 
  fonts   | names | warnings are disabled (tracker
 
 'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
  attempt to index field 'treatments' (a nil value)
 
  How can I force the font cache to be rebuilt?
 
  mtxrun --script fonts --reload
  is ok here

 After reinstalling ConTeXt Standalone, system installed fonts don't work
 either.

  http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database


If I try to rebuild the font cache, here is what I get:

 $ mtxrun --script fonts --reload
 cannot open : No such file or directory

 This happens after changing in tex/texmf/web2c/texmfcnf.lua:

 TEXMFCACHE  = /var/cache/ctxbeta/texmf-cache,

 And if I try to compile a document with luajittext I get the following
 error:

 mtx-context   | error, no format found with name: cont-en, aborting

 In the meantime, I have a single user installation that does the job, Is
 there no way to fix my system-wide installation?

 why don't you use /opt and put all under /opt/context
without modifying anything ?


-- 
luigi
___
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] rebuild font cache

2013-06-09 Thread Aditya Mahajan

On Sun, 9 Jun 2013, Pablo Rodríguez wrote:


On 09/06/13 15:29, luigi scarso wrote:

On Sun, Jun 9, 2013 at 1:25 PM, Pablo Rodríguez wrote:
mtxrun --script fonts --reload

fonts   | names | warnings are disabled (tracker

'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
attempt to index field 'treatments' (a nil value)

How can I force the font cache to be rebuilt?

mtxrun --script fonts --reload
is ok here


After reinstalling ConTeXt Standalone, system installed fonts don't work
either.

If I try to rebuild the font cache, here is what I get:

   $ mtxrun --script fonts --reload
   cannot open : No such file or directory

This happens after changing in tex/texmf/web2c/texmfcnf.lua:

   TEXMFCACHE  = /var/cache/ctxbeta/texmf-cache,

And if I try to compile a document with luajittext I get the following
error:

   mtx-context   | error, no format found with name: cont-en, aborting

In the meantime, I have a single user installation that does the job, Is
there no way to fix my system-wide installation?


Try running

 mtxrun --generate

and then repeat the above steps.

Aditya___
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] rebuild font cache

2013-06-09 Thread Aditya Mahajan

On Sun, 9 Jun 2013, luigi scarso wrote:


why don't you use /opt and put all under /opt/context

without modifying anything ?


One needs write permission in TEXMFCACHE.

Aditya
___
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] rebuild font cache

2013-06-09 Thread Hans Hagen

On 6/9/2013 1:25 PM, Pablo Rodríguez wrote:

Hi there,

after installing a new beta this morning, I'm afraid that ConTeXt isn't
able to find the installed fonts on my system (path is added to setuptex).

It isn't the first time I experience this. I solved this in the past
rebuilding the font cache.

But now it doesn't work.

mtxrun --script fonts --reload

fonts   | names | warnings are disabled (tracker
'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
attempt to index field 'treatments' (a nil value)


looks like you mix of old and new code

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] bug with paragraph notes

2013-06-09 Thread Thomas A. Schmitz

On 06/09/2013 01:01 PM, Pablo Rodríguez wrote:

Would it be possible that this bug could be fixed? (This is specially
important for critical apparati.)


apparati, eh?

Thomas
___
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] rebuild font cache

2013-06-09 Thread Pablo Rodríguez
On 09/06/13 18:15, Aditya Mahajan wrote:
 This happens after changing in tex/texmf/web2c/texmfcnf.lua:

TEXMFCACHE  = /var/cache/ctxbeta/texmf-cache,
 
 Try running
 
   mtxrun --generate
 
 and then repeat the above steps.

Many thanks for your reply, Aditya.

If I rebuild the font cache as root, I get:

# mtxrun --script fonts --reload

fonts   | names | warnings are disabled (tracker
'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context
/base/font-syn.lua:723: attempt to index field 'treatments' (a nil
value)

If I rebuild the font cache as user, I get:

$ mtxrun --script fonts --reload

fonts   | names | unable to access database cache
fonts   | names | accessing the data table failed

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] simplebib module: does not recognize bibitem command

2013-06-09 Thread Xan

I use a simplebib module:


\usemodule[simplebib]

\setuphead[title][style={\ss\bfd},
before={\begingroup},
after={\currentdate\bigskip\endgroup}]

\starttext
\title{Normativa}

\section{Calendari}

\startitemize
\item Primera setmana de setembre, matriculació d'antic alumnat d'un 
CEPA \bibitem[acces]
\item Segona i tercera setmanes de setembre, matriculació de nou alumnat 
\bibitem[acces]
\item Segona setmana de febrer, matriculació d'alumant d'ESPA del segon 
trimestre \bibitem[acces]

\stopitemize

\startbibliography

\bibitem[reference={acces}, title={Resolució del director general 
d’Ordenació, Innovació i Formació Professional, de dia 29 d’abril de 
2013 per la qual s’estableix el calendari del procés d’admissió i 
matriculació dels alumnes als ensenyaments de persones adultes als 
centres sostinguts amb fons públics de la Comunitat Autònoma de les 
Illes Balears, per al curs 2013-2014}, magazine={BOIB}, 
url={http://www.caib.es/eboibfront/ca/2013/8138/516384/resolucio-del-director-general-d-ordenacio-innovac}, 
dateedition{21-05-2013}]


\stopbibliography

\stoptext


and I get this error:

log
system  tex  error on line 13 in file Normativa.conTeXt: Undefined 
control sequence ...



l.13 ...ulació d'antic alumnat d'un CEPA \bibitem
[acces]
? x



I use MKIV. Why this error?

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] rebuild font cache

2013-06-09 Thread Pablo Rodríguez
On 09/06/13 18:39, Hans Hagen wrote:
 On 6/9/2013 1:25 PM, Pablo Rodríguez wrote:
 But now it doesn't work.

 mtxrun --script fonts --reload

 fonts   | names | warnings are disabled (tracker
 'fonts.warnings').../ctxbeta/tex/texmf-context/tex/context/base/font-syn.lua:723:
 attempt to index field 'treatments' (a nil value)
 
 looks like you mix of old and new code

Many thanks for your reply, Hans.

I suspected that too, but I didn't find luatex-cache at /home.

Fonts are found fine now, but I cannot rebuild the font cache (as I
replied to Aditya).

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] simplebib module: does not recognize bibitem command

2013-06-09 Thread Wolfgang Schuster

Am 09.06.2013 um 18:59 schrieb Xan dxpubl...@telefonica.net:

 I use a simplebib module:
 
 
 \usemodule[simplebib]
 
 \setuphead[title][style={\ss\bfd},
 before={\begingroup},
 after={\currentdate\bigskip\endgroup}]
 
 \starttext
 \title{Normativa}
 
 \section{Calendari}
 
 \startitemize
 \item Primera setmana de setembre, matriculació d'antic alumnat d'un CEPA 
 \bibitem[acces]
 \item Segona i tercera setmanes de setembre, matriculació de nou alumnat 
 \bibitem[acces]
 \item Segona setmana de febrer, matriculació d'alumant d'ESPA del segon 
 trimestre \bibitem[acces]
 \stopitemize
 
 \startbibliography
 
 \bibitem[reference={acces}, title={Resolució del director general 
 d’Ordenació, Innovació i Formació Professional, de dia 29 d’abril de 2013 per 
 la qual s’estableix el calendari del procés d’admissió i matriculació dels 
 alumnes als ensenyaments de persones adultes als centres sostinguts amb fons 
 públics de la Comunitat Autònoma de les Illes Balears, per al curs 
 2013-2014}, magazine={BOIB}, 
 url={http://www.caib.es/eboibfront/ca/2013/8138/516384/resolucio-del-director-general-d-ordenacio-innovac},
  dateedition{21-05-2013}]
 
 \stopbibliography
 
 \stoptext
 
 
 and I get this error:
 
 log
 system  tex  error on line 13 in file Normativa.conTeXt: Undefined control 
 sequence ...
 
 
 l.13 ...ulació d'antic alumnat d'un CEPA \bibitem
 [acces]
 ? x
 
 I use MKIV. Why this error?

You have to download from the wiki [1] and install them in your tex directory 
by yourself
because the author of the module hasn’t asked for inclusion in the context 
suite. You need
also the crossref module [2] which is used by simplebib for references to the 
entries.

[1] http://modules.contextgarden.net/simplebib
[2] http://modules.contextgarden.net/crossref

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] bug with paragraph notes

2013-06-09 Thread Pablo Rodríguez
On 09/06/13 18:55, Thomas A. Schmitz wrote:
 On 06/09/2013 01:01 PM, Pablo Rodríguez wrote:
 Would it be possible that this bug could be fixed? (This is specially
 important for critical apparati.)
 
 apparati, eh?

Isn't it the plural for apparatus? (I mean the Latin one, although I
might have forgotten the declensions as well.) Apparatuses sounds weird
to me.

If I'm not wrong, There is a similar rule in German (this might be the
cause of my mistake).


Pablo
-- 
http://www.ousia.tk
___
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] distinguish different characters from different languages

2013-06-09 Thread Hans Hagen

On 6/9/2013 4:58 PM, Tim Li wrote:


Hi,

Is there a way in ConTeXt to distinguish (or recognise) different
characters from different languages, especially distinguishing those
used in China, Japan and Korea (CJK) from English.

For example, sentence(1) and its translation (sentence (2))  below are
mixed English with Chinese characters,

as far as I know, Chinese write 排版 as /typography/.  (1)
 translation: 据我所知,中国人将/typography/写作排版。  (2)

If I input this sentence in the ConTeXt source file, how can I recognise
English characters and Chinese characters respectively so that I can
insert space (say, 1/4 space) when nesting English
words into Chinese (the result of *sentence (2)* in PDF file will look
like this: 据我所知,中国人将 typography 写作排版。)

Are there some materials or topics about this?


see files in test suite under subpath 'scripts'

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] bug with paragraph notes

2013-06-09 Thread Pablo Rodríguez
On 09/06/13 18:55, Thomas A. Schmitz wrote:
 On 06/09/2013 01:01 PM, Pablo Rodríguez wrote:
 Would it be possible that this bug could be fixed? (This is specially
 important for critical apparati.)
 
 apparati, eh?

By the way, Thomas, haven't you found this bug in any of your editions?

Many thanks,


Pablo
-- 
http://www.ousia.tk
___
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] simplebib module: does not recognize bibitem command

2013-06-09 Thread Xan

Al 09/06/13 19:12, En/na Wolfgang Schuster ha escrit:

Am 09.06.2013 um 18:59 schrieb Xan dxpubl...@telefonica.net:


I use a simplebib module:


\usemodule[simplebib]

\setuphead[title][style={\ss\bfd},
before={\begingroup},
after={\currentdate\bigskip\endgroup}]

\starttext
\title{Normativa}

\section{Calendari}

\startitemize
\item Primera setmana de setembre, matriculació d'antic alumnat d'un CEPA 
\bibitem[acces]
\item Segona i tercera setmanes de setembre, matriculació de nou alumnat 
\bibitem[acces]
\item Segona setmana de febrer, matriculació d'alumant d'ESPA del segon 
trimestre \bibitem[acces]
\stopitemize

\startbibliography

\bibitem[reference={acces}, title={Resolució del director general d’Ordenació, 
Innovació i Formació Professional, de dia 29 d’abril de 2013 per la qual 
s’estableix el calendari del procés d’admissió i matriculació dels alumnes als 
ensenyaments de persones adultes als centres sostinguts amb fons públics de la 
Comunitat Autònoma de les Illes Balears, per al curs 2013-2014}, 
magazine={BOIB}, 
url={http://www.caib.es/eboibfront/ca/2013/8138/516384/resolucio-del-director-general-d-ordenacio-innovac},
 dateedition{21-05-2013}]

\stopbibliography

\stoptext


and I get this error:

log
system  tex  error on line 13 in file Normativa.conTeXt: Undefined control 
sequence ...


l.13 ...ulació d'antic alumnat d'un CEPA \bibitem
[acces]
? x

I use MKIV. Why this error?

You have to download from the wiki [1] and install them in your tex directory 
by yourself
because the author of the module hasn’t asked for inclusion in the context 
suite. You need
also the crossref module [2] which is used by simplebib for references to the 
entries.

[1] http://modules.contextgarden.net/simplebib
[2] http://modules.contextgarden.net/crossref

Wolfgang

How can I install it in my tex directory? (commands)?

Thanks,
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
___


[NTG-context] Handling index entries with many references

2013-06-09 Thread honyk
Dear All,

in my book I want to place the index (aka register) of places. Some of them
are mentioned very often (10). I want to keep that location in the index,
but not to create references to all occurrences. 

In one old book I've found the following solution for this: in the index
there are first three page references listed for that index entry followed
by 'and many' phrase.

Can something like this be done in the ConTeXt (MkIV)? No interactivity is
needed. The PDF output will be used just for printing.

\setupregister[index][coupling=yes] is not exactly what I want.

Thanks,
Jan

___
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] Handling index entries with many references

2013-06-09 Thread Wolfgang Schuster

Am 09.06.2013 um 21:49 schrieb honyk j.tosov...@email.cz:

 Dear All,
 
 in my book I want to place the index (aka register) of places. Some of them
 are mentioned very often (10). I want to keep that location in the index,
 but not to create references to all occurrences. 
 
 In one old book I've found the following solution for this: in the index
 there are first three page references listed for that index entry followed
 by 'and many' phrase.
 
 Can something like this be done in the ConTeXt (MkIV)? No interactivity is
 needed. The PDF output will be used just for printing.
 
 \setupregister[index][coupling=yes] is not exactly what I want.

Do you have a example what you did in MkII?

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] Handling index entries with many references

2013-06-09 Thread honyk
On 2013-06-09 Wolfgang Schuster wrote:
 
 Am 09.06.2013 um 21:49 schrieb honyk j.tosov...@email.cz:
 
  Dear All,
 
  in my book I want to place the index (aka register) of places. Some
 of them
  are mentioned very often (10). I want to keep that location in the
 index,
  but not to create references to all occurrences.
 
  In one old book I've found the following solution for this: in the
 index
  there are first three page references listed for that index entry
 followed
  by 'and many' phrase.
 
  Can something like this be done in the ConTeXt (MkIV)? No
 interactivity is
  needed. The PDF output will be used just for printing.
 
  \setupregister[index][coupling=yes] is not exactly what I want.
 
 Do you have a example what you did in MkII?

I hadn't typeset anything like this before. When mentioning the old book, I
mean manually typeset book (not digital one) produced by the letterpress
technology.

Jan

___
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] Including a large SVG image

2013-06-09 Thread Sander Maijers

Is anybody still interested to look into this issue?
I need the graph for my thesis, which is due soon.


On 08-06-13 12:04, Sander Maijers wrote:

I almost forgot to upload the graphics.

Here is the SVG:
https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg

SVG (7z compressed):
https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg.7z


PDF:
https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg.pdf


Best,
Sander


On 05-06-13 15:15, luigi scarso wrote:




On Wed, Jun 5, 2013 at 3:13 PM, Sander Maijers
s.n.maij...@student.ru.nl mailto:s.n.maij...@student.ru.nl wrote:



Excuse me. The file became truncated when I was renaming it and the
OS froze, it indeed is 0 bytes now.
This evening I will try upload it again.

can you also post a 7z compressed  version of the SVG ?


--
luigi


___

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
___




___

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
___



___
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] distinguish different characters from different languages

2013-06-09 Thread hwitloc

This seems to be about inter-word spacing, rather than character sets.

For the phrase:  据我所知,中国人将typography写作排版

The intuitive operation for ConTeXt should be to preserve the explict space 
after the comma, but the word typography is not seperated from the rest of 
the text with spaces.

If you input the text as   据我所知,中国人将 typography 写作排版
Then the spaces should be preserved as in English or other languages.
This was not the case once for Japanese, but a (temporary?) fix was put into 
the ongoing development version, I believe.  The space removal was due to the 
fact that Chinese and Japanese do not use space between words in normal text.

For now can you use the ~ or some like escape sequence to force a space where 
you want it?



Tim Li timli2...@outlook.com wrote:

 Hi,
 
 Is there a way in ConTeXt to distinguish (or recognise) different
 characters from different languages, especially distinguishing those
 used in China, Japan and Korea (CJK) from English.
 
 For example, sentence(1) and its translation (sentence (2)) below are
 mixed English with Chinese characters,
 
 as far as I know, Chinese write 排版 as typography. (1)
 translation: 据我所知,中国人将typography写作排版。(2)
 
 If I input this sentence in the ConTeXt source file, how can I
 recognise English characters and Chinese characters respectively so
 that I can insert space (say, 1/4 space) when nesting English words
 into Chinese (the result of sentence (2) in PDF file will look like
 this: 据我所知,中国人将 typography 写作排版。)
 
 Are there some materials or topics about this?
 
 Tim
 
 ___
 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
 ___
___
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] Including a large SVG image

2013-06-09 Thread luigi scarso
On Mon, Jun 10, 2013 at 12:21 AM, Sander Maijers
s.n.maij...@student.ru.nlwrote:

 Is anybody still interested to look into this issue?
 I need the graph for my thesis, which is due soon.

 tomorrow morning


-- 
luigi
___
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] Mtxrun.exe in minimals not working.

2013-06-09 Thread DB
I just downloaded the latest version of the standalone package (2013-06-08, 09:15). When I run first-setup.bat, mtxrun.exe crashes just as it's about to start downloading the files. It's impossible to get any further.

What's going on?
___
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] Including a large SVG image

2013-06-09 Thread Sietse Brouwer
I'm afraid I can't help, as this seems to be a PDF problem and I know
nothing about the PDF format.

ConTeXt correctly produces the converted file
`m_k_i_v_scatterplot_of_WER_vs_PPL.svg.pdf`, and that PDF displays
correctly when I open it standalone. But when I try to include the PDF
with
\includepages[m_k_i_v_scatterplot_of_WER_vs_PPL.svg.pdf]
I get a blank page. The size of the document does increase from 30 kB
to 266 kB, so the image PDF does get included, but somehow it doesn't
display. I haven't a clue why.

I hope somebody else can help you with this, or find a workaround. Good luck!

Cheers,
Sietse

On 10 June 2013 00:21, Sander Maijers s.n.maij...@student.ru.nl wrote:
 Is anybody still interested to look into this issue?
 I need the graph for my thesis, which is due soon.



 On 08-06-13 12:04, Sander Maijers wrote:

 I almost forgot to upload the graphics.

 Here is the SVG:
 https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg

 SVG (7z compressed):

 https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg.7z


 PDF:

 https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg.pdf


 Best,
 Sander


 On 05-06-13 15:15, luigi scarso wrote:




 On Wed, Jun 5, 2013 at 3:13 PM, Sander Maijers
 s.n.maij...@student.ru.nl mailto:s.n.maij...@student.ru.nl wrote:



 Excuse me. The file became truncated when I was renaming it and the
 OS froze, it indeed is 0 bytes now.
 This evening I will try upload it again.

 can you also post a 7z compressed  version of the SVG ?


 --
 luigi



 ___

 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

 ___




 ___

 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

 ___


 ___
 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
 ___
___
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
___