Re: [NTG-context] trouble starting context

2008-07-07 Thread Jesse Alama
Jesse Alama [EMAIL PROTECTED] writes:

 Jesse Alama [EMAIL PROTECTED] writes:

 Taco Hoekwater [EMAIL PROTECTED] writes:

 Aditya Mahajan wrote:
 On Thu, 3 Jul 2008, Jesse Alama wrote:
 
 Taco Hoekwater [EMAIL PROTECTED] writes:

 Jesse Alama wrote:
 Taco Hoekwater [EMAIL PROTECTED] writes:
 I have:

 LUAINPUTS=.;$TEXMF/tex/{context,plain/base,generic}//:$TEXMF/scripts/context/lua
 TEXMFSCRIPTS=.;$TEXMF/tex/{context,plain/base,generic,}//;$TEXMF/scripts/context//

 and I strongly suspect both are needed. After adjusting the value(s),
 you will have to rerun luatools --generate.
 I modified texmf.cnf to give these variables those values, but I still
 get the same error, even after luatools --generate.  Further
 suggestions?

 Try

$ env TEXMFCACHE=/Users/alama context dissertation

 maybe that will help. (I am guessing right now, but I will install the 
 texlive devel snapshot on a clean virtual machine on monday).

 Same problem:

   $ MTX_INPUT_TRACE=3 TEXMFCACHE=/Users/alama context dissertation
   ! using suffix based filetype: %s | lua
   ? blobpath asked: %s | context.lua
   ? filename: %s | context.lua
   - readable: %s | ./context.lua
   ! using suffix based filetype: %s | lua
   ? blobpath asked: %s | mtx-context.lua
   ? filename: %s | mtx-context.lua
   - readable: %s | ./mtx-context.lua
   ! using suffix based filetype: %s | lua
   ? blobpath asked: %s | mtx-contexts.lua
   ? filename: %s | mtx-contexts.lua
   - readable: %s | ./mtx-contexts.lua
   ! remembered: %s | mtx-context.lua
   MtxRun | unknown script: context

 I'll take this to the tex-live list -- perhaps something is
 misconfigured in TL2008.

 The latest tl2008 snapshot seems to solve the problem (though I'm not
 sure why).  Sorry for complaining -- I realize that LuaTeX+MkIV (and
 these days TL2008) are moving targets, but one's patience sometimes runs
 thin.

I spoke too soon: I confused a shell in which I had set up ConTeXt using
the setuptex script with a vanilla shell.  The basic startup problem
still stands.  (I've also asked for help on the TL list.)

Jesse

-- 
Jesse Alama ([EMAIL PROTECTED])

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] trouble with typing in luatex

2008-07-07 Thread Jesse Alama
The following example doesn't work:

  -[snip]-
  \setuptyping[numbering=line]
  \starttext
  \starttyping
  hello
  \stoptyping
  \stoptext
  -[snip]--

The problem:

  ! Undefined control sequence.
  argument \number \linenumber 
 
  \setxtypingparameter ...lass \currenttyping #1}{#2
}
  \nododowithbuffer ...yping_)}\endofverbatimlines 
\getvalue 
{\strippedcsname...
  l.5 \stoptyping
 
  ? 

What might be going on?

Thanks,

Jesse

-- 
Jesse Alama ([EMAIL PROTECTED])

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] install PGF/Tikz for ConTeXt minimals

2008-07-07 Thread Aric Bills
Hello,

I just installed ConTeXt Minimals under SuSE Linux 11.  I'd like to install
PGF/Tikz; I've downloaded version 2.0 and un-tarred it, but I have no idea
where to copy the files to or what command to issue (a la texhash) to make
ConTeXt aware of them.  Any directions on how to proceed would be much
appreciated!

Aric
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] install PGF/Tikz for ConTeXt minimals

2008-07-07 Thread Mojca Miklavec
On Sun, Jul 6, 2008 at 11:18 AM, Aric Bills wrote:
 Hello,

 I just installed ConTeXt Minimals under SuSE Linux 11.  I'd like to install
 PGF/Tikz; I've downloaded version 2.0 and un-tarred it, but I have no idea
 where to copy the files to or what command to issue (a la texhash) to make
 ConTeXt aware of them.  Any directions on how to proceed would be much
 appreciated!

See
 http://minimals.contextgarden.net/current/modules/t-tikz/
and
a) use rsync -av
rsync://contextgarden.net/minimals/current/modules/t-tikz/
path/to/texmf-context
b) beat me for not implementing (or bribing Hans) it in mtx-update yet

Aditya suggested to add --all switch to mtx-update to simplify
matters. We also have
http://minimals.contextgarden.net/current/modules/all/ (just a hint
for Hans).

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Locating files

2008-07-07 Thread Hans Hagen
Diego Depaoli wrote:
 I apologize in advance for my trivial questions, but... there is a
 command/way to set the PATHS where ConTeXt can search for \input
 files?

in texmf.cnf

texinputs.context

you can set that variable in your shell/cmd (make sure that you copy the 
current definition and add you extra paths to it)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Custom letter head

2008-07-07 Thread Oliver Buerschaper
Dear Wolfgang,

I was wondering how I could place a simple MetaPost graphic into the  
head area of a letter, next to the address data. I know the manual  
says you're going to write this and similar things up soon … could you  
still give me a sneak peek as where to look at and what to modify? All  
I need is a quick adaption that works for now …

Many thanks,
Oliver
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fedora 9 (Linux) Installation

2008-07-07 Thread Hans Hagen
[EMAIL PROTECTED] wrote:

 (/home/mohamed/context-installation-directory/tex/texmf-local/web2c/natural.tcx)
  
 kpathsea: Running mktexfmt cont-en.fmt /usr/bin/mktexfmt: line 334: 
 /home/mohamed/context-installation-directory/tex/texmf/texconfig/tcfmgr: No 
 such file or directory fmtutil: config file `fmtutil.cnf' not found. I 
 can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.05476

 /home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c/pdftex 

is there a cont-en.fmt file in there

if so, then there is a problem in the variables (no engine path or just 
a wrong definition in texmf.cnf; if so, then the tex installation is 
pretty ancient)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Custom letter head

2008-07-07 Thread Wolfgang Schuster
On Mon, Jul 7, 2008 at 9:26 AM, Oliver Buerschaper
[EMAIL PROTECTED] wrote:
 Dear Wolfgang,

 I was wondering how I could place a simple MetaPost graphic into the
 head area of a letter, next to the address data. I know the manual
 says you're going to write this and similar things up soon … could you
 still give me a sneak peek as where to look at and what to modify? All
 I need is a quick adaption that works for now …

\startuseMpgraphic{letter:head}
...
\stopuseMPgraphic

\setupletterstyle
  [head] % [frame]
  [background=\useMPgraphic{letter:head}]

for a MetaPost graphic in the background of the head.


You could also create your own letter head with:

\startsetups{letter:head}
...
\stopsetups

this replace my default letter head with fromname and fromaddress,
to access these to values you could use \lettervalue{fromname} and
\lettervalue{fromaddress}.

Regards,
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] trouble with typing in luatex

2008-07-07 Thread Hans Hagen
Jesse Alama wrote:
 The following example doesn't work:
 
   -[snip]-
   \setuptyping[numbering=line]
   \starttext
   \starttyping
   hello
   \stoptyping
   \stoptext
   -[snip]--
 
 The problem:

a missing

\newcount\linenumber

fo rthe moment add that line to cont-new.mkiv


-
   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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt and type1 fonts: help

2008-07-07 Thread Hans Hagen
Vladimiro Sassone wrote:

 http://www.eatcs.org/bulletin..

nice showcase

-
   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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt and type1 fonts: help

2008-07-07 Thread Hans Hagen
Vladimiro Sassone wrote:
 On 7 Jul 2008, at 09:57, Hans Hagen wrote:
 you need to load map files, for instance

 \loadmapfile[original-youngryu-tx.map]
 \loadmapfile[original-youngryu-px.map]

 and some

 \loadmapfile [-bh-lucida.map]
 
 In the tex file? Or in some configuration file?

in your style


-
   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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Word-to-LaTex on linux?

2008-07-07 Thread Piotr Kopszak
Dear list, 

Has anyone had any success running Word-to-Latex converter, mentioned on 
contextgarden, on linux? In theory it should be possible using wine and 
winetricks. 

Piotr

-- 
--

  Piotr Kopszak, Ph.D.
  Polish Art Gallery, National Museum in Warsaw
  -http://kopszak.mnw.art.pl/
  http://www.magnatune.com/artists/altri_stromenti

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] active characters in mkiv (and mkii)

2008-07-07 Thread Thomas A. Schmitz
Hi all,

I would like to make the exclamation mark active within my Greek  
environment; it should remain a normal letter outside of these  
commands and environments. (Why? Exclamation marks aren't used in  
Greek, and in mkii, I had mapped it to the sublinear dot which is used  
for epigraphical and papyrological texts.)

In pdf(e)tex, Hans wrote this macro for me:

\long\def\rescanwithsetup#1#2%
{{\directsetup{#1}\scantokens{#2\ignorespaces}}}

but I'm not sure how to have a similar thing for mkiv (and ! is  
special anyway, so I'm running into trouble here...). Any pointers? Or  
is this a bad idea, and I should look for other solutions?

Thanks

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

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


Re: [NTG-context] active characters in mkiv (and mkii)

2008-07-07 Thread Hans Hagen
Thomas A. Schmitz wrote:
 Hi all,
 
 I would like to make the exclamation mark active within my Greek  
 environment; it should remain a normal letter outside of these  
 commands and environments. (Why? Exclamation marks aren't used in  
 Greek, and in mkii, I had mapped it to the sublinear dot which is used  
 for epigraphical and papyrological texts.)
 
 In pdf(e)tex, Hans wrote this macro for me:
 
 \long\def\rescanwithsetup#1#2%
 {{\directsetup{#1}\scantokens{#2\ignorespaces}}}
 
 but I'm not sure how to have a similar thing for mkiv (and ! is  
 special anyway, so I'm running into trouble here...). Any pointers? Or  
 is this a bad idea, and I should look for other solutions?

forget about the past, think about what kind of functionality you want

for instance,

we need a language dependent feature that remaps characters

so, what are the specs; maybe other languages need similar things

(there is already something available which we can easily extend)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] table of contents and bookmarks issue

2008-07-07 Thread Alan Stone
Hi,

When compiling the same source but with different compiler options...

(1) compiled with texmfstart texexec --autopdf --pdf test.tex

(2) compiled with texmfstart texexec --xtx test.tex or
texmfstart texexec --xetex test.tex

All hyperlinks ( table of contents and bookmarks ) jump to the
correct position for (1).

For (2), in all other view modes, single or a combined, other than
single page view, like for ex. single page continuous + fit width
mode, the hyperlinks jump to the incorrect position, mostly the
page before or after the one whereto it should jump to. Any idea how
to prevent this behavior when compiling with xetex ?

Thanks,
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] active characters in mkiv (and mkii)

2008-07-07 Thread Thomas A. Schmitz

On Jul 7, 2008, at 1:20 PM, Hans Hagen wrote:

 forget about the past, think about what kind of functionality you want

 for instance,

 we need a language dependent feature that remaps characters

 so, what are the specs; maybe other languages need similar things

 (there is already something available which we can easily extend)

OK, acknowledged. However, this is a special case because:

- it is not a language feature, it is just something for a special  
sort of ancient Greek texts (the subdot accent doesn't exist in Greek);

- the character is available in just a few fonts, so my idea was to  
really write a macro which will specifically fetch the glyph from a  
specific font.

So for the time being, the specs are (for my module)

~ = inactive (already done in the module)
| = inactive (already done in the module)
! = active, map to Unicode character 0323 in a font that has this  
character

Thanks Hans!

All best

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

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


Re: [NTG-context] active characters in mkiv (and mkii)

2008-07-07 Thread Hans Hagen
Thomas A. Schmitz wrote:
 On Jul 7, 2008, at 1:20 PM, Hans Hagen wrote:
 
 forget about the past, think about what kind of functionality you want

 for instance,

 we need a language dependent feature that remaps characters

 so, what are the specs; maybe other languages need similar things

 (there is already something available which we can easily extend)
 
 OK, acknowledged. However, this is a special case because:
 
 - it is not a language feature, it is just something for a special  
 sort of ancient Greek texts (the subdot accent doesn't exist in Greek);
 
 - the character is available in just a few fonts, so my idea was to  
 really write a macro which will specifically fetch the glyph from a  
 specific font.
 
 So for the time being, the specs are (for my module)
 
 ~ = inactive (already done in the module)
 | = inactive (already done in the module)
 ! = active, map to Unicode character 0323 in a font that has this  
 character

in that case, how abotu a fallback font ...

% \definefontfallback [whatever] [Slanted] [0x0060-0x007F] [force=yes]
% \definefontfallback [whatever] [Bold] 
[0x0080:0x00FF,0x00A0:0x00AF] [rscale=2.0]
% \definefontfallback [whatever] [BoldSlanted] [00C0-00C7] 
[check=yes,force=yes]
% \definefontfallback [whatever] [Mono][latinextendeda] 
[force=yes] % 0x0100:0x017F
% \definefontfallback [whatever] [Mono][latin extended a] 
[force=yes] % 0x0100:0x017F
%
% \definefontsynonym[SerifPlus][Serif][fallbacks=whatever]
%
% \definefont[MySerif][SerifPlus at 10pt]
%
% \startcolumns[n=6]
% \MySerif
% \dostepwiserecurse {0} {65000} {1} {
% \iffontchar\font\recurselevel
% {\tttf\uchexnumbers\recurselevel:} \char\recurselevel\par
% \fi
% }
% \stopcolumns


so, you define a fallbackfont for your greek font

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Word-to-LaTex on linux?

2008-07-07 Thread Piotr Kopszak
On Mon, Jul 07, 2008 at 11:31:19AM +0200, Piotr Kopszak wrote:
 Dear list, 
 
 Has anyone had any success running Word-to-Latex converter, mentioned on 
 contextgarden, on linux? In theory it should be possible using wine and 
 winetricks. 
 
 Piotr

Replying to myself. Before trying on my linux box I asked my administrator to 
install it on a windows box and it fails even to load its own configuration 
file when I try to use as ordinary user. Is it really worth the effort at all?

Piotr


 
 -- 
 --
 
   Piotr Kopszak, Ph.D.
   Polish Art Gallery, National Museum in Warsaw
   -http://kopszak.mnw.art.pl/
   http://www.magnatune.com/artists/altri_stromenti
 
 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

-- 
--

  Piotr Kopszak, Ph.D.
  Polish Art Gallery, National Museum in Warsaw
  -http://kopszak.mnw.art.pl/
  http://www.magnatune.com/artists/altri_stromenti

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Word-to-LaTex on linux?

2008-07-07 Thread John Culleton
On Monday 07 July 2008 05:31:19 am Piotr Kopszak wrote:
 Dear list,

 Has anyone had any success running Word-to-Latex converter,
 mentioned on contextgarden, on linux? In theory it should be
 possible using wine and winetricks.

 Piotr

I upload a doc file into Open Office Writer, save it as rtf and then 
run the program rtf2latex2e.  The reult isn't perfect but it gives 
you a starting point. 

Other conversion tools found with e.g., Kword, Abiword etc. don't seem 
to work as well. 

For client work I just save the doc or pdf as text and start from 
there.  The Adobe Acrobat Reader has a good text save function. 

-- 
John Culleton
Resources for every author and publisher:
http://wexfordpress.com/tex/shortlist.pdf
http://wexfordpress.com/tex/packagers.pdf
http://www.creativemindspress.com/newbiefaq.htm
http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mplib problems

2008-07-07 Thread Peter Rolf
Hans Hagen schrieb:
 Peter Rolf wrote:
 hi,

 does this error message ring a bell? same problem with luatex 0.27 and 
 0.28 using the latest beta. mkii works ok.
 
 hm, what graphic?


% engine=luatex

\startuniqueMPgraphic{foo}
draw unitsquare xyscaled(3cm,3cm)
withcolor transparent(1,.5,red);
\stopuniqueMPgraphic


\starttext

\null
\uniqueMPgraphic{foo}

\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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] active characters in mkiv (and mkii)

2008-07-07 Thread Thomas A. Schmitz

On Jul 7, 2008, at 2:01 PM, Hans Hagen wrote:

 so, you define a fallbackfont for your greek font

 Hans


That looks good; I'll have a go at it (I guess the fallback can be  
enabled on the typescript level, right?). However, I'm still left  
wondering if it doesn't make sense to make the ! active and map it to  
the sublinear dot - much easier to input via the keyboard.

Thanks

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

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


Re: [NTG-context] Word-to-LaTex on linux?

2008-07-07 Thread Aditya Mahajan
On Mon, 7 Jul 2008, Piotr Kopszak wrote:

 On Mon, Jul 07, 2008 at 11:31:19AM +0200, Piotr Kopszak wrote:
 Dear list,

 Has anyone had any success running Word-to-Latex converter, mentioned on 
 contextgarden, on linux? In theory it should be possible using wine and 
 winetricks.

 Piotr

 Replying to myself. Before trying on my linux box I asked my administrator to 
 install it on a windows box and it fails even to load its own configuration 
 file when I try to use as ordinary user. Is it really worth the effort at all?

I had once tried TeX2Word from chiriii software (http://www.chikrii.com/) 
and converted a 20 page double column paper with a lot of math from Word 
to LaTeX. The conversion was excellent. I had to redo most of the math by 
hand, but I think that it was more because of the way the math was 
originally input (array instead of align, etc).

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

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


Re: [NTG-context] active characters in mkiv (and mkii)

2008-07-07 Thread Hans Hagen
Thomas A. Schmitz wrote:
 On Jul 7, 2008, at 2:01 PM, Hans Hagen wrote:
 
 so, you define a fallbackfont for your greek font

 Hans

 
 That looks good; I'll have a go at it (I guess the fallback can be  
 enabled on the typescript level, right?). However, I'm still left  
 wondering if it doesn't make sense to make the ! active and map it to  
 the sublinear dot - much easier to input via the keyboard.

no, active chars are a pain ... because they need to adapt to all kind 
of situations then, i'm glad that i got rid of the active : cum suis

of course we can add a new core-spa feature that remaps chars (kind of 
like french spacing)

-
   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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Word-to-LaTex on linux?

2008-07-07 Thread Jean Magnan de Bornier
Le 07 juillet à 11:31:19 Piotr Kopszak [EMAIL PROTECTED] écrit notamment:

| Dear list, 

| Has anyone had any success running Word-to-Latex converter, mentioned on 
contextgarden, on linux? In theory it should be possible using wine and 
winetricks. 

| Piotr

I use writer2latex, which has to be integrated into OpenOffice; when it's
done, just open your word (or ODF) document with OpenOffice and export to LaTeX;
does a good job if you choose the «clean» or better, «ultraclean» option.

cheers,
-- 
Jean
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Word-to-LaTex on linux?

2008-07-07 Thread Siep Kroonenberg
On Mon, Jul 07, 2008 at 02:03:43PM +0200, Piotr Kopszak wrote:
 On Mon, Jul 07, 2008 at 11:31:19AM +0200, Piotr Kopszak wrote:
  Dear list, 
  
  Has anyone had any success running Word-to-Latex converter, mentioned on 
  contextgarden, on linux? In theory it should be possible using wine and 
  winetricks. 
  
  Piotr
 
 Replying to myself. Before trying on my linux box I asked my administrator to 
 install it on a windows box and it fails even to load its own configuration 
 file when I try to use as ordinary user. Is it really worth the effort at all?
 
 Piotr

Did you visit the homepage
http://kebrt.webz.cz/programs/word-to-latex/ to check the
prerequisites? I tried it out for somebody else, and with word,
mathtype and net1.1 installed it did quite a nice job.

It is basically a Word macro, even though you can call it from
outside Word (which is not recommended).

-- 
Siep Kroonenberg
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Word-to-LaTex on linux?

2008-07-07 Thread David C. Walden

On Mon, Jul 07, 2008 at 11:31:19AM +0200, Piotr Kopszak wrote:
  Has anyone had any success running Word-to-Latex converter, mentioned 
 on contextgarden, on linux? In theory it should be possible using wine 
 and winetricks.

I have converted from Word to LaTeX a lot! -- book length
documents.  I usually find it easier to manually do the
conversion: 1) adding commands and inter-paragraph
spacing in the word file where I can still see the visual
formatting; 2) cut and paste the text from the Word file
into WinEdt or EMACS, and 3) use the text editor's
global replace feature to convert en-dashes into --,
smart quotes into `` and '', etc.  I have occasionally
whipped together a small editor macro to do repetitive
tasks during the conversion.  I find that this
approach takes less time (or at least less mental
anguish) than learning a conversion program and then
fixing its output.  If have always thought that I
might find a conversion program useful if my documents included
much math (they don't) -- until someone else in this thread
suggested that the conversion program didn't work so well
for the math.  My approach noted above is in the context
having used a couple of different conversion programs in
the past -- one freeware and one commercial.  Of course,
I have been writing, debugging, and rewriting computer
programs for decades, so tweaking things with a text
editor feels like a pretty natural approach to me.


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fedora 9 (Linux) Installation

2008-07-07 Thread abbg770
Ok the test document (first.tex) compiles, great!

But I can't seem to install fonts.  

$ texfont --ve=microsoft --co=consolas --makepath --install

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

processing aborted : unknown tex root  

--help : show some more info


 Does (or rather did) this even work in the old minimal distribution?
 I think that I had to CD to $HOME/tex and source setuptex from there.

I don't quiet understand what you mean.


Could someone please just update that wiki page, running into issues like 
these really does eat up ones time.

Thanks alot

On Jul 7 2008, Mojca Miklavec wrote:

 On Sun, Jul 6, 2008 at 9:03 AM, Taco Hoekwater  wrote:
  [EMAIL PROTECTED] wrote:
 
  a.  source ~/.context_env $PWD/tex = results in nothing.
 
  What happens if you run the following command manually?
 
$ source $(HOME)/tex/setuptex $(HOME)/tex
 
  (assuming you unpacked directly in your home)
 
 Does (or rather did) this even work in the old minimal distribution?
 I think that I had to CD to $HOME/tex and source setuptex from there.
 
 Mojca
 
 PS: these big zips are (or at least used to be) a bit outdated. A
 slightly newer (unofficial) version is here:
 http://minimals.contextgarden.net/pragma/
 http://minimals.contextgarden.net/setup/ 
 ___
  
 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 : 
 https://foundry.supelec.fr/projects/contextrev/ wiki : 
 http://contextgarden.net 
 ___
 

-- 
Thanks
Mohamed Bana

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents and bookmarks issue

2008-07-07 Thread Alan Stone
Got fed up with context/xetex... Compiled with
texmfstart texexec --lua instead and as expected
(from a previous thread) bookmarks are scrambled
when using accented (french) characters.

Hope this (luatex) issue will be resolved very soon.

Thanks for the backward compatibility though. Didn't
have to change a single line of code.

Hyperlink/bookmark jumps are a better, however...

Can they be made so that they go to and include
the corresponding chapter/section title, instead of
jumping underneath them when in single page
continuous + page width mode ? It works that
way with word/openoffice generated pdfs.

Thanks on beforehand,
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] active characters in mkiv (and mkii)

2008-07-07 Thread Thomas A. Schmitz

On Jul 7, 2008, at 4:17 PM, Hans Hagen wrote:

 no, active chars are a pain ... because they need to adapt to all kind
 of situations then, i'm glad that i got rid of the active : cum suis

 of course we can add a new core-spa feature that remaps chars (kind of
 like french spacing)

OK, OK, you win :-) I'll try and see if I can cook up some remap +  
fallback solution which I can implement. For the remapping stuff, I'll  
go through fea-files or what would be the cleanest way?

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

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


Re: [NTG-context] table of contents and bookmarks issue

2008-07-07 Thread Hans Hagen
Alan Stone wrote:
 Got fed up with context/xetex... Compiled with
 texmfstart texexec --lua instead and as expected
 (from a previous thread) bookmarks are scrambled
 when using accented (french) characters.

 Hope this (luatex) issue will be resolved very soon.

should work with the beta

 Can they be made so that they go to and include
 the corresponding chapter/section title, instead of
 jumping underneath them when in single page
 continuous + page width mode ? It works that
 way with word/openoffice generated pdfs.

hm, maybe later, when i redo that code (i never use bookmarks so i 
hardly test that code)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Bug in mplib?

2008-07-07 Thread Aditya Mahajan

Hi,

I get different results when I compile the following file using mkii and 
mkiv. See the attached pdf output. I am using (I know, I need to update)


mpost -v = MetaPost 1.005 (Web2C 7.5.5)
context --version = 2008.06.22 17:38


\setupcolors [state=start]
\starttext

\startMPpage

  z.1 = (-1cm, 0) ;
  z.2 = ( 1cm, 0) ;
  z.3 = (0, -1cm) ;
  z.4 = (0,  1cm) ;

  path p[] ;

  p.1 := z.1 -- z.2 ;
  p.2 := z.3 -- z.4 ;

  draw p.1 ;

  draw p.2 withpen pencircle scaled 3bp withcolor white ;
  draw p.2 ;

\stopMPpage

\stoptext


Aditya

test-mkiv.pdf
Description: Adobe PDF document


test-mkii.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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents and bookmarks issue

2008-07-07 Thread Alan Stone
Ok Hans. Looking forward to these improvements.

hm, maybe later, when i redo that code (i never use bookmarks so i
hardly test that code)

It's the same with table of contents hyperlink jumps. Quite annoying because
lots of people are used to the behavior of word/openoffice generated pdfs.

Now have to get those fonts rendered correctly with luatex...

Best,
Alan

On Mon, Jul 7, 2008 at 9:02 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  Got fed up with context/xetex... Compiled with
  texmfstart texexec --lua instead and as expected
  (from a previous thread) bookmarks are scrambled
  when using accented (french) characters.

  Hope this (luatex) issue will be resolved very soon.

 should work with the beta

  Can they be made so that they go to and include
  the corresponding chapter/section title, instead of
  jumping underneath them when in single page
  continuous + page width mode ? It works that
  way with word/openoffice generated pdfs.

 hm, maybe later, when i redo that code (i never use bookmarks so i
 hardly test that code)

 Hans

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___