~ubuntu-branches/ubuntu/natty/luatex/natty

« back to all changes in this revision

Viewing changes to source/texk/web2c/luatexdir/ptexlib.h

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2010-12-13 23:22:59 UTC
  • mfrom: (0.2.1) (1.5.4) (4.3.12 experimental)
  • Revision ID: package-import@ubuntu.com-20101213232259-nqq2mq5z5x6qldw3
Tags: 0.65.0-1
* new upstream release
* ship two source packages as they are distributed by upstream, only
  renamed to match source package requirements. Fix debian/rules
  to install the manual pdf from the right place

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
   You should have received a copy of the GNU General Public License along
19
19
   with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
20
20
 
21
 
/* $Id: ptexlib.h 3636 2010-04-20 13:31:45Z taco $ */
 
21
/* $Id: ptexlib.h 3965 2010-11-22 12:38:45Z taco $ */
22
22
 
23
23
#ifndef PTEXLIB_H
24
24
#  define PTEXLIB_H
27
27
#  define EXTERN extern
28
28
#  include "luatex.h"
29
29
 
30
 
#   include "lib/lib.h"
 
30
#  include "lib/lib.h"
31
31
 
32
32
#  ifdef MSVC
33
33
extern double rint(double x);
34
34
#  endif
35
35
 
36
36
#  if defined(WIN32) || defined(__MINGW32__) || defined(__CYGWIN__)
37
 
extern char **suffixlist; /* in luainit.w */
 
37
extern char **suffixlist;       /* in luainit.w */
38
38
#  endif
39
39
 
40
40
 
189
189
#  include "pdf/pdflink.h"
190
190
#  include "pdf/pdflistout.h"
191
191
#  include "pdf/pdfliteral.h"
 
192
#  include "pdf/pdfluaapi.h"
192
193
#  include "pdf/pdfobj.h"
193
194
#  include "pdf/pdfoutline.h"
194
195
#  include "pdf/pdfrule.h"
200
201
 
201
202
#  include "lua/luagen.h"
202
203
 
 
204
#  include "luascripts/pdflua.h"
 
205
 
203
206
#  include "font/luatexfont.h"
204
207
#  include "font/mapfile.h"
205
208
#  include "utils/utils.h"
206
209
#  include "image/writejbig2.h"
207
210
#  include "image/pdftoepdf.h"
208
211
 
209
 
#  include "ocp/ocp.h"
210
 
#  include "ocp/ocplist.h"
211
 
#  include "ocp/runocp.h"
212
 
#  include "ocp/readocp.h"
213
 
 
214
212
#  include "lang/texlang.h"
215
213
 
216
214
#  include "tex/textcodes.h"
271
269
void free_pdf_literal(pointer p);
272
270
void show_pdf_literal(pointer p);
273
271
 
 
272
void copy_late_lua(pointer r, pointer p);
 
273
void free_late_lua(pointer p);
 
274
void show_late_lua(pointer p);
 
275
 
274
276
void load_tex_patterns(int curlang, halfword head);
275
277
void load_tex_hyphenation(int curlang, halfword head);
276
278
 
319
321
    find_image_file_callback,
320
322
    find_format_file_callback,
321
323
    find_read_file_callback, open_read_file_callback,
322
 
    find_ocp_file_callback, read_ocp_file_callback,
323
324
    find_vf_file_callback, read_vf_file_callback,
324
325
    find_data_file_callback, read_data_file_callback,
325
326
    find_font_file_callback, read_font_file_callback,
347
348
    linebreak_filter_callback,
348
349
    post_linebreak_filter_callback,
349
350
    mlist_to_hlist_callback,
 
351
    finish_pdffile_callback,
 
352
    pre_dump_callback,
350
353
    total_callbacks
351
354
} callback_callback_types;
352
355
 
354
357
extern int lua_active;
355
358
 
356
359
#  define callback_defined(a) callback_set[a]
 
360
/* #  define callback_defined(a) debug_callback_defined(a) */
 
361
 
 
362
extern int debug_callback_defined(int i);
357
363
 
358
364
extern int run_callback(int i, const char *values, ...);
359
365
extern int run_saved_callback(int i, const char *name, const char *values, ...);