« first day (2303 days earlier)      last day (2645 days later) » 

2:56 AM
Is it reasonable to always be loading expl3 by only calling xparse or would first loading expl3 be better practice (particularly in terms of what will yield the desired results long-term)
 
 
5 hours later…
7:40 AM
Needless to say, I have no idea what "key-ith-dashes-letters-and-numbers;reference with spaces" really means. — jon 12 hours ago
\makeatletter
\newcommand{\removelatexerror}{\let\@latex@error\@gobble}
\makeatother
 
@Johannes_B Is it a way to solve all problems?
 
@CarLaTeX You can try ;-)
 
@Johannes_B :)
 
@DaiBowen Usual rule with packages is load directly ones where you use their documented features, so if you only use \NewDocumentCommand just xparse but the moment you have \ExplSyntaxOn that means expl3
@DaiBowen In this case, of course, xparse is known to be entirely dependent on expl3 so it's slightly complex: the other example is TiZ/pgf where you can't load the former without the latter
 
 
2 hours later…
9:35 AM
@DavidCarlisle booo
@egreg eek
 
10:03 AM
Surprisingly, I got the joke. :)
 
10:17 AM
@PauloCereda I think I've understood the last two but I can't get the first!
 
@CarLaTeX I ate some pie :)
 
@PauloCereda Oh, yes, the i imaginary!
 
@CarLaTeX :)
 
10:31 AM
@egreg I've risked going to see La Traviata next Sunday. My cousin's daughter has just broken up with her nth boyfriend and wanted me to accompany her, but she did not manage to get the under 30 discount for my ticket, so this time I escaped. I don't think I'd be able to stay awake for 3 hours of opera!
 
@CarLaTeX “Di Provenza il mare e il sol chi dal cuor ti cancellò?”
 
@CarLaTeX nth...
 
@egreg "Al natio fulgente sol qual destino ti furò?" (I found it on the internet hahaha)
@PauloCereda Yes, it's a telenovela!
 
@CarLaTeX ouch!
 
@CarLaTeX Immortal words!
 
10:44 AM
@PauloCereda She broke up with the first due to his mother, with the second because it was too selfish (I didn't like him, too), with the third because he always wanted to go out till 6 a.m. with friends...
@egreg I think I should improve my music culture!
 
@CarLaTeX oh my
 
11:04 AM
@CarLaTeX I'd not go to see “La Traviata” even under threat.
 
@egreg ooh we could go watch a cricket match!
 
@egreg Hahaha!
 
@PauloCereda Or go to watch paint to dry, which is almost the same.
 
@egreg oh no
 
@egreg no, it still leaves poverty and world peace to fix. — David Carlisle 1 min ago
 
11:07 AM
@PauloCereda I don't know anything about cricket but I think it should certainly be less boring!
 
@egreg: mum told me my nonno used to hum La donna è mobile all the time while he was working!
 
@CarLaTeX figure* spans across two columns (but is usable in a single column document where it is the same as figure)
 
@CarLaTeX @DavidCarlisle and @egreg are experts.
 
@DavidCarlisle Sorry for the wrong comment, I've deleted it!
 
@PauloCereda That's “Rigoletto”; the same with “Caro nome”. Remember? “Rigor mortis” by Joe Green. “Hands off, please.”
 
11:09 AM
@CarLaTeX: Cricket is easy: you have two sides, one out in the field and one in. Each man that’s in the side that’s in the field goes out and when he’s out comes in and the next man goes in until he’s out. When a man goes out to go in, the men who are out try to get him out, and when he is out he goes in and the next man in goes out and goes in. When they are all out, the side that’s out comes in and the side that’s been in goes out and tries to get those coming in out.
And sometimes there are men still in and not out. There are men called umpires who stay out all the time, and they decide when the men who are in are out. Depending on the weather and the light, the umpires can also send everybody in, no matter whether they’re in or out. When both sides have been in and all the men are out (including those who are not out), then the game is finished.
 
@CarLaTeX it's more boring and takes 5 days. Go to the Opera instead (it's in some weird language, but it's Ok they put a translation over the stage in most places:-)
 
@egreg YES! <3
 
@PauloCereda I think the game where 22 men try to put a ball in a net sorrounded by three poles it's more simple!
 
@egreg that example runs without error here?
 
@CarLaTeX :D
 
11:16 AM
@DavidCarlisle Hmm. What version of xparse?
 
 *File List*
 article.cls    2014/09/29 v1.4h Standard LaTeX document class
  size10.clo    2014/09/29 v1.4h Standard LaTeX file (size option)
sidenotes.sty    2016/04/21 v1.00 rich text in the margin for LaTeX
l3keys2e.sty    2017/02/10 v6878 LaTeX2e option processing using LaTeX3 keys
   expl3.sty    2017/02/10 v6878 L3 programming layer (loader)
expl3-code.tex    2017/02/10 v6878 L3 programming layer
l3pdfmode.def    2016/12/28 v6805 L3 Experimental driver: PDF mode
marginnote.sty    2016/10/21 v1.2a non floating margin notes for LaTeX
egreg whatever I have in /home/davidc/texmf/tex/latex/l3packages/xparse/xparse.sty
:-) I'
 
Here's the MWE
\listfiles
\documentclass{article}
\usepackage{sidenotes}
\begin{document}
Noice content. \sidenote{Sidenote}
\end{document}
First error
(./araujo.aux)
! Missing number, treated as zero.
<to be read again>
                   \tex_let:D
l.5 Noice content. \sidenote{Sidenote}
 *File List*
 article.cls    2014/09/29 v1.4h Standard LaTeX document class
  size10.clo    2014/09/29 v1.4h Standard LaTeX file (size option)
sidenotes.sty    2016/04/21 v1.00 rich text in the margin for LaTeX
l3keys2e.sty    2017/02/10 v6878 LaTeX2e option processing using LaTeX3 keys
   expl3.sty    2017/02/10 v6878 L3 programming layer (loader)
expl3-code.tex    2017/02/10 v6878 L3 programming layer
l3pdfmode.def    2016/12/28 v6805 L3 Experimental driver: PDF mode
marginnote.sty    2016/10/21 v1.2a non floating margin notes for LaTeX
 
@egreg no error here
 *File List*
 article.cls    2014/09/29 v1.4h Standard LaTeX document class
  size10.clo    2014/09/29 v1.4h Standard LaTeX file (size option)
sidenotes.sty    2016/04/21 v1.00 rich text in the margin for LaTeX
l3keys2e.sty    2017/02/10 v6878 LaTeX2e option processing using LaTeX3 keys
   expl3.sty    2017/02/10 v6878 L3 programming layer (loader)
expl3-code.tex    2017/02/10 v6878 L3 programming layer
l3pdfmode.def    2017/02/18 v6953 L3 Experimental driver: PDF mode
marginnote.sty    2016/10/21 v1.2a non floating margin notes for LaTeX
@egreg i have newer l3pdfmode it seems
 
@DavidCarlisle Well, the error must show, for the reason I explained in my answer; in the test with \dim_compare:nNnTF, the right hand side is a macro declared with \NewDocumentCommand` that will definitely not work with the latest xparse.
@DavidCarlisle As soon as you have \sidenote the problem shows.
 
@egreg I could send you \tracingall log but I'm not inclined to debug further, I got the tick, that's the important thing!
 
11:28 AM
@egreg, @DavidCarlisle Unfortunately it seems there have been quite a number of uses of \NewDocumentCommand in places where this really isn't appropriate
 
@JosephWright The package is very badly written, unfortunately.
@JosephWright Can you check my MWE above?
 
@egreg Indeed
 
@JosephWright when some of that xparse change was reverted did the package version change? I get no error but I get the same \listfiles log as @egreg.
 
@DavidCarlisle Package versions change only when I do a release, so if you are using the SVN you won't see it from \listfile but will from kpsewhich (this is a reason I've been meaning to write an extended \listfiles using MD5 sums)
@egreg I see this with the current release but not the burning edge: that's as-expected (as @DavidCarlisle notes)
 
@JosephWright ooh that's it then sorry I hadn't noticed that
@JosephWright can't we make it say "dev" or something in the package version and have l3build remove that when building a release?
 
11:35 AM
@DavidCarlisle Yes in principle but that's tricky as some files use the SVN Id lines: we are in something of a 'mixed state'
@DavidCarlisle Can I write something up for the team list on this?
 
@JosephWright OK
@JosephWright they use the Id in \Providespackage ?
 
@DavidCarlisle Mainly no now by we still have \GetIdInfo
@DavidCarlisle Partly a question of how you tag releases: currently we don't do that formally so have to rely on checking in something
 
@JosephWright yes still seems a bit dangerous to have different code with same version number. (or course in the 2e code we always bump the version by hand on edit so it doesn't arise there)
 
@DavidCarlisle I'm not sure Frank will like the way I think we should solve this
 
@JosephWright use git?
 
11:39 AM
@DavidCarlisle That would make the tagging part easier but it's not the full story
 
@JosephWright @DavidCarlisle Does one ever get used to smiling macros? e.g. \tex_endlinechar:D
 
@Johannes_B you are not supposed to use the :D ones so it shouldn't be an issue :D
 
@DavidCarlisle There is also the one sticking out his tounge (:p) and the sad one (:c).
 
@JosephWright So you have reverted back to “only m arguments gives plain definition”?
 
@egreg not quite plain, but expandable, so the if test still accidentally works
 
12:11 PM
@DavidCarlisle @egreg How would the \DeclareTextCompositeCommand on the list look if one had etex and expl3? (I'm planing a small task about expl3 and this looks like a good example ...).
 
@UlrikeFischer not sure:-) also my detokenize suggestion doesn't work, it has to be \@empty as that is what is used in the actual command (it;s even documented in ltoutenc, I found after trying detokenize)
@JosephWright build install in base just put me in a tight "yes" loop :(
(Press Enter to retry, or Control-D to exit)
Please type another input file name: ! I can't find file `y'.
l.39 \input ltdirchk.dtx

(Press Enter to retry, or Control-D to exit)
Please type another input file name: ! I can't find file `y'.
l.39 \input ltdirchk.dtx

(Press Enter to retry, or Control-D to exit)
Please type another input file name: ! I can't find file `y'.
l.39 \input ltdirchk.dtx
 
@DavidCarlisle Have you ever met Hans in person?
 
@Johannes_B oh yes, several times, most recently in Darmstadt tug 2015
 
12:38 PM
@DavidCarlisle Really? All fine here
@egreg As @DavidCarlisle says, no but we've avoided having a \let hidden inside the set up for those cases. The problem is these uses are not supported.
@Johannes_B At one point we had all of them renamed internally 'again' so they really weren't used, but that gets somewhat tricky (at the low level you do need to know the primitive behaviours)
 
@JosephWright probably local issue, ignore unless I come back to you on it
 
1:17 PM
@CarLaTeX -- don't listen only to @egreg -- his appreciation of music ends with the death of beethoven. your experience may vary, but there's lots of more recent music that is worth listening to and enjoying (even if it takes some effort the first few times you hear a piece).
 
1:29 PM
@CarLaTeX First four minutes, great :-) youtube.com/watch?v=keCPQf23kw4
 
@barbarabeeton I was a teenager in the 80's: youtube.com/watch?v=qeMFqkcPYcg (just an example) :):):):)
 
Are there any common reasons why synctex just wouldn't sync to the correct position from syncing from PDF to .tex file? It's a couple of paragraphs off.
I'm using TeXShop. I use microtype, fourier, geometry, hyperref, inputenc packages.
I won't have time to try to reduce this to a minimal example today, but if there is some extremely common cause that I didn't find, I'd appreciate a link
 
1:52 PM
@Szabolcs What TeX distribution?
 
@CarLaTeX take @egreg here, he'd enjoy it theclubmilano.it/discoteca-milano-centro
 
@Johannes_B Very funny! Unfortunately, my English is not good enough to understand everything, but just seeing an English TV show about cooking it's comical... OMG, I've put cooking and English in the same phrase!
@DavidCarlisle Surely he'd enjoy! It's full of beautiful models!
 
@CarLaTeX You can improve your swearing by watching chef Ramsay. You might even learn a thing or two about cooking.
 
@egreg fully updated latest MacTeX (I think that's TeX Live 2016)
 
@Johannes_B Also in the Italian version Ramsay is always swearing!
 
2:08 PM
@CarLaTeX I don't even know the german synchro. In the US version, everything is beeped away.
 
@Johannes_B Hahaha
 
@Szabolcs I don't seem to have problems with SyncTeX.
 
2:25 PM
@egreg Also OS X / TeXShop?
 
@Szabolcs Let me try with a big project.
@Szabolcs I recompiled from TeXShop a 195 page book. No apparent issue when using right-click from the source or from the PDF.
 
@egreg Thanks for trying! I'll try to reduce my document to a minimal example later. I just noticed that only the first half is affected.
But I need to finish typing it up now.
 
@Szabolcs @PauloCereda ^^^^
 
@Szabolcs I tried also with the unicode-math version with XeLaTeX and it's precise as well.
 
@Szabolcs I had once a problem with a chapter containing a clipped graphic. tex.stackexchange.com/questions/263105/….
 
3:12 PM
@DavidCarlisle Mail sent to team list
 
3:27 PM
@JosephWright yep.
@JosephWright will mail a reply but...
would it work simply to use l3build to bump the date after you've done a ctan build (just as in 2e I always bump the patch level, so I can tell if I'm using a format build from svn)
@JosephWright oh I suppose that's option 3 in your list...
 
3:43 PM
@UlrikeFischer sorry doesn't involve Unicode encoding of ascii quotes, so not today. feel free to answer:-)
 
@DavidCarlisle I already answered. But imho it also affects your own old answer.
 
@DavidCarlisle A few more possibles came to me whilst out for a walk with my nephew, but probably they don't need to be raised immediately: they are all relatively obvious
@DavidCarlisle Yes, can simply go for a policy change
@DavidCarlisle You'll notice the lack of any comment on the version control system used :)
@DavidCarlisle Probably I should tag the releases anyway
 
@UlrikeFischer that's a bit odd I suppose I should look inside the box and see what's different. Not just now though.
@JosephWright given the dates are all normalised before a release presumably it doesn't harm if making a change to change the version anyway, it's what I've always done editing dtx files so not doing that would seem odd if I got back to editing in l3 area
 
@DavidCarlisle Imho it never work as expected. And if I should guess I would say that the problem is that longtable changes globally \@colroom.
(But I don't meant that you should look at it now ...)
 
@DavidCarlisle Certainly another possible: that of course overlaps with the question about how one expects sources and 'use' code to related (cf. Git and the fact the lack of $Id support is by-design)
 
3:51 PM
@UlrikeFischer it's not as if longtable is designed to work in multicolumn, rather it's explictly coded not to work there:-)
 
@DavidCarlisle Do you want to add on the list or should I? Works best if we use only one scheme (i.e. no $Id lines)
 
@JosephWright I'll reply in a bit I'm just flicking over l3build now to see what the setversion thing actually does
 
@DavidCarlisle That's why I tried if it works if I move it outside ;-).
 
@DavidCarlisle Just does in-place edits
 
@JosephWright meanwhile I think I'm done with TU (and so PL2) (again)
 
3:54 PM
@DavidCarlisle We could have some 'also checkin' option but I'm reluctant to tie to much to used a version control system
 
@JosephWright yes I knew that bit. never really looked at exactly what it replaced.
 
@DavidCarlisle Speaking of l3build, I took another look at the checkcmd target: expect lots of source cleanup!
@DavidCarlisle 'Whatever you tell it to'
 
@JosephWright another option might be to instead do the replace in the build area not the source so that if you just do texlua build.lua install you get whatever the versions in svn say they are` but if you do texlua build.lua ctan --date 2017/02/19 it builds a verson with normalised dates. perhaps....
 
@DavidCarlisle Yes, that might work quite nicely
 
back to mail list I suppose
 
3:57 PM
@DavidCarlisle I'll let you suggest that, then
 
@JosephWright done
 
how is \write defined? Or rather, how would I go, after \let\originalwrite\write, to define my own?
it seems to be \def\write#1{#2}{something}, correct?
 
@mirabilos it's a tex primitive so written in pascal.
3
 
@DavidCarlisle ok sure, but how can I make a compatible definition?
 
yo'
@mirabilos where's my DO NOT DO THAT sign when I need it?
@mirabilos you moreorless can't. Any redefinition will break most of (La)TeX
 
4:10 PM
@DavidCarlisle suggested some days ago that I protect \write instead of just \addtocontents
 
@mirabilos you can't not really. But look at the shellesc package. But don't do that you will break something:-)
 
@yo' I need to wrap it basically like this:
\let\unicodedomino@addtocontents\addtocontents%
\let\unicodedomino@writing\z@%
\long\def\addtocontents#1#2{%
 \let\unicodedomino@writing\@ne%
 \unicodedomino@addtocontents{#1}{#2}%
 \let\unicodedomino@writing\z@%
}%
 
@mirabilos no you misunderstood what I meant!
 
@DavidCarlisle ooooh ok, sorry then
 
@mirabilos if your unicode commands were correctly defined as robust commands they would work in latex write commands such as \addtocontents (but not in a primitive write)
 
4:12 PM
@DavidCarlisle ah. hmm. ok, I'll test that then.
 
@yo' you didn't look what I did in shellesc did you:-)
 
yo'
@DavidCarlisle not recently... any changes?
 
@yo' no it just redefines \write :-)
 
yo'
@DavidCarlisle yeah, but I mean, ... oh I don't know what I mean. I think it's that you knew well what you were doing :-) (does that hide under moreorless? I hope so.)
 
@DavidCarlisle Can't say Hans doesn't listen ;)
 
4:22 PM
@yo' It's generally impossible to emulate a primitive via macros; the syntax for \write is \write<number><general text> and <general text> is <filler>{<balanced text><right brace>. So in theory you can say \write20\relax\space\relax\bgroup whatever}. With macros it's quite difficult (to say the least) achieve such syntax.
 
@DavidCarlisle \protected\def
@egreg LuaTeX can ;)
 
@JosephWright Yes, of course.
 
@egreg Something involving a scratch count, toks and \afterassignment?
 
@JosephWright I did say protected or robust in the original version a day or so ago, this was the cut down version:-)
 
@DavidCarlisle Ah
@DavidCarlisle \newrobustcmd perhaps better at a user level ...
 
4:24 PM
@JosephWright Possibly. But if \write is only accessed by macros at a higher level, such details are unimportant.
 
@egreg Yes, I know :)
 
yo'
@egreg indeded
 
@JosephWright mirabolos was redefining the inputenc utf8 undeclared character handling so not exactly user level:-)
 
@DavidCarlisle I was already asked by someone else to upload to CTAN once ready… ;)
/me needs to look up how CTAN works
 
@mirabilos Send them a .zip :)
 
4:27 PM
@JosephWright .tgz ITYM?
no, I mean, more people could profit from this
also, this:
 
@mirabilos They might take other forms of archive: I've always used zip files
 
@mirabilos zip is more usual but they'll accept tgz I think.
 
tglase@tglase-nb:~/Misc/Vendor/kpitool/drafts/font $ git grep -c -e '^\\switchencodingunicodechar' -e '^\\newunicodechar' -e '^\\renewunicodechar' unicodepoints.sty
unicodepoints.sty:2169
@JosephWright ah, “they” means CTAN
ok
 
@mirabilos basically just fill in this form :-) ctan.org/upload
 
now lemme try to make it all TOC safe
@DavidCarlisle oh cool, thanks!
the problem is that, even when I make my top-level macro robust, this…
\contentsline {subsection}{\numberline {2.1}Test\UTFviii@defined \u 8:💩 text}{1}{subsection.2.1}
… still is what ends up in the TOC
instead of just 💩
ah hmm, but I have an idea… maybe.
 
4:37 PM
@mirabilos must be fixable, but you'd need to post some code:-)
 
of course
I’m trying myself first
 
@mirabilos good plan
 
hm, both a macro defined with \DeclareRobustCommand and \protected\def show up expanded in the .toc file
hmm, might be caused by the \xdef, which I'm not convinced is a good idea anyway…
 
@mirabilos delcarerobust perhaps, depending what you do, but in fact it's really quite hard to write the expansion of a command defined by \protected\def to a file.
 
mh
splitting is my current problem
\def\unicodedomino@hex#1{%
 \def\temp{\expandafter\unicodedomino@hex@ll\expandafter{#1}}%
 \unicodedomino@hex@do\temp%
}%
 
4:48 PM
@mirabilos never apply xdef to unknown latex input (that would break latex robust commands, although actually works fine with \protected\def commands)
 
with \def it eventually no longer works, with \xdef the effect from above occurs, and I can't do it in one line
the called function looks like this:
\gdef\unicodedomino@hex@doit#1.#2.#3.#4.#5.{%
 \ifnum#1>0%
  \unicodedomino@box{0#1#2}{#3#4#5}%
 \else%
  \unicodedomino@box{#2#3}{#4#5}%
 \fi%
}%
\gdef\unicodedomino@hex@do#1{%
 \expandafter\unicodedomino@hex@doit#1\relax%
}%
so when I call
\expandafter\unicodedomino@hex@ll\expandafter{#1}
I actually get 1.2.3.4.5.
which is then split
but I don't manage the splitting
well, not without using \temp
with, it works (but is expanded)
 
@mirabilos too many disconnected fragments:-) If you post a MWE I might look (or I might eat instead, depending:-) are you just padding with 0 for cases where i didn't bother to do that in the standard input enc error message display of the hex?
 
I am padding, yes
I can post the complete thing, sure, give me a moment to concat it into one file
I will post the version which still wraps \addtocontents
 
@mirabilos if you want that may as well fix the version in inputenc to do it, I always find it mildly annoying when it shows three digits U+F56 or whatever, i just didn't do it at the time to save a few tokens in what is only an error case anyway
 
@DavidCarlisle could do that, yes
my first draft wrote ¿U+0123? for three-nybble and ¿U-0001F4A9? for five-nybble ones
\PassOptionsToPackage{paper=a4}{typearea}%
\documentclass{scrartcl}%
\usepackage{pdf14}%
\usepackage[a4paper,left=2cm,right=2cm,nomarginpar,includeheadfoot,top=1.5cm,headheight=0.85cm,headsep=0.65cm,footskip=1cm,bottom=1cm]{geometry}%

\usepackage[utf8]{inputenc}%
\usepackage[T1]{fontenc}%

%-- unicodedomino
\makeatletter%

\ifx\numexpr\@undefined%
 \PackageError{unicodedomino}{This package requires numexpr}%
\fi%
\ifx\UTFviii@defined\@undefined%
 \PackageError{unicodedomino}{This package requires UTF-8 input encoding}%
this works, and it breaks when removing the four lines I pointed out (near the end of unicodedomino)
I was hoping to be able to change it so that the .toc would have the call to \unicodedomino@box{012}{345}
I think my main problem is here:
   48 \def\unicodedomino@hex#1{%
   49  \edef\temp{\expandafter\unicodedomino@hex@ll\expandafter{#1}}%
   50  \unicodedomino@hex@do\temp%
   51 }%
if I didn't need the temporary definition to make this work…
but I tried with one and three \expandafter before \unicodedomino@hex@do and it did not work
 
5:10 PM
this writes the original utf8 to the aux and toc
\PassOptionsToPackage{paper=a4}{typearea}%
\documentclass{scrartcl}%
\usepackage{pdf14}%
\usepackage[a4paper,left=2cm,right=2cm,nomarginpar,includeheadfoot,top=1.5cm,headheight=0.85cm,headsep=0.65cm,footskip=1cm,bottom=1cm]{geometry}%

\usepackage[utf8]{inputenc}%
\usepackage[T1]{fontenc}%

%-- unicodedomino
\makeatletter%

\ifx\numexpr\@undefined%
 \PackageError{unicodedomino}{This package requires numexpr}%
\fi%
\ifx\UTFviii@defined\@undefined%
 \PackageError{unicodedomino}{This package requires UTF-8 input encoding}%
 
@DavidCarlisle ooooooh, neat trick!
thanks!
 
@mirabilos used quite often in latex.ltx:-)
 
@DavidCarlisle I am not yet as deeply into the mysteria of Teχ as to understand most of it ;)
 
@DavidCarlisle Which bit is the trick?
 
ifx\protect\@typeset@protect @JosephWright
 
5:22 PM
@DavidCarlisle Oh, the \protect mechanism
 
@JosephWright I'm old school. but you knew that.
 
@DavidCarlisle I see Frank is about: surprised he hasn't come back on the versioning business
 
@JosephWright the gobblefour
 
@JosephWright actually I did add a couple of \protected to the file but it's hacking in to inputenc/utf8 and by the time you realise it's not safe you don't just want to suppress expansion but rather do something completely different so without re-writing it all to fork earlier that works as well as anything
 
@DavidCarlisle Yes, I can see that
 
5:25 PM
@mirabilos oh that, just hope we never change the internal token name, it's not exactly a high level API :-)
3
 
@DavidCarlisle \use_none:nnnn :)
@DavidCarlisle Given that you probably more of the core of expl3 than me, that's not entirely believable :)
 
ok, fixed the warnings display too
Package inputenc Warning: Unicode char 💩 (U-0001F4A9) not set up for use
(inputenc)                with LaTeX, replacing on input line 20.


Package inputenc Warning: Unicode char ই (U+0987) not set up for use
(inputenc)                with LaTeX, replacing on input line 22.


Package inputenc Warning: Unicode char ⮢ (U+2BA2) not set up for use
(inputenc)                with LaTeX, replacing on input line 22.
 
@JosephWright speaking of high level interfaces, I give you three guesses who wrote the code this question asks about
1
Q: What does \mathgroup mean? How to use it?

EricI have a paragraph of lots of vectors symbols, so I need to type something like $\mathbf{a}\cdot\mathbf{b}=\frac{\mathbf{a}+\mathbf{b}}{\mathbf{a}\cdot\mathbf{v}}$(just an example). It is so inconvinient to write a \mathbf command everywhere. So I want to define a command that automatically distr...

@egreg ^^ I see you commented favourably already!
 
what should I put into the .zip file? the .sty and a README.txt?
 
@mirabilos yes unless you have also documented sources (which is perhaps more common but not required)
 
5:40 PM
@DavidCarlisle I added a few % comments inline now
meh I can always put an 1.1 with fixes later
 
@mirabilos Required is the code itself and some form of README: additional documentation as a PDF is welcome
 
@JosephWright hm okay, there’s probably not too much to document though (unlike for the other package, which can ship a list of supported Unicode codepoints)
how do I include the PDF? latex source plus precompiled PDF?
 
@mirabilos Yes: the only 'derived' file you are meant to upload is a PDF
 
@mirabilos think of any package that you use, say geometry and go texdoc geometry see how may of them show you just the .sty file using more
 
@JosephWright ok; any file name conventions?
 
5:42 PM
@mirabilos I assume your .sty doesn't clash with anything else, so 'no'
 
@JosephWright I meant for the PDF :)
basename.sty plus basename-doc.{tex,pdf}?
 
@mirabilos foo.sty foo.tex and foo.pdf is fine for package foo
 
for it to be linked like ctan.org/pkg/inconsolata
ah ok
 
5:55 PM
! LaTeX Error: Too many math alphabets used in version normal.
WTF?
(something different, I’m done with unicodedomino so far)
ah, that's only in the test document which tests with pxfonts loaded
 
@mirabilos classic tex only has 16 slots per math expression
 
@DavidCarlisle I see
I found this already, but I load neither txfonts nor (at least not directly) mathptmx…
 
@mirabilos bm ?
 
mathtools amssymb ascii bbding esint extraipa ifsym marvosym mathdots mathrsfs pifont pmboxdraw textcomp tipa tone wasysym xfrac, and a subset of stmaryrd
this is my “let's declare as many unicode characters as we can" package
(and we don't even math mode in any documents… except of course in the expansion of the Unicode codepoints, but the mere loading of the package seems to trigger it)
 
@mirabilos well if you used a unicode tex you'd only need one family (as the font can have 10FFFF characters, but you can have 256 fonts of that size), but you said you wanted to stick to pdftex so you get 16 times 256 instead
 
6:08 PM
yeah, it’s just that pxfonts automatically loads another math font (nobody uses but which blocks a slot, or even three)
can you suggest one from the above that is made obsolete by pxfonts?
then I can make that a package option, which one to depend on
 
@mirabilos math alphabets like \mathscr etc are dynamically allocated just if used but symbol fonts have to be allocated at definition time as \mathchardef\foo"1234345 requires a fixed bit-packing of the font number and character number
 
@DavidCarlisle ah thanks for the explanation
 
@mirabilos it's all very 1970's packing information bitwise into integer values to save a few bytes....
 
@DavidCarlisle I’m used to writing x86 bootloaders ;)
 
@mirabilos you should love the tex-the-program sources, lots of integer arrays indexed by global variables holding offsets....
 
6:12 PM
maybe one of the above packages can be told to load less fonts (pxfonts can't be told to not load its math part, unfortunately)?
@DavidCarlisle I have that with 1970’s nroff already
good thing I do speak Pascal, at least ;)
 
@mirabilos what are your documents, if you are not doing much math you probably don't need many or any math alphabets at all. just declare the fonts as text and then if you need a rightarrow use \text{→} then if you have set up → to work in text mode it will work in text and math using the text fonts (there is some issues of math spacing but...)
 
I’m working for the “arbitrary user input -> PDF" case here
no explicit math mode, just Unicode fun
but it should be reusable by generic documents
so I'm testing loading the package in all other tex environments we have
 
@mirabilos so as above, but really it would be so much easier to get full coverage using luatex or xetex
 
mh, but the build processes (both shell/make-based in Teckids and latex-maven-plugin based at the workplace) use pdflatex
also, one would have to retest all old documents (whether they work) and decide on which of those two to use…
IIRC luatex requires a JIT and is thus not portable, too…
 
@mirabilos fixing that is easier than getting a combined japanese/arabic/greek document to work in pdftex
@mirabilos no
@mirabilos there is a luajittex but it isn't used by default and doesn't build on all platforms. (I haven't ever used it apart from a couple of tests)
 
6:22 PM
ah okay then
I found out I can drop mathdots at cost of one char… but pxfonts seems to load multiple math fonts… :|
 
yo'
@JosephWright Is it advisable to include a tds.zip package in CTAN uploads?
 
@yo' Personally I think so, but it is somewhat controversial. One can argue for a stand-alone .sty that it's not really useful.
 
@yo' Karl's not that fond of them
 
yo'
@JosephWright ah right, that's my case actually :-)
 
6:37 PM
@yo' For 'trivial' packages, CTAN may suggest not keeping it ...
 
@yo' thing is many of them were wrong so if he has to make a tds layout and then check the supplied one, it's easier for him just to make a tds layout, but with l3build of course that could never happen...
@JosephWright test failure:
  ! ^^I./ltluatex.lua:357: in function 'create_callback'
shoudl I update tlb-ltluatex-001.luatex.tlg or shoudl we normalise away those line numbers in l3build?
 
@DavidCarlisle Odd
@DavidCarlisle Oh, it's just the number?
 
@JosephWright not really: you broke it (edited ltluatex.dtx:-)
@JosephWright yes
@JosephWright not sure how easy it is to spot line numbers in a lua stack trace, might be simpler just to update the tlg
 
@DavidCarlisle I was just wondering what to pick up myself: :\d+: in function perhaps?
 
@JosephWright that's probably safe enough in practice
 
6:44 PM
@DavidCarlisle I guess could include the .lua part too
@DavidCarlisle I'm off out in a moment: feel free to adjust or of course wait for me ...
 
@JosephWright only from files, even in that test there is a bit from directlua
stack traceback:
^^I[C]: in function 'error'
^^I./ltluatex.lua:109: in function 'module_error'
^^I./ltluatex.lua:116: in function 'luatexbase_error'
^^I./ltluatex.lua:353: in function 'create_callback'
^^I[\directlua]:1: in main chunk.
@JosephWright I think we're eating in a couple of minutes so I'll check later if you are around
 
how can I see which math fonts are loaded into those 16 slots?
I have a hard time figuring out where to cut
 
7:04 PM
@DavidCarlisle Why isn't everybody doing it? \everymath{\fam=4\displaystyle} is the best!
 
hah, I figured it out
-\RequirePackage{pxfonts}
+\renewcommand{\rmdefault}{pxr}
+\renewcommand{\sfdefault}{pxss}
that's actually enough, I think
since I now have two packages, which can be used independent of each other, should I upload them to CTAN as two separate packages? (If not, I could use unicodedomino in unicodepoints’ documentation PDF)
 
yo'
@egreg verrry naize
 
7:30 PM
how does \usepackage[T1,LGR]{fontenc}% decide which will become \encodingdefault?
 
@mirabilos last
 
@DavidCarlisle ah ok, thanks
 
@mirabilos actually "decide" implies rather more complication than is there. each one just sets the default so last one wins
 
@DavidCarlisle ok, works for me, I’ll just document that T1 should come last.
 
@mirabilos I think the "do something more interesting with undefined slots" package is probably more generally applicable than a "load every font package there is" package. so if that's the split you mean, I'd split.
 
7:34 PM
@DavidCarlisle they’d still be separate .sty files, just in the same package?
but ok, I’ll separate them (after testing when they are all combined together)
 
@mirabilos that's a possibility you can put them together on ctan but people generally get confused by "package" in the sense of ctan and system "package managers" which means "bunch of files installed as a unit" and "package" in the sense of latex \usepackage which means "single file with extension .sty` so probably I'd upload then separately although I have several ctan "packages" that consist of multiple files so it's up to you....
 
@DavidCarlisle ok I understand
 
@egreg with \textfont4=comic sans I hope
 
@DavidCarlisle don’t even JOKE about that “font”!
is \scalebox{-1}[1]{#1} still the recommended way to flip a character?
 
@mirabilos it's egreg's favourite, I posted something here for him just the other day
@mirabilos or \reflectbox (of which that is the definition) oh no, other axis, so yes.
 
7:43 PM
@DavidCarlisle thanks again!
 
@mirabilos see:
21 hours ago, by David Carlisle
Just for @egreg to admire
 
@DavidCarlisle maybe egreg is a closet OpenBSD developer…
I’m happy now — Unicode known and unknown, everywhere
 
@mirabilos :-)
 
yo'
7:59 PM
CTAN just responded; is their response time always only 40 minutes?!
Now I just need to see how releases are actually created on github
 
@yo' just push a signed tag
 
ping ctan.org
PING ctan.org (176.28.54.184) 56(84) bytes of data.
64 bytes from comedy.dante.de (176.28.54.184): icmp_seq=1 ttl=53 time=30.2 ms
Sometimes it is even quicker ;)
 
afterwards, the web UI (says natureshadow next to me) offers an option to make a real 'release', with release notes, etc. from it
 
yo'
@mickep lol :D
 
haha
 
8:16 PM
I sort of got to go (drink cocktails to celebrate… also it’s already 21:15 here), but I already published the .sty files themselves on github.com/mirabilos/tex-unicodedomino and github.com/mirabilos/tex-unicodepoints in case someone wishes to have a look (READMEs and, for unicodepoints, a PDF documentation, will follow ASAP)
just @-ping me if there's anything
 
8:43 PM
@JosephWright Hope I didn't break l3build too much
 
@DavidCarlisle Looks fine to me
 
@JosephWright do you want to do PL2 or do you trust me:-)
 
 
1 hour later…
10:15 PM
@DavidCarlisle I see LuaTeX v1.0.4 needs a new .dll
 
@JosephWright possibly I just run make and it makes whatever it makes, although the release notes mentioned a re-arrangement of library loading to accommodate the ffi thing
@JosephWright you have that from Akira?
 
@DavidCarlisle Indeed: ffi-w32.dll is the new file
@DavidCarlisle Yes, it's in W32TeX
@DavidCarlisle I've just checked ConTeXt standalone for the Mac version: it's at v1.0.3
 
@JosephWright it is probably the route to harfbuzz:-)
 
@DavidCarlisle Yup
@DavidCarlisle Good stuff (I hope)
 
@JosephWright I locally updated tlb-extraprimitives-001.luatex.tlg so the test suite passes here, but if you have 1.04 as well, should I check it in?
 
10:20 PM
@DavidCarlisle Sure
@DavidCarlisle Hopefully Mojca will build for Mac as well soon
@DavidCarlisle Interesting thing with the version strings: Akira sticks to 'current' TL (so says TL'16) but Mojca/Richard Koch go for the upcoming one, so TL'17 :)
@DavidCarlisle I guess I should check l3names against the LuaTeX list (again)
 
@JosephWright i was just thinking same that l3 would need matching update
@JosephWright I just take whatever the luatex experimental branch says which currently is This is LuaTeX, Version 1.0.4 (TeX Live 2017/dev)
 
11:02 PM
@DavidCarlisle I think I've got all of the primitives: the list in the .tlg (so from extraprimitives) seems to be missing a few I know exist, plus has stray 'eTeXVersion' and 'eTeXminorversion' (not in e-TeX itself!)
 
@JosephWright and I think Frank wants a few tweaks before PL2 :-)
 
@DavidCarlisle Looks that way
 

« first day (2303 days earlier)      last day (2645 days later) »