Reputation
3,725
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
10 25
Newest
 Necromancer
Impact
~66k people reached

11m
comment Is it possible to view the latex code after Lua expansion is made?
does the above code compile ok for you? Here is screen shot showing the error I get. I copied the code as is. !Mathematica graphics fyi, I am using TL 2015 on Linux mint.
38m
revised Reducing fraction using LaTeX 3
clean code
1h
answered Reducing fraction using LaTeX 3
1h
comment Is it possible to view the latex code after Lua expansion is made?
Thanks. fyi, there seems to be some typo somewhere? I get this error on TL 15 lualatex foo1.tex This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238) restricted \write18 enabled. (./foo1.tex LaTeX2e <2015/01/01> Babel <3.9l> and hyphenation patterns for 79 languages loaded. (/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2015/texmf-dist/tex/latex/base/size10.clo)) (./foo1.aux) > \begin {tabular}{|l|l|}\hline 6&8 \\ \hline \end {tabular}. l.14 } ? x
2h
comment Is it possible to view the latex code after Lua expansion is made?
@JosephWright I do not know to change the example about to use \directlua and keep everything else the same. I get errors when I replaced luacode with \directlua{...}. If you could show this is done and how to view the generated Latex that will help. I do not want to have external lua files. I want the lua code to be inside the Latex file itself as shown. I am still learning lua and find all these different environments very confusing so far. Thanks
2h
asked Is it possible to view the latex code after Lua expansion is made?
2h
comment How to use luacode* to eliminate need to escape “\”?
@UlrikeFischer this is all so confusing. I do not know about Tex->Lua part, since I am just looking at Lua->Tex now. But if you are saying the luacode* is meant to apply for the "Tex->Lua" and not to Lua->Tex then this makes using strings in Lua very hard if one have to escape all the "\" each time. I can do all the above much easier in Python, without having to escape anything, using Pythons r""" multi-line raw string support. So I am trying to understand why would I need to use Lua then in this case.
3h
asked How to use luacode* to eliminate need to escape “\”?
21h
comment How can I make a professional looking article layout?
I am using LyX, which usually makes typing text easier, but it seems adding actual Latex design is very difficult if you want full control of Latex, you must write Latex code directly yourself. I use SW also, and many times, I have to edit the Latex code generated to make any customization. Using a GUI application in these cases (Lyx, SW, etc...) gets in the way of doing such things.
1d
answered Convert to HTML with {arabtext} sections rendered as images
Jul
1
comment How do you create a set in LateX?
To make your question useful and self contained, please make a MWE and also show the output itself.
Jul
1
comment How do you create a set in LateX?
{ is special in latex. so you need to escape it using `\`
Jun
30
comment How to make animate package compile with lualatex in texlive 2015? pdfTeX, version >= 1.20
@AlexG whatever is the correct process is. You can close it or answer it. Thank you.
Jun
30
comment How to make animate package compile with lualatex in texlive 2015? pdfTeX, version >= 1.20
@AlexG Ok, after update, the error went away. If you like to post this as answer I can accept it and close this?
Jun
30
comment How to make animate package compile with lualatex in texlive 2015? pdfTeX, version >= 1.20
@AlexG, ok I am running sudo tlmgr update --all now and will check again after finished. I did not think of doing this before, since I just installed TL 15 may be a week or 2 ago and so I assumed everything was up to date
Jun
30
asked How to make animate package compile with lualatex in texlive 2015? pdfTeX, version >= 1.20
Jun
28
comment pdflatex bash script to supress all output except error messages?
I have been looking for something like this for so long. Latex generates so much output. Very nice. Thank also to Karl Berry.
Jun
25
accepted question in using \foreach to iterate over lists
Jun
25
revised question in using \foreach to iterate over lists
add example
Jun
25
comment question in using \foreach to iterate over lists
Actually I just found the problem. It is the last carriage return before the last entry ! The last entry has to be on same line as the closing }. I'll add an example now.