Re: [NTG-context] Strange Font problem

2010-06-16 Thread Hans Hagen

On 16-6-2010 3:19, Khaled Hosny wrote:

On Wed, Jun 16, 2010 at 02:32:48AM +0200, Andreas Schneider wrote:

Hello,

since one of the last betas (I guess two weeks ago), a strange problem
appears in my current document. The first ~10 page are completely fine (i.e.
as usual) but the following ~20 pages have some kind of a font problem. The
font looks bolder/grainy when zooming out in Acrobat and also the scrolling
is pretty slow. After these pages, it's fine again. I don't see any specific
trigger, there's nothing special on these pages.


Can you check with other PDF readers, it looks like a reader issue to
me. I've got some strange color issues with ConTeXt generated PDFs and
Adobe's reader in the past, namely any page with images would have the
colors brighter than other pages, since the print was fine (and I don't
use Adobe's for screen reading, I didn't bother). Yours might be
something similar.


see taco's answer ... what i normally do then is put some invisible 
transparent color on the first page of the document as this will trigger 
the other color machinery in acrobat


-
  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] An elisp script for converting LaTeX to ConTeXt in emacs

2010-06-16 Thread Michael Murphy
Hi all,

one of the biggest drawbacks to writing my thesis in ConTeXt was that
much of the material had already been written in LaTeX, and I didn't
really want to have to go through by hand and change all the syntax.
Borne out this laziness was atoctx.el (which originally meant 'AMSTeX to
ConTeXt', but perhaps now should be called 'latoctx.el'). It's
essentially a set of macros that look through a document and tries to
convert lots of different LaTeX syntax to ConTeXt. At the moment, it
handles the following environments:

equation
gather
align
footnote
enumerate
figure

and the following macros

cite
emph

There are still bugs, and several more environments would be useful, but
if anyone thinks that it would be useful to them, then please go ahead
and use it. (Even better, if you'd like to help me write more of it,
drop me a line.)

I know that it's written in elisp which perhaps already excludes a
majority of people who don't use emacs, but I didn't have the patience
to write it in any other language.

Anyway, you can grab it at

http://github.com/murphy-md/atoctx

--
Michael Murphy

___
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] An elisp script for converting LaTeX to ConTeXt in emacs

2010-06-16 Thread luigi scarso
2010/6/16 Michael Murphy michael.mur...@uni-ulm.de:

 I know that it's written in elisp which perhaps already excludes a
 majority of people who don't use emacs, but I didn't have the patience
 to write it in any other language.

 Anyway, you can grab it at

 http://github.com/murphy-md/atoctx

cool
(I don't use latex but almost only emacs, so I like it.
I will study to adapt for my needs)




-- 
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] Strange Font problem

2010-06-16 Thread Andreas Schneider
Khaled Hosny wrote:

 On Wed, Jun 16, 2010 at 02:32:48AM +0200, Andreas Schneider wrote:
 
 Can you check with other PDF readers, it looks like a reader issue to
 me. I've got some strange color issues with ConTeXt generated PDFs and
 Adobe's reader in the past, namely any page with images would have the
 colors brighter than other pages, since the print was fine (and I don't
 use Adobe's for screen reading, I didn't bother). Yours might be
 something similar.

Indeed, it works with XPDF, Okular and Foxit Reader (haven't tried others 
yet). That may explain, why I didn't notice the problem earlier. As it 
seems, it even happens with older context versions (I now tried 2010.05.13 
on a different system) and with older versions of my document of which I was 
pretty sure that they looked fine before - apparently I didn't try with 
Acrobat or just didn't notice the problem back then.

Thanks for that hint in the right direction!

Best Regards,
Andreas.

___
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] Strange Font problem

2010-06-16 Thread Andreas Schneider
Taco Hoekwater wrote:

 This happens because on pages with transparency AR switches to a
 different color model, and the resulting color conversions are not
 producing the same results as conversion to the default (sRGB, I guess)
 color model. It is annoying but unlikely to get fixed as this problem
 has been around for ages, and more importantly: Adobe is not convinced
 this is an actual bug.
 
 It could be the same problem Andreas reported, but it is hard to say
 for sure without looking at Andreas' actual PDF.
 
 Best wishes,
 Taco

It seems indeed to be a problem with Acrobat, and not (directly) ConTeXt. As 
I also wrote in my answer to Khaled, it could be even reproduced on a 
different system with an older ConTeXt version.

Of course that doesn't rule out the possibility, that it's triggered by 
something ConTeXt does. Since it is my diploma thesis I'm working on, I 
can't just publish the PDF without consent from my university (which they 
probably won't give at that point). If you are interested in taking a closer 
look at that problem, I could send you the PDF in private. If you aren't (or 
simply don't have the time), it's also no problem ... as long as the print 
version looks fine, which apparently is the case.

Thank you for your insight :-)
Andreas.

___
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] question about howto implement context on homeserver

2010-06-16 Thread mrheggiz

HI ALL!

This maybe discussed before. I ask anyway.

I'm having a personal homeserver that is accessible anywhere with  
linux LAMP installed.


Is there some way to install minimals and have a webpage with a  
function similar to

 context live but with mkiv support.

If I'm sitting on a computer with no context installation, it would be  
nice to typeset my .tex files and receive a downloadable .pdf as a  
result.


Also I want to have possibility to do an online conversion from other  
markups to context markup like pandoc.


I can do some shellscripting or php scripting if someone have some  
hints in that direction.


Regards and many thanks in advance!

/Janneman

Jan-Erik Hägglöf
Mandelstensvägen 53
703 74 ÖREBRO

073-957 57 40
019-25 08 69
janerik.hagg...@bredband.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] question about howto implement context on homeserver

2010-06-16 Thread luigi scarso
On Wed, Jun 16, 2010 at 2:51 PM, mrheggiz janerik.hagg...@bredband.net wrote:
 HI ALL!

 This maybe discussed before. I ask anyway.

 I'm having a personal homeserver that is accessible anywhere with linux LAMP
 installed.

 Is there some way to install minimals and have a webpage with a function
 similar to
  context live but with mkiv support.

 If I'm sitting on a computer with no context installation, it would be nice
 to typeset my .tex files and receive a downloadable .pdf as a result.

 Also I want to have possibility to do an online conversion from other
 markups to context markup like pandoc.

 I can do some shellscripting or php scripting if someone have some hints in
 that direction.

 Regards and many thanks in advance!
IMHO, I find
wiki.contextgarden.net
really good

-- 
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] question about howto implement context on homeserver

2010-06-16 Thread John Haltiwanger
On Wed, Jun 16, 2010 at 2:51 PM, mrheggiz janerik.hagg...@bredband.net wrote:
 HI ALL!

 This maybe discussed before. I ask anyway.

 I'm having a personal homeserver that is accessible anywhere with linux LAMP
 installed.

 Is there some way to install minimals and have a webpage with a function
 similar to
  context live but with mkiv support.

 If I'm sitting on a computer with no context installation, it would be nice
 to typeset my .tex files and receive a downloadable .pdf as a result.

 Also I want to have possibility to do an online conversion from other
 markups to context markup like pandoc.

 I can do some shellscripting or php scripting if someone have some hints in
 that direction.

I have tentative plans to implement exactly this (including the pandoc
part) as a module for the new Aiki web framework (
http://aikiframework.org )

Like many of my plans, they are currently on the backburner as I
finish my masters thesis.
___
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] question about howto implement context on homeserver

2010-06-16 Thread Vnpenguin
On Wed, Jun 16, 2010 at 14:51, mrheggiz janerik.hagg...@bredband.net wrote:
 HI ALL!

 This maybe discussed before. I ask anyway.

 I'm having a personal homeserver that is accessible anywhere with linux LAMP
 installed.

 Is there some way to install minimals and have a webpage with a function
 similar to
  context live but with mkiv support.

 If I'm sitting on a computer with no context installation, it would be nice
 to typeset my .tex files and receive a downloadable .pdf as a result.

That's exactly we do here with a simple PHP script which parses a
ConTeXt template and makes PDF :)
___
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] question about howto implement context on homeserver

2010-06-16 Thread mrheggiz

Please tell me more, interesting!!

/Janneman
16 jun 2010 kl. 16.26 skrev Vnpenguin:

On Wed, Jun 16, 2010 at 14:51, mrheggiz  
janerik.hagg...@bredband.net wrote:

HI ALL!

This maybe discussed before. I ask anyway.

I'm having a personal homeserver that is accessible anywhere with  
linux LAMP

installed.

Is there some way to install minimals and have a webpage with a  
function

similar to
 context live but with mkiv support.

If I'm sitting on a computer with no context installation, it would  
be nice

to typeset my .tex files and receive a downloadable .pdf as a result.


That's exactly we do here with a simple PHP script which parses a
ConTeXt template and makes PDF :)
___
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
___


Jan-Erik Hägglöf
Mandelstensvägen 53
703 74 ÖREBRO

073-957 57 40
019-25 08 69
janerik.hagg...@bredband.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
___


[NTG-context] Chart tricks

2010-06-16 Thread Vyatcheslav Yatskovsky

Hello,

Please, help me with the chart. I need one cell to be offsetted and (if 
possible) larger. The code:


\usemodule[chart]
\starttext
\setupFLOWcharts
[option=test,
nx=5,
ny=4,
dx=1\bodyfontsize,
dy=1\bodyfontsize,
width=12\bodyfontsize,
height=7\bodyfontsize,
maxwidth=\textwidth]

\startFLOWchart [grid]
\startFLOWcell
\shape {5}
\location {2,1}
\text {Higher mathematics}
\stopFLOWcell   
\startFLOWcell
\shape {5}
\location {2,2}
\text {This should bigger and on the center}
\stopFLOWcell   
\stopFLOWchart

\FLOWchart[grid]
\stoptext

To give you idea what I want to achieve (roughly), I attached an image 
chart.png.


Rgrds,
Vyatcheslav
attachment: chart.png___
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] Chart tricks

2010-06-16 Thread Henning Hraban Ramm

Am 2010-06-16 um 21:50 schrieb Vyatcheslav Yatskovsky:

Please, help me with the chart. I need one cell to be offsetted and  
(if possible) larger. The code:



ConTeXt's flowchart module is restricted to flowcharts and similar  
diagrams, where all cells have the same size and are placed in a grid.


For everything else try GraphViz (http://www.graphviz.org/), dia (http://live.gnome.org/Dia 
), MetaPost (http://wiki.contextgarden.net/MetaFun), TikZ (http://wiki.contextgarden.net/TikZ 
) or other tools.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] Writing a Curriculum Vitae/Resume

2010-06-16 Thread Matija Šuklje
Hullo,

I'm planning to write a CV/Resumé in ConTeXt.

So I would like to know if there's already a nice module for it e.g. like the 
EuroPass[1] CV which also has a LaTeX template[2].

Any pointers would be helpful :]


Cheers,
Matija
-.-.-
[1] https://europass.cedefop.europa.eu/
[2] http://tug.ctan.org/tex-archive/macros/latex/contrib/europecv/
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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] Writing a Curriculum Vitae/Resume

2010-06-16 Thread Andreas Schneider
Matija Šuklje wrote:

 Hullo,
 
 I'm planning to write a CV/Resumé in ConTeXt.
 
 So I would like to know if there's already a nice module for it e.g. like
 the EuroPass[1] CV which also has a LaTeX template[2].
 
 Any pointers would be helpful :]
 
 
 Cheers,
 Matija
 -.-.-
 [1] https://europass.cedefop.europa.eu/
 [2] http://tug.ctan.org/tex-archive/macros/latex/contrib/europecv/

You might want to look at Wolfgang Schuster's Letter Module. That contains 
an (experimental?) CV module too. At least it worked quite good for me :-)

http://modules.contextgarden.net/letter

___
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] Writing a Curriculum Vitae/Resume

2010-06-16 Thread Matija Šuklje
Dne četrtek 17. junija 2010 ob 02:42:44 je Andreas Schneider napisal(a):
 Matija Šuklje wrote:
  I'm planning to write a CV/Resumé in ConTeXt.
  [...]
  Any pointers would be helpful :]
 You might want to look at Wolfgang Schuster's Letter Module. That contains
 an (experimental?) CV module too. At least it worked quite good for me :-)
 
 http://modules.contextgarden.net/letter

Oh, there it is! I knew I saw it somewhere :]

Hm, I suppose I should upgrade TeX Live to 2009 on my Gentoo :P


Cheers!
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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] question about howto implement context on homeserver

2010-06-16 Thread Vnpenguin
On Wed, Jun 16, 2010 at 17:56, mrheggiz janerik.hagg...@bredband.net wrote:
 Please tell me more, interesting!!

Have a look at PHP functions system(), exec() to execute an external
program from PHP.


-- 
http://vnoss.org
___
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
___