Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. documentclass[]{article}
  2. usepackage{luacode}
  3.  
  4. newcommand{intString}[1]{luaexec{tex.print("#1")}}
  5.  
  6. begin{document}
  7. section{intString{test}} %this breaks
  8. intString{lofCaption} % this works
  9.  
  10. cleardoublepage
  11. addcontentsline{toc}{chapter}{intString{lofCaption}} % this breaks
  12. protectlistoffigures
  13.  
  14. cleardoublepage
  15. addcontentsline{toc}{chapter}{intString{lotCaption}} % this breaks
  16. protectlistoftables
  17. end{document}
  18.  
  19. @writefile{toc}{contentsline {section}{numberline {1}begingroup escapechar 92 newlinechar 10 edef \{\}edef nobreakspace {}{~}let %=%let #=#endgroup test}{1}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement