[NTG-context] Short notice: Gentium in distribution

2013-07-19 Thread Mojca Miklavec
Hi,

Gentium fonts have been updated recently, but I forgot to fix the
scripts in distribution (arg, CTAN now prevents TDS, so it took me
a while to reconstruct it) and today's updates deleted the old fonts.
I fixed that now, but please let me know if there are any problems
left. (I left the Type1 fonts out of ConTeXt distribution).

Mojca
___
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] Error using xtable

2013-07-19 Thread Hans Hagen

On 7/17/2013 9:22 AM, Dmitriy Tokarev wrote:

Hello all,

I experimented with xtables and found the following effect:

This code is ok:
\starttext

\startxtable

\startxrow
\startxcell \input ward \stopxcell
\stopxrow

\stopxtable

\stoptext

But this compiled with an error:

\starttext

\startxtable

%\startxtablebody

\startxrow
\startxcell \input ward \stopxcell
\stopxrow

\stopxtable

\stoptext


maybe adding

%\stopxtablebody

helps


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


[NTG-context] Installing context on a web server

2013-07-19 Thread Stéphanie Vilayphiou

Hello,
I am using Context to produce PDF out of a website.
It works well on my local machine, but I can't seem to install Context 
system-wise on my server.


I first installed Context as a single-user on the server with 
first-setup.sh.

Then I realized I needed Context to be accessed by any user.

So I tried to run first-setup.sh in /opt/context as root.
First of all, I have troubles with rsync connections through first-setup.sh.



rsync: failed to connect to contextgarden.net: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122) 
[Receiver=3.0.7]


...
resolvers   | resolving | warning: no lua configuration files found
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  | the resolver databases are not present or outdated
mtx-update  | state, loaded
mtx-update  |
mtx-update  | update, startrsync: failed to connect to 
contextgarden.net: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122) 
[Receiver=3.0.7]


mtx-update  | run, rsync -rpztlv --delete 
contextgarden.net::'minimals/current/context/beta/' 
'/opt/context/tex/texmf-context'rsync: failed to connect to 
contextgarden.net: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122) 
[Receiver=3.0.7]


mtx-update  | run, rsync -rpztlv 
contextgarden.net::'minimals/current/bin/common/linux-64/ 
minimals/current/bin/context/linux-64/ 
minimals/current/bin/metapost/linux-64/ minimals/current/bin/man/ 
minimals/current/bin/luatex/linux-64/ 
minimals/current/bin/xetex/linux-64/ 
minimals/current/bin/luatex/linux-64/ 
minimals/current/bin/pdftex/linux-64/ 
minimals/current/bin/luatex/linux-64/ 
minimals/current/bin/luajittex/linux-64/' '/opt/context/tex/texmf-linux-64'





So I copy/pasted the files from the single-user install in /opt/context/.
Then Context runs only if I source it with: source 
/opt/context/tex/setuptex but putting it in my $PATH doesn't work and 
it disappears from my path when I come back to su.



root@erba-web1:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
root@erba-web1:~# PATH=$PATH:/opt/context/tex/texmf-linux-64/bin
root@erba-web1:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/context/tex/texmf-linux-64/bin
root@erba-web1:~# exit
$ sudo su
root@erba-web1:/home/admin_esad# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


(actually this $PATH thing doesn't work either on my local machine, I 
have to source it every time I want to use it...)


Any idea?
Stéphanie



--

Stéphanie Vilayphiou
stdin
http://stdin.fr/
+32 (0)4 89 00 88 59

___
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] Installing context on a web server

2013-07-19 Thread Mojca Miklavec
On Fri, Jul 19, 2013 at 3:29 PM, Stéphanie Vilayphiou wrote:

 So I tried to run first-setup.sh in /opt/context as root.
 First of all, I have troubles with rsync connections through first-setup.sh.


 
 rsync: failed to connect to contextgarden.net: Connection timed out (110)
 rsync error: error in socket IO (code 10) at clientserver.c(122)
 [Receiver=3.0.7]

Does anyone else have that problem? Does root user get proper DNS settings?

I can check the server logs, but it's more likely that there are some
weird server settings on your side if it works for regular user and
only fails when you run sudo. Another (not likely, but possible)
option is that you actually run a different binary when you use sudo.

 So I copy/pasted the files from the single-user install in /opt/context/.
 Then Context runs only if I source it with: source
 /opt/context/tex/setuptex but putting it in my $PATH doesn't work and it
 disappears from my path when I come back to su.
 
 root@erba-web1:~# echo $PATH
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
 root@erba-web1:~# PATH=$PATH:/opt/context/tex/texmf-linux-64/bin
 root@erba-web1:~# echo $PATH
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/context/tex/texmf-linux-64/bin
 root@erba-web1:~# exit
 $ sudo su
 root@erba-web1:/home/admin_esad# echo $PATH
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
 

This is expected.

 (actually this $PATH thing doesn't work either on my local machine, I have
 to source it every time I want to use it...)

 Any idea?

What distribution is running on the server? See for example

http://askubuntu.com/questions/128413/setting-the-path-so-it-applies-to-all-users-including-root-sudo

You need to edit some configuration file that applies path to all
users. I would suggest hardcoding the path in that system setting
rather than sourcing setuptex. Please also be careful about setting
TEXMFCACHE path. Personally I would create a texmf.cnf file somewhere
next to texmf-foo trees setting that variable to something that won't
clash between users (each user needs his own TEXMFCACHE path).

Mojca
___
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-rad.mkvi' missing

2013-07-19 Thread Peter Rolf
Hi,

I just started 'first-setup.bat' and the final compilation fails with

[..]
loading  ConTeXt Math Macros / Scripts
) (V:/tmp/context/tex/texmf-context/tex/context/base/math-int.mkiv
loading  ConTeXt Math Macros / Integrals
) (V:/tmp/context/tex/texmf-context/tex/context/base/math-del.mkiv
loading  ConTeXt Math Macros / Delimiters
) (V:/tmp/context/tex/texmf-context/tex/context/base/math-fen.mkiv
loading  ConTeXt Math Macros / Fences
)
! I can't find file `math-rad.mkvi'.
to be read again
\relax
l.433 \loadmkvifile{math-rad}

Please type another input file name:

---


Peter
___
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] revert to an older install not working?

2013-07-19 Thread Pablo Rodríguez
Dear list,

after the missing file in the latest beta, I wanted to revert the
installation back to previous beta (2013.07.14).

I tried it with the following command:

./first-setup.sh --context=2013.07.14

But it gives the following error:

rsync: change_dir /current/context/2013.07.14 (in minimals)
failed: No such file or directory (2)

Am I missing something or revert to an older install is disabled?

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] 'math-rad.mkvi' missing

2013-07-19 Thread Hans Hagen

On 7/19/2013 4:41 PM, Peter Rolf wrote:

Hi,

I just started 'first-setup.bat' and the final compilation fails with

[..]
loading  ConTeXt Math Macros / Scripts
) (V:/tmp/context/tex/texmf-context/tex/context/base/math-int.mkiv
loading  ConTeXt Math Macros / Integrals
) (V:/tmp/context/tex/texmf-context/tex/context/base/math-del.mkiv
loading  ConTeXt Math Macros / Delimiters
) (V:/tmp/context/tex/texmf-context/tex/context/base/math-fen.mkiv
loading  ConTeXt Math Macros / Fences
)
! I can't find file `math-rad.mkvi'.
to be read again
\relax
l.433 \loadmkvifile{math-rad}

Please type another input file name:


ah, it's a mkvi file ... i'll fix it

Hans

-
  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] 'math-rad.mkvi' missing

2013-07-19 Thread Pablo Rodríguez
On 19/07/13 19:00, Hans Hagen wrote:
 On 7/19/2013 4:41 PM, Peter Rolf wrote:
 Hi,

 I just started 'first-setup.bat' and the final compilation fails with

 [..]
 loading  ConTeXt Math Macros / Scripts
 ) (V:/tmp/context/tex/texmf-context/tex/context/base/math-int.mkiv
 loading  ConTeXt Math Macros / Integrals
 ) (V:/tmp/context/tex/texmf-context/tex/context/base/math-del.mkiv
 loading  ConTeXt Math Macros / Delimiters
 ) (V:/tmp/context/tex/texmf-context/tex/context/base/math-fen.mkiv
 loading  ConTeXt Math Macros / Fences
 )
 ! I can't find file `math-rad.mkvi'.
 to be read again
 \relax
 l.433 \loadmkvifile{math-rad}

 Please type another input file name:
 
 ah, it's a mkvi file ... i'll fix it

Many thanks for the fast fix.


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] still a bug with compressed linenotes and no compressseparator

2013-07-19 Thread Pablo Rodríguez
On 14/07/13 12:43, Pablo Rodríguez wrote:
 Dear Hans,
 [...]
 I think there is a simple way to solve both issues: if
 compressseparator is set to none, the space after should be removed in
 all cases.
 
 Would it be possible to implement this?

Hans,

many thanks for your implementation in latest beta.


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] INstalling the context version of TeX distro.

2013-07-19 Thread john Culleton
On Wed, 17 Jul 2013 18:00:06 +0200
Sietse Brouwer sbbrou...@gmail.com wrote:

 Hello John,
 
 Ah, I see everybody else has already linked you to
 http://wiki.contextgarden.net/ConTeXt_Standalone#Windows
 
 I do apologize for the state of that page. Hans van der Meer sent me
 (well, he sent it to Hans Hagen and Hans H sent it to me) a
 much-improved draft of installation instructions, which I still
 haven't gotten around to putting on the wiki. I have to run out the
 door now, but I'll get round to it soon. Mentioning it here in order
 to remind myself. :-)
 
 Cheers,
 
 Sietse
 ___
 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
 ___

Slight problem. The standard install assumes that one can get to the
internet from Windoze. I can't. WIn 7 refuses to talk to my obsolete
linksys router and the Linksys software disk doesn't work with Win XP or
Win 7. So is there a context zip that actually contains the software?

Linux and my router is of course no problem. but I want to run Context
on a windows partition. 

Do I need to run a TeXLive dvd disk instead?
-- 
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] INstalling the context version of TeX distro.

2013-07-19 Thread Pablo Rodríguez
On 19/07/13 20:51, john Culleton wrote:
 [...]
 Slight problem. The standard install assumes that one can get to the
 internet from Windoze. I can't. WIn 7 refuses to talk to my obsolete
 linksys router and the Linksys software disk doesn't work with Win XP or
 Win 7. So is there a context zip that actually contains the software?
 
 Linux and my router is of course no problem. but I want to run Context
 on a windows partition. 

Hi John,

it seems that you can do this in Linux:

./first-setup.sh --platform=mswin

zip the results and move it to Windows.

I’d read the original message to be found at
http://www.ntg.nl/pipermail/ntg-context/2012/070179.html.

Just in case it helps,


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
___