123 reputation
5
bio website users.aims.ac.za/~bruno
location France
age 24
visits member for 3 years, 4 months
seen 21 hours ago

I've been using LaTeX more and more in the past nine years, initially typesetting solutions to maths problems, later taking notes in class for more than a year.

A few months back I had some ideas about writing a package. I was (un?)fortunate enough to find a copy of the TeXbook in my school's library. Since then, I have been hooked by the strange style of programming that TeX macros provide.

This has led me to become a member of the LaTeX3 team in May 2011. This was an exciting time to join the project: the team improved consistency of the expl3 language provided by l3kernel considerably, and we have seen people starting to code in the language. I have focussed in making the l3kernel code as fast and bullet-proof as possible (two often conflicting aims).

Current LaTeX projects:

  • Get l3fp to reach full IEEE-754 (2008) compliance. This module, which I am quite proud of, lets us parse expandably floating point expressions, in a way similar to eTeX's \the\numexpr...\relax for integers. The main missing parts are signalling NaNs and subnormal numbers, as well as providing functions to control the rounding mode.

  • Enrich l3fp with more functions, such as atan.

  • Clean up l3regex, the LaTeX3 regular expression engine, marking it as stable. In particular, add functions to act on a file, sed-like.

  • Write a PEG parser operating on strings. This could in principle be done expandably, but I am not yet sure whether it is necessarily useful.

  • Write a C compiler (this is not for LaTeX3, mostly to learn how compilers work). Having a full C-to-TeX compiler would immediately provide access to many other languages from TeX, since many compilers are written in C. Of course, the code would run rather slowly, and much slower than using LuaTeX.

  • Enable TeX to produce text output instead of pdf. This could be done either by using LuaTeX, or by modifying an engine, or by emulating TeX within TeX (which I have partly done).

  • Help with debugging macros either by providing a graphical interface to visualize expansion, or (easier, and partly done) by performing steps of expansion or assignments one by one and showing partial results with \typeout within TeX.

  • Understand how to best generalize LaTeX3's \tl_expandable_lowercase:n to do more general token-list transformations expandably. This might combine with the idea of a parser.

  • Perform partial macro expansion in a file, which would distinguish between user-defined macros and macros defined in a package.

  • Write an os-independent Makefile-like Lua program.

  • A few dormant packages, including the one that brought me to the TeX path two years ago.


Mar
19
awarded  Scholar
Mar
19
accepted Forcing GNU make to run commands in order
Mar
17
comment Forcing GNU make to run commands in order
@D4RIO: perhaps add the > /dev/null 2>&1 version to your answer to make it complete?
Mar
17
comment Forcing GNU make to run commands in order
@Gilles: I tried to be clever, thinking "my $SHELL is bash", but well. Indeed, \bin\sh is a symlink to \bin\dash. Mystery (essentially) solved. Thank you very much.
Mar
17
comment Forcing GNU make to run commands in order
@Gilles: /bin/bash is not a symbolic link. So it's kind of odd that &> doesn't work. But I'll live with that unknown: the maintainer is happy to change to the more canonical form > /dev/null 2>&1.
Mar
17
comment Forcing GNU make to run commands in order
@D4RIO: I'll propose that to the package maintainer. By the way, echo $SHELL yields /bin/bash, and bash --version gives 4.1.5(1)-release (i486-pc-linux-gnu)
Mar
17
comment Forcing GNU make to run commands in order
@Gilles: <noob question> how do I know what shell I'm using? And is there a protable alternative?
Mar
17
awarded  Supporter
Mar
17
comment Forcing GNU make to run commands in order
Thank you for your quick answer. That seems reasonable. Is it possible to avoid changing the Makefile? (I doubt it) I'll ask the maintainers of the Makefile why they did it that way and report back here.
Mar
17
awarded  Editor
Mar
17
revised Forcing GNU make to run commands in order
Added the terminal output
Mar
17
comment Forcing GNU make to run commands in order
I would agree... But it does :-s.
Mar
17
awarded  Student
Mar
17
asked Forcing GNU make to run commands in order
Mar
17
awarded  Autobiographer