Wondering: while playing with l3build for making test files of typeset material. Does one need to have .tlg files for each engine type due to the differences in rounding? Was playing a bit with it a bit yesterday
@DavidCarlisle hi david, do you like vim because of its link with lua? I am working with it and nvim. first it was hard. now that I successfully setup the config and learnt some keys, I believe it is helping with my efficiency.
@daleif it can pay off to separate engine tests by using configuration files and different folders. Then you can do the main tests with only one engine and only a few dedicated tests with other engines.
@mickep my fault, I mean Charlisle. Maybe talking about heroes is not a good idea in our era. But the very first day I came to this site, his advices helped me get familiar with LaTeX and then my interest went to python and Linux and others. I had previous programming experience but a kind good advisor is like him.
Gradually answered my questions and I did not opt out. Now I am doing most of my work with programming and free software.
Although I cannot go fully on linux because all of the packages in my field are gui based and commercial. Not supported by linux.
@JosephWright one problem that I have with more than one engine test (apart from the time) is that the real log and the pdf are from the test of the last engine and so can't be used to check problems with other engines without repeating the test. And I sometimes had side effects, e.g. if tests write files.
@JosephWright regarding engine tests: a few days ago I ran l3build check -epdftex in tagpdf, and it did run (with pdftex) also all the tests in config-luatex which is setup to use only luatex. Can one prevent that? (I have to go now, will be back later)
@JosephWright I didn't want to run only one. I wanted to run all tests which are normally tested with pdftex, which worked, but it also did run which normally are not tested with pdftex.
@TeXnician believe me, entering this environment of fully terminal focused editors is very hard for non-programmers. I wish one day I have a full time software developing role in my field. That will be an ideal position for me!
@enthu Well, emacs is not fully terminal focused. Actually it works best in its own window (or emacs speak: frame). But the real advantage: for most of the things you don't need to. For instance, there are rather nice vim bindings for VS Code and other graphical editors if you fancy the GUI side. Emacs bindings in most GUI software are not that advanced but still; learning the editor patterns of the classics does not force you to the terminal.
@TeXnician great. IE today I was surprised. Tried so many plugins to add python keyword colors to my vim. When David said Emacs, and I opened a python file, surprisingly all the keywords are colored. Seems a few parts are already done there too.
@DavidCarlisle exactly. When I have a PDF figure, I convert it to PS and then copy-paste the postscript code into a \special and go via latex+dvips+pspdf
@Skillmon Playing piano is the easiest thing on the world: you just have to hit the right key at the right time. Vim users tend to use similar logic ;)
@TeXnician "for me"... I didn't want to produce a screenshot with a tweaked config just for this. But yes, that's pyright working. Overall the looks of my Python takes 3 lines of config plus one one-time command to install pyright
@Skillmon wow, looks nice. I wanted that word completion menu but I did not succeed! :))
you may share your config on gist :D
@TeXnician no the vi/vim/neovim is pretty simple. no specific interface or colours. These can be done with plugins. Pretty similar to TeX installations. But the problem is that installing a few of them need a lua code, a few other need python code. Configuration of all these is hard. I do not succeed to handle all plugins.
@enthu I'm afraid you're mistaken there. VIM and NeoVIM have fantastic build in support for syntax highlighting. Just use the defaults. This here is the result of running nvim --clean foo.py (--clean means no user config, only defaults) on the command line and typing a few lines of Python code.
the normal VIM has the same syntax highlighting by default (but not the status bar).
@enthu so in conclusion: No idea what you did, but you did neither use the normal NeoVIM nor the normal VIM (maybe VIM in vi-compatibility mode or vi?)
Also, no big magic config in my VIM (and I don't like the idea of sharing the entire VIM config, I prefer building your own). But I can give you a few pointers as to what I use (of course I use plugins as well). First of all, I use a plugin manager, in my case vim-plug, but see What are the differences between the Vim plugin managers?.
@Skillmon Yes, but I wanted to change the configs and everything changed! :)) I changed the theme to minimal (another plugin) because I hated the color of the cursor line and column line, but it did not have a syntax highlight. Another problem! So I needed another plugin to solve the syntax highlight.
I solve something, another issues raise. The same path for me in linux too :D :))
@enthu then you already started with a not minimal enough setup. Really, the defaults of NeoVIM are quite sensible, you don't have to have a bloated init.vim/.vimrc
@enthu Well, I don't use them... But if you want coloured syntax highlighting and not only black and white with bold or non-bold, you shouldn't use monochrome...
@enthu in NeoVIM with default settings both cursorcolumn and cursorline work (the latter quite nicely even):
@Skillmon thanks. You pointd to a good point. Without a specific theme the vim has syntax coloring. I made it monocolor and then searched for a plugin to bring the colors :)) funny. BTW with that plugin and monotheme, the result was something different and satisfying. Beauty of the coding. I want to reach somewhere and lose my way to another place :))
This happened again last week. I was looking to code in terminal, then I downloaded vim. I then wanted to store them and decided to learn git! :))
@Skillmon mingw is your friend then, a lot less invasve than wsl or cygwin, mostly I have stayed clear as it's hard enough keeping track of windows+cygwin+wsl without adding a fourth variant, it worked well enough when I did use it for one project though.
@DavidCarlisle it's not completely locked up, I got a working MSYS2/MinGW setup, but it's a bit lacking here and there... I'm wondering if I'd fare better with Cygwin.
@Skillmon it depends what you want mingw compilations produce mostly normal windows exe you could ship to someone. cygwin compilations make executables that really have a hard dependency on the virtual posix cygwin layer so are not usable by people without cygwin, and even with cygwin have to be used with care if not called from a cygwin shell, notably file paths are rooted at the nominal cygwin root not the windows \
@DavidCarlisle yes, that I knew (I used MSYS2 at my old work for that reason, hence use it at the new job as well), but at my new position any tools I write for others are usually just some q&d scripts in Python, batch, or seldomly even Java.
So the compilation against the Cygwin library would be/should be no issue.
@UlrikeFischer not unless you enabled the experimental features flag, or use the beta release chanel, the main release wasn't available to me until a couple of hours ago
@Skillmon thanks, installed these. BTW, what's the shortcut key to automatically write the function we want. For instance in the middle of the way import num[shortcut] to write numpy for us.