1,329 reputation
418
bio website
location
age
visits member for 2 years, 9 months
seen Nov 25 '12 at 12:02

Sep
9
accepted lualatex print, directlua env, and newline
Sep
9
answered lualatex print, directlua env, and newline
Sep
9
accepted add “tag” to every page containing mdframed
Sep
9
accepted Get value of macro from lualatex directly
Sep
9
answered Get value of macro from lualatex directly
Sep
9
accepted Automatically fixing catcode output
Sep
9
answered Automatically fixing catcode output
Sep
9
comment Unmodified Source Code
@Mr.Gundla That essentially is the complete source. Add documentclass and wrap it with begin{document} and end{document}. I'm using lualatex. Are you saying that commenting out \obeyspaces does not change the output?
Sep
9
comment xparse verbatim with newline
ok, But then why does your method not print the strange characters to the pdf when mine does? (they seem essentially to do the same thing)
Sep
9
asked Unmodified Source Code
Sep
9
comment xparse verbatim with newline
What I'm trying to figure out is how you new to use the \begingroup and \endgroup and split the macro up into two parts like that.
Sep
8
comment xparse verbatim with newline
Can you explain what the macro is doing? I'm a bit confused on why it does not print to the pdf.
Sep
8
accepted xparse verbatim with newline
Sep
8
revised xparse verbatim with newline
added 264 characters in body
Sep
8
comment xparse verbatim with newline
Maybe this luaescapestring is messing with the newlines. But see my update for a working example that doesn't use a macro. Using your method I still do not get new lines but just extra spaces and fi for newlines.
Sep
8
revised xparse verbatim with newline
added 262 characters in body
Sep
8
revised xparse verbatim with newline
added 262 characters in body
Sep
8
comment xparse verbatim with newline
Ok, using + stops the error but now I do not get end of lines at all. I'm printing out the argument to the console using lualatex and there are no new-lines in the statement. See my update:
Sep
8
asked xparse verbatim with newline
Sep
5
comment How to stop a block of code from being parsed?
I do not think this will work in any way in solving my original problem? The latex code will have an issue in that stuff like "\par" will have \p interpreted as an escape code. luaexec only solves half the problem of modifying the cat codes but not fixing up lua "strings".