Re: [NTG-context] colors without \definecolor

2010-02-08 Thread Mojca Miklavec
On Sun, Feb 7, 2010 at 22:56, Wolfgang Schuster wrote:
 Am 07.02.10 07:24, schrieb Aditya Mahajan:

 while \color can only be used as

 \color[rgb]{...}.

 No. Both \color[rgb]{...} and {\color[rgb]...} are valid

 D’oh. I looked in the source and missed this but I wonder
 if this had been always the case because the manuals
 {and the wiki) mention only \color[name]{...}.

\colored is a rather recent command.

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] colors without \definecolor

2010-02-08 Thread Hans Hagen

On 7-2-2010 22:56, Wolfgang Schuster wrote:

Am 07.02.10 07:24, schrieb Aditya Mahajan:

while \color can only be used as

\color[rgb]{...}.

No. Both \color[rgb]{...} and {\color[rgb]...} are valid

D’oh. I looked in the source and missed this but I wonder
if this had been always the case because the manuals
{and the wiki) mention only \color[name]{...}.


all commands that use \groupedcommand have that property


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] colors without \definecolor

2010-02-08 Thread Wolfgang Schuster

Am 08.02.10 09:19, schrieb Mojca Miklavec:


D’oh. I looked in the source and missed this but I wonder
if this had been always the case because the manuals
(and the wiki) mention only \color[name]{...}.


\colored is a rather recent command.


I meant the manuals and wiki mention \color[name]{...}
but not the form {\color[...]...}.

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] colors without \definecolor

2010-02-08 Thread Wolfgang Schuster

Am 08.02.10 09:40, schrieb Hans Hagen:


D’oh. I looked in the source and missed this but I wonder
if this had been always the case because the manuals
{and the wiki) mention only \color[name]{...}.


all commands that use \groupedcommand have that property


But used \color always \groupedcommand or was this added later and the 
original definition was what is mentioned in the manual (\color[]{})?


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] some math symbols not working

2010-02-08 Thread Warrence

Hi,
I was trying some math symbols and stumbled over the following commands, 
that do not work in my context documents (the comments say what's not 
working exactly). The pasted document works at 
http://live.contextgarden.net/ . I'm using the latest context-minimals 
as provided on the website. Is this a MkIV issue?

In addition: \ncong is not aligned with = and \cong
Thanks in advance!
Stefan

\starttext

\startformula
% the following give Undefined control sequence:
\gneq % \lneq works
\lhd
\rhd
\unlhd
\unrhd
\Diamond
% the following produce no symbol:
\mapsto
\hookleftarrow
\longleftarrow
\Longleftarrow
\longrightarrow
\Longrightarrow
\longleftrightarrow
\Longleftrightarrow
\longmapsto
\hookrightarrow
\Join
\blacksquare
\bowtie
\models
\ncong
% \cong produces the wrong symbol: it shows a dot on top of a plus, but 
there should be a ~ on top of =

\cong
\stopformula

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


Re: [NTG-context] blanks with glue in mkiv

2010-02-08 Thread Wolfgang Schuster

Am 08.02.10 02:10, schrieb Aditya Mahajan:

Hi,

Blanks with glue do not work with MkIV.


The old commands to define own blank values do not work in MkIV, the old 
MkII commands are mapped to the new ones but MkII and MkIV expect 
different settings for them.


The old \defineblank command is replaced by \definevspacing which allows 
only keywords (penalty, category and order) with a value (e.g. 
\definevspacing[\v!samepage][penalty:1]), you can also define 
synonyms (\definevspacing[\s!default][\v!white]).


The \defineblankmethod command is replaced by \definevspacingamount but 
both use a different syntax, while the old one expected the value in 
curly braces the new command wants them in brackets. This is also the 
command you can use because ot allows TeX skip values but it expects 
two, one for grid typesetting and another one for non grid text, e.g.


  \definevspacingmethod[test][3pt plus 1pt minus 1pt][3pt plus 1pt 
minus 1pt]


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] very strange error with \xypos and vim-typing

2010-02-08 Thread Peter Münster
Hello,

I get the following error:

! Missing number, treated as zero.
to be read again 
   \dontleavehmode 
argument \dontleavehmode 
   \normalspace 
\secondoftwoarguments #1#2-#2
  
l.1 \the\dimexpr 
 63.6383pt-0pt\relax
\MPy #1-\ctxlua {jobpositions.MPy(#1)}
 
\dopresetpositionanchors ...expr \MPy \textanchor 
  +\MPh \textanchor
  -\!!dime...
...
l.5 \s[]{bla;}


with this test-file:

\usemodule[vim]
\setupbodyfont[ss, 14pt]
\setuppapersize[S6][S6]
\definevimtyping[C][syntax=c]
\starttext
\startC
\stopC
\xypos{XXX}
\startC
bla;
bla;
bla;
\stopC
\startC
bla;
bla;
bla;
\stopC
\startC
bla;
bla;
bla;
bla;
\stopC
\startC
bla;
bla;
bla;
bla;
bla;
\stopC
\stoptext

t-vim.tex comes from
http://www.ntg.nl/pipermail/ntg-context/2009/042527.html


Strange, because whenever I remove a line of this test-file, the error
disappears.

Could someone help please?

TIA for any hints!
Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] What do you miss in ConTeXt?

2010-02-08 Thread Wolfgang Schuster

Hi all,

ConTeXt has many features but sometimes there is something missing, what 
feature or package do you miss which is already available in another TeX 
system or unavailable in any TeX system?


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] What do you miss in ConTeXt?

2010-02-08 Thread Sebastien Mengin
Le 08 févr. 2010 à 12:25, Wolfgang Schuster a écrit:
 Hi all,

 ConTeXt has many features but sometimes there is something missing, what  
 feature or package do you miss which is already available in another TeX  
 system or unavailable in any TeX system?

I once tried to list the different points missing regarding the french
language support and think of a way to integrate them as a module for
ConTeXt, as frenchb [1] does for LaTeX.

This is finally not trivial at all (at least for me).

I don't know if this goes in the category « something missing » you are
talking about... but for me, it is a reason why I stick to LaTeX.

[1] http://daniel.flipo.free.fr/frenchb/index.html

Cheers,

-- 
Sébastien Mengin
Édition et logiciels libres
 Mise en page avec LaTeX 
http://edilibre.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] What do you miss in ConTeXt?

2010-02-08 Thread Peter Münster
On Mon, Feb 08 2010, Sebastien Mengin wrote:

 I once tried to list the different points missing regarding the french
 language support and think of a way to integrate them as a module for
 ConTeXt, as frenchb [1] does for LaTeX.
 
 This is finally not trivial at all (at least for me).
 
 I don't know if this goes in the category « something missing » you are
 talking about... but for me, it is a reason why I stick to LaTeX.

This could be a starting point:
http://modules.contextgarden.net/t-french

What do you need?

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] What do you miss in ConTeXt?

2010-02-08 Thread Bernhard Rosensteiner
Am 08.02.2010 um 12:43 schrieb Sebastien Mengin:

 Le 08 févr. 2010 à 12:25, Wolfgang Schuster a écrit:
 Hi all,
 
 ConTeXt has many features but sometimes there is something missing, what  
 feature or package do you miss which is already available in another TeX  
 system or unavailable in any TeX system?
 
 I once tried to list the different points missing regarding the french
 language support and think of a way to integrate them as a module for
 ConTeXt, as frenchb [1] does for LaTeX.
 
 This is finally not trivial at all (at least for me).
 
 I don't know if this goes in the category « something missing » you are
 talking about... but for me, it is a reason why I stick to LaTeX.
 
 [1] http://daniel.flipo.free.fr/frenchb/index.html
 
 Cheers,
 
 -- 
 Sébastien Mengin

Hi,

there is a nice LaTeX package called floatrow. Most of the things what it does 
you can do with ConTeXt much more easily expect (i think) one thing: placing 
more than one picture in a given width with automatic rescaling of the images 
so all images in one row have the same height. This feature is really handy for 
me. Maybe there is something in ConTeXt which does the same and i´m missing 
something?

best regards
Bernhard

___
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] What do you miss in ConTeXt?

2010-02-08 Thread Peter Münster
On Mon, Feb 08 2010, Wolfgang Schuster wrote:

 ConTeXt has many features but sometimes there is something missing, what 
 feature or package do you miss which is already available in another TeX 
 system or unavailable in any TeX system?

The lst-listing package from LaTeX is very good.

I would be nice, to get at least support for pretty printing the
language C.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] xpdf segmentation fault

2010-02-08 Thread Peter Münster
Hello,

I don't know, if this is a ConTeXt problem (wrong PDF) or an xpdf problem.

Here the test-file, whose pdf-result xpdf cannot read:

\setupinteraction[state=start]
\placebookmarks[chapter]
\starttext
\chapter{bla}
\stoptext

Should I report this to the xpdf-authors?

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] What do you miss in ConTeXt?

2010-02-08 Thread Wolfgang Schuster

Am 08.02.10 12:43, schrieb Sebastien Mengin:

I once tried to list the different points missing regarding the french
language support and think of a way to integrate them as a module for
ConTeXt, as frenchb [1] does for LaTeX.

This is finally not trivial at all (at least for me).
   

Do you have a english version of the manual or can you make a summary
what the package provides (it's hard to guess from the commands)?

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] xpdf segmentation fault

2010-02-08 Thread Mikael Persson
That example works fine here (both with mkii and mkiv, running ConTeXt
 ver: 2009.11.24 10:13 MKIV  fmt: 2010.2.8  int: english/english) and
xpdf 3.02-1.4ubuntu2.

Can you attach the pdf you get? I attach the one I get from mkiv.

Mikael

On Mon, Feb 8, 2010 at 1:10 PM, Peter Münster pmli...@free.fr wrote:
 Hello,

 I don't know, if this is a ConTeXt problem (wrong PDF) or an xpdf problem.

 Here the test-file, whose pdf-result xpdf cannot read:

 \setupinteraction[state=start]
 \placebookmarks[chapter]
 \starttext
 \chapter{bla}
 \stoptext

 Should I report this to the xpdf-authors?

 Cheers, Peter

 --
 Contact information: http://pmrb.free.fr/contact/


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



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


Re: [NTG-context] colors without \definecolor

2010-02-08 Thread Hans Hagen

On 8-2-2010 9:55, Wolfgang Schuster wrote:

Am 08.02.10 09:40, schrieb Hans Hagen:


D’oh. I looked in the source and missed this but I wonder
if this had been always the case because the manuals
{and the wiki) mention only \color[name]{...}.


all commands that use \groupedcommand have that property


But used \color always \groupedcommand or was this added later and the
original definition was what is mentioned in the manual (\color[]{})?


it's a very old command so it might not have used groupedcommand in the past

also, at the time of manual writing no groupedcommand like things were 
there anyway


but .. there's another reason ...

\color{...} does not grab an argument but does some aftergroup trickery 
so it might not work in all cases


also in mkii we inject literals and we could end up with dangling revert 
color cases being nodes that could interfere somehow


mkiv is more robust

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] level setting has no effect in TOC

2010-02-08 Thread zs
Hello,

it seems like the level parameter has no effect in mkiv.
It works as expected in mkii.
Is it a bug or there is different way how to do that in mkiv?

Ragards

Zdenek



example:

\starttext

\setupcombinedlist[content][level=1,alternative=c]
\completecontent

\chapter{A}
\section{a}
\section{b}
\subsection{I}
\subsection{II}

\chapter{B}
\section{a}
\section{b}
\subsection{I}
\subsection{II}

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


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

2010-02-08 Thread Sebastien Mengin
Le 08 févr. 2010 à 01:14, Wolfgang Schuster a écrit:
 Am 08.02.10 12:43, schrieb Sebastien Mengin:
 I once tried to list the different points missing regarding the french
 language support and think of a way to integrate them as a module for
 ConTeXt, as frenchb [1] does for LaTeX.

 This is finally not trivial at all (at least for me).

 Do you have a english version of the manual or can you make a summary
 what the package provides (it's hard to guess from the commands)?

Yes, here's the manual (PDF) produced from the DTX file from CTAN.

http://edilibre.net/depot/frenchb.pdf

Thanks for your interest,

-- 
Sébastien Mengin
Édition et logiciels libres
 Mise en page avec LaTeX 
http://edilibre.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] xpdf segmentation fault

2010-02-08 Thread Peter Münster
On Mon, Feb 08 2010, Mikael Persson wrote:

 That example works fine here (both with mkii and mkiv, running ConTeXt
  ver: 2009.11.24 10:13 MKIV  fmt: 2010.2.8  int: english/english) and
 xpdf 3.02-1.4ubuntu2.

Hello Mikael,

It seems, that it was an issue with the poppler library.

I used packages from http://download.opensuse.org/distribution/11.2
Now after updating xpdf and poppler from
http://download.opensuse.org/factory/ it works again.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] xpdf segmentation fault

2010-02-08 Thread luigi scarso
On Mon, Feb 8, 2010 at 1:10 PM, Peter Münster pmli...@free.fr wrote:
 Hello,

 I don't know, if this is a ConTeXt problem (wrong PDF) or an xpdf problem.

 Here the test-file, whose pdf-result xpdf cannot read:

 \setupinteraction[state=start]
 \placebookmarks[chapter]
 \starttext
 \chapter{bla}
 \stoptext

 Should I report this to the xpdf-authors?

no problem here with mkii  mkiv   xpdf version 3.02
Does  xpdf -cmd filename.pdf  help you ?

-- 
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] What do you miss in ConTeXt?

2010-02-08 Thread Alan BRASLAU
On Monday 08 February 2010 12:25:58 Wolfgang Schuster wrote:
 Hi all,
 
 ConTeXt has many features but sometimes there is something missing, what
 feature or package do you miss which is already available in another TeX
 system or unavailable in any TeX system?
 
 Wolfgang

Hello,

I have been using the (old) chart module to draw not only flow charts
but also to draw functional diagrams for gas handling and
hydrolics systems. This module could be significantly developped,
in particular though abstraction of node placement, color, etc.

One could go further, drawing tree diagrams. Here, I am thinking
about some of the possibilities of pgf/TiKz. Something probably
already exists in Metapost, but it would be nice to have such
tools native in ConTeXt.

pgf/TiKz is a nice package, and I like its support for ConTeXt.
However, a simpler, cleaner interface and syntax can be achieved
natively in ConTeXt and Metapost...

Going a bit further, I suppose that the same logic could be applied
to drawing schematic diagrams for electronics.

And why not abstract this further? One could then flexibly
logically place (and connect) containers of any sort.
I use collectors and columnsetspan to put together posters (A0).
This could be made easier.

Alan


___
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 Items to Bibliography

2010-02-08 Thread Philipp Gesang
Hi all,


yesterday I tried to use some BibTeX bibliography that I made earlier
for use with biblatex but I very soon ended up converting a garbled .bbl
to proper \[start|stop]publication format.  So my first question is,
whether this, without BibTeX, is the canonical way to typeset
bibliographies in ConTeXt?  The wiki is quite unclear about this and
bibmod-doc deals with BibTeX, too.  Or is everyone working in secret
with the MlBibTeX final release and those 8-Bit phenomena from the dark
past are already solved?

The second question: where would I begin if I wanted to setup (a) an
author-title format for \cite[] (I found no \bibgetvarX function to
query the publication title), and (b) substitution of consecutive
identical authornames with dashes (or idem, if that matters) in the
publications list.

Thanks in advance for any clarification on this matter, bibliography
support is essential for me.


Philipp



-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpePDq3GN0ON.pgp
Description: PGP signature
___
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] svg - png conversion

2010-02-08 Thread Peter Münster
Hello,

How can I convert svg to png on the fly?

I've created a file test.rlx:

?xml version='1.0 standalone='yes'?
rl:manipulators
rl:manipulator name='png' suffix='svg'
rl:oldrl:value name='path'//rl:value name='file'
method='nosuffix'/.png/rl:old
rl:newrl:value name='path'//rl:value name='prefix'/rl:value
name='file' method='nosuffix'/.png/rl:new
rl:step
inkscape -d 600 -e
rl:value name='new'/
rl:value name='old'/
/rl:step
/rl:manipulator
/rl:manipulators

and a file test.tex:

\setupexternalfigures[conversion=png]
\starttext
\externalfigure[./myfile.svg]
\stoptext

But when running context on the file, it tries to convert the svg to pdf.

What do I need to do?

TIA for any hint!
Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] What do you miss in ConTeXt?

2010-02-08 Thread Philipp Gesang
Hello Wolfgang!


On 2010-02-08 12:25:58, Wolfgang Schuster wrote:
 ConTeXt has many features but sometimes there is something missing,
 what feature or package do you miss which is already available in
 another TeX system or unavailable in any TeX system?
Most definately: all the details of Philipp Lehman's BibLaTeX package
which is one of the greatest things LaTeX has to offer: multi-part
bibliographies, lots of different citation rules, manifold idem/ibidem/
op. cit. c handling, authoring new styles -- all solved in one single
stroke and neatly documented.

That'd be nice to have …


Philipp


pgpnFMmVu93HL.pgp
Description: PGP signature
___
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] What do you miss in ConTeXt?

2010-02-08 Thread Bernhard Rosensteiner
Am 08.02.2010 um 14:49 schrieb Philipp Gesang:

 Hello Wolfgang!
 
 
 On 2010-02-08 12:25:58, Wolfgang Schuster wrote:
 ConTeXt has many features but sometimes there is something missing,
 what feature or package do you miss which is already available in
 another TeX system or unavailable in any TeX system?
 Most definately: all the details of Philipp Lehman's BibLaTeX package
 which is one of the greatest things LaTeX has to offer: multi-part
 bibliographies, lots of different citation rules, manifold idem/ibidem/
 op. cit. c handling, authoring new styles -- all solved in one single
 stroke and neatly documented.

yes, apart from floatrow i mentioned earlier biblatex features are superior.
AFAIKS the bibliography module will be rewritten and maybe will have similar 
features?
nevertheless for me ConTeXt is way ahead of LaTeX!

best regards
Bernhard

___
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] What do you miss in ConTeXt?

2010-02-08 Thread Taco Hoekwater

Philipp Gesang wrote:

Hello Wolfgang!


On 2010-02-08 12:25:58, Wolfgang Schuster wrote:

ConTeXt has many features but sometimes there is something missing,
what feature or package do you miss which is already available in
another TeX system or unavailable in any TeX system?

Most definately: all the details of Philipp Lehman's BibLaTeX package
which is one of the greatest things LaTeX has to offer: multi-part
bibliographies, lots of different citation rules, manifold idem/ibidem/
op. cit. c handling, authoring new styles -- all solved in one single
stroke and neatly documented.

That'd be nice to have …


Well, the context bib module predates biblatex by a few years,
and I never got around doing a rewrite after biblatex had
added new stuff the bib module didn't have ...

___
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] What do you miss in ConTeXt?

2010-02-08 Thread Hans Hagen

On 8-2-2010 14:49, Philipp Gesang wrote:

Hello Wolfgang!


On 2010-02-0812:25:58, Wolfgang Schuster wrote:

ConTeXt has many features but sometimes there is something missing,
what feature or package do you miss which is already available in
another TeX system or unavailable in any TeX system?

Most definately: all the details of Philipp Lehman's BibLaTeX package
which is one of the greatest things LaTeX has to offer: multi-part
bibliographies, lots of different citation rules, manifold idem/ibidem/
op. cit.c handling, authoring new styles -- all solved in one single
stroke and neatly documented.

That'd be nice to have …


fyi: the whole bin stuff will be redone in mkiv. some of it is already 
done.


1 - mkii compatible support (built in, no module)
2 - loading of bib databases in memory and converte them in an xml tree
3 - access to entries in arbitrary ways using path expressions
4 - rewrite of rendering variants using the built in xml handler

1 is more or less done, 2 also, 3 is possible but we might want more and 
for 4 taco and i will cook up an interface


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] floatrow

2010-02-08 Thread Vyatcheslav Yatskovsky

Hi Bernhard,
Did you ever try \startcombination? I feel like it could solve your 
problem, but not sure...

there is a nice LaTeX package called floatrow. Most of the things what it does 
you can do with ConTeXt much more easily expect (i think) one thing: placing 
more than one picture in a given width with automatic rescaling of the images 
so all images in one row have the same height. This feature is really handy for 
me. Maybe there is something in ConTeXt which does the same and i´m missing 
something?

Regards,
Vyatcheslav
___
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] What do you miss in ConTeXt?

2010-02-08 Thread Oliver Heins
Philipp Gesang pges...@ix.urz.uni-heidelberg.de writes:

 Hello Wolfgang!

 On 2010-02-08 12:25:58, Wolfgang Schuster wrote:
 ConTeXt has many features but sometimes there is something missing,
 what feature or package do you miss which is already available in
 another TeX system or unavailable in any TeX system?
 Most definately: all the details of Philipp Lehman's BibLaTeX package
 which is one of the greatest things LaTeX has to offer: multi-part
 bibliographies, lots of different citation rules, manifold idem/ibidem/
 op. cit. c handling, authoring new styles -- all solved in one single
 stroke and neatly documented.

 That'd be nice to have …

I second this.  Right now, biblatex is the killer feature that I'm at
least partially stuck with LaTeX.

However, I wonder if it would be hard to do a port of biblatex to
context.  I've not looked into the code yet, but I doubt that there is
much LaTeX specific code...

Best regards,
 olli
___
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] What do you miss in ConTeXt?

2010-02-08 Thread Wolfgang Schuster

Am 08.02.10 14:41, schrieb Alan BRASLAU:


And why not abstract this further? One could then flexibly
logically place (and connect) containers of any sort.
I use collectors and columnsetspan to put together posters (A0).
This could be made easier.


The flowfram [1] package for LaTeX looks like a good example how this 
can be done and with the current stream and layer mechanism it should be 
doable to provide something similar in ConTeXt.


[1] http://ctan.org/tex-archive/help/Catalogue/entries/flowfram.html

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] floatrow

2010-02-08 Thread Bernhard Rosensteiner
Am 08.02.2010 um 17:47 schrieb Vyatcheslav Yatskovsky:

 Hi Bernhard,
 Did you ever try \startcombination? I feel like it could solve your problem, 
 but not sure...
 there is a nice LaTeX package called floatrow. Most of the things what it 
 does you can do with ConTeXt much more easily expect (i think) one thing: 
 placing more than one picture in a given width with automatic rescaling of 
 the images so all images in one row have the same height. This feature is 
 really handy for me. Maybe there is something in ConTeXt which does the same 
 and i´m missing something?
 Regards,
 Vyatcheslav

Hi,

yes i´m aware of \startcombination and also \startfloatcombination but i think 
this has not that automatic feature which i described (the height of the 
pictures will be adjusted automatically so all pictures in one row have the 
same height - the outcome of the height is so not really predictable)

best regards
Bernhard

___
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] What do you miss in ConTeXt?

2010-02-08 Thread John Haltiwanger
I'd just like to chime in that a new bibliography system would be first
suggestion for ConTeXt. I've only used BibTeX a few times, and never
BibLaTeX (because I'd already switched to ConTeXT), but it's inflexibility
makes it unworkable.

Ideally ConTeXt could provide its general sensible-ness (and Lua power) to
do for bibliographies what it has already done for TeX. CSL support and
something similar to string.format('%s. (%s). %s.', author, year, title) or
something just as easy for defining a new output style would be the two
features most desired. If MLA were finally implemented (or implementable)
for \cite{} in TeX, I would be a very happy masters student indeed ;)

(BibLaTeX's MLA did not work for me in LyX, which is about as far as I'm
going to go into LaTeX).

Until then I'll just use the MLA setup environment from the ConTeXt wiki and
input my refs by hand.

On Mon, Feb 8, 2010 at 5:54 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:

 Am 08.02.10 14:41, schrieb Alan BRASLAU:


  And why not abstract this further? One could then flexibly
 logically place (and connect) containers of any sort.
 I use collectors and columnsetspan to put together posters (A0).
 This could be made easier.


 The flowfram [1] package for LaTeX looks like a good example how this can
 be done and with the current stream and layer mechanism it should be doable
 to provide something similar in ConTeXt.

 [1] http://ctan.org/tex-archive/help/Catalogue/entries/flowfram.html

 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

 ___

___
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] What do you miss in ConTeXt?

2010-02-08 Thread David Rogers

* Wolfgang Schuster schuster.wolfg...@googlemail.com [2010-02-08 12:25]:


Hi all,

ConTeXt has many features but sometimes there is something missing, 
what feature or package do you miss which is already available in 
another TeX system or unavailable in any TeX system?



Five hundred pages of organized, detailed, up-to-date (well, somewhat
up-to-date) documentation, written by the small group of experts who are
so helpful on this list. If just one of you was unable to continue your
excellent work, FAR too much of the world knowledge of ConTeXt would
simply be gone, and that's not a good situation.

Compared to this, new features can wait - but here's my feature: ConTeXt
itself has beautiful support for side-by-side translations. It makes me
happy every time I look at the results. But... it works only on separate
pages. Making it work on columns as well would make my life easier. (May
be impossible, but you asked...)

|Original Language|First Translation|Second Translation|
|Bla bla bla ...  |Blu blu blu ...  |Ble ble ble ...   |


--
Thanks
David
___
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] floatrow

2010-02-08 Thread Hans Hagen

On 8-2-2010 18:01, Bernhard Rosensteiner wrote:

Am 08.02.2010 um 17:47 schrieb Vyatcheslav Yatskovsky:


Hi Bernhard,
Did you ever try \startcombination? I feel like it could solve your problem, 
but not sure...

there is a nice LaTeX package called floatrow. Most of the things what it does 
you can do with ConTeXt much more easily expect (i think) one thing: placing 
more than one picture in a given width with automatic rescaling of the images 
so all images in one row have the same height. This feature is really handy for 
me. Maybe there is something in ConTeXt which does the same and i´m missing 
something?

Regards,
Vyatcheslav


Hi,

yes i´m aware of \startcombination and also \startfloatcombination but i think 
this has not that automatic feature which i described (the height of the 
pictures will be adjusted automatically so all pictures in one row have the 
same height - the outcome of the height is so not really predictable)


normally one will have categories of graphics, so you can do things like 
(one of the oldest mechanisms)


\starttext

\defineexternalfigure[whatever][height=3cm]

\startcombination
{\externalfigure[cow.pdf] [whatever]} {a}
{\externalfigure[mill.png][whatever]} {b}
\stopcombination

\stoptext

it's trivial to add a few more inheritance features but on the other 
hand one quickly ends up in fuzzy behaviour


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] What do you miss in ConTeXt?

2010-02-08 Thread Hans Hagen

On 8-2-2010 18:29, David Rogers wrote:


|Original Language|First Translation|Second Translation|
|Bla bla bla ... |Blu blu blu ... |Ble ble ble ... |


it's one of the things on the agenda for mkiv but it has to wait for a 
while till we have opened up the page builder a bit more in luatex




-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] very strange error with \xypos and vim-typing

2010-02-08 Thread Peter Münster
On Mon, Feb 08 2010, Peter Münster wrote:

 Strange, because whenever I remove a line of this test-file, the error
 disappears.
 
 Could someone help please?


Hello,

One further hint, the tuc-file has one more line, when there is no error:

@@ -13,6 +13,7 @@
 jobvariables = jobvariables or { }
 jobvariables.collected = jobvariables.collected or { }
 jobvariables.collected={
+ randomseed=0.39571996843243,
  totalnofparbackgrounds=0,
 }
 jobpasses = jobpasses or { }


I would be very glad about a solution, because I don't know any
workaround...

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] What do you miss in ConTeXt?

2010-02-08 Thread Philipp Gesang
On 2010-02-08 16:12:09, Hans Hagen wrote:
 fyi: the whole bin stuff will be redone in mkiv. some of it is
 already done.
 
 1 - mkii compatible support (built in, no module)
 2 - loading of bib databases in memory and converte them in an xml tree
 3 - access to entries in arbitrary ways using path expressions
 4 - rewrite of rendering variants using the built in xml handler
 
 1 is more or less done, 2 also, 3 is possible but we might want more
 and for 4 taco and i will cook up an interface

Great news, indeed!  Is some of this already usable / accessable by way
of functions in minimals?  I can't wait to have a glance at those
features, especially no. 3.

Regards,


Philipp


pgpaZoHzf4sSB.pgp
Description: PGP signature
___
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] What do you miss in ConTeXt?

2010-02-08 Thread Wolfgang Schuster

Am 08.02.10 22:14, schrieb Philipp Gesang:

On 2010-02-0816:12:09, Hans Hagen wrote:
   

fyi: the whole bin stuff will be redone in mkiv. some of it is
already done.

1 - mkii compatible support (built in, no module)
2 - loading of bib databases in memory and converte them in an xml tree
3 - access to entries in arbitrary ways using path expressions
4 - rewrite of rendering variants using the built in xml handler

1 is more or less done, 2 also, 3 is possible but we might want more
and for 4 taco and i will cook up an interface
 

Great news, indeed!  Is some of this already usable / accessable by way
of functions in minimals?  I can't wait to have a glance at those
features, especially no. 3.
   

http://archive.contextgarden.net/message/20100126.184359.e6567256.en.html

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] level setting has no effect in TOC

2010-02-08 Thread Hans Hagen

On 8-2-2010 13:50, zs wrote:

Hello,

it seems like the level parameter has no effect in mkiv.
It works as expected in mkii.
Is it a bug or there is different way how to do that in mkiv?

Ragards

Zdenek



example:

\starttext

\setupcombinedlist[content][level=1,alternative=c]
\completecontent



\placelist[chapter][,alternative=c]



\chapter{A}
\section{a}
\section{b}
\subsection{I}
\subsection{II}

\chapter{B}
\section{a}
\section{b}
\subsection{I}
\subsection{II}

\stoptext





-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] floatrow

2010-02-08 Thread Hans Hagen

On 8-2-2010 22:16, Bernhard Rosensteiner wrote:

Am 08.02.2010 um 19:42 schrieb Hans Hagen:


On 8-2-2010 18:52, Bernhard Rosensteiner wrote:


thanks for the hint with \defineexternalfigure… - indeed useful.
The „automatic“ feature of floatrow is nice but not so important that i will 
ever switch back to LaTeX.


it's no big deal to make some scaler but the problem is what to take as 
reference, specify it etc etc. If it's not the first image, then we need 
multiple passes. too much automatism with graphics is a bit tricky


it would be nice to have something like:

\startfloatcombination[3*2, width=.8\textwidth]
\externalfigure….
\externalfigure….
\externalfigure….
\externalfigure….
\externalfigure….
\externalfigure….
\stopfloatcombination

and all graphics fit in the given width with same height in one row. I found 
this feature in floatrow useful because i had a lot of graphics in different 
widths and heights so it was easy to „stitch“ them together. On the programming 
side i have no idea how complicated something would be (i´m only a happy 
context user). Maybe you consider something to implement in future?


it's not that complex to make something like that (but there's a bit 
more to it, like distances and so we always end up with a bit more code)


also, this does not really fit into the user interface ... (mixed 
keywords and key/values)


as it should be a generic feature i.e. not only for images, we more end 
up with something


\definecombination
  [whatever]
  [width=.8\textwidth,
   height=equal,
   distance=1em]

\startcombination[whatever][3*2]
  {\externalfigure...} {}
  {\externalfigure...} {}
  {\externalfigure...} {}
  ...
\startcombination

where equal will eventually scale up the heights of the content

looking at combinations, i have to mkiv-ize that code anyway so at that 
time i could add that feature (i have to take a look at some project 
styles as we often do combination trickery)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] What do you miss in ConTeXt?

2010-02-08 Thread Philipp Gesang
On 2010-02-08 22:26:06, Wolfgang Schuster wrote:
 Great news, indeed!  Is some of this already usable / accessable by way
 of functions in minimals?  I can't wait to have a glance at those
 features, especially no. 3.
 http://archive.contextgarden.net/message/20100126.184359.e6567256.en.html
Ahh, thanks for the example.  But when running context on it I get the
following:

  --
! Undefined control sequence.
\@@su:xml:bibtex:sorter #1-\xmlresetsorter 
{bibtex}\xmlfilter {#1}{e/comman...
l.71 ...etup{bibtex:somebibtex}{xml:bibtex:sorter}
  --

which is odd because \xmlresetsorter _is_ defined in lxml-sor.mkiv.
Furthermore when I add

  --
\unprotect
\def\xmlresetsorter #1{\ctxlua{lxml.sorters.reset(#1)}}
\protect 
  --

to the preamble, I get a lua error (attempt to index field 'sorters' (a
nil value)).

But thank you anyways, I now have an impression about how things may
look like in the future and I promise to read
http://wiki.contextgarden.net/XML#XML.2FConTeXt_in_general next weekend.

Regards,


Philipp




pgpcuk5oOG8wY.pgp
Description: PGP signature
___
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] What do you miss in ConTeXt?

2010-02-08 Thread Wolfgang Schuster

Am 08.02.10 23:08, schrieb Philipp Gesang:


But thank you anyways, I now have an impression about how things may
look like in the future and I promise to read
http://wiki.contextgarden.net/XML#XML.2FConTeXt_in_general next weekend.


For MkIV read this: http://pragma-ade.com/show-man-43.htm

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] svg - png conversion

2010-02-08 Thread Hans Hagen

On 8-2-2010 14:40, Peter Münster wrote:

Hello,



\setupexternalfigures[conversion=png]
\starttext
\externalfigure[./myfile.svg]
\stoptext


i need to think a bit about it

we do have a automatic svg - pdf converter so what we need is some way 
to force a specific kind of conversion (i need to add a bit os code on 
top of existing code then)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] What do you miss in ConTeXt?

2010-02-08 Thread Hans Hagen

On 8-2-2010 23:08, Philipp Gesang wrote:

On 2010-02-0822:26:06, Wolfgang Schuster wrote:

Great news, indeed!  Is some of this already usable / accessable by way
of functions in minimals?  I can't wait to have a glance at those
features, especially no. 3.

http://archive.contextgarden.net/message/20100126.184359.e6567256.en.html

Ahh, thanks for the example.  But when running context on it I get the
following:

   --
! Undefined control sequence.
\@@su:xml:bibtex:sorter #1-\xmlresetsorter


maye your version is too old

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] What do you miss in ConTeXt?

2010-02-08 Thread John Haltiwanger
On Mon, Feb 8, 2010 at 9:14 PM, Philipp Gesang 
pges...@ix.urz.uni-heidelberg.de wrote:

 On 2010-02-08 16:12:09, Hans Hagen wrote:
  fyi: the whole bin stuff will be redone in mkiv. some of it is
  already done.
 
  1 - mkii compatible support (built in, no module)
  2 - loading of bib databases in memory and converte them in an xml tree
  3 - access to entries in arbitrary ways using path expressions
  4 - rewrite of rendering variants using the built in xml handler
 
  1 is more or less done, 2 also, 3 is possible but we might want more
  and for 4 taco and i will cook up an interface


Whoops, somehow missed this bombshell while writing my last email. Excellent
news!
___
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] What do you miss in ConTeXt?

2010-02-08 Thread Philipp Gesang
On 2010-02-08 23:20:17, Hans Hagen wrote:
 On 8-2-2010 23:08, Philipp Gesang wrote:
 On 2010-02-0822:26:06, Wolfgang Schuster wrote:
 Great news, indeed!  Is some of this already usable / accessable by way
 of functions in minimals?  I can't wait to have a glance at those
 features, especially no. 3.
 http://archive.contextgarden.net/message/20100126.184359.e6567256.en.html
 Ahh, thanks for the example.  But when running context on it I get the
 following:
 
--
 ! Undefined control sequence.
 \@@su:xml:bibtex:sorter #1-\xmlresetsorter
 
 maye your version is too old
That was it, sorry, I reinstalled minimals and LuaTeX recently and
forgot to update ConTeXt.  Now the file is processed and I get a pdf
file containing the words
  
sortkeys:
n   id  entry
  
and an hrule beneath that.  As I'm not (yet) familiar with the control
sequences used in the file as well as parts of its syntax, I can only
guess that there's a table missing from \startxmlsetups bibtex:one
\starttabulate etc..
Good night,


Philipp


pgp7TBnaFWkqx.pgp
Description: PGP signature
___
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] What do you miss in ConTeXt?

2010-02-08 Thread Curiouslearn
Nice thread. Thanks for starting this Wolfgang.

First of all, Context is great and I love it. I think I miss the
geometry package of the latex. It makes setting margins very easy. I
think setting margins (left, right, top and bottom) could be easier in
Context.

I am glad that tikz has started working well with context. That is a
big relief.

I hope (and this perhaps has nothing to do with the brilliant Context
development team) is that journals start accepting Context files.
While I use context for my personal and class notes, for articles I am
still forced to go to latex because journals do not accept context
files.



On Mon, Feb 8, 2010 at 6:40 PM, Philipp Gesang
pges...@ix.urz.uni-heidelberg.de wrote:
 On 2010-02-08 23:20:17, Hans Hagen wrote:
 On 8-2-2010 23:08, Philipp Gesang wrote:
 On 2010-02-0822:26:06, Wolfgang Schuster wrote:
 Great news, indeed!  Is some of this already usable / accessable by way
 of functions in minimals?  I can't wait to have a glance at those
 features, especially no. 3.
 http://archive.contextgarden.net/message/20100126.184359.e6567256.en.html
 Ahh, thanks for the example.  But when running context on it I get the
 following:
 
    --
 ! Undefined control sequence.
 \@@su:xml:bibtex:sorter #1-\xmlresetsorter

 maye your version is too old
 That was it, sorry, I reinstalled minimals and LuaTeX recently and
 forgot to update ConTeXt.  Now the file is processed and I get a pdf
 file containing the words
  
 sortkeys:
 n   id  entry
  
 and an hrule beneath that.  As I'm not (yet) familiar with the control
 sequences used in the file as well as parts of its syntax, I can only
 guess that there's a table missing from \startxmlsetups bibtex:one
 \starttabulate etc..
 Good night,


 Philipp

 ___
 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] What do you miss in ConTeXt?

2010-02-08 Thread Otared Kavian

On 8 févr. 2010, at 12:25, Wolfgang Schuster wrote:

 Hi all,
 
 ConTeXt has many features but sometimes there is something missing, what 
 feature or package do you miss which is already available in another TeX 
 system or unavailable in any TeX system?
 
 Wolfgang

Hi Wolfgang and all ConTeXters,

Thanks for asking us the question.
I haven't really missed any particular feature, since each time I wanted to do 
something less elementary, I found out that the feature is actually waiting 
there, and I have just to be a little bit patient and look in the manuals or on 
th wiki. And if I am not patient (that is most of the time…) some wizards on 
the list are so patient and so wise that they know how to do things.

Now, that said, I do all my presentations with ConTeXt, and there is one thing 
which should be added for more ease of use: a stepwise procedure which can do 
better than the RawSteps module I use (see 
http://wiki.contextgarden.net/RawSteps), and which would also work with the 
simpleslides modules set up by Thomas A. Schmitz and Aditya Mahajan.

Another problem one may encounter is that, as far as I know, the Mathematics 
journals do not accept yet a paper written in ConTeXt. So at some point, when 
submitting the source file of the paper, one has to « translate » ConTeXt 
commands into plain-TeX or LaTeX.  I wish I had a script, for instance
go-back-2-latex.lua
(or any other language) which would take as input the file
my-beautiful-article.tex
written in ConTeXt and turn it to 
my-ugly-article.in-latex.tex. 
Actually I do this manually and, despite being time consuming, I prefer to 
write in ConTeXt and to translate my paper into LaTeX at the very last step.

Best wishes: OK


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