« first day (3495 days earlier)      last day (41 days later) » 

1:45 AM
Quick question: is there any hash function implemented in latex?
 
2:10 AM
@Symbol1 There's \file_get_mdfive_hash:nN {<file-name>} <tl-var> to get the MD5 hash of a file. Is that it?
 
Oh yeah that might work. (Although I was expecting something like \pgfMDfive{my sweet string})
Does it use the shell escape trick?
 
@Symbol1 Hm... I'm not sure about a string. There might be, but I'm not aware of any.
@Symbol1 No, it uses \pdfmdfivesum in pdfTeX
 
There is a primitive for that?!? That's a good start point
 
@Symbol1 ... \mdfivesum in XeTeX and a dedicated Lua function in LuaTeX
 
\pdfmdfivesum [ file ] ⟨general text⟩ (expandable) superb
 
2:16 AM
@Symbol1 Yes, there's a bunch of file operation primitives. expl3 just adds an abstraction so that you don't have to worry about difference between engines and file searching
 
There was one day I decided that I'll stick to pdfTeX. But good to see that. Also PGF has a layer that abstractify the drivers, both of them are incredible jobs.
 
 
1 hour later…
3:36 AM
Is it common to have to delete .aux files to get pdf to compile?
 
 
4 hours later…
7:18 AM
@AaronHall no. It can happen but if you have to do this often your code is either broken, or you are not stopping the compilation in the correct way.
 
@AaronHall yes but it usually means that you killed the process after an error rather than letting tex quit cleanly, and so corruped the aux file being written
 
 
1 hour later…
8:50 AM
@PabloGonzálezL Quack. :) I will update the rules as soon as possible, thanks. :)
 
@PauloCereda Desayuno
 
@DavidCarlisle oh no
@DavidCarlisle good Spanish though. :)
 
@PauloCereda claro
 
@DavidCarlisle we should add to the language specific site examples how to translate breakfast - that is a vital latex skill.
 
@UlrikeFischer Gebratenes Brot, Eier, Speck, Wurst, Blutwurst, Pilze.
 
8:57 AM
@DavidCarlisle you forgot Entenleberterrine.
 
@UlrikeFischer oh good plan
 
9:08 AM
@UlrikeFischer oh no
 
@UlrikeFischer Hasenpfeffer is also missing.
 
@DavidCarlisle ^^
 
9:28 AM
user image
3
@JosephWright @DavidCarlisle ^^
 
9:45 AM
@Rmano hi mr. squirrel
 
10:08 AM
@PauloCereda 'morning.
 
10:36 AM
 
@barbarabeeton, the PR was merged by @JosephWright so the math update is on the main learnlatex.org
 
10:52 AM
@PauloCereda Talking to a rubber duck seems quite effective!
 
@CarLaTeX it is. :)
@CarLaTeX jokes aside, it's a real method: en.wikipedia.org/wiki/Rubber_duck_debugging
 
@CarLaTeX yes but there is clearly a mistake at the top right "read the docs" should be at the bottom left
 
@PauloCereda Oh yes, it reminds me a method by a famous scientist but I don't remember the name
@DavidCarlisle I should put it to the middle left lol
 
@CarLaTeX "procrastination" :)
 
@PauloCereda No, "you learn when you teach", not "do tomorrow what you can do today"
 
10:59 AM
@CarLaTeX ooh recursive patterns
 
@CarLaTeX Ah Rick Feynman :)
 
@PauloCereda himself!
 
 
2 hours later…
yo'
12:55 PM
@barbarabeeton Hi! Well, I'm pretty fine. Work's been busy (many new people subscribing for Overleaf) and also other things, and as the government allowed summer camps, we're fully planning, organizing, getting the campsite ready etc.; all in all a very busy time.
(also, I finally got my small trailer set up again)
 
1:22 PM
@PauloCereda Genial :)
@PauloCereda I have a query, after reading documentation several times, I don't get where the error is, for example:
[pablo@worktex ruletest] $ pwd
/home/pablo/ruletest
[pablo@worktex ruletest] $ ls -lh
total 4,0K
-rw-rw-r--. 1 pablo pablo 97 may 26 09:09 test.tex
[pablo@worktex ruletest] $ cat test.tex
% arara: pdflatex
\documentclass{article}
\pagestyle{empty}
\begin{document}
Hola
\end{document}
[pablo@worktex ruletest] $ arara --log test.tex
__ _ _ __ __ _ _ __ __ _
/ _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
\__,_|_| \__,_|_| \__,_|

Processing 'test.tex' (size: 97 B, last modified: 05/26/2020
@PauloCereda Why is the 'arara.log' empty?
 
@PabloGonzálezL Sorry, I really cannot reproduce... it works for me... :(
 
@PauloCereda Really? ....mmmm
@PauloCereda Do you have any idea what might be going on?
 
@PabloGonzálezL it could be that you are using software from an unreliable source.
 
@DavidCarlisle It may be an option :)
@DavidCarlisle Can you try to reproduce my problem?
maybe I've got something wrong with my setup
 
@PabloGonzálezL I get a non-empty log file...
 
1:38 PM
@PauloCereda @PauloCereda err what???
$ arara -log test.tex
  __ _ _ __ __ _ _ __ __ _
 / _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
 \__,_|_|  \__,_|_|  \__,_|

Error: no such option: "-o".
@PauloCereda oh two --
so now get no log and no output
$ arara --log test.tex
  __ _ _ __ __ _ _ __ __ _
 / _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
 \__,_|_|  \__,_|_|  \__,_|

Processing 'test.tex' (size: 98 B, last modified: 05/26/2020
14:37:55), please wait.

(PDFLaTeX) PDFLaTeX engine ..............................   ERROR

The system command execution has failed due to an IO error. Are
you sure the provided system command exists in your path? It
might be a good idea to check the path and see if the command is
available. There are more details available on this exception:
 
@DavidCarlisle Cygwin... :(
 
@PauloCereda I'll reboot my machine in windows to see what I get
@PauloCereda From win10
D:\ruletest>arara test.tex
__ _ _ __ __ _ _ __ __ _
/ _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
\__,_|_| \__,_|_| \__,_|

Processing 'test.tex' (size: 97 B, last modified: 05/26/2020
09:09:48), please wait.

(PDFLaTeX) PDFLaTeX engine .............................. SUCCESS

Total: 11.17 seconds

D:\ruletest>arara --log test.tex
__ _ _ __ __ _ _ __ __ _
/ _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
\__,_|_| \__,_|_| \__,_|

Processing 'test.tex' (size: 97 B, last modified: 05/26/2020
 
@PabloGonzálezL arara --version
 
@PauloCereda arara 5.1.3
@PauloCereda From Ubuntu (WSL)
pablo@win10x64:/mnt/d/ruletest$ arara --log test.tex
__ _ _ __ __ _ _ __ __ _
/ _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
\__,_|_| \__,_|_| \__,_|

Processing 'test.tex' (size: 97 B, last modified: 05/26/2020
09:09:48), please wait.

(PDFLaTeX) PDFLaTeX engine .............................. SUCCESS

Total: 1.66 seconds
pablo@win10x64:/mnt/d/ruletest$ cat arara.log
26 May 2020 09:52:51.493 INFO - Welcome to arara 5.0.2!
26 May 2020 09:52:51.498 INFO - -----------------------------------------------------------------
No problem :) ...ahora estoy más confundido
 
1:55 PM
@PabloGonzálezL: please, could you run:
readlink -f `which arara` | sha512sum
 
@PauloCereda Win or WSL?
 
@PabloGonzálezL I'd prefer Linux. :) Perhaps WSL works...
 
@PauloCereda From WSL
pablo@win10x64:/mnt/d/ruletest$ readlink -f `which arara` | sha512sum
f69171d62369010b9b73e16ea27ae4f7980674cecbd55d32f51c55fcaf10eab9a3b337179c81f5a12ae60ec1c08e45d87aea5fec4b2ac6be27d8e60a305b9dde -
 
Hm you have the correct binary
 
@schtandard I raised the ff loop at latexonline, we'll see what happens ( get the same in desktop firefox nightly if I choose any external pdf viewer)
 
1:57 PM
@PabloGonzálezL could you give me some minutes to think about it?
 
@PauloCereda Obviously, while I'm changing to fedora :)
 
 
1 hour later…
3:09 PM
user image
3
 
@UlrikeFischer -- Oh, please add Rollmops.
@DavidCarlisle -- All looks good. Hurrah!
 
@barbarabeeton can you check this version too? github.com/joulev/learnlatex.github.io/blob/master/vi/…
 
@DavidCarlisle -- Well, I'm capable of checking whether the links work. But the language is quite beyond the scope of my knowledge, other than recognizing where it is spoken.
 
3:25 PM
@barbarabeeton a good test of accents in text mode:-)
 
@DavidCarlisle -- Yes, but what's on the screen is not (La)TeX output.
 
@barbarabeeton details
 
@DavidCarlisle -- Where the devil is found, so they say.
 
user image
2
@barbarabeeton ^^
 
 
2 hours later…
5:09 PM
@PauloCereda How does that show you if he has the correct binary? Doesn't "readlink -f which arara | sha512sum" just hash the path?
 
@MarcelKrüger It hashes the binary itself, so it matches the one we sent to CTAN. :)
@MarcelKrüger wait, it points to our wrapper, not our binary. :)
 
@PauloCereda According to sha512.online, the hash f69171d62369010b9b73e16ea27ae4f7980674cecbd55d32f51c55fcaf10eab9a3b337179c81f5a12ae60ec1c08e45d87aea5fec4b2ac6be27d8e60a305b9dde actually just corresponds to the input "/usr/local/texlive/2020/texmf-dist/scripts/arara/arara.sh" (with a final newline), so I wouldn't be so sure about that.
 
@MarcelKrüger Really?!
That's... unexpected to me, to be honest.
 
Yes, if you pipe something into sha512 the standard input is hashed.
 
@MarcelKrüger got it, I will check other ways then. :)
@MarcelKrüger thanks!
 
5:14 PM
You can use
⌁48% [marcel:~] % sha512sum `which arara`
f0f6e4b32ff505ee4c197f5959769259756902e7425cc90f9ceaa259a984e0d47b7b98d7722d14b42782c0a1c96cb1e4a62668181a0786778200d23e36c6833f  /usr/local/texlive/2020/bin/x86_64-linux//arara
 
@MarcelKrüger That's an improvement. :) I actually forgot how to use kpsewhich to find my jar file, which would be the better option, as the sh wrapper probably does not change. :)
 
@PauloCereda I didn't even know that kpsewhich supported jar files. Is that a independent type or a generic binary file from kpathsea's point of view?
 
@MarcelKrüger found it:
[paulo@cambridge ~] $ sha512sum `kpsewhich --progname=arara.jar --format=texmfscripts arara.jar`
910da0709f48d200cc64b4a8bc5c7f648cc2d8051079f1e02b3068f9daa89e9089426bc0c622babfa4e4d28a3746dbbd57c91814f3150f5ab95f2b02bfbf415f  /usr/local/texlive/2020/texmf-dist/scripts/arara/arara.jar
@MarcelKrüger I think Karl once told me. :)
 
@PauloCereda Thanks, nice trick.
 
@MarcelKrüger Norbert and Karl's suggestion. :)
 
5:59 PM
@PauloCereda seems perfectly reasonable
 
@DavidCarlisle :)
 
yo'
@JosephWright Hi, please, considering l3 prefixes, is it possible to register a 2-letter prefix?
 
6:19 PM
@yo' if he says no, confuse the issue with three letter prefix like y​o
 
yo'
@DavidCarlisle :D
(this is a company question, not personal :-) )
 
@yo' o​l works as well
 
yo'
@DavidCarlisle yeah. we probably prefer ol_<modulename> over ol<modulename> or overleaf<modulename>, but we'd be fine with overleaf_<modulename> too.
 
@barbarabeeton You're right. I see to change another the code. Thank you very much.
Hi to everybody into chat.
 
8:21 PM
anybody around care to try
\documentclass{minimal}

\usepackage{xfp}

\newcommand{\markPoint}[1]{%
\def\sqrt##1{sqrt(#1)}%
\fpeval{#1}%
}

\begin{document}


\markPoint{\sqrt{2}}

\end{document}
it segfaults for me.
 
@DavidCarlisle with which engine?
@DavidCarlisle I get ! TeX capacity exceeded, sorry [expansion depth=10000]. but no segfault.
 
@DavidCarlisle No segfault to me either. Same as Ulrike
 
8:37 PM
texlive 2020 on cygwin it segfaults pdftex xetex and luatex
I get the expansion depth error with texlive 2020 wsl
anybody else got a cygwin tex?
 
@DavidCarlisle No, only Windows TL. What about \def~{\number~}~: does it segfault as well?
 
@PhelypeOleinik bingo yes
@PhelypeOleinik so this plain tex
\def\z{\number\z}\z

\end
 
8:53 PM
@DavidCarlisle Yeah, the problem seems to be it's segfaulting with high expansion depth
@DavidCarlisle Some memory not well allocated
@DavidCarlisle No idea what may cause this though
 
@PhelypeOleinik I'd tried other infinite loops to avoid using xfp but they all gave expected errors, seems to require number
I'll try texlive list
 
@DavidCarlisle \romannumeral also works
 
@PhelypeOleinik and \the
 
@DavidCarlisle And \csname and \if, and anything that can expand recursively. Though here all of them raise the expansion depth error
@DavidCarlisle Oh, and TL 20 \input. TL 19 it inputs .tex forever :-)
Not my fault
 
@PhelypeOleinik blame @UlrikeFischer
 
9:00 PM
@DavidCarlisle :-)
 

« first day (3495 days earlier)      last day (41 days later) »