@PauloCereda Cwac <3 Mae Cymraeg y hwyaden yma yn ardderchog.
@Plergux Fel 'coronafeirws'?
@AlanMunn I totally forgot that there's a water tower just round the corner from me. I probably forgot because it has been a house/flats for as long as I remember. But it was a water tower once. Or so they say. Despite the supply of hills. Maybe that's why they stopped using it. Finally noticed the hills.
@PauloCereda -- The melody to "God Save the Queen" is also a patriotic song in the U.S. (the words are different, of course). One summer, I don't remember how many years ago, at the annual 4th of July Boston Pops concert on the banks of the Charles River, the conductor was Colin Davis. One of the selections was that melody, and instead of a baton, he conducted with a flag in each hand -- one the Stars and Stripes, and the other the Union Jack. There was great cheering all around.
@JosephWright should I add the change of \keyval_parse:NNn to ### Changed in the changelog? Also, do tiny fixes in the documentation end up in the changelog (like, I marked \keyval_parse:NNn as EXP, but it is rEXP in reality, I fixed that in the PR)?
If we put a vinculum on top of PSX, we can get the numbers * 1,000!
@yo' You have to have a second to justify the first. :) It's like Pope Francis. He will be Francis I if and only if, in the future, a Francis II is elected. :)
@Skillmon noice! :D I've only got 2, 3 and 4 :p And we got the 4 from a friend. We considered buying one, but PC gaming has been more tempting lately :p
@Plergux yes, it has lately. But me and my brothers bought the PSX and PS2 back when we were young (spend all our money on it). Those were the golden days of video games, at least for me.
@Skillmon It does seem like that, doesn't it? Now it's all lootboxes and MMO's :| I was so looking forwards to Borderlands 3 and apparently they've ruined it. :,(
@PauloCereda In Trondheim, where I live, we have a Southern Street and a Northern Street (well, Søndre gate and Nordre gate). They are parallel streets, both running north to south, with Southern Street being east of Northern street.
@barbarabeeton That melody also happens to be the Norwegian royal anthem, entitled “Gud sign vår konge god”. So when our king visits their queen or vice versa, they play it twice.
@Plergux Fun with Germanic. I started watching a show on Netflix in English. The audio seemed really off. Then I realized it was dubbed. So I switched to the next language on the list, German, not really paying attention. Better, but still not quite right. Finally realized that the original was Swedish. Ahh, much better. :)
@AlanMunn :D Dubs annoy me :p Though we do watch dubbed cartoons for the linguistic value cause you can't tell as much. Last time we watched a dub was a couple of weeks ago when we watched the third Spongebob movie three times in a row. :p First in the Original English, then in Danish and finally in Icelandic. :p
@Plergux Yes, I hate them, and I was surprised because my Netflix is set to show subtitles (I thought).
@Plergux Watching a dubbed movie is one continuous McGurk Effect and it's very disturbing.
@HaraldHanche-Olsen @barbarabeeton Also Lichtenstein. And it's been a popular tune for riffing on thelistenersclub.com/2017/02/08/… They left out the Sex Pistols for some reason. :)
@AlanMunn :D and probably related to a) listening to a song and thinking "this is nonsense!" before realising you were listening "in the wrong language" :p and b) getting weird looks when you say "Wait, I can't hear you properly, I haven't got my glasses on." :p
@UlrikeFischer, @JosephWright I followed the bitset discussion loosely. How about the following, a bit more efficient structure for the bitsets: <num of bits>:<value in hex>. This should give better access times, I think. Though setting single bits would take a bit more time. Conversion to int is straight forward for the <32 bit case, else it isn't much more complicated than with binary representation.
> Canadians say "sorry" so often that the country had to pass the "Apology Act" in 2009, stating that the use of the word doesn't count as an admission of guilt.
@AlanMunn So am I, sorry! But seriously, I was amazed during my year in Toronto when people would apologise for crossing my path with a good two meters (metres?) between us. Since I did not, people must have thought me a real jerk.
@PauloCereda @HaraldHanche-Olsen "sorry" is also a real shibboleth for Canadians because apart from saying it a lot, it's pronounced very differently from how it's pronounced in the US, and it's made fun/noticed almost as much as the 'out and about' pronunciation.
@HaraldHanche-Olsen Yes, the joke is: someone steps on your foot, and you say sorry. :)
@HaraldHanche-Olsen Yeah, used to sing it on bus trips back in grade school to the lyrics of "Rye bread with cream on top, is nice to have!" (repeated throughout the melody) interspersed with "That was the first verse, now comes the second verse, it is exactly the same." To be continued until somebody told you to shut the hell up. :p
@PauloCereda Heh heh heh... I don't know why, but I've never really got into Tim Minchin. Maybe it's the whole Cure-Ripoff look or maybe I've just been too lazy to look deeper. :p
@AlanMunn -- But maybe not for much longer. The words "the despot's heel is on thy shore" is no longer politically acceptable. (Although that line was at least once made good use of by a somewhat inept sailboater, who named his boat "Despot's Heel" so that he would have something relevant to say when he was apologizing for having run aground. Just one of the many stories one hears growing up around Chesapeake Bay.)
I have a somewhat complicated questions about both TeXShop engines, latexmk, vimtex, and magic comments and I don't know the most appropriate place to ask it. It's too long to ask here in chat.
The TeX on OSX mailing list is ostensibly for TeX issues rather than TeXShop issues even though the list owner frequently address both while simultaneously warning users not to do so (poor list administration IMHO) and vimtex questions clearly wouldn't be received well there. I don't completely underestand the degree to which editor questions are on topic in Main. I'm stymied.
@PauloCereda Mind you, I think a lot of people feel like that at one time or another. You know, that their country would be lovely if it wasn't for bloody people living there. :p
@AlanMunn -- Most people don't, I think. Like I suspect that many, if not most, people don't realize that the melody for "The Star Spangled Banner" is the old drinking song "Anacreon in Heaven". I've learned to be tolerant, more or less, and accept the good things. For example, whatever one says about the Scots (my husband's father's family was Scottish), their tartans are gorgeous, and I took advantage of this to have a dancing kilt made for me -- old Gordon.
@AlanMunn Well, I'll try. It may take a bit to set up the actual question.
I want to use lualatex for all my documents now. In a document built with TeXShop, I can use % !TEX program = lualatexmk and the document builds with the appropriate TeXShop engine. In Vim, I have to use % !TEX program = lualatex instead and use a local .latexmkrc file to get automated runs to resolve references and build the final document.
I think the question boils down to how to get the same results in either editor without having to edit anything.
If that's on topic then I'll post a question on Main.
@LaTeXereXeTaL I suspect that for vim this will depend on what you are using as latex editing extension. With vimtex your %! TEX program = lualatex should work (it will override the latexmkrc file). Notice that you should re-load the file to activate it (in vimtex those flags are only read at the first open... you can use :e I think)
@LaTeXereXeTaL The TeXShop latexmk engines are specially tweaked by Herb Shulz. I've never looked into how they work specifically although I also use them.
@LaTeXereXeTaL I don't know how vimtex manages the magic comments. Is there a place you could just copy (a possibly modified version of) the TeXShop lualatexmk engine where it could be used?
@LaTeXereXeTaL The engine is simply a shell script, so I assume that's what vimtex will be looking for too.
@LaTeXereXeTaL Since @PauloCereda is both a vim and a Mac user, he may be able to tell you how to use a TeXShop engine with vim (which is I think the basis of your question).
@AlanMunn I am not sure either, but the trick above works for me --- the magic comment should override your latexmkrc. f not you could ask, Karl is very active and nice ;-)
@Rmano I don't think that's the issue. The issue is that TeXShop has a very nice script for running latexmk which eliminates the need for a .latexmkrc file, and I think that's what @LaTeXereXeTaL wants to use with vim.
The syntax is best explained with an example:
%! TEX program = program
Here program corresponds to a key in the g:vimtex_compiler_latexmk_engines
or g:vimtex_compiler_latexrun_engines dictionaries. See also [0,1].
so only engines that are in the list are used, it will not call generic command (which I think it's ok... for safety)
The use of the word "engine" is very confusing here. @DavidCarlisle has told me in no undertain terms that "engine" refers to the software that processes the document (e.g. TeX, LuaTeX, etc.) whereas in TeXShop an engine is a script.
I think if I can just get TeXShop to use latexmk by default I'll be fine.
@LaTeXereXeTaL Try making a copy of the TeXShop lualatexmk.engine, naming it something else, and change the following part of the last line: change -r "${TSBIN}/lualatexmkrc" to -r ~/.latexmkrc. Restart TeXShop and that should give you an engine that uses your .latexmkrc
@LaTeXereXeTaL But I don't really understand why you can't just use the TeXShop lualatexmk engine anyway. Or is the problem that you want identical magic comments?
@LaTeXereXeTaL Well that's a bit tricky, since the two editors have different takes on what !TEX program = lualatex should do: for TeXShop it simply means run lualatex but for vim it means run lualtexmk. So vim is the non-transparent one here. To achieve what you want, you'll need to change the TeXShop lualatex.engine to run latexmk instead of lualatex.
@AlanMunn And that gets to the heart, I think, of my initial question...the problem that the magic comments aren't treated the same in different editors.
@DavidCarlisle no, in vimtex (which is just one of the available extension for vim) the zzzzz would be looked up in an internal table before execute. So I cannot send someone a file with %! TEX program=rm ;-)
@DavidCarlisle Modified. (I'm not saying corrected, this was a busy week+weekend, so I seriously question my own abilities to write anything sensible.)
@DavidCarlisle Personally I would find it annoying if everything ran through latexmk by default, which is why I like the TeXShop approach, which is more straightforwardly clear on what it's doing.
@AlanMunn yes. But I think that it should be possible to modify the vimtex dictionary to adapt the dictionaries to understand the lualatexmk command...
@AlanMunn We had a lot of discussion about supporting them as well in Overleaf. So far we decided against them, as they would probably cause a lot of confusion. We would really have to introduce a new option next to pdfLaTeX, LuaLaTeX, XeLaTeX and LaTeX.
@LaTeXereXeTaL well, we don't read the %!TeX program directives. You have to choose LuaLaTeX in the Menu. However, copying a project preserves this setting, so if you provide them with a read-only project link to start with, it's fine :-)
@Rmano Oh I'm sure that would be the case, it's just that assuming latexmk -lulatex and calling it lualatex is misleading, and leads to the confusion that @LaTeXereXeTaL is having.
@AlanMunn yeah, thanks :) We feel the same -- it's not a standard environment, and we're pretty transparent about what we do. (Including the fact that our latexmkrc is public.)
@yo' all someone has to do is use %Tex program=platex at learnlatex.org and then open the document in overleaf and the latexmkrc file setting up platex is added :-)
A more straightforward support for platex without the need of a special compiler setting (which might be confusing) would be my argument for the %!TeX program directive.
However, we probably won't ever support %!TeX root as that would create a third mechanism for setting the main file, and that would be too much.
@LaTeXereXeTaL Although there's no simple way of getting around the differing assumptions that TeXShop and vim make about what the magic comment line with lualatex means, you can get TeXShop to use your .latexmkrc file by putting its content into ~/Library/TeXShop/bin/latexmkrc editand using the regular TeXShop lualatexmk engine.
@AlanMunn I consider portable directives one of its core functionalities. All my editors are configured to run arara and they run what is written in the file. It's one take on portability…
@AlanMunn Ah, the Mac world is special in its own regard. TeXShop seems pretty dominant there…
In version 6 of arara @PauloCereda even addressed the desire to call arara on a file without directives and select a default set of directives. Using only one compilation command gets easier from year to year :D
@TeXnician It's a really nice editing environment for sure. Compared to some other more general editors it has its flaws, but overall it's really good at what it does.