Re: [NTG-context] latest beta (2008-01-09 19:58)
How many languages did you learn and use during the last years? I'm waiting for lispTeX, pythonTeX, http://wiki.contextgarden.net/User:Luigi.scarso#Luatex_hosts_python -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta (2008-01-09 19:58)
Thomas A. Schmitz wrote: On Jan 9, 2008, at 11:06 PM, Hans Hagen wrote: you can also test this (there is a file 'context' somewhere as stub) mtxrun --script context blabla.tex i.e. this is the upcoming replacement of texexec in case of luatex/ mkiv Hans Yes, it works if I call it with mtxrun --script context --run blabla.tex (so the default needs to be set explicitly). How many languages did you learn and use during the last years? I'm waiting for lispTeX, pythonTeX, schemeTeX etc. :-) it depends ... i sometimes have to do things in asp but there will be no asptex -) we will probably stick with lua (and rewrite the ruby script etc) ... easier to package and distribute and less bloated than other languages - 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] Opportunity to include ConTeXt code into a LaTeXe environment
On Jan 9, 2008 11:00 PM, Martin Scholz [EMAIL PROTECTED] wrote: On Fri, 28 Dec 2007 09:15:49 +0100, luigi scarso [EMAIL PROTECTED] wrote: On Dec 27, 2007 11:55 AM, cyberplaque [EMAIL PROTECTED] wrote: Hi @ all, I'm glad about the opportunities ConTeXt gives me to create Coverpages. Now that I have a working example of a coverpage my question is, if it is possible to include that ConTeXt-code into Latex to create a book. If yes, how is the procedure to do so. hmm, i think that the only pratical way consists in make a pdf with context and then include it into latex. BTW, i'm starting to think about the opposite: how to include Latex code into Context code . Hi Luigi, would be nice to let me know if you found an opportortunity to do so. because I'm much more familiar to the LaTeXe-syntax and just started with context a few weeks ago. And all in all I just don't wan't to miss all the syntax of LaTeXe... A ConTeXt user wrote a few years ago a module to use LaTeX syntax in ConTeXt, a can't find it on the web but I have a it still on my machine. I never tried more than the test files in the package and don't know if it still works perfect but it shows it can be done. 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] Opportunity to include ConTeXt code into a LaTeXe environment
BTW, i'm starting to think about the opposite: A ConTeXt user wrote a few years ago a module to use LaTeX syntax in ConTeXt, a can't find it on the web but I have a it still on my machine. I never tried more than the test files in the package and don't know if it still works perfect but it shows it can be done. Can you put it on wiki ? -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Windows installer updated
Mojca Miklavec [EMAIL PROTECTED] writes: On Jan 8, 2008 1:43 PM, David Roderick wrote: Mojca Miklavec [EMAIL PROTECTED] writes: On Jan 7, 2008 9:47 PM, David Roderick wrote: pop-up texlua.exe Application Error The application failed to initialize properly (0xc022) Hello, First: thanks a lot for reporting. (I have no windows here, but I had so many problems with rsync on windows ... that I might be willing to torture you until it works, just as I have tortured the windows machine I have been working on a while back :) I'm clueless about this (apart from the fact that it might be a rsync problem). Which windows are you using (XP or Vista)? (Not that I know if it's relevant at all.) Can you please try to dowload this: http://minimals.contextgarden.net/setup/context-setup-mswin.zip and try to run texlua.exe first? Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. 2001 Microsoft Corp. C:\cygwin\home\David\download\lua\context\binset CYGWIN=nontsec set CYGWIN=nontsec C:\cygwin\home\David\download\lua\context\bin rsync -av rsync://contextgarden.net/minimals/setup/mswin/bin/texlua.exe . rsync -av rsync://contextgarden.net/minimals/setup/mswin/bin/texlua.exe . receiving file list ... done texlua.exe sent 150 bytes received 143 bytes 34.47 bytes/sec total size is 2560 speedup is 8.74 C:\cygwin\home\David\download\lua\context\bintexlua texlua Missing script file Great. This means that rsync works OK (otherwise you would be getting the same error report as last time: The application failed to initialize properly). What makes mo wonder now is: why doesn't the installer work? Perhaps the environmental variables aren't set up properly? You may try one more thing: can you try to set CYGWIN=nontsec globally (I have no windows here to tell you the exact procedure - if you don't know how to do that, please ask again; it's somewhere in System-Advanced-Environmental variables-...). and then rum the installer again? But it really makes mo wonder where it goes wrong. done no reboot C:\cygwin\home\David\download\lua\context\bintexlua texlua C:\cygwin\home\David\download\lua\context\binls ls cygwin1.dll kpathsea356.dll luatex.dll mtx-update.lua mtxrun.cmd mtxrun.lua rsync.exe texlua.exe C:\cygwin\home\David\download\lua\context\bintexlua.exe texlua.exe C:\cygwin\home\David\download\lua\context\binrsync -av rsync://contextgarden.net/minimals/setup/mswin/bin/texlua.exe rsync -av rsync://contextgarden.net/minimals/setup/mswin/bin/texlua.exe receiving file list ... done -rwxr-xr-x2560 2007/09/08 02:06:20 texlua.exe sent 116 bytes received 85 bytes 36.55 bytes/sec total size is 2560 speedup is 12.74 C:\cygwin\home\David\download\lua\context\bin C:\cygwin\home\David\download\lua\context\binrsync -av --exclude 'rsync.exe' --exclude 'cygwin1.dll' rsync://contextgarden.net/minimals/setup/mswin/bin/ rsync -av --exclude 'rsync.exe' --exclude 'cygwin1.dll' rsync://contextgarden.net/minimals/setup/mswin/bin/ receiving file list ... done drwxr-xr-x4096 2007/11/12 15:26:19 . -rw-r--r-- 68096 2007/12/23 13:31:00 kpathsea356.dll -rw-r--r-- 2997248 2007/12/18 12:24:18 luatex.dll -rw-r--r-- 10373 2008/01/02 21:26:29 mtx-update.lua -rwxr-xr-x 79 2007/06/26 08:47:33 mtxrun.cmd -rwxr-xr-x 250716 2007/12/29 21:33:01 mtxrun.lua -rwxr-xr-x2560 2007/09/08 02:06:20 texlua.exe sent 138 bytes received 211 bytes 63.45 bytes/sec total size is 3329072 speedup is 9538.89 C:\cygwin\home\David\download\lua\context\bin I had a winows machine yesterday, but apparently the network had rsync port closed, so rsync didn't work at all (and installer reported: installed successfully). Then, please try to run the following (from command and cd path-to-unzipped-stuff\bin): set CYGWIN=nontsec rsync -av rsync://contextgarden.net/minimals/setup/mswin/bin/texlua.exe . and then see if texlua still has any problems. If not, Yes it still has problems therefore I did not do the following. That report is not a problem (only wrong usage, or missing argument), but texlua could have been more informative about that error, yes. Last time when you reported the error texlua apparently didn't work at all. try to run (single line, it will probably be broken in this mail): rsync -av --exclude 'rsync.exe' --exclude 'cygwin1.dll' rsync://contextgarden.net/minimals/setup/mswin/bin/ . I tried this step before with global variable as CYGWIN=nontsec C:\cygwin\home\David\download\lua\context\bin rsync -av --exclude 'rsync.exe' --exclude 'cygwin1.dll' rsync://contextgarden.net/minimals/setup/mswin/bin/ . rsync -av --exclude 'rsync.exe' --exclude 'cygwin1.dll' rsync://contextgarden.net/minimals/setup/mswin/bin/ . receiving file list ... done ./ kpathsea356.dll luatex.dll mtx-update.lua mtxrun.cmd mtxrun.lua sent 13490 bytes received 9259 bytes 3033.20
Re: [NTG-context] Opportunity to include ConTeXt code into a LaTeXe environment
On Jan 10, 2008 11:51 AM, luigi scarso [EMAIL PROTECTED] wrote: BTW, i'm starting to think about the opposite: A ConTeXt user wrote a few years ago a module to use LaTeX syntax in ConTeXt, a can't find it on the web but I have a it still on my machine. I never tried more than the test files in the package and don't know if it still works perfect but it shows it can be done. Can you put it on wiki ? Done, http://dl.contextgarden.net/modules/-latex%20in%20context.zip 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] Opportunity to include ConTeXt code into a LaTeXe environment
http://dl.contextgarden.net/modules/-latex%20in%20context.zip hmm, try http://dpdx.net/software/context/latex-compat/readme.txt BTW, it's what i mean. -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Opportunity to include ConTeXt code into a LaTeXe environment
luigi scarso wrote: http://dl.contextgarden.net/modules/-latex%20in%20context.zip hmm, try http://dpdx.net/software/context/latex-compat/readme.txt BTW, it's what i mean. I have some updated files somewhere, with full support for LaTeX's tabular, I needed that for a project. There is a bit more to it, I'll try to uncover them. Best wishes, Taco PS I've been offline for almost a week, otherwise I would have replied earlier ___ 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] Tables and misplaced \noalign
Hi, when I'm trying to use tables (\starttables ... \stoptables), I'm often getting the following error: --- ! Misplaced \noalign. \TABLEnoalign -\noalign \bgroup \let \noalign \relax \let \next = \insertTABLEtail -\TABLEnoalign {\global \settrue \preventTABLEbreak \globa... \stoptables ...erepeattail \else \insertTABLEtail \fi \finishTABLE \egroup \... l.148 \stoptables --- On the mailing list archives, I already found some code posted by Hans Hagen that solves the issue in case of the \starttable ... \stoptable command. I had to insert the following code in my cont-new.tex file: \def\stoptable {\chuckTABLEautorow % before the tail \insertTABLEtail \TABLEnoalign{\globalletempty\@@TABLEhead}% \TABLEnoalign{\globalletempty\@@TABLEtail}% \finishTABLE \doifelsenothing\@@tiframe {\ifinsidefloat\else \stopbaselinecorrection \goodbreak % compensates all the nobreaks \fi} \stopframedcontent \egroup} For the tables commands it doesn't work though, even not after changing \def\stoptable to \def\stoptables. Does anyone have an idea what to do about it? ctxtools gives the following details about my context version under WinXP: CtxTools | context version: 2007.01.12 15:56 (c:/TeXLive2007/texmf-dist/tex/cont ext/base/context.tex) CtxTools | context version: 2007.01.12 15:56 (c:/TeXLive2007/texmf-dist/tex/cont ext/base/cont-new.tex) Thanks in advance for any help, Jürgen ___ 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] Tables and misplaced \noalign
On Jan 10, 2008 6:43 PM, Jürgen Strass [EMAIL PROTECTED] wrote: Hi, when I'm trying to use tables (\starttables ... \stoptables), I'm often getting the following error: --- ! Misplaced \noalign. \TABLEnoalign -\noalign \bgroup \let \noalign \relax \let \next = \insertTABLEtail -\TABLEnoalign {\global \settrue \preventTABLEbreak \globa... \stoptables ...erepeattail \else \insertTABLEtail \fi \finishTABLE \egroup \... l.148 \stoptables --- On the mailing list archives, I already found some code posted by Hans Hagen that solves the issue in case of the \starttable ... \stoptable command. I had to insert the following code in my cont-new.tex file: \def\stoptable {\chuckTABLEautorow % before the tail \insertTABLEtail \TABLEnoalign{\globalletempty\@@TABLEhead}% \TABLEnoalign{\globalletempty\@@TABLEtail}% \finishTABLE \doifelsenothing\@@tiframe {\ifinsidefloat\else \stopbaselinecorrection \goodbreak % compensates all the nobreaks \fi} \stopframedcontent \egroup} For the tables commands it doesn't work though, even not after changing \def\stoptable to \def\stoptables. Does anyone have an idea what to do about it? ctxtools gives the following details about my context version under WinXP: CtxTools | context version: 2007.01.12 15:56 (c:/TeXLive2007/texmf-dist/tex/cont ext/base/context.tex) CtxTools | context version: 2007.01.12 15:56 (c:/TeXLive2007/texmf-dist/tex/cont ext/base/cont-new.tex) Thanks in advance for any help, Jürgen Hi Jürgen, could you try to update your ConTeXt first and if the problem remains send a example to the list. 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 ___
[NTG-context] Unicode.otf
There is a better font if you need only symbols, choose the Unicode Symbols link on the following page. http://users.teilar.gr/~g1951d/ I'm trying to use Unicode.otf from http://users.teilar.gr/~g1951d I just copied it into texmf/fonts/opentype/unicodesymbols/Unicode.otf run luatools --generate and test %%%test0012.tex \definefont[WhatEver][Unicode] \starttext \WhatEver Hello \stoptext with texmfstart texexec --luatex test0012.tex Result: !luaTeX error (file /opt/texlive/ContextMKiv/tex/texmf/fonts/opentype/public/unicodesymbols/Unicode.otf): can't find table `CFF ' == Fatal error occurred, no output PDF file produced! (I'm using This is LuaTeX, Version snapshot-0.20.2-2007121721 (Web2C 7.5.6) ConTeXt ver: 2008.01.02 14:18 MKIV fmt: 2008.1.10 int: english/english ) Hence, I saved Unicode.otf as UnicodeSymbols.otf with fontforge (saved as Opentype CFF) %%%test0012.tex \definefont[WhatEver][UnicodeSymbol at 100pt] \starttext \WhatEver Hello \stoptext now works . Do I have make some mistake ? And How can I quicky access symbols like U+25c9 ? -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Opportunity to include ConTeXt code into a LaTeXe environment
A ConTeXt user wrote a few years ago a module to use LaTeX syntax in ConTeXt, a can't find it on the web but I have a it still on my machine. Looks like a line-by-line translator. What mean is something like an emulator . -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unicode.otf
This seems to be a slight misfeature in Mark IV: I take that when opening a font file with an .otf extension, it assumes it is an OpenType font with PostScript outlines (cubic splines); when the file has a .ttf extension, it supposes there are TrueType outlines (quadratic splines). Both types of outlines are mutually exclusive and are contained in different tables of the font file (respectively, 'CFF' and 'glyf'). This is indeed a widespread convention (including FontForge's), but this font doesn't follow it, since it has TrueType outlines and an .otf extension; hence the error message (ConTeXt is looking for a CFF table and can't find it, since there is a glyf table instead). When you edited the font in Fontforge and exported it as UnicodeSymbols.otf, it was converted to a CFF-based OpenType font, so ConTeXt could use it. I consider this a bug in Mark IV (I think the problem is really in ConTeXt, not LuaTeX). It should be able to use the original font, even if this extension thing is annoying. And How can I quicky access symbols like U+25c9 ? One would think you knew that, Luigi! Just use 25c9, for example. Arthur ___ 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] Unicode.otf
On Jan 11, 2008 5:03 AM, Arthur Reutenauer [EMAIL PROTECTED] wrote: This seems to be a slight misfeature in Mark IV: I take that when opening a font file with an .otf extension, it assumes it is an OpenType font with PostScript outlines (cubic splines); when the file has a .ttf extension, it supposes there are TrueType outlines (quadratic splines). Both types of outlines are mutually exclusive and are contained in different tables of the font file (respectively, 'CFF' and 'glyf'). This is indeed a widespread convention (including FontForge's), but this font doesn't follow it, since it has TrueType outlines and an .otf extension; hence the error message (ConTeXt is looking for a CFF table and can't find it, since there is a glyf table instead). When you edited the font in Fontforge and exported it as UnicodeSymbols.otf, it was converted to a CFF-based OpenType font, so ConTeXt could use it. I consider this a bug in Mark IV (I think the problem is really in ConTeXt, not LuaTeX). It should be able to use the original font, even if this extension thing is annoying. Is there another solution other than fontforge ? I mean, I was not able to use original font without processing it with font forge. And How can I quicky access symbols like U+25c9 ? One would think you knew that, Luigi! Just use 25c9, for example. ok. I mean using by using characters.data in char-def.lua: [0x25C9] = { unicodeslot=0x25C9, category='so', description='FISHEYE' }, it should be easy with a bit \ctxlua get glyph by description . -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___