[tex-live] laulatex quiting: fix your writable cache path

Taco Hoekwater taco at elvenkind.com
Wed Jun 26 15:54:05 CEST 2013


On 06/26/2013 02:34 PM, Peter Breitenlohner wrote:
> On Wed, 26 Jun 2013, Akira Kakuto wrote:
>
>> In ptexlib.h, there are
>>
>> #ifdef HAVE_CONFIG_H
>> #include <w2c/config.h>
>> #endif
>>
>> and
>>
>> w2c/config.h includes w2c/c-auto.h.
>
> Hi Taco,
>
> as far as I can see, it is necessary that "ptexlib.h" is always the
> first file to be included.  That is true most of the time but occasionally

In that case <assert.h> is apparently the culprit, and the previously
proposed patch should be altered to look like this instead:

Index: source/texk/web2c/luatexdir/image/writejpg.w
===================================================================
--- source/texk/web2c/luatexdir/image/writejpg.w	(revision 4639)
+++ source/texk/web2c/luatexdir/image/writejpg.w	(working copy)
@@ -23,8 +23,8 @@
      "$Id$"
      "$URL$";

+#include "ptexlib.h"
  #include <assert.h>
-#include "ptexlib.h"
  #include "image/image.h"
  #include "image/writejpg.h"


> BTW: Do you really need the
>    #  define EXTERN extern
> in ptexlib.h before you include "luatex.h"?

Apparently that does nothing any more.

Best wishes,
Taco




More information about the tex-live mailing list