« first day (3210 days earlier)      last day (1715 days later) » 

5:10 AM
6
Q: Annotating a table with arrows

maryaI want to recreate the following table on latex Here is my MWE \documentclass{article} \usepackage{colortbl} \begin{document} \begin{table}[h] \begin{tabular}{|>{\columncolor[gray]{.8}}c|m{1cm}|m{1cm}|m{1cm}|m{1cm}|m{1cm}|m{1cm}|m{1cm}|} \hline \footnotesize{ $x$ } & 0.900 & 0.990 & 0...

 
5:28 AM
6
Q: Creating some gif with tikz: Any idea to get better result?

rihaniI have used this tikz to generate some GIF. Here are the code and the result. Any idea to make it better \documentclass[tikz,border={2pt 2pt 2pt 2pt}]{standalone} \usepackage{tikz} \begin{document} \foreach \angle in {0,10,...,360} { \begin{tikzpicture} \draw (0,0) circle (1); \node at...

 
6:18 AM
@DavidPurton Yes, it's duplicate but with that title, I would never have found it! Thank you!
 
6:32 AM
@DavidCarlisle If you are on Windows, then a Debian (or similar) VM is possible.
For example VirtualBox would probably work.
Henri answered my question. His code runs without error, but does not output a result. As I understand it, that code should output a number.
 
 
1 hour later…
7:43 AM
@AndrรฉC Maybe someone else voted down? I would suggest not to put more energy on this. When I meet people on internet that I cannot play well with, I have found out that just ignoring is the best way to get along...
4
 
8:09 AM
@FaheemMitha that's a non-answer, saying if something doesn't work in one operating system that you can install another operating system is true but not really the point:-)
 
@mickep You're right, it's the only way to have peace.
 
@CarLaTeX we have several "standard duplicates" that unfortunately have a title with the answer not the question eg any weird error due to @ from missing \makeatletter tend to get marked as dup of tex.stackexchange.com/questions/8351/… but you wouldn't find that unless you know the answer, that is to add \makeatletter
 
@DavidCarlisle I'm not sure what you mean. All I'm saying is that if you are using Windows, you can test on Debian (or any of the other free Unix-like OS's) by installing a virtual machine (VM).
 
@AndréC As I say to everyone: if you see problematic content, flag it and do not respond further. That includes not raising it here.
 
The same may be true for Macs, but I'm not sure how closed Macs are.
 
8:16 AM
@DavidCarlisle Yes, that's why duplicates may be useful!
 
@FaheemMitha well installing a virtual machine is like installing another operating system. I wouldn't do this only to test if this finds a missing lua library.
 
@FaheemMitha I am not going to install a complete operating system to try a single example that someone posted here:-) and anyway I usually have several xterm open on to linux boxes anyway so installing a linux vm wouldn't really change much.
@FaheemMitha also in this case I could use the windows luatex which also has ffi support but I wouldn't installl a new texlive just to test your example either.
 
@DavidCarlisle Ok. I'm just saying it's an option. And a virtual machine can be used for other things. Usually one just keeps it around because it's occasionally useful. Like a power tool.
And it's not the same as logging into another, separate machine. Because those other machines can go away. A virtual machine won't, unless you delete it.
 
8:31 AM
@FaheemMitha sure but saying that you can install another operating system is not an answer to a comment that a feature is not portable. The fact remains that luatex+ffi does not work on as many platforms as luatex alone, even if you wish everyone used debian and made software distribution easier.
 
@DavidCarlisle I think there may be some miscommunication. My comment was in response to your comment saying that you were unable to test. That is all. One sec, I'll quote the comment.
This one:
11 hours ago, by David Carlisle
@FaheemMitha can't test as ffi doesn't work here (mostly) and I don't have julia
 
@FaheemMitha yes here being the main point. I could have tested on a linux box, or I could install a new operating system or a windows texlive on this one, but actually what I have here is a cygwin texlive.
 
@DavidCarlisle Ok.
@StrongBad @Aditya I meant to ask. You said that Lua/Julia example works for you on Fedora/Arch respectively Does that example still work for you with Luajit?
 
 
1 hour later…
9:42 AM
quack
 
Jul 23 at 12:12, by David Carlisle
@PauloCereda dinner
 
@DavidCarlisle oh no
lrwxrwxrwx. 1 root root 2 ago  2 10:06 /usr/bin/rvi -> vi
^^^ @DavidCarlisle :)
 
vi -> emacs ?
 
@DavidCarlisle nope :)
 
@PauloCereda I could tell you how to set that up if you want?
 
9:59 AM
@DavidCarlisle ooh
320 hours spent to deep scan a 4TB HDD looking for bad blocks...
 
10:17 AM
@FaheemMitha Yes, for me the example works with luajit as well as luatex.
 
@Aditya Ok, thank you for letting me know.
 
Julia's C interface is a bit esoteric. You may with to test with a simpler example first. Henri Menke had an answer where he shows how to use the Gamma function (from standard C lib) to plot using tikz: tex.stackexchange.com/questions/371255/…
He also has a tugboat article where he explains the details: tug.org/TUGboat/tb39-1/tb121menke-ffi.pdf
 
10:43 AM
Does anyone have access to the pgfplots bugtracker? This tex.stackexchange.com/q/504296/3929 might be a candidate for a bug in pgfplots (at least I cannot see why one should not be able to get an arrow head at the start of the OPs plot).
 
@Aditya Hmm, I tried that out of curiosity. And: โ†“โ†“โ†“ (on mac)
[\directlua]:1: attempt to call a nil value (field 'cdef')
stack traceback:
	[\directlua]:1: in main chunk.
l.12 }
Same result on linux (ubuntu).
 
@HaraldHanche-Olsen: this is for code from which example?
 
@Aditya The Gamma function example you were pointing to.
 
10:58 AM
@HaraldHanche-Olsen what luatex version?
 
With LaTeX, you need lualatex -shell-escape for ffi to work
 
@DavidCarlisle Version 1.10.0 (TeX Live 2019)
@Aditya Ah, that was far from obvious. It helped, on linux. On mac, I got an error message (\abx@aux@refcontext is not defined) instead, but that is obviously not a problem with lua or ffi.
 
@HaraldHanche-Olsen: Delete your temp files (.aux etc) and try again.
 
@Aditya Thanks, that did the trick. It even produced the expected output. :-)
 
@HaraldHanche-Olsen Witchcraft!
 
11:14 AM
@HaraldHanche-Olsen ffi enables "run arbitrary compiled library code with your normal user permissions" so hiding it behind shell escape is sort of needed. Also why we want a version of luatex with harfbuzz linked at compile time not via ffi so it doesn't need shell-escape
 
@DavidCarlisle Good idea, but the error message leaves something to be desired, IMIHO.
 
@HaraldHanche-Olsen We never pay attention to errors anyway. :)
 
@PauloCereda Especially considering that the generated .aux file is empty, except for the obligatory \relax.
 
@HaraldHanche-Olsen \let\relax\haveabeer
 
@PauloCereda Well, that would require a shell escape, I suppose.
 
11:27 AM
@HaraldHanche-Olsen :)
 
11:41 AM
@HaraldHanche-Olsen yes but it's not my fault so I don't mind about that.
 
@Aditya I'm not sure if you are addressing me or not. In any case, this is probably as good a time as any to say that I'm not sure what that Julia example is doing. Is Lua communicating with Julia via C objects? Because I suppose both C and Julia objects are C under the hood.
Similar comments probably apply to other interpreted/REPLs that Lua is communicating with.
 
@DavidCarlisle Oh, but I wasn't blaming you. Not this time, anyhow.
 
@HaraldHanche-Olsen blame @UlrikeFischer
 
@DavidCarlisle is poor @UlrikeFischer to be blamed for everything?
 
@HaraldHanche-Olsen seems like a good plan
 
11:48 AM
@DavidCarlisle ooh the not so secret plan
 
@FaheemMitha The code is simply calling the Julia shared library, which has nothing to do with the Julia REPL. Julia objects are not C under the hood (Julia is not written in C) but provides a C interface so that it can be embedded in other languages.
 
12:12 PM
@Aditya Oh. Julia is not written in C?
But this shared library can run Julia code?
Hmm, the Wikipedia page says:
> Julia's core is implemented in Julia and C, together with C++ for the LLVM dependency.
This is in line with a quick search of the source code.
 
@FaheemMitha You have an C interface that acts as a bridge.
 
@PauloCereda Meaning you can call the REPL via the C interface?
 
@FaheemMitha it depends on what is ultimately exposed through the interface, but by the looks of it, there's a way to submit Julia code to it. :)
 
@PauloCereda Ok.
 
@PauloCereda @yo' : ^^^^^^^^^^^^^^^^^^^^^^^ agrahn.gitlab.io/svg/tempoForWeb2.svg
3
 
12:23 PM
@AlexG DUDE
@AlexG YOU ARE AWESOME
 
@AlexG Very nice! Thank you!
 
dvisvgm --font-format=woff --exact --zoom=-1 --precision=2  tempoForWeb2
 
12:57 PM
@JosephWright I moved lualibs and it seem to have worked ;-)
 
Holiday here. Things are surprisingly quiet.
India's independence day.
 
@UlrikeFischer Cool
 
Unfortunately one of the Julia developers is involved in the Aadhaar project.
 
@UlrikeFischer Can we scrub github.com/lualatex/lualibs? There are no open or closed issues, so no real history to loose
 
Collision of two worlds stuff.
 
1:12 PM
@JosephWright I have no opinion here, I mean got the baby only last year ... but probably yes.
 
@UlrikeFischer Or we could archive?
@UlrikeFischer Could mark up as Khaled did for his luaotfload one
 
@JosephWright ooh
 
2 days ago, by Ulrike Fischer
@JosephWright or this one https://www.youtube.com/watch?v=sqcLjcSloXs
 
@JosephWright ooh
 
@JosephWright sounds sensible. but lets first move luaotfload. Can one change the checkengine to lualatex-dev?
 
1:21 PM
@UlrikeFischer I guess so: could do it using the same 'check the branch' business I've set up in the kernel
@UlrikeFischer Go for it
@UlrikeFischer Perhaps then we mail all the people who own repos in this area, and say 'we've tided up'?
 
@JosephWright ooh send them a copyright claim
 
@JosephWright the main question is how to define it. checkengines={"luatex-dev"} doesn't look right.
 
@UlrikeFischer What not?
 
@FaheemMitha yes luajit julia.lua gives me 23 also
 
@StrongBad Ok. Thank you for letting me know.
 
1:28 PM
@JosephWright well it doesn't work: "Der Befehl "luatex-dev" ist entweder falsch geschrieben ...". I mean I don't want to use luatex-dev --fmt=lualatex but luatex --fmt=lualatex-dev.
 
@UlrikeFischer Ah, right
@UlrikeFischer Need to alter checkformat, don't we
 
@JosephWright bingo. checkformat="latex-dev" works.
 
@UlrikeFischer Cool
@UlrikeFischer So can test for that based on the branch?
 
@JosephWright I copied your code from latex to test the branch name and setup luaotfload-dev. It seems to work fine.
 
@UlrikeFischer :)
 
1:36 PM
@JosephWright I thought it could be useful to have luaotfload-dev if larger changes are made. I even managed to switch the cache folders. Do you think that travis need to be setup anew if I move the repo to latex3?
 
@UlrikeFischer Should be trivial to do: just have to switch it on from the right account
 
@JosephWright hm thinking about travis, I should probably ensure that latex-dev gets installed ...
 
@UlrikeFischer Yup :)
 
@Skillmon ^^ a corn bunny! :)
 
@JosephWright hm, doesn't work on travis. Can travis actually find out the branch name? Does it execute the os.execute("git rev-parse --abbrev-ref HEAD > branch.tmp")?
@CarLaTeX @egreg @Sebastiano buon ferragosto a tuti! chat.stackexchange.com/transcript/message/46212640#46212640
2
 
1:51 PM
@UlrikeFischer Buon Ferragosto anche a te e Gert!
 
@UlrikeFischer ooh
 
@yo' ooh!
 
yo'
@PauloCereda they are top in this style :D
 
@yo' indeed! :D
 
2:41 PM
@DavidCarlisle, 6 down ;)
 
2:54 PM
@PauloCereda that doesn't taste as well.
 
@Skillmon oh no
 
@DavidPurton ?
 
3:10 PM
@DavidCarlisle good questions and not controversial ; -)
 
@MarcelKrüger you should have said no while you still had the chance of escape:-)
@UlrikeFischer we'll see....
 
@DavidCarlisle we really need it. While I did look at all the old issues I could see how many problems it solves.
 
@UlrikeFischer you should reply to the mail saying that...
 
Once upon a time there was a user called Harish who answered one of my questions. Now there is just a "user11232" with no link.
 
@DavidCarlisle yes ok.
 
3:29 PM
Anyway, just wondering what happened to that user. Another mysterious disappearance?
 
3:45 PM
@DavidCarlisle somethings seems to be wrong with my identity on the smartphone- the mail is waiting for moderator approval ;-(.
 
@UlrikeFischer well it will have gone to the more important, non-team people :-)
@FaheemMitha users leaving is the normal state of events, apart from anything else a lot of people use tex for 3 years while writing a thesis then never use it again.
 
@DavidCarlisle hm thesis writing
 
4:02 PM
@PauloCereda you're still here....
 
@DavidCarlisle oh
 
 
2 hours later…
5:59 PM
@DavidCarlisle I was mostly talking about the deleting thing.
 
6:13 PM
Though I don't see why more people, after being introduced to TeX, don't think to keep up the acquaintance.
 
6:48 PM
@FaheemMitha yes but it's not unreasonable to delete your account if you don't plan on using it any more.
 
@DavidCarlisle Personally, I'm in the camp of "you never know". I can't relate to this deleting thing.
 
@FaheemMitha There were reasons
 
@JosephWright Ooh, the plot thickens.
 
8:16 PM
@UlrikeFischer Thank you very much and I hope that you have spent it with so much fun and carefreeness. A strong hug.
A very strong hug to all users and especially to all those who are close to me. Thank you very much to everyone for your help. Happy Ferragosto.
@StefanKottwitz Hi, dearest moderator. Happy Ferragosto and always thank you for your precious presence.
 
@Sebastiano Buon ferragosto! La ringrazio per le cordiali parole di benvenuto che mi ha appena rivolto.
 
@StefanKottwitz Fantastic and exact italian words :-)
 
@Sebastiano I work a lot in Italy, such as Venice Marghera, Genoa, Monfalcone, Palermo, Ancona. That's because there are very good ship yards. I try to learn the good words, some workers try to teach me bad words ;-) but the good words are important.
 
@StefanKottwitz aahahh your comment is sincerely true.
 
@StefanKottwitz oh, but bad words ars so much more fun!
 
8:30 PM
@HaraldHanche-Olsen Hi and my best regards from Sicily.
 
@HaraldHanche-Olsen Yes, and paintings on wooden protection covers such as in elevators in a construction area ;-)
 
@Sebastiano Hi. Sorry for the delay; I had to go and google ferrragosto. I hope you had a good one.
 
@HaraldHanche-Olsen Actually, I'm painting the railings this holiday period and I'm done today. I stayed home and then went to church mess. I'm unlucky I'll never win anything :-) Don't worry for your delay....I am always with delay...:-)
 
9:33 PM
So, what's the net number of LaTeX team members here now? @DavidCarlisle, @UlrikeFischer, @egreg, @MarcelKrüger, @PhelypeOleinik, me ...
 
@JosephWright ;-).
 
@JosephWright If we have enough people in the right places in the world, this statement might as well be true ;-)
 
@JosephWright ooh blaming
๐Ÿฆ†
3
ooh my phone has a duck
๐Ÿ‡ง๐Ÿ‡ท๐Ÿ‡ฉ๐Ÿ‡ช๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ฎ๐Ÿ‡ช๐Ÿ‡ซ๐Ÿ‡ท๐Ÿ‡ช๐Ÿ‡บ
 
yo'
9:52 PM
@PauloCereda wait, what is this?!
 
@yo' testing my phone ๐Ÿ‡จ๐Ÿ‡ฟ
๐Ÿ•๐Ÿ
 
yo'
10:22 PM
@PauloCereda <3
 

« first day (3210 days earlier)      last day (1715 days later) »