diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-09-16 15:53:42 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-09-16 15:53:42 +0200 |
commit | c161b7d6fe142231346cc1844e6e27c0ab7718c1 (patch) | |
tree | 3fd877b8986137703e987e4651a2db8e946a0f72 /source/luametatex/source/tex/texadjust.h | |
parent | e94fa4dc30ec28a6727aa85e17aaac18b76aeadb (diff) | |
download | context-c161b7d6fe142231346cc1844e6e27c0ab7718c1.tar.gz |
2022-09-16 14:41:00
Diffstat (limited to 'source/luametatex/source/tex/texadjust.h')
-rw-r--r-- | source/luametatex/source/tex/texadjust.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/source/luametatex/source/tex/texadjust.h b/source/luametatex/source/tex/texadjust.h new file mode 100644 index 000000000..19c116f26 --- /dev/null +++ b/source/luametatex/source/tex/texadjust.h @@ -0,0 +1,36 @@ +/* + See license.txt in the root of this project. +*/ + +/*tex More will move here. */ + +# ifndef LMT_ADJUST_H +# define LMT_ADJUST_H + +typedef enum saved_adjust_items { + saved_adjust_item_location = 0, + saved_adjust_item_options = 1, + saved_adjust_item_index = 2, + saved_adjust_item_attr_list = 3, + saved_adjust_item_depth_before = 4, + saved_adjust_item_depth_after = 5, + saved_adjust_n_of_items = 6, +} saved_adjust_items; + +extern void tex_initialize_adjust (void); +extern void tex_cleanup_adjust (void); + +extern void tex_run_vadjust (void); +extern void tex_finish_vadjust_group (void); + +extern int tex_valid_adjust_index (halfword n); + +extern void tex_inject_adjust_list (halfword list, int obeyoptions, halfword nextnode, const line_break_properties *properties); + +extern void tex_adjust_passon (halfword box, halfword adjust); +extern void tex_adjust_attach (halfword box, halfword adjust); + +extern halfword tex_prepend_adjust_list (halfword head, halfword tail, halfword adjust); +extern halfword tex_append_adjust_list (halfword head, halfword tail, halfword adjust); + +# endif
\ No newline at end of file |