Re: [Dev-luatex] Luatex 1.0.0 announcement

2016-09-28 Thread Graham Douglas
On 28/09/2016 11:00, dev-luatex-requ...@ntg.nl wrote: > Message: 3 > Date: Tue, 27 Sep 2016 20:37:30 +0200 > From: luigi scarso > To: "General discussion of LuaTeX." , luatex > development list , mailing list for ConTeXt users > , Dev Context > Subject: [Dev-luatex] Luatex 1.0.0 anno

[Dev-luatex] Possible typo/error on page 198 of manual for beta 0.88?

2016-01-18 Thread Graham Douglas
Hi On page 198 of the reference manual, I think the line local t = token("relax") should read local t = token.create("relax") The following (using LuaTeX beta 0.88, compiled on Windows): \directlua{ local t = token("relax") } throws the error "attempt to call global 'token' (a table value)

[Dev-luatex] Hallelujah! Success building LuaTeX 0.80 on Windows

2015-06-18 Thread Graham Douglas
Dear All Apologies for recent noise over my inability to build LuaTeX 0.80 on Windows. I finally got LuaTeX 0.80 to build but had to re-install MinGW/MSYS: MinGW from here: http://mingw-w64.yaxm.org/doku.php/download/win-builds MSYS from here: http://sourceforge.net/projects/mingw-w64/files/Ext

Re: [Dev-luatex] Question: Have any Windows users managed to build 0.80?

2015-06-18 Thread Graham Douglas
On 18/06/2015 11:00, dev-luatex-requ...@ntg.nl wrote: >> I think that I can check a win32/mingw build, > but I need some help on how to install the right toolchain --- what to > install from where and so on. > Cross compiling from linux works ok, but I think that some things (i.e. > makinfo) are

Re: [Dev-luatex] Question: Have any Windows users managed to build 0.80?

2015-06-17 Thread Graham Douglas
On Wed, Jun 17, 2015 at 5:53 PM, Ulrike Fischer http://www.ntg.nl/mailman/listinfo/dev-luatex>> wrote: >/ Am Wed, 17 Jun 2015 13:33:21 +0100 schrieb Graham Douglas: />/ />/ > I wondered if anyone else has managed to build 0.80 on Windows />/ />/ My texlive 2015 luatex says

[Dev-luatex] Question: Have any Windows users managed to build 0.80?

2015-06-17 Thread Graham Douglas
Hi All Just a quick question to other Windows users. Using MinGW32 and Windows 7 (64-bit) I can build LuaTeX version 0.79.3.1 without any problems but version 0.8 will not build. Luigi very provided some suggestions offline but before I spend time delving into darker corners (well, dark to me an

[Dev-luatex] Release 0.8 build failed on Windows

2015-06-14 Thread Graham Douglas
Hi All Platform: Windows 7 Ultra (64-bit) using MinGW32 I just checked out the code for version 0.8 and tried to build LuaTeX on Windows but it failed. The final error message is as follows (some other errors are listed below). Hoping that the details below are helpful to track the issues. Warm

Re: [Dev-luatex] Luatex 0.80.0 announcement (luigi scarso)

2015-06-14 Thread Graham Douglas
On 14/06/2015 11:00, dev-luatex-requ...@ntg.nl wrote: > Today's Topics: > >1. Luatex 0.80.0 announcement (luigi scarso) > > > -- > > Message: 1 > Date: Sat, 13 Jun 2015 14:54:38 +0200 > From: luigi scarso > To: "General discus

[Dev-luatex] Building Lua as a DLL (reference manual page 32)

2014-12-17 Thread Graham Douglas
Hi All During one of my periodic re-reads of the LuaTeX Reference Manual (for beta 0.79.2) I was interested to read the following on page 32: "NOTE: Also in LuaTEX 0.74.0 (this is a change in Lua 5.2), loading dynamic Lua libraries will fail if there are two Lua libraries loaded at the same time

Re: [Dev-luatex] Compilation failure under MinGW (revision 4964)

2014-03-29 Thread Graham Douglas
Hi Taco Many thanks to you and Luigi for fixing this so quickly, I'm happy to confirm that revision 4973 compiled perfectly. Cheers Graham On 29/03/2014 07:55, Taco Hoekwater wrote: > On 03/28/2014 05:54 PM, Graham Douglas wrote: >> Hi All >> >> I just updated to revis

[Dev-luatex] Compilation failure under MinGW (revision 4964)

2014-03-28 Thread Graham Douglas
Hi All I just updated to revision 4964 Under MinGW I ran ./build-luatex.sh Windows 7 Ultimate 64-bit using MinGW (32-bit) I get: CC libluatex_a-luanode.o ../../../source/texk/web2c/luatexdir/lua/luanode.w:63:1: error: conflicting type s for 'lua_node_filter_s' ../../../source/texk/web2

[Dev-luatex] Building luajittex.exe on Windows (via MinGW)

2014-02-05 Thread Graham Douglas
Hi All I just tried to build the experimental release --- using buildjit.sh. I used revision 4763, running buildjit.sh under Windows 7, 64-bit and received the following end-of-build report: E:\MinGW\bin\strip.exe: 'buildjit/texk/web2c/luajittex.exe': No such file ls: buildjit/texk/web2c/luajitt

[Dev-luatex] Contributions to documentation?

2013-09-08 Thread Graham Douglas
Hi All Using Visual Studio I've been single-stepping through the FontForge code and luafflib.c code to better understand OpenType font loading in LuaTeX and would be interested to suggest some additions/contributions to the LuaTeX reference manual --- to expand on descriptions/definitions in some

Re: [Dev-luatex] tounicode.w: Stack overflow on Windows 7 (and one possible fix)

2013-09-02 Thread Graham Douglas
On 03/09/2013 07:01, Fabrice Popineau wrote: > Have you tried to enlarge the default stack size ? > It should solve the problem. > However, if the arrays can be static, then it is much more efficient. > > Fabrice > > Hello Fabrice Yes, I increased the default stack size this morning and it does

Re: [Dev-luatex] tounicode.w: Stack overflow on Windows 7 (and one possible fix)

2013-09-02 Thread Graham Douglas
Hi Sure, I agree, dynamically allocating the arrays would probably be preferable. Best Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/mailman/listinfo/dev-luatex

[Dev-luatex] tounicode.w: Stack overflow on Windows 7 (and one possible fix)

2013-09-02 Thread Graham Douglas
Hi All I just completed "porting" LuaTeX to a native Windows build (Windows 7 Ultimate 64-bit) using Visual Studio. I hit a stack overflow error when entering the following function: // #line 456 "tounicode.w" int write_cid_tounicode(PDF pdf,fo_entry*fo,internal_font_number f) { int range_size[

[Dev-luatex] Nice Lua code library

2012-12-23 Thread Graham Douglas
Hi All Firstly, my best wishes to the LuaTeX team during this feastive season. Just a short note to share the link to a nice Lua library called Penlight. https://github.com/stevedonovan/Penlight Among the features it provides is a particularly nice table dumper --- in the pl.pretty module. Best

[Dev-luatex] Appearance of cairo?

2012-12-04 Thread Graham Douglas
Hi Taco et al I just updated to r4488 and of course noticed the appearance of the cairo/pixman libraries. Just out of curiosity, I'm interested to know if this is pointing to new features/functionality and the general roadmap for using these libaries. Are these going to be used in MPlib only? Bes

Re: [Dev-luatex] [1] gdb reports SIGSEGV, Segmentation fault in tex_hashpairs () [2] size of debug executable

2012-11-17 Thread Graham Douglas
A little more information on the SIGSEGV == (gdb) run --fmt=lplain $TEXMF/hash.tex Starting program: c:\msys\1.0\trunk\build\texk\web2c\luatexdebug.exe --fmt=lplain $TEXMF/hash.tex [New Thread 8068.0x11c0] This is LuaTeX, Version beta-0.71.0-2012081213 (c:/msys/1.

[Dev-luatex] [1] gdb reports SIGSEGV, Segmentation fault in tex_hashpairs () [2] size of debug executable

2012-11-17 Thread Graham Douglas
Hi nder Windows Vista, latest r4485 build of LuaTeX. I'm trying to use tex.hashtokens(), following the example in the manual I placed the following code into a file called hash.tex === hash.tex \directlua{ for i,v in pairs (tex.hashtokens()) do print(i) end } === Running h

Re: [Dev-luatex] Building LuaTeX under Windows using the Netbeans IDE [hope not too off-topic]

2012-11-12 Thread Graham Douglas
> ok, let's see if it's usable on my old box . Great, I would appreciate benefiting from your expertise. Many thanks. > Anyway do you know WXDev-C++ > http://en.wikipedia.org/wiki/WxDev-C%2B%2B > >? Well, I do now! Thanks again. Graham ___

Re: [Dev-luatex] Building LuaTeX under Windows using the Netbeans IDE [hope not too off-topic]

2012-11-12 Thread Graham Douglas
Hi Luigi I've only just installed it (on a fairly low-spec Visa machine) and built some of the sample projects so I can't reply with any real authority. Personally, I'd probably be OK with it being resource hungry if I could use it as an IDE to single-step through code (as I do with Visual Studio)

[Dev-luatex] Building LuaTeX under Windows using the Netbeans IDE [hope not too off-topic]

2012-11-12 Thread Graham Douglas
Dear All Apologies in advance if this is too off-topic for the list. For a couple of years I've been building LuaTeX under Windows using MSYS/MinGW --- simply running build.sh from the shell. Works well. However, I would really like to use an IDE to step through code and understand more about the

Re: [Dev-luatex] Error building revision 4484 under Windows Vista

2012-11-09 Thread Graham Douglas
Just to confirm, r4485 builds perfectly under Windows Vista. Now, off to play with pdfscanner... Cheers Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/mailman/listinfo/dev-luatex

Re: [Dev-luatex] Error building revision 4484 under Windows Vista

2012-11-09 Thread Graham Douglas
Shame on me for not grabbing the latest revision :-) Many thanks Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/mailman/listinfo/dev-luatex

[Dev-luatex] Error building revision 4484 under Windows Vista

2012-11-09 Thread Graham Douglas
Hi All I just tried to build revision 4484 under Windows Vista and experienced an error: ... /build/texk/web2c/../../../source/texk/web2c/luatexdir/lua/luastuff.w:269: undefined reference to `luaopen_pdfscanner' Some build log details are listed below. Warm regards to all Graham [snip] l

Re: [Dev-luatex] Build failure of 0.71 and EnumFonts

2012-02-17 Thread Graham Douglas
Thanks Luigi, definitely would be good to see this code excluded from the build. Till then, I'll live with my hideous hack! Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/mailman/listinfo/dev-luatex

Re: [Dev-luatex] Build failure of 0.71 and EnumFonts

2012-02-17 Thread Graham Douglas
No, ignore that idea. I simply commented out the two calls to EnumFonts and LuaTeX built, not surprising and definitely not a solution. I'm assuming that this font enumeration code is not actually used in LuaTeX? Graham ___ dev-luatex mailing list dev

[Dev-luatex] Build failure of 0.71 and EnumFonts

2012-02-17 Thread Graham Douglas
Hi I just tried to build the latest LuaTeX and experienced the same build failure reported by Paul Isambert: http://tug.org/pipermail/luatex/2011-October/003250.html I checked the Windows API documentation and it says about "EnumFonts" int EnumFonts( __in HDC hdc, __in LPCTSTR lpFaceName

Re: [Dev-luatex] \n bug in beta 0.67?

2011-04-23 Thread Graham Douglas
Hi Martin Apologies for lack of details --- it was a 20+ page file so I'll to reduce to a mimimum test case Version is beta-0.67.0-2011042323 (rev 4193) Cheers Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/mailman/listinfo/

[Dev-luatex] \n bug in beta 0.67?

2011-04-23 Thread Graham Douglas
Hi All I just built beta 0.67 using Windows Vista and think there is a small bug. I built a PDF previously working under 0.66 which fails to dispay in Acrobat when built with 0.67 (displays OK with Evince, which is more forgiving...) Running under 0.67 with \pdfcompresslevel =0 gives the followi

Re: [Dev-luatex] HarfBuzz [slightly off-topic]

2011-02-03 Thread Graham Douglas
> HarfBuzz provide an OpenType layout engine (Graphite support existed at > some point, but were removed to be rewritten, AAT is planned in some > distant future) but no bidi (the client have to do it in its own or use > other libraries like fribidi). > > HarfBuzz workflow is usually 1) loading a

[Dev-luatex] HarfBuzz [slightly off-topic]

2011-02-01 Thread Graham Douglas
Hi to all Apologies in advance for the slightly off-topic nature of this post. I've been reading about HarfBuzz which certainly looks to be an interesting project. From the project page there is a link to an article titled "State of Text Rendering" by Behdad Esfahbod http://behdad.org/text/ Wit

[Dev-luatex] Just to say very best wishes + Happy Christmas

2010-12-25 Thread Graham Douglas
Hi Just a short note to wish the LuaTeX team and all list members a very happy festive season and another successful year for LuaTeX development. Best wishes to all Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/mailman/listin

Re: [Dev-luatex] dev-luatex Digest, Vol 59, Issue 8

2010-12-11 Thread Graham Douglas
Hi Taco Just built revision 4032 and so far no problems with examples I can find, will keep testing. One possibility for getting a good collection of samples, perhaps, is the book I just discovered by Herbert Voss --- devoted to the subject of tables: Typesetting Tables with Latex publication da

[Dev-luatex] [***SPAM***] Re: [***SPAM***] \underbrace and \overbrace strangeness with Cambria Math

2010-11-30 Thread Graham Douglas
Unrelated but why are my mails tagged with [***SPAM***]? --- do you have a special filter for my posts ;-) Cheers Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/mailman/listinfo/dev-luatex

[Dev-luatex] [***SPAM***] Re: Traversing node list structures

2010-11-28 Thread Graham Douglas
Huge thanks to everyone for their help and advice. Much appreciated. Now, off to do those exercises... ;-) Warm wishes Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/mailman/listinfo/dev-luatex

[Dev-luatex] [***SPAM***] Re: [***SPAM***] Traversing node list structures

2010-11-28 Thread Graham Douglas
Hans Hagen wrote: On 28-11-2010 7:40, Graham Douglas wrote: Thanks Hans. Sure, I've been doing this to generate the GraphViz diagrams etc plus hooking into various callbacks etc. What I don't yet quite understand is the correct navigation or link path to follow through the node stru

[Dev-luatex] [***SPAM***] Re: [***SPAM***] Traversing node list structures

2010-11-28 Thread Graham Douglas
Thanks Hans. Sure, I've been doing this to generate the GraphViz diagrams etc plus hooking into various callbacks etc. What I don't yet quite understand is the correct navigation or link path to follow through the node structures and the best way to access or calculate glue (set) values for thin

[Dev-luatex] [***SPAM***] Traversing node list structures

2010-11-28 Thread Graham Douglas
Hi Taco Apologies if this is at all off-topic but I'd like to find out if the following is possible... Suppose I have some text in a \vbox {} say \setbox0 = \vbox{Some text that will be broken into lines...} I would like to access the node list of this \vbox and walk the node tree to emit (Pos

Re: [Dev-luatex] Hooking into the page builder?

2010-11-23 Thread Graham Douglas
Taco Hoekwater wrote: On 11/22/2010 03:54 PM, Graham Douglas wrote: Hi All I'd like to use GraphViz to create a graph of the entire node structure of a (simple) page. Keeping the page simple and just for experimentation. Not trying to change any values of node lists, just to output value

[Dev-luatex] Hooking into the page builder?

2010-11-22 Thread Graham Douglas
Hi All I'd like to use GraphViz to create a graph of the entire node structure of a (simple) page. Keeping the page simple and just for experimentation. Not trying to change any values of node lists, just to output values and structures etc. Before I get too far, is it safe/possible to do this?

[Dev-luatex] Port of GraphViz and LuaGRAPH toolkit to Windows

2010-11-21 Thread Graham Douglas
Hi All Apologies in advance for the long e-mail... I'm wondering if any other Windows users/developers would find the following helpful/useful/interesting... if so I'd be delighted to share the code etc for others to explore --- and improve! Subject to making sure that distributing this work i

Re: [Dev-luatex] [***SPAM***] Re: Luatex beta-0.64.0 --- Windows build failure?

2010-11-13 Thread Graham Douglas
Hi Harmut Just to confirm that the latest update has fully fixed the Windows build problem I experienced, many thanks indeed. All the best Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/mailman/listinfo/dev-luatex

[Dev-luatex] [***SPAM***] Re: Luatex beta-0.64.0 --- Windows build failure?

2010-11-12 Thread Graham Douglas
> -- > libtool: link: gcc -Wall -Wunused -Wimplicit -Wreturn-type > -Wdeclaration-after-s > tatement -Wno-unknown-pragmas -Wmissing-prototypes -Wmissing-declarations -g > -O2 > -o txt2zlib.exe txt2zlib-txt2zlib.o -lz lib/lib.a > /luatexbeta/build/texk/kpath > sea/.libs/libkpathsea.a > c:\

[Dev-luatex] Luatex beta-0.64.0 --- Windows build failure?

2010-11-12 Thread Graham Douglas
Hi Taco Just tried to build 0.64 beta on Windows Vista but it failed. Extract of build log below. Any ideas what is causing this and what I can do to fix it? Many thanks and best wishes Graham -- libtool: link: gcc -Wall -Wunused -Wimplicit -Wreturn-type -Wdeclaration-after-s tatement -

[Dev-luatex] [***SPAM***] Re: Compiling LuaTeX on Windows

2010-09-09 Thread Graham Douglas
luigi scarso wrote: On Thu, Sep 9, 2010 at 8:23 PM, Graham Douglas wrote: luigi scarso wrote: Thank you Graham. I have found the mingw installer http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20100831/mingw-get-inst-20100831.exe

[Dev-luatex] Compiling LuaTeX on Windows

2010-09-09 Thread Graham Douglas
luigi scarso wrote: I'm newby on windows 7, but I would like to compile luatex with MingW32 -- and I need help . Hi Luigi! Here's what I have under Windows Vista (1) I have MSYS installed under C:\msys\1.0\bin which I think is the default install location (2) The "bash shell" is run v

[Dev-luatex] Documentation update/suggestion

2010-09-08 Thread Graham Douglas
Hi Taco Firstly, thank you and the team for the continued stream of updates etc to LuaTeX. I was wondering if the mplib section of the LuaTeX Reference should be updated to reflect that the MPlib library no longer uses mem files --- according to a post you made recently: - Perhaps i

Re: [Dev-luatex] Revision 3779 build fails?

2010-08-03 Thread Graham Douglas
> Please try again; r3791 should compile (and hopefully work) without fontconfig. Many thanks Martin, happy to confirm that it now builds fine for me too on Vista. Best wishes Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/ma

[Dev-luatex] Revision 3779 build fails?

2010-08-01 Thread Graham Douglas
Hi Taco I have just downloaded revision 3779 and hit a build failure. Below is the (hopefully) relevant section of the build process log. As usual, Windows Vista, MINGW32, build.sh --nostrip Seems to have been triggered by g:/LuaTeX/build/libs/poppler/poppler/GlobalParams.h:41:35: fontconfig

Re: [Dev-luatex] Revision 3761 compile failing on Windows Vista

2010-07-28 Thread Graham Douglas
Hi Taco Here's the very start of the errors --- indeed it is something to do with config.h as you suspected. Hope this helps All the best Graham === In file included from ../../../source/texk/web2c/mplibdir/tfmin.w:46: ../../../source/texk/web2c/w2c/config.h:1: er

Re: [Dev-luatex] Revision 3761 compile failing on Windows Vista

2010-07-28 Thread Graham Douglas
Hi Taco Yes, a stupid copy error on my part! Builds OK, as Pawel confirmed. Thanks, as always Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/mailman/listinfo/dev-luatex

Re: [Dev-luatex] Revision 3761 compile failing on Windows Vista

2010-07-28 Thread Graham Douglas
Cheers Pawel, Taco is of course right that I must have made a stupid copying error, rebuilding now --- thanks for confirming this works. Cheers Graham Paweł Jackowski wrote: After copying luatex\trunk\source\texk\web2c\config.h to luatex\trunk\source\texk\web2c\w2c\config.h build w

Re: [Dev-luatex] Revision 3761 compile failing on Windows Vista

2010-07-28 Thread Graham Douglas
Hi Taco Unfortunately, no success with copying config.h, the build failed again. I'll post the mimimal log extract as soon as the current build stops. Best wishes Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/mailman/listinf

Re: [Dev-luatex] Revision 3761 compile failing on Windows Vista

2010-07-28 Thread Graham Douglas
anks Taco Graham taco wrote: Graham Douglas wrote: Hi Taco I just updated my local snapshot to revision 3761 from http://foundry.supelec.fr/svn/luatex/trunk (using Tortoise SVN) When trying to compile under MINGW32 using the command line build.sh --nostrip I get the errors shown below.

[Dev-luatex] Revision 3761 compile failing on Windows Vista

2010-07-28 Thread Graham Douglas
Hi Taco I just updated my local snapshot to revision 3761 from http://foundry.supelec.fr/svn/luatex/trunk (using Tortoise SVN) When trying to compile under MINGW32 using the command line build.sh --nostrip I get the errors shown below. Apologies but I've copied the screen info as completely

Re: [Dev-luatex] Problems with luatextra, luaotfload etc

2010-06-17 Thread Graham Douglas
Hmm, this is probably the issue luatex-compat.sty /x{ /luatexb...@directlua{tex.enableprimitives('luatex', #1)}} ---> /x{ /luatexb...@directlua{tex.enableprimitives('luatex', {'#1'})}} Seems to fix it. Graham ___ dev-luatex mailing list dev-l

Re: [Dev-luatex] Problems with luatextra, luaotfload etc

2010-06-16 Thread Graham Douglas
Hi Patrick Many thanks. This same issue has stymied trying to use fontspec too. I'll try to post the question elsewhere to see if the authors can shed further light on this. Trying to figure this out is a bit beyond my expertise, sadly :-( Many thanks Graham _

Re: [Dev-luatex] Problems with luatextra, luaotfload etc

2010-06-12 Thread Graham Douglas
Hi, many thanks, sure, it is purely a test/harness environment for development work + experimentation, hand built from scratch. At some point I'll rewrite/restructure everything. I'll try your suggestion, many thanks. I did peruse the docs but clearly missed that detail somewhere along the line!!

[Dev-luatex] Problems with luatextra, luaotfload etc

2010-06-12 Thread Graham Douglas
Dear All I hope this question is OK to ask on this list. Quick background: I routinely compile LuaTeX on Windows Vista and use my own runtime environment (via texmf.cnf + environment variables etc ) which is not based on a standard TDS --- purely a test environment. Basically it works OK. My

[Dev-luatex] Perplexing behaviour with \directlua and tex.print

2010-05-16 Thread Graham Douglas
Dear All I am getting some strange behaviour with the following minimal example via LaTeX with LuaTeX \pdfoutput=1 \documentclass[12pt]{article} \begin{document} \directlua{tex.print("{\it abc}")} \end{document} I run the above and get a PDF which displays the following text protect protect pr

Re: [Dev-luatex] Running CWEAVE.exe and CTANGLE.exe on MPlib sources (under Windows)

2010-05-05 Thread Graham Douglas
<> Taco wrote: > > Yes, these are identical so you oculd as well use those. > > Best wishes, > Taco > > > -- > > ___ > dev-luatex mailing list > dev-luatex@ntg.nl > http://www.ntg.nl/mailman/listinfo/dev-luatex > > > End of

[Dev-luatex] Running CWEAVE.exe and CTANGLE.exe on MPlib sources (under Windows)

2010-05-04 Thread Graham Douglas
Hi All I guess one is for Taco... Hope OK to ask this here. I'd like to build MPlib as a DLL using the discussion you posted here: [reproduced below] http://www.dw.tug.org/pipermail/metapost/2010-April/001917.html (reason: to probe a bit more into the btex...etex + makempx stuff) (For this bui

Re: [Dev-luatex] MPlib and btex...etex

2010-05-02 Thread Graham Douglas
Hi Patrick You were quite right. In the end I puzzled out a solution that (seemed) to work. I got a new mem file that lets me build bigger mp files, many thanks. mp = mplib.new ( { hash_size = 1000, main_memory = 1000, param_size = 1000, ini_version=true,

Re: [Dev-luatex] MPlib and btex...etex

2010-05-02 Thread Graham Douglas
Hi Graham, Patrick wrote: > ! MetaPost capacity exceeded, sorry [main mem > ory size=1000]. I might be wrong, but I think that this message is incorrect. It states the current main memory size, but not the one that is in effect. > > > mp = mplib.new ( { > hash_size = 1000, >

Re: [Dev-luatex] MPlib and btex...etex

2010-05-02 Thread Graham Douglas
taco wrote: Graham Douglas wrote: Many thanks. What would I need to implement in order to include TeX material in mp code? I guess Hans has written some wizardry for getting this to work in ConTeXt? Any pointers would be appreciated. Have a look at the mlib-pps.* files from the context

Re: [Dev-luatex] MPlib and btex...etex

2010-05-01 Thread Graham Douglas
taco wrote: Graham Douglas wrote: Hi All Can anyone tell me how MPlib now handles btex...etex so that I can try to figure out why it might be failing. I'm not sure but it may be that some calls to making temporary files are failing, but that's just a guess. The current MPlib is n

[Dev-luatex] MPlib and btex...etex

2010-05-01 Thread Graham Douglas
Hi All I have a quick question about the behaviour of btex...etex. The code below works perfectly until I include any mp code which make use of btex...etex. I keep getting errors like this: >> mapmax.mp >> mapmax.mpx ! Unable to make mpx file. l.383 l abel.bot(btex $\reals$

Re: [Dev-luatex] In need of some catcode wizardry...

2010-04-18 Thread Graham Douglas
Hi Patrick "try tex.print(-2,fname). -2 is a "safe" catcode table." Yes, perfect thank you :-) ---> I just slapped myself very hard... sigh, reading the manual properly would have told me that... I had been trying tex.print(fname,-2) ==> I must get some new glasses ... DOH++ Thanks again Pat

[Dev-luatex] In need of some catcode wizardry...

2010-04-18 Thread Graham Douglas
Hi All I hope it's OK to ask this here. I've implemented a Windows version of the Directory Iterator as described in "Programming in Lua" http://www.lua.org/pil/29.1.html and can call it with code like this \directlua{ require "luadir" for fname in luadir.dir("directory") do tex.print(fnam

Re: [Dev-luatex] Possible issue with input from external libraries (page break problem?)

2010-04-14 Thread Graham Douglas
Hi Taco Taco Hoekwater wrote: Hi Graham, Taco Hoekwater wrote: I don't think this is supposed to happen, but please send me the pdf for a closer look and, if possible, a source to go with it that uses a lua library that is available to me. I am on linux, but lxp should work for me as well. I

[Dev-luatex] Possible issue with input from external libraries (page break problem?)

2010-04-13 Thread Graham Douglas
Hi Taco I have been experimenting with external C libraries by writing Lua bindings under Windows --- DLLs. I have noticed something I'd like to ask about --- to know if it is expected behavior. When these DLLs return text I'm doing a lot of tex.write(...) of the data returned from the DLL func

Re: [Dev-luatex] Fatal crash with LuaTeX if an encoding file is missing

2010-04-05 Thread Graham Douglas
Taco Hoekwater wrote: Hi Graham, Graham Douglas wrote: Hi Taco See attached screenshot. This is what triggered me to think it was more than just a fatal error? Maybe not then. In the case of fatal errors (of the kind below, that remove the pdf document as well) luatex will call '

Re: [Dev-luatex] Fatal crash with LuaTeX if an encoding file is missing

2010-04-05 Thread Graham Douglas
<> Hi Taco I sent you a screenshot showing how Windows Vista responded with a "Program Stopped Working" dialog box. I just wondered if this was indicating a more serious error and thought it was worth raising. Cheers Graham ___ dev-luatex mailing li

[Dev-luatex] Fatal crash with LuaTeX if an encoding file is missing

2010-04-04 Thread Graham Douglas
Hi I have experienced a fatal crash with LuaTeX if an encoding file is missing: I am using debug versions (built with --nostrip) Reproducible in This is LuaTeX, Version beta-0.53.0-2010032719 This is LuaTeX, Version beta-0.60.0-2010040417 --- both are debug versions compiled from source All

Re: [Dev-luatex] Building a minimal luatex runtime environment: DVI is OK but PDF is failing

2010-04-02 Thread Graham Douglas
Patrick Gundlach patrick at gundla.ch on Fri Apr 2 18:31:48 CEST 2010 very kindly wrote: == I assume that your problem might be due to a missing/incomplete/... pdftex.map. If you repeat your steps with pdftex, does it work OK? What does KPATHSEA_DEBUG tell you about loading pdftex.ma

Re: [Dev-luatex] Building a minimal luatex runtime environment: DVI is OK but PDF is failing

2010-04-02 Thread Graham Douglas
Hi Patrick, I'll take a look at your suggestion --- and thank you *very much* for taking the time to run through the steps. Much appreciated. I'll report back shotly. All the best Graham ___ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg

[Dev-luatex] Building a minimal luatex runtime environment: DVI is OK but PDF is failing

2010-04-02 Thread Graham Douglas
failing but I have a full collection of Type1 Computer Modern fonts installed. Would the list members be able to help me pinpoint the problem with the PDF output? What additional information do you need from me that would help you trace th