![]() OK, we’re jumping forward and it is way, way too early to explain in detail here but the error is caused by the fact that we’ve not told luatex.exe anything about the world in which it is running. I’ll run that, typing test.tex and I see… nothing, luatex.exe exits back to the DOS prompt. ![]() So, you downloaded luatex.exe, start a DOS prompt and type luatex to be presented with… The mysterious and magical texmf.cnf file ![]() Every time the master codebase is modified you simply use TortoiseSVN to download the updates. ![]() The beauty of this process is that you can keep your local copy of the LuaTeX code fully synchronised with the master repository which is maintained by the LuaTeX developers. The LuaTeX source code is made publicy available from the GForge server at Supelec and can be obtained using an SVN client such as TortoiseSVN. I’m not going to cover MinGW and MSYS here because that deserves a separate post.Īgain, I’m restricting my discussions to Windows because that’s what I know. My personal preference is to compile LuaTeX from the latest source code but that requires you to install some additional software, namely MinGW and MSYS. To obtain the raw luatex.exe you can either compile the source code or download the latest beta via the LuaTeX web site. I hope to share some of the lessons I learned, save you some time but also to provide the basic groundwork through which you can further explore the amazing LuaTeX engine. I do have to admit that, initially, it was quite frustrating to “get the picture” but it soon made sense. In addition, through the process of “rolling your own setup” you learn a lot of very useful things about the way that TeX looks for files and resources on your computer. TeX Live and MiKTeX are truly amazing pieces of work and provide extremely comprehensive TeX installations, but they are rather large. However, with just a little bit of work you can create your own minimal LuaTeX setup under Windows, which is the route I chose to follow. With the following as my settings.json file for VSCode.The LuaTeX executable (luatex.exe) can be installed as part of mainstream TeX distributions such as TeX Live or, for Windows users, MiKTeX. tex file I have is as follows, \documentclassĬonst Σ = sum # Although `sum` may be just as good in the code. This guy’s example isn’t specific enough for me, i.e. I’ve obtained an example of defining the xelatex tool from here. I’ve learned from here that minted is better than listings because the former takes in the syntax highlighting and formatting rules from pygmentize, which I have installed through the python installer. I also have no idea where the is meant to be copied-and-pasted (or edited). In this post, the creator of LaTeX-Workshop discourages the use of the magic comment which is used in the Stack Exchange answer aforementioned, so I’ve deleted it. In this answer to a Stack Exchange question, Brad gives an example without the need to “define” new unicode characters (as with another answer to that question) because it has a huge variety of them. So, I am new to the world of programming and spend more than half my time lost trying to understand what on earth everyone is talking about. tex files elsewhere, and they don’t play nicely together. TL DR: What is the complete setup for VSCode to run XeLaTeX or LuaLaTeX, with working examples using unicode characters with minted? I’ve looked everywhere, finding the in one spot, the in another spot, then example.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |