Re: [NTG-context] Mkiv Colour issue and more

2008-09-12 Thread abbg770
Hans Hagen pragma at wxs.nl writes:

  
  \definecolor[ucolour]   [c=0,m=0.83,y=1,k=0.7]
  \definecolor[urlcolour] [c=0,m=0.51,y=1,k=0]
  ...
  ...
  \setupinteraction[
  state=start,
 color=ucolour,
 option=bookmark]
  
  4. Doesn't work, but strangely enough color=urlcolour does. If I do 
  use ucolour, the links are shown in black; 
  http://filebin.ca/dnoqva/test.pdf or http://filebin.ca/dnoqva
 
 hm, i dunno, both work ok here
 

Could someone please try this out.  My links are still in black.

Output 
jpg (beware it's quiet big); http://imagebin.ca/view/VHwQ0w.html
pdf; http://filebin.ca/hbmgzk/test.pdf or http://filebin.ca/hbmgzk
Source; http://pastebin.com/f15e49b5e

  5. 
  \useURL[key][http://wiki.contextgarden.net/][][http://wiki.contextgarden.net/]
   
  fails, but \useURL[key][http://httpd.apache.org/download.cgi] works. 
  The former fails with; http://pastebin.com/f3cc75b10.
  
  I'm actually quiet baffled by this.  Also now the dots are green; 
  http://filebin.ca/cezdzr/test.pdf, http://filebin.ca/cezdzr or 
  http://www.4shared.com/file/62409267/2d29710c/test.html.
 
 how does that code look? (not in the sample file)

If I understood correctly; http://pastebin.com/f52799045 and the log;
http://pastebin.com/f3948a3ac

  7. Why aren't the the urls broken across lines, page2-3. I'm pretty 
  sure the hyperref package in latex supported this.
 
 no example; breaking urls is supported

Hans, look at http://imagebin.ca/view/VHwQ0w.html.  The code used is;

\dorecurse{6}{Download Apache at \from[apache]}

It's from the end of http://pastebin.com/f15e49b5e.  Am I missing an option
somewhere?

  8. What must I do to the 3rd paragraph on the first page to get it to 
  space properly? It's far too close to the previous one.
 
 ?

1st page, 3rd paragraph; http://filebin.ca/dnoqva/test.pdf or 
http://filebin.ca/dnoqva. Here's a screenshot; 
http://imagebin.ca/view/5Es-dHG.html

  9. the d in praised protrudes to the margin, how do I stop this. I 
  should point out that this happens often.
 
 depends ... || should handle it
 

I was thinking more on the lines of letting ConTeXt ensure that I never 
have a character protude into the margin, is this possible?

___
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] Strange font issue with LuaTeX on Linux

2008-09-01 Thread abbg770

I just discovered something;

$ echo $OSFONTDIR
/usr/share/fonts/vista-fonts;/home/mohamed/.fonts;/media/sdb1/Fonts

$ pwd
/home/mohamed/.fonts/envy-code-r
$ ls -1
EnvyCodeRBold.ttf
EnvyCodeRItalic.ttf
EnvyCodeR.ttf
EnvyCodeRVSItalicAsBold.ttf
EnvyCodeRVS.ttf

$ mtxrun --script fonts --list envy
envy code r  Envy Code R  EnvyCodeR.ttf
envy code r bold Envy Code R Bold EnvyCodeRBold.ttf
envy code r italic   Envy Code R Italic   EnvyCodeRItalic.ttf
envy code r vs   Envy Code R VS   EnvyCodeRVS.ttf
envy code r vs bold  Envy Code R VS Bold  EnvyCodeRVSItalicAsBold.ttf

# similar error to the previous one, even though mtxrun finds it, luatex 
doesn't. If I copy the fonts over to the working directory, the file seems 
to compile fine (http://pastebin.com/m5272c619 or attached). $ texexec 
test.tex TeXExec | processing document 'test.tex' TeXExec | no ctx file 
found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec 
| writing option file test.top TeXExec | using randomseed 990 TeXExec | tex 
engine: luatex TeXExec | tex format: cont-en LuaTools | running command: 
luatex 
--fmt=/home/mohamed/texmf/texmf-cache/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/formats/cont-en 
--lua=/home/mohamed/texmf/texmf-cache/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5/formats/cont-en.luc 
test.tex  (test.tex


ConTeXt  ver: 2008.08.05 18:47 MKIV  fmt: 2008.8.31  int: english/english

language : language en is active system : cont-new loaded 
(/home/mohamed/texmf/tex/context/base/cont-new.tex systems : beware: some 
patches loaded from cont-new.tex 
(/home/mohamed/texmf/tex/context/base/cont-new.mkiv lua : used config path 
- /usr/share/texmf/web2c/texmf.cnf lua : used cache path - 
/home/mohamed/texmf/texmf-cache/luatex-cache/context/c67bf06401a0e1a39f3ee04c60209dc5 
) (/home/mohamed/texmf/tex/context/base/cont-mtx.tex)) system : cont-old 
loaded (/home/mohamed/texmf/tex/context/base/cont-old.tex loading : Context 
Old Macros ) system : cont-fil loaded 
(/home/mohamed/texmf/tex/context/base/cont-fil.tex loading : Context File 
Synonyms ) system : cont-sys.rme loaded 
(/home/mohamed/texmf/tex/context/user/cont-sys.rme 
(/home/mohamed/texmf/tex/context/base/type-tmf.tex) 
(/home/mohamed/texmf/tex/context/base/type-siz.tex) 
(/home/mohamed/texmf/tex/context/base/type-otf.tex)) bodyfont : 12pt rm is 
loaded specials : tex loaded system : test.top loaded (test.top specials : 
loading definition file tpd 
(/home/mohamed/texmf/tex/context/base/spec-tpd.tex specials : loading 
definition file fdf (/home/mohamed/texmf/tex/context/base/spec-fdf.tex 
(/home/mohamed/texmf/tex/context/base/spec-fdf.mkiv)) specials : fdf loaded 
(/home/mohamed/texmf/tex/context/base/spec-tpd.mkiv)) specials : fdf loaded 
) (/home/mohamed/texmf/tex/context/base/type-tmf.tex) 
(/home/mohamed/texmf/tex/context/base/type-siz.tex) 
(/home/mohamed/texmf/tex/context/base/type-otf.tex) 
(/home/mohamed/texmf/tex/context/base/type-tmf.tex) 
(/home/mohamed/texmf/tex/context/base/type-siz.tex) 
(/home/mohamed/texmf/tex/context/base/type-otf.tex) define font | forced 
type ttf of EnvyCodeR not found define font | font with name EnvyCodeR is 
not found define font | unknown font EnvyCodeR, loading aborted ! Font 
\*adobe12ptrmtfrm*:=name:Envy Code R*default at 12pt not loadable: metric 
data not found or bad. to be read again
  \relax 
\xxdododefinefont ...tspec {#4}\newfontidentifier 
 \let 
\localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname
 \tryingfontfalse \fi 
inserted text ...yle \fontalternative \fontsize 
 \fi \iftryingfont 
\fontstr... \synchronizefont ...strategy \the \fontstrategies
 \relax \fi \iftryingfont 
\... argument \getvalue [EMAIL PROTECTED]@ \fontstyle }
  \edef \fontstyle {\fontstyle 
}\if... ... l.48 \setupbodyfont[adobe,11pt]
  
? 


# test.tex.  ignore the weird names, i didn't have time to change it around
% engine=luatex
\definefontfeature[latin-smallcaps][smallcaps][script=latn]

\starttypescript [serif] [warnockpro]
 \setups[font:fallback:sans]  
 \definefontsynonym [WarnockPro-Regular] [name:Envy Code R] 
[features=default]
 \definefontsynonym [WarnockPro-Bold]   [name:Envy Code R Bold]   
[features=default]
 \definefontsynonym [WarnockPro-Italic] [name:Envy Code R Italic]  
[features=default]
\stoptypescript


\starttypescript [serif] [warnockpro]
 \definefontsynonym [Serif]   [WarnockPro-Regular]   
[features=default]
 \definefontsynonym [SerifBold]   [WarnockPro-Bold]  
[features=default]
 \definefontsynonym [SerifItalic] [WarnockPro-Italic]
[features=default]

\stoptypescript


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-22 Thread abbg770
Idris Samawi Hamid #1575;#1583;#1585;#1610;#1587; 
#1587;#1605;#1575;#1608;#1610; #1581;#1575;#1605;#1583; ishamid 
at colostate.edu writes:

 
  On my Vista 64bit box I had trouble running the default Process 
  ConTeXt file (pdf) command, the document compiles fine but fails on 
  opening adobe reader;
 
  TeXExec | runtime: 3.646
   Process finished.
  acrobat.bat  pdfopen --file C:\context\test.pdf
  CreateProcess() failed
   READY 
 
 Hmm, try making .LNK files executable in Control Panel, System, 
 Advanced, Environment Variables.
 
 The reason I use acrobat.lnk is because it does not rezize my acrobat 
 window the way texexec's autopdf option does. I want my Acrobat window to 
 be positioned in the same place and size whenever I open it.
 
 Best wishes
 Idris
 

That's strange. Have you tried edit-prefs-documents then enable restore 
last view settings when reopening documents?

___
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 Package for Notepad++ v. 5.0.3

2008-08-22 Thread abbg770

Alan Stone software.list.1es9s at gmail.com writes:




Hi Idris,
 
Thanks a lot.
 
One question though...
 
I installed Npp, downloaded the context support package for Npp and 
extracted the zip file.
 
What/where are the setup instructions please ?
 
Best,

Alan
 


Seems like Idris forgot to include the readme, incase it hasn't been 
attached check out the 1 November 2007 rev from 
http://wiki.contextgarden.net/Image:Npp_ConTeXt.zip your sure to find it 
there.


Put everything in ConTeXt.zip in the same folder you extracted 
mswincontext.zip (182 mb) then run NPP.bat. Make sure you adjust 
acrobat.lnk appriopriately as the path is hard-coded.


And what OS are you using?

MohamedInstructions for Setting up ConTeXt with Notepad++
November 1 2007
ConTeXt Support Package for Notepad++.

This package is for Notepad 4.5, released October 25 2007. The file config.xml 
in particular may
not work with other versions, especially if you start it with the batch file. 
If you already have Npp, please update to 4.5.

Lots of small improvements. One nice feature is that from any text 
selection (such as a control sequence) you may do a ConTeXt Wiki search 
from the RUN menu or ALT-F3. In addition there is Google and Wikipedia 
search. Also, I have included the wonderful Explorer plugin.

This package is offered as is, with no promise of support.

Instructions:

1. From the installer, you MAY not want to use the default destination folder, 
'Notepad++'.
texexec and company choke on directory names with characters like '+' in them. 
So you could
change it to, eg, 'Notepadpp'. So if you plan on linking the ConTeXt utilities 
with the notepad
installation directory somehow then you may want to change its name.

However, in the following I assume that the directory name remains 'Notepad++' 

2. You may also want to check the installation option, Don't use %APPDATA%.
Then all your configuration settings will be save in the installation 
directory. This is because, even
if you rename the installation directory, the name of the local user 
application directory will still
be 'Notepad++'.

However, in what follows I assume that all configuration files
are saved in \username\Application Data\Notepad++.

3. You may want to install a few plugins. The installer will give you a list of 
plugins you can
select. Go to the following links for details:

http://notepad-plus.sourceforge.net/uk/plugins-HOWTO.php

The Explorer and NppExec plugins are among my favorites, and I have configured 
them for ConTeXt.

In the following I assume that you have also installed the Explorer and NppExec 
plugins. The Explorer plugin is not included in the installer so
I have included it in this package.

4. Notepad++ should already be in your path. If not, add C:\Program 
Files\Notepad++ to your system path
in System Properties  Advanced  Environment Variables  System Variables  
PATH.

5. In System Properties add make LNK files executable. Go to
System Properties  Advanced  Environment Variables  System Variables  
PATHEXT. Click on Edit
and add .LNK;

6. Now log out and log back in (to activate the environment variables).

7. Make sure Notepad++ is closed.

8. There are three zips within the package:

Application Data.zip
ConTeXt.zip
Program Files.zip

9. Copy the directory Program Files\Notepad++ to Program Files.

10. Copy the directory Application Data\Notepad++ to Application Data.

11. Copy the contents of the directory ConTeXt to your ConTeXt tree.

12. For processing ConTeXt files, always use the batch file npp.bat to open 
Notepad++. npp.bat is
based on cscite.bat. You can change the icon for the batch file by going to the 
file properties of
npp.bat, Change Icon, and point it to  Program Files\Notepad++\Notepad++.exe. I 
put a shortcut to
npp.exe in the taskbar for easy access.

13.  A note: In Preferences,  always leave the option Remember the last 
operation directory
unchecked. 

14. Edit batch files in the ConTeXt directory to suit your needs. Please 
forward any major
improvements!

Have fun!

===
Message to ConTeXt mailing list, 12 Aug 2007:
==
Some background:

I come from the WinEdt world originally. However WinEdt, while a fantastic TeX 
editor (perhaps the best), has a couple of problems:

a) Geared towards LaTeX;
b) No utf-8 support present or immediately planned (at least when I was using 
it);
c) No Right-to-left support present or immediately planned (at least when I was 
using it);

a) is not really a problem; one could easily configure WinEdt to be ConTeXt 
editor, but b) and c) were showstoppers.

Scite is nice, but seems to me to be a real regression when compared to 
WinEdt's features. 

Finally I came across Notepad++, hereafter called Npp (actually it was Hans who 
told me about it first). This is one amazing text editor. Like Scite, it is 
based on Scintilla. It is a programmer's editor, but for a non-programmer user 
like myself it is amazingly easy to configure. Like 

Re: [NTG-context] Adobe ArnoPro in mkiv

2008-08-20 Thread abbg770
Thomas A. Schmitz thomas.schmitz at uni-bonn.de writes:

 
 Hi all,
 
 I'm trying to use the Adobe ArnoPro font (just testing if it will work  
 with
 ConTeXt). The font does work with ConTeXt/XeTeX, but not in mkiv. When I
 try to compile my test file with mkiv, I get this error message (which
 isn't very helpful to me):
 
   (/home/tas/texmf/tex/context/type-arnopro.tex (/home/tas/texmf/tex/ 
 context/type-arnopro.mkiv
 MtxRun | return code: ?
 ...live/texmf-local/scripts/context/lua/mtx-context.lua:572: attempt  
 to compare number with nil
 
 I'm using the latest beta and luatex 0.28.0
 
 Can anybody explain what's going wrong here?
 
 Thanks
 
 Thomas
 

Hi,

Did you manage to fix it? LuaTeX goes into (what I think is) an endless 
cycle --- I haven't allowed it to terminate naturaly, as it takes far too 
long even on a quad core.

load otf | warning: Bad pair position: glyphs 0  3148 should have been  
2846

load otf | warning: Bad pair position: glyphs 0  3250 should have been  
2846

load otf | warning: Bad pair position: glyphs 0  3784 should have been  
2846

...

I should point out that on my Vista box LuaTeX crashes when I attempt to 
access the font information.

mtxrun --script fonts --list arnoproregular --info
% crashes

%%% file %%%
\starttypescript [serif] [arnopro]
  \definefontsynonym [ArnoPro-Regular][name:ArnoPro-Regular]
  \definefontsynonym [ArnoPro-Bold]   [name:ArnoPro-Bold]   
  \definefontsynonym [ArnoPro-Italic] [name:ArnoPro-Italic]  
  \definefontsynonym [ArnoPro-BoldItalic] [name:ArnoPro-BoldItalic]  
\stoptypescript

\starttypescript [serif] [arnopro]
  \definefontsynonym [Serif] [ArnoPro-Regular] [features=default]
  \definefontsynonym [SerifBold] [ArnoPro-Bold] [features=default]
  \definefontsynonym [SerifItalic] [ArnoPro-Italic] [features=default]
  \definefontsynonym [SerifBoldItalic] [ArnoPro-BoldItalic] 
[features=default]
  \definefontsynonym [SerifCaps] [Serif] [features=latin-smallcaps] 
\stoptypescript

\definetypeface[adobe][rm][serif][arnopro][default]
\setupbodyfont[adobe,11pt]
___
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 heading repeating on a new page

2008-08-15 Thread abbg770
Wolfgang Schuster schuster.wolfgang at googlemail.com writes:

 
 On Wed, Aug 13, 2008 at 9:29 PM,  abbg770 at city.ac.uk wrote:
  Hi,
 
  Is it possible to do this? As in the Chance this and To this 
  headings are repeated on the top of each page
 
  Beware the images are big;
 
  -http://imagebin.org/24166
  -If the above doesn't work; http://imagebin.ca/view/LWZdNWP5.html
 
 http://wiki.contextgarden.net/Tables_Overview
 
 Wolfgang
 

Thanks

For anyone interested; just run the example from 
http://wiki.contextgarden.net/TABLE#Multipage_TABLEs.

-- 
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] Lastest Build on TeXlive 2008 and MikTeX 2.7

2008-08-14 Thread abbg770
On Aug 14 2008, [EMAIL PROTECTED] wrote:

 Thomas A. Schmitz thomas.schmitz at uni-bonn.de writes:
 
  
  Did you remake the formats after unzipping cont-tmf.zip? The format  
  texexec finds is from 2007/01, so it can't be the one that comes with  
  TeXLive 2008, it must be some older stuff that shadows newer formats.  
  What does
  kpsewhere --engine=pdftex cont-en.fmt
  return?
  
  Thomas
  

I made a typo, it's texlive 2007.

 
 $ texexec --make --all
 
 // ouput at end of email, http://pastebin.com/m3eaa2250 or attachment
 
 $ su -c' texhash'
 Password: 
 texhash: Updating /etc/texmf/ls-R... 
 texhash: Updating /usr/local/share/texmf/ls-R... 
 texhash: Updating /usr/share/texmf/ls-R... 
 texhash: Updating /var/lib/texmf/ls-R... 
 texhash: Done.
 
 // and it seems like texexec calls mktexlsr:
 
 $ kpsewhere --engine=pdftex cont-en.fmt
 /home/mohamed/.texlive2007/texmf-config/web2c/pdftex/cont-en.fmt
 /home/mohamed/.texlive2007/texmf-var/web2c/pdftex/cont-en.fmt
 /var/lib/texmf/web2c/pdftex/cont-en.fmt

Typesetting the bare minimal file works, but lua or xetex doesn't;

$ texexec --lua test.tex
TeXExec | processing document 'test.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file test.top
TeXExec | using randomseed 1053
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
TeXExec | runtime: 0.124868


$ texexec start
TeXExec | processing document 'start'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file start.top
TeXExec | using randomseed 12
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %-line parsing enabled.
 (/home/mohamed/texmf/web2c/natural.tcx)
entering extended mode
(./start.tex

ConTeXt  ver: 2008.08.05 18:47 MKII  fmt: 2008.8.13  int: english/english

language : language en is active system : cont-new loaded 
(/home/mohamed/texmf/tex/context/base/cont-new.tex systems : beware: some 
patches loaded from cont-new.tex 
(/home/mohamed/texmf/tex/context/base/cont-new.mkii) 
(/home/mohamed/texmf/tex/context/base/cont-mtx.tex)) system : cont-old 
loaded (/home/mohamed/texmf/tex/context/base/cont-old.tex loading : Context 
Old Macros ) system : cont-fil loaded 
(/home/mohamed/texmf/tex/context/base/cont-fil.tex loading : Context File 
Synonyms ) system : cont-sys.rme loaded 
(/home/mohamed/texmf/tex/context/user/cont-sys.rme 
(/home/mohamed/texmf/tex/context/base/type-tmf.tex) 
(/home/mohamed/texmf/tex/context/base/type-siz.tex) 
(/home/mohamed/texmf/tex/context/base/type-one.tex) 
(/home/mohamed/texmf/tex/context/base/type-akb.tex)) bodyfont : 12pt rm is 
loaded language : patterns nl-texnansi:texnansi-1-2:2 nl-ec:ec-2-2:2 
fr- texnansi:texnansi-3-2:2 fr-ec:ec-4-2:2 
de-texnansi:texnansi-5-2:2 de-e c:ec-6-2:2 
it-texnansi:texnansi-7-2:2 it-ec:ec-8-2:2 pt-texnansi:texna 
nsi-9-2:2 pt-ec:ec-10-2:2 hr-ec:ec-11-2:2 pl-pl0:pl0-12-2:2 
pl-ec:e c-13-2:2 pl-qx:qx-14-2:2 cs-il2:il2-15-2:2 
cs-ec:ec-16-2:2 sk-il2:i l2-17-2:2 sk-ec:ec-18-2:2 
sl-ec:ec-19-2:2 ru-t2a:t2a-21-2:2 gb-ec:e c-22-2:2 
us-ec:ec-23-2:2 agr-agr:agr-24-2:2 da-ec:ec-25-2:2 sv-ec:e 
c-26-2:2 af-ec:ec-27-2:2 nb-ec:ec-28-2:2 nn-ec:ec-29-2:2 
deo-ec:ec-
 30-2:2 es-ec:ec-35-2:2 ca-ec:ec-36-2:2 la-ec:ec-37-2:2 
 ro-ec:ec-38
-2:2 tr-ec:ec-39-2:2 fi-ec:ec-41-2:2 hu-ec:ec-42-2:2 loaded 
specials : tex,postscript,rokicki loaded system : start.top loaded 
(./start.top specials : loading definition file tpd 
(/home/mohamed/texmf/tex/context/base/spec-tpd.tex specials : loading 
definition file fdf (/home/mohamed/texmf/tex/context/base/spec-fdf.tex 
(/home/mohamed/texmf/tex/context/base/spec-fdf.mkii)) specials : fdf loaded 
(/home/mohamed/texmf/tex/context/base/spec-tpd.mkii)) specials : fdf,tpd 
loaded ) systems : system commands are disabled (./start.tuo) (./start.tuo) 
(./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) 
(./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) (./start.tuo) 
(/home/mohamed/texmf/tex/context/base/pdfr-def.tex) systems : begin file 
start at line 1 fonts : resetting map file list 
{/home/mohamed/texmf/fonts/map/pdftex/context/original-empty.map} fonts : 
using map file: original-base 
{/home/mohamed/texmf/fonts/map/pdftex/context/original-base.map} fonts : 
using map file: original-ams-base 
{/home/mohamed/texmf/fonts/map/pdftex/context/original-ams-base.map} fonts 
: using map file: original-public-lm 
{/home/mohamed/texmf/fonts/map/pdftex/context/original-public-lm.map} fonts 
: using map file: lm-ec {/usr/share/texmf/fonts/map/dvips/lm/lm-ec.map} 
fonts : using map file: lm-math 
{/usr/share/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: 
lm-rm {/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map} fonts : using map 
file: 8r-base {/home/mohamed/texmf/fonts/map/pdftex/context/8r-base.map} 
fonts : using map file: ec-base 

Re: [NTG-context] Lastest Build on TeXlive 2008 and MikTeX 2.7

2008-08-13 Thread abbg770
Mojca Miklavec mojca.miklavec.lists at gmail.com writes:

 
 Yes, it's perfectly fine if you just install this one into local tree
 (or maybe even into global - at least that's what I do). The rest is
 far less important. You only need to be aware that once you update a
 package in global tree, the local tree will still have precedence.
 
 Mojca
 

Ok so I'm trying to install cont-tmf.zip on a Fedora 9 box with TexLive 2008
into my local ~/texmf/.

$ kpsexpand '$TEXMFHOME'
/home/mohamed/texmf

$ ls ~/texmf/ bibtex cont-ext.zip cont-img.zip cont-ppc.zip doc metapost 
tex web2c context cont-fnt.zip cont-mpd.zip cont-tmf.zip fonts scripts tpm

$ su -c 'texhash'
Password: 
texhash: Updating /etc/texmf/ls-R... 
texhash: Updating /usr/local/share/texmf/ls-R... 
texhash: Updating /usr/share/texmf/ls-R... 
texhash: Updating /var/lib/texmf/ls-R... 
texhash: Done.

But when I try to typeset;

\starttext
hello
\stoptext

I get this error;

$ texexec start.tex /usr/bin/texmfstart:1838: warning: Insecure world 
writable dir /home/mohamed/Desktop/scala-2.7.1.final/bin in PATH, mode 
040777 /home/mohamed/texmf/scripts/context/ruby/base/system.rb:16: warning: 
Insecure world writable dir /home/mohamed/Desktop/scala-2.7.1.final/bin in 
PATH, mode 040777 TeXExec | processing document 'start.tex' TeXExec | no 
ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 
TeXExec | writing option file start.top TeXExec | using randomseed 93 
TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, 
Version 3.141592-1.40.3 (Web2C 7.5.6)
 %-line parsing enabled.
 (/home/mohamed/texmf/web2c/natural.tcx)
entering extended mode
(./start.tex

ConTeXt  ver: 2007.01.12 15:56 MKII  fmt: 2008.7.12  int: english/english

language: language en is active
system  : cont-new loaded
(/home/mohamed/texmf/tex/context/base/cont-new.tex

FatalError  : Your format does not match the base files!

FormatVersion   : 2007.01.12 15:56 MKII
FilesVersion: 2008.08.05 18:47

TeXUtil | unable to locate start.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | TeX run 2
TeXExec | writing option file start.top
TeXExec | using randomseed 93
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %-line parsing enabled.
 (/home/mohamed/texmf/web2c/natural.tcx)
entering extended mode
(./start.tex

ConTeXt  ver: 2007.01.12 15:56 MKII  fmt: 2008.7.12  int: english/english

language: language en is active
system  : cont-new loaded
(/home/mohamed/texmf/tex/context/base/cont-new.tex

FatalError  : Your format does not match the base files!

FormatVersion   : 2007.01.12 15:56 MKII
FilesVersion: 2008.08.05 18:47

TeXUtil | unable to locate start.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 0.397965




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


[NTG-context] Table heading repeating on a new page

2008-08-13 Thread abbg770
Hi,

Is it possible to do this? As in the Chance this and To this headings 
are repeated on the top of each page

Beware the images are big;

-http://imagebin.org/24166
-If the above doesn't work; http://imagebin.ca/view/LWZdNWP5.html


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
___


[NTG-context] Lastest Build on TeXlive 2008 and MikTeX 2.7

2008-08-11 Thread abbg770
Hi,

How would I install that latest version of ConTeXt (the lua version) on 
*both* of the distributions mentioned. I occassionaly need to use LaTeX 
(especially on Windows), so I need MikTeX/Texlive running.

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


[NTG-context] cont-enp.pdf on lulu

2008-07-21 Thread abbg770
Hi,

Why not submit cont-enp.pdf (ConTeXt the manual) to lulu? I do appreciate 
the hard work that's going into the documentation, but at some places the 
english doesn't flow that well. Out of curiosity how many people proof read 
the documentation before they're released?

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


[NTG-context] Warnock Pro, Chaparral Pro, Jenson Pro and Myriad Pro

2008-07-19 Thread abbg770
Hi,

1. Does anyone have the typescripts for these fonts with or without the 
opticals? 2. Has anyone come across a guide for installing the optical 
versions of Warnock, Chaparral and Jenson

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
___


[NTG-context] Vista fonts

2008-07-12 Thread abbg770

Hi,

Anyone managed to get Vista fonts working? 
http://schuster.wolfgang.googlepages.com/files doesn't seem to support 
small caps, old style numerals etc. The source is attached and the sample 
is at http://vega.soi.city.ac.uk/~abbg770/cambria-test.pdf (158 kb).


I fonts were simply copied over from my vista install to my ~/.fonts; 
there's a total of 24 fonts. Notice the .ttc files :|, and why do I have to 
copy the fonts over to my current working directory just so that LuaTeX can 
detect them?


tree
.
|-- Candara.ttf
|-- Candarab.ttf
|-- Candarai.ttf
|-- Candaraz.ttf
|-- calibri.ttf
|-- calibrib.ttf
|-- calibrii.ttf
|-- calibriz.ttf
|-- cambria.ttc
|-- cambriab.ttf
|-- cambriai.ttf
|-- cambriaz.ttf
|-- consola.ttf
|-- consolab.ttf
|-- consolai.ttf
|-- consolaz.ttf
|-- constan.ttf
|-- constanb.ttf
|-- constani.ttf
|-- constanz.ttf
|-- corbel.ttf
|-- corbelb.ttf
|-- corbeli.ttf
`-- corbelz.ttf

0 directories, 24 files


For those who have succeeded creating a wiki page will help alot.

--
Thanks alot
Mohamed Bana\starttypescriptcollection[vista]

\starttypescript [serif] [cambria,constantia]

  \definefontsynonym [Serif][\typescripttwo-Regular][features=default]
  \definefontsynonym [SerifBold][\typescripttwo-Bold]   [features=default]
  \definefontsynonym [SerifItalic]  [\typescripttwo-Italic] [features=default]
  \definefontsynonym [SerifSlanted] [\typescripttwo-Italic] [features=default]
  \definefontsynonym [SerifBoldItalic]  [\typescripttwo-BoldItalic] [features=default]
  \definefontsynonym [SerifBoldSlanted] [\typescripttwo-BoldItalic] [features=default]

  \definefontvariant [Serif][osf][OsF]
  \definefontvariant [Serif][sc] [Caps]

  \definefontsynonym [SerifRegularOsF]  [\typescripttwo-Regular][features=oldstyle]
  \definefontsynonym [SerifBoldOsF] [\typescripttwo-Bold]   [features=oldstyle]
  \definefontsynonym [SerifItalicOsF]   [\typescripttwo-Italic] [features=oldstyle]
  \definefontsynonym [SerifSlantedOsF]  [\typescripttwo-Italic] [features=oldstyle]
  \definefontsynonym [SerifBoldItalicOsF]   [\typescripttwo-BoldItalic] [features=oldstyle]
  \definefontsynonym [SerifBoldSlantedOsF]  [\typescripttwo-BoldItalic] [features=oldstyle]

  \definefontsynonym [SerifRegularCaps] [\typescripttwo-Regular][features=smallcaps]
  \definefontsynonym [SerifBoldCaps][\typescripttwo-Bold]   [features=smallcaps]
  \definefontsynonym [SerifItalicCaps]  [\typescripttwo-Italic] [features=smallcaps]
  \definefontsynonym [SerifSlantedCaps] [\typescripttwo-Italic] [features=smallcaps]
  \definefontsynonym [SerifBoldItalicCaps]  [\typescripttwo-BoldItalic] [features=smallcaps]
  \definefontsynonym [SerifBoldSlantedCaps] [\typescripttwo-BoldItalic] [features=smallcaps]

\stoptypescript

\starttypescript [sans] [calibri,candara,corbel]

  \definefontsynonym [Sans][\typescripttwo-Regular][features=default]
  \definefontsynonym [SansBold][\typescripttwo-Bold]   [features=default]
  \definefontsynonym [SansItalic]  [\typescripttwo-Italic] [features=default]
  \definefontsynonym [SansSlanted] [\typescripttwo-Italic] [features=default]
  \definefontsynonym [SansBoldItalic]  [\typescripttwo-BoldItalic] [features=default]
  \definefontsynonym [SansBoldSlanted] [\typescripttwo-BoldItalic] [features=default]

  \definefontvariant [Sans][osf][OsF]
  \definefontvariant [Sans][sc] [Caps]

  \definefontsynonym [SansRegularOsF]  [\typescripttwo-Regular][features=oldstyle]
  \definefontsynonym [SansBoldOsF] [\typescripttwo-Bold]   [features=oldstyle]
  \definefontsynonym [SansItalicOsF]   [\typescripttwo-Italic] [features=oldstyle]
  \definefontsynonym [SansSlantedOsF]  [\typescripttwo-Italic] [features=oldstyle]
  \definefontsynonym [SansBoldItalicOsF]   [\typescripttwo-BoldItalic] [features=oldstyle]
  \definefontsynonym [SansBoldSlantedOsF]  [\typescripttwo-BoldItalic] [features=oldstyle]

  \definefontsynonym [SansRegularCaps] [\typescripttwo-Regular][features=smallcaps]
  \definefontsynonym [SansBoldCaps][\typescripttwo-Bold]   [features=smallcaps]
  \definefontsynonym [SansItalicCaps]  [\typescripttwo-Italic] [features=smallcaps]
  \definefontsynonym [SansSlantedCaps] [\typescripttwo-Italic] [features=smallcaps]
  \definefontsynonym [SansBoldItalicCaps]  [\typescripttwo-BoldItalic] [features=smallcaps]
  \definefontsynonym [SansBoldSlantedCaps] [\typescripttwo-BoldItalic] [features=smallcaps]

\stoptypescript

\starttypescript [mono] [consolas]

  \definefontsynonym [Mono][\typescripttwo-Regular][features=default]
  \definefontsynonym [MonoBold][\typescripttwo-Bold]   [features=default]
  \definefontsynonym [MonoItalic]  [\typescripttwo-Italic] [features=default]
  \definefontsynonym [MonoSlanted

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

2008-07-11 Thread abbg770
Hi,

Can someone please take a look at this before the thread disappears.

Thanks

On Jul 7 2008, [EMAIL PROTECTED] wrote:

 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
___


[NTG-context] ConTeXt cheatsheet

2008-07-08 Thread abbg770
Hi,

Could someone please make a cheatsheet much like the following; 
http://docs.codehaus.org/download/attachments/2715/groovy-reference-card.pdf. 
It really helps when learning a language.

groovy source; 
http://svn.codehaus.org/groovy/trunk/groovy/groovy-core/src/latex/. I've 
attached a .zip containing everything in the dir. s=source and 
c=cheatsheet.

latex homepage; http://www.stdout.org/~winston/latex/ latex c; 
http://www.stdout.org/~winston/latex/latexsheet-a4.pdf latex s; 
http://www.stdout.org/~winston/latex/latexsheet.tex

cvs c; http://tnerual.eriogerg.free.fr/cvsqrc.pdf cvs s; 
http://tnerual.eriogerg.free.fr/cvsqrc.tex

tex c; http://math.brown.edu/~jhs/ReferenceCards/TeXRefCard.v1.5.pdf tex s; 
http://math.brown.edu/~jhs/ReferenceCards/TeXRefCard.v1.5.tex

-- 
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] 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] Fedora 9 (Linux) Installation

2008-07-06 Thread abbg770

Still fails with the same error;

[EMAIL PROTECTED] context-installation-directory]$ texexec first.tex 
TeXExec | processing document 'first.tex'

TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file first.top
TeXExec | using randomseed 1222
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
\write18 enabled.
 
(/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.142191



The exact command I executed was;

$ source ${HOME}/context-installation-directory/tex/setuptex 
${HOME}/context-installation-directory/tex


The link to the installation guide; 
http://wiki.contextgarden.net/Linux_User_Installation---there was a typo on 
the previous link. I've attached the log aswell appending it to the 
message, forgive me, I'm pretty new to mailing lists.



=== ENTIRE LOG ===

source ${HOME}/context-installation-directory/tex/setuptex 
${HOME}/context-installation-directory/tex


[EMAIL PROTECTED] context-installation-directory]$ echo '#!/bin/bash'  
~/.context_env


[EMAIL PROTECTED] context-installation-directory]$ cat tex/setuptex  
~/.context_env


[EMAIL PROTECTED] context-installation-directory]$ chmod 755 ~/.context_env

[EMAIL PROTECTED] context-installation-directory]$ echo source 
~/.context_env $PWD/tex  ~/.bashrc


[EMAIL PROTECTED] context-installation-directory]$ source 
${HOME}/context-installation-directory/tex/setuptex 
${HOME}/context-installation-directory/tex


[EMAIL PROTECTED] context-installation-directory]$ mktexlsr mktexlsr: 
Updating /home/mohamed/context-installation-directory/tex/texmf/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-extra/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-fonts/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-local/ls-R... 
mktexlsr: Done. [EMAIL PROTECTED] context-installation-directory]$ texexec 
--make --alone TeXExec | using search method 'kpsefast' TeXExec | updating 
file database mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf/ls-R... mktexlsr: 
Updating 
/home/mohamed/context-installation-directory/tex/texmf-extra/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-fonts/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-local/ls-R... 
mktexlsr: Done. TeXExec | using tex engine pdftex TeXExec | using tex 
format path 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c/pdftex 
TeXExec | generating tex format cont-en ! I can't read pdftex.pool; bad 
path? TeXExec | generating tex format cont-nl ! I can't read pdftex.pool; 
bad path? TeXExec | generating tex format mptopdf ! I can't read 
pdftex.pool; bad path? TeXExec | using mp engine mpost TeXExec | using mps 
format path 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c 
TeXExec | generating mps format metafun This is MetaPost, Version 0.993 
(Web2C 7.5.6) (INIMP) 
(/home/mohamed/context-installation-directory/tex/texmf-local/web2c/natural.tcx) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/metafun.mp 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-base.mp 
Preloading the plain mem file, version 0.63) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-tool.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-spec.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-core.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-page.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-text.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-txts.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-shap.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-butt.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-char.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-step.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-grph.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-figs.mp) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-grid.mp 

[NTG-context] Using free Lucida, MinionPro and MyriadPro

2008-07-06 Thread abbg770
Hi,

Anyone tried using the MinionPro or MyriadPro thats ships with Adobe Reader 
8?

$ tree /opt/Adobe/Reader8/Resource/Font/
/opt/Adobe/Reader8/Resource/Font/
|-- AdobePiStd.otf
|-- CourierStd-Bold.otf
|-- CourierStd-BoldOblique.otf
|-- CourierStd-Oblique.otf
|-- CourierStd.otf
|-- MinionPro-Bold.otf
|-- MinionPro-BoldIt.otf
|-- MinionPro-It.otf
|-- MinionPro-Regular.otf
|-- MyriadPro-Bold.otf
|-- MyriadPro-BoldIt.otf
|-- MyriadPro-It.otf
|-- MyriadPro-Regular.otf
|-- PFM
|   |-- SY__.PFM
|   |-- zx__.pfm
|   `-- zy__.pfm
|-- SY__.PFB
|-- ZX__.PFB
`-- ZY__.PFB

1 directory, 19 files


If you happen to use Java you might have noticed that it comes with Lucida 
aswell

$ tree /opt/jdk1.6.0_06/jre/lib/fonts/
/opt/jdk1.6.0_06/jre/lib/fonts/
|-- LucidaBrightDemiBold.ttf
|-- LucidaBrightDemiItalic.ttf
|-- LucidaBrightItalic.ttf
|-- LucidaBrightRegular.ttf
|-- LucidaSansDemiBold.ttf
|-- LucidaSansRegular.ttf
|-- LucidaTypewriterBold.ttf
|-- LucidaTypewriterRegular.ttf
`-- fonts.dir

0 directories, 9 files

and

$ tree /opt/jdk1.6.0_06/jre/lib/oblique-fonts/
/opt/jdk1.6.0_06/jre/lib/oblique-fonts/
|-- LucidaSansDemiOblique.ttf
|-- LucidaSansOblique.ttf
|-- LucidaTypewriterBoldOblique.ttf
|-- LucidaTypewriterOblique.ttf
`-- fonts.dir

0 directories, 5 files


Can someone enlighten me with the legal issues surrounding the use of these 
fonts i.e., whether I can use them to typeset a thesis etc. If it's 
perfectly ok, I'd assume someone has written an article describing how I'd 
configure ConTeXt to use them. If you so happen to have the link, please 
post it.

And a question directed to the developers, why didn't you chose 'ConTeX', 
google doesn't like 'ConTeXt' it gets confused. I'm pretty sure users have 
noticed this.

-- 
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] Fedora 9 (Linux) Installation

2008-07-06 Thread abbg770
Hi Hans,

It still fails :| with;

[EMAIL PROTECTED] context-installation-directory]$ texexec first.tex 
TeXExec | processing document 'first.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file first.top
TeXExec | using randomseed 265
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
 \write18 enabled.
  
(/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

The output of running texexec --make

$ texexec --make TeXExec | using search method 'kpsefast' TeXExec | 
updating file database mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf/ls-R... mktexlsr: 
Updating 
/home/mohamed/context-installation-directory/tex/texmf-extra/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-fonts/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-local/ls-R... 
mktexlsr: Done. TeXExec | using tex engine pdftex TeXExec | using tex 
format path 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c/pdftex 
TeXExec | generating tex format cont-en ! I can't read pdftex.pool; bad 
path? TeXExec | generating tex format cont-nl ! I can't read pdftex.pool; 
bad path? TeXExec | generating tex format mptopdf ! I can't read 
pdftex.pool; bad path? TeXExec | using mp engine mpost TeXExec | using mps 
format path 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c 
TeXExec | generating mps format metafun This is MetaPost, Version 0.993 
(Web2C 7.5.6) (INIMP) 
(/home/mohamed/context-installation-directory/tex/texmf-local/web2c/natural.tcx)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/metafun.mp
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-base.mp
 
Preloading the plain mem file, version 0.63) 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-tool.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-spec.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-core.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-page.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-text.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-txts.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-shap.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-butt.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-char.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-step.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-grph.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-figs.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-grid.mp
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-form.mp
 
(/home/mohamed/context-installation-directory/tex/texmf/metapost/base/string.mp)
 
(/home/mohamed/context-installation-directory/tex/texmf/metapost/base/marith.mp 
(/home/mohamed/context-installation-directory/tex/texmf/metapost/base/string.mp
 
(/home/mohamed/context-installation-directory/tex/texmf-local/metapost/context/base/mp-func.mp)
 
) Beginning to dump on file metafun.mem
 (mem=metafun 2008.7.7) at most 3039 strings of total length 40264 48346 
memory locations dumped; current usage is 1262235523 1762 symbolic tokens 
Transcript written on metafun.log. TeXExec | TeXExec | tex engine path: 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c/pdftex 
TeXExec | mps engine path: 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c 
TeXExec | TeXExec | mps: 07/07/2008 00:32:13  
/home/mohamed/context-installation-directory/tex/texmf-linux-64/web2c/metafun.mem
 
(481600) TeXExec | TeXExec | runtime: 0.246742

On Jul 6 2008, Hans Hagen wrote:

 [EMAIL PROTECTED] wrote:
  Still fails with the same error;
  
  [EMAIL PROTECTED] context-installation-directory]$ texexec first.tex 
  TeXExec | processing document 'first.tex'
  TeXExec | no ctx file found
  TeXExec | tex processing method: context
  TeXExec | TeX run 1
  

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

2008-07-06 Thread abbg770
Thanks Taco, downloading the new zip seems to have some effect. It seems 
like I've made some progress.

$ source ~/.context_env $PWD/tex
Setting /home/mohamed/context-installation-directory/tex as TEXROOT.

Before I do the rest, should I do 

$ texexec --make --alone
or
$ texexec --make (as per Han's recommendation?)

And

$ mktexlsr mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf/ls-R... mktexlsr: 
Updating 
/home/mohamed/context-installation-directory/tex/texmf-context/ls-R... 
mktexlsr: Updating 
/home/mohamed/context-installation-directory/tex/texmf-linux-64/ls-R... 
mktexlsr: Done.



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
___


[NTG-context] Fedora 9 (Linux) Installation

2008-07-05 Thread abbg770
Hi,

I can't seem to install ConTeXt manually. I've literally followed this page 
http://wiki.contextgaraden.net/Linux_User_Installation verbatim and I can't 
seem to compile even the most basic of documents. I'm running Fedora9 bit, 
and I do happen to have TeXLive with ConTeXt installed. The thing is I 
don't want to ruin the current install rather I'd like to have a version of 
ConTeXt that lives in my ~/. so that I can play about with it, I'm 
particurarly after the fonts that come with it.
 
I've attached some files with the outputs of running the commands.

a.  source ~/.context_env $PWD/tex = results in nothing.
b.  mktexlsr = mktexlsrlog.txt
c.  texexec --version = texexec-version-log.txt
d.  texexec --check = check-texexec-log(copy).txt

 This simply doesn't work on my install it's meant to do what the 
author of the page said --- This will give you a lot of lines of output 
including the versions of various scripts, the version of pdftex and the 
version of ConTeXt. It will also generate a test file and run it through 
ConTeXt. You should get a pdf file called texexec.pdf with the word 
Test.. Didn't get anything :(.

e.  texexec first.tex = texexec-first-log.txt



Ok now that's out of the way i've got a few questions regarding ConTeXt 
itself.

1. Is there an equivalent of the listing package? Take a look at 
listing-sample.pdf. It's also highly customizable, allowing me to change 
the colour etc. For instance here is my setup.

\lstset{breaklines=true, showlines=true, % showing line numbers 
numbers=left, % where to show line numbers 
numberstyle=\scriptsize\sffamily\color{gray}, % numbersep=10pt, % 
stepnumber=1, % how often to show the line number on the left 
language=Java, % specifiy the language basicstyle=\scriptsize\ttfamily, % 
print whole listing small keywordstyle=\bfseries\color{eclipsekeyword}, % 
underlined bold black keywords identifierstyle=, % nothing happens 
commentstyle=\color{eclipsecomment}, % white comments, if you use 
commentstyle=\color{white}, it doesn't display the PRODID for the VCALENDAR 
stringstyle=\ttfamily, % typewriter type for strings 
showstringspaces=false, % no special string spaces frame=single, % bottom 
of listing gets a rule, use frame=single if you want awhole frame around it 
backgroundcolor=\color{white}, use frame=b for line a the bottom only 
backgroundcolor=\color{white}, tabsize=4, showspaces=false, 
showstringspaces=false}

\lstset{morecomment=[s][\color{eclipsejavadoc}]{/**}{*/}}%,
% morecomment=[s][\color{red}]{/*-}{*/}}

And including the source code.

\lstinputlisting[

caption={CalendarExtractor.java},

label=lst:CalendarExtractor.java]

{source/CalendarExtractor.java}

2. Can someone please tell me if a book is being planned, I'd hate to print 
out the documentation and then come to realize that, say, two months down 
the line a book is available.

3. As you probably guessed I'm new to ConTeXt so if somewould could please 
tell me in what situation you would use each of the following files for, 
It'll clarify alot of things for. In particular what is the the main 
CONTEXT distribution.

context/current/cont-tmf.zip the main CONTEXT distribution 
context/current/cont-img.zip a few resources for testing functionality 
context/current/cont-fnt.zip font metrics of public fonts 
context/current/cont-ext.zip third party CONTEXT modules 
context/current/cont-win.zip a binary version of the texmfstart script 
context/current/cont-ppc.zip chemical formulas in TEX: PPCHTEX 
context/current/cont-mpd.zip METAPOST to PDF converter 
context/install/cont-bas.zip base TEX distribution 
context/install/justtex.zip minimal CONTEXT distribution (no binaries) 
context/install/mswintex.zip minimal CONTEXT binaries (windows) 
context/install/linuxtex.zip minimal CONTEXT binaries (linux) 
context/install/macosxtex.zip minimal CONTEXT binaries (macosx) 
context/install/mswincontext.zip stand-alone CONTEXTediting environment 
(windows)


Thank you very much

___
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] Couple of questions

2008-07-03 Thread abbg770
Hi,

Firstly this is my first post :) (and it's going to be long), i've been 
using context for about a week or two and it's wonderful i like 
particularly like the approach of having everything built into the core. 
Just for reference i'm running fedora 9 64bit with texlive and i'm also new 
to TeX meaning that i've never bothered to study LaTeX thoroughly (as i was 
mainly concerned about just getting my content straight) and redefining 
macros was highly annoying, but things have changed now.

Anyhow enough ranting i've got a few questions to ask.

1.  CONTEXT, an excursion
general/manuals/mp-cb-en.pdfgeneral/manuals/ms-cb-en.pdf

The Manual
general/manuals/cont-enp.pdfgeneral/manuals/cont-eni.pdf

It's in the details
general/manuals/details.pdf


i) when are the manuals going to be updated?
 ii) details.pdf looks very interesting, i assume it's not finished 
right? any status info?

2.  CONTEXT MkII  MkIV
general/manuals/mk.pdf

 i've slightly confused as to what LuaTeX is, could someone please 
explain it. from what i've gathered it seems like it supports the use of 
OpenType fonts natively like XeTex and it's going to be merged into pdfTeX?

3.  Fonts
general/manuals/mfonts.pdf and general/manuals/mtexfont.pdf

 Is is worth reading these manual since LuaTeX---as i've 
understood---is going to support them natively and i'm never going to have 
to install fonts again?

4.  Typographic Programming
general/manuals/style.pdf

 Any idea when the final release of this document is due, i'd like 
to make a print out.

5. Is there a book on ConTeXt, that is available for purchase from 
somewhere like amazon. if not does anyone know of a good (and cheap) 
printshop in London? I'd like to print out the manuals.

6. I forgot to ask, is there anything written about bibliography support? 
preferably through BibTeX.

Thanks alot and great work


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