ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* LuaTeX 1.0.3 announcement
@ 2017-02-18 23:34 Akira Kakuto
  0 siblings, 0 replies; 9+ messages in thread
From: Akira Kakuto @ 2017-02-18 23:34 UTC (permalink / raw)
  To: ntg-context

> Luigi has shown me a simple and useful application of ffi:

In the case of lua(jit)tex in W32TeX, which are used in
context, standard C libraries are linked statically.
Thus it is necessary to load a necessary DLL for standard
C functions, like the following meaningless example:

\starttext
$$
j0(1.765)=
\startluacode
ffi=require("ffi")
ffi.cdef[[
double _j0(double x);
]]
-- In the case of lua(jit)tex in W32TeX, C libraries are linked
-- statically. Thus it is necessary to load a necessary DLL.
local msvcrt=ffi.load("msvcrt")
tex.print(msvcrt._j0(1.765))
\stopluacode
$$
\stoptext

It is expected that Windows APIs in the following libs
can be used without loading DLL:

WSOCK32.dll
USER32.dll
ADVAPI32.dll
SHELL32.dll
GDI32.dll
KERNEL32.dll
WS2_32.dll

Best,
Akira

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread
* LuaTeX 1.0.3 announcement
@ 2017-02-17 19:57 luigi scarso
  2017-02-18  8:11 ` Henri Menke
  0 siblings, 1 reply; 9+ messages in thread
From: luigi scarso @ 2017-02-17 19:57 UTC (permalink / raw)
  To: General discussion of LuaTeX.,
	luatex development list, mailing list for ConTeXt users,
	Dev Context

==============================================================
LuaTeX Release 1.0.3  was released 2017021514
==============================================================

This is a minor upgrade and probably this version will go on texlive.
There are a couple
of fixes and additions.
- We added a few a few more helpers in the pdf namespace (like
set|get]gentounicode,
  [set|get]omitcidset and set|get]decimaldigits. Some helpers were
moved from the tex
  to the pdf namespace.

- We added a build_page_insert callback for inserts so that one can
for instance adapt
  spacing on demand.

- On the agenda has been some more control over word start and end in
hyphenation and
  this is now possible via hyphenationbounds. We also updated the
manual with some more
  details.

- An old tracker item with respect to control over spacing around math
was revived and
  has resulted in mathsurroundmode (one can wonder how useful this is).

- We improved the resolution detection in included jpeg images.


- An ffi library has been added to luatex so that it is more in sync
with luajittex. This
  permits easy and flexible loading of libraries. Our policy is to
make luatex as lean
  as possible with no dependencies and this is a step towards that.
Eventually we hope
  to support all relevant platforms.

- The glue and skip register accessors have been improved as a step in
freeing the user
  from glue spec management.

- We added a few more getters and setters for nodes in order to get a
more consistent
  set.

- Irrelevant fields have been removed from the status table and an
engine identifier
  has been added.

- Of course there are numerous fixes and improvements but none of
these have consequences
  for the interfaces.

- The manual has been updated but will be improved over time.




Have fun,
Hans, Luigi, Taco
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-02-18 23:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-18 23:34 LuaTeX 1.0.3 announcement Akira Kakuto
  -- strict thread matches above, loose matches on Subject: below --
2017-02-17 19:57 luigi scarso
2017-02-18  8:11 ` Henri Menke
2017-02-18  8:42   ` luigi scarso
2017-02-18 13:27     ` Henri Menke
2017-02-18 13:52       ` Hans Hagen
2017-02-18 13:59       ` luigi scarso
2017-02-18 16:03         ` Alan Braslau
2017-02-18 14:08       ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).