« first day (2606 days earlier)      last day (2329 days later) » 

2:26 AM
If I were to define some function \mypackage_function:Nnn and then create a variant with \cs_generate_variant:Nn \mypackage_function:Nnn { c }, would that result in (the equivalent of) (1) \mypackage_function:c, (2) \mypackage_function:cnn, or (3) something else? If I understand the documentation correctly, I think the answer might be (1), but I'm not 100% sure.
Oh, wait. It is (1). Never mind.
 
 
4 hours later…
6:47 AM
I just realised that I made a typo and it's actually (2)
 
7:29 AM
@Robbie You just need to specify argument specs up to the last one you want to modify. So if you have \my_foo:Nnn, you can get \my_foo:cnn with {c}; \my_foo:NVn with {NV} and \my_foo:NnV with {NnV}.
 
@egreg Thanks, that makes sense.
 
 
1 hour later…
8:44 AM
Quack!
 
Dec 2 at 9:14, by David Carlisle
@PauloCereda dinner!
 
@DavidCarlisle oh no
@DavidCarlisle: nice top hat, by the way :)
 
@PauloCereda I like to dress for the occasion
 
Scene: @DavidCarlisle finds out @egreg has got the green tick, so the monocle drops and he says, "CURSES!" :)
 
9:02 AM
Hello
that what i want to write yesterday
@DavidCarlisle @egreg
@egreg thank you
 
9:15 AM
but i must write it like in the picture
 
 
2 hours later…
11:39 AM
@JosephWright @DavidCarlisle I think graphicx is missing to set the catcode of = to 12 before loading supp-pdf.mkii. tex.stackexchange.com/questions/406860/…
\documentclass{report}
\usepackage[turkish]{babel}
\usepackage{graphicx}

\begin{document}
blub
\end{document}
 
@UlrikeFischer or rather [turkish] shouldn't make = active in the preamble and break every following package/
 
@DavidCarlisle = isn't active in the preamble, only at \begin{document} (like the other babel shorthands too).
 
@UlrikeFischer blurg it's still wrong:-) I suppose we can do something.
 
@DavidCarlisle The problem is that supp-pdf.mkii is read only at begin document.
 
@UlrikeFischer yes, I do wonder when anyone last actually used that code...
 
11:50 AM
@DavidCarlisle In tl 2016 it worked. Heiko's \GPT@catcodes in pdftex.def did reset the catcode to 12.
 
@UlrikeFischer that code reset all kinds of things (he's far more forgiving than we are:-)
 
@DavidCarlisle Remove it and then wait for the complains and you will know ;-).
 
@UlrikeFischer it's ironic that almost all the uses of = in that file are setting catcodes to protect the file from packages that have set things to non standard catcodes....
 
@DavidCarlisle Yes, I thought this too ;-)
 
$ git diff pdftex.def
diff --git a/pdftex.def b/pdftex.def
index f1332f0..a45c7b4 100644
--- a/pdftex.def
+++ b/pdftex.def
@@ -522,8 +522,9 @@ E     \else
     \edef\@tempa{%
       \catcode`\noexpand\<\the\catcode`\<\relax
       \catcode`\noexpand\>\the\catcode`\>\relax
+      \catcode`\noexpand\=\the\catcode`\=\relax
       }%
-    \@makeother\<\@makeother\<%
+    \@makeother\<\@makeother\<\@makeother\=%
     % supp-pdf.mkii tests against \undefined:
     % just in case someone has defined it ...
@UlrikeFischer ^^
 
12:08 PM
@DavidCarlisle Should one of the \@makeother\< be \@makeother\> instead?
 
@HaraldHanche-Olsen hmmmm
@HaraldHanche-Olsen it could be that we wanted to really make sure that < had catcode 12, by setting it twice, just in case.
 
@DavidCarlisle good. I will drop a line at the question on the main site.
 
@JosephWright ^^^^
 
@DavidCarlisle Tricky business, this catcode stuff
 
$ git diff pdftex.def
diff --git a/pdftex.def b/pdftex.def
index f1332f0..cddb7e6 100644
--- a/pdftex.def
+++ b/pdftex.def
@@ -522,8 +522,9 @@ E     \else
     \edef\@tempa{%
       \catcode`\noexpand\<\the\catcode`\<\relax
       \catcode`\noexpand\>\the\catcode`\>\relax
+      \catcode`\noexpand\=\the\catcode`\=\relax
       }%
-    \@makeother\<\@makeother\<%
+    \@makeother\<\@makeother\>\@makeother\=%
     % supp-pdf.mkii tests against \undefined:
     % just in case someone has defined it ...
 
 
2 hours later…
1:50 PM
Can anybody help me on making table in bengali script in latex when using tex.stackexchange.com/questions/99606/… or anything else
Why some people have a hat in chat room?
 
@alhelal doesn't standard latex table markup work?
 
@DavidCarlisle I'd seen
@DavidCarlisle We should (I think) actually address the catcode business
 
@JosephWright globally you mean?
 
@DavidCarlisle Yes: lay down the 'law'
@DavidCarlisle One for the team meeting I guess
 
1:58 PM
@JosephWright \catcode`\j=0 for everyone
 
@DavidCarlisle :)
 
@JosephWright not at all sure I can make the meetings (I might be at home or at my parents or driving up the M1, family arrangements seem particularly complicated this year:-)
@alhelal you have \& which typeset & you want & to act as a table cell division
 
@DavidCarlisle Sure
@DavidCarlisle See my comment re 'flexibility'
 
@JosephWright I suppose if we bundled in making some punctuation characters always active alongside utf8 handling, it might just work....
 
2:05 PM
@DavidCarlisle this works. but why this error?
 
@alhelal you need \\ before the rule to end the previous line
 
@DavidCarlisle thanks.
How to put horizontal line after each line easilly?
 
2:24 PM
\midrule but this is not a sensible way of learning latex:-)
@alhelal I suggested \midrule rather than the standard \hline as you are using booktabs package, but read that package documentation if you are using the package, it strongly advises against using vertical rules (|) and they do not really work with \toprule \midrule \bottomrule as the extra space around the horizontal rules breaks the vertical.
 
This year, give them a gift they will love, use, and cherish; give the gift of the Oxford comma.
 
 
1 hour later…
3:54 PM
@DavidCarlisle Yes, I know using vertical rule is bad typography.
@DavidCarlisle I have to use \midrule after each line. I want use something one time without repeating each time.
 
4:39 PM
@alhelal \newcommand\zz{\\\midrule} then use \zz instead of \\ That's how latex works you can define commands for things you use often.
 
5:03 PM
@JosephWright we have a new member:-)
 
@DavidCarlisle Frank in disguise?
3
 
@DavidCarlisle thanks
 
@egreg LOL
 
yo'
@DavidCarlisle unless you can not :-)
@mickep It is a reason why we like to have @barbarabeeton around. However, it's nowhere near being the only reason!
 
5:22 PM
@yo' details
 
yo'
@DavidCarlisle \def\ba and \def\ea (it's an easy quiz for you to complete)
 
I don't find my mistake.
 
yo'
@alhelal centering is not an environment. Try center. Or:
{\centering TITLE \par}
However, you should not need manual formatting like this; some conceptual choice shall avoid these problems.
 
@alhelal as @yo' said and leave a blank line after \end[tabular}
 
5:40 PM
@DavidCarlisle yes.
 
5:51 PM
excellent comment on the enumerate package thoughDavid Carlisle 6 mins ago
 
@DavidCarlisle très bien!
@DavidCarlisle hmmmmmm
 
6:23 PM
Does anybody understand this question?
0
Q: Beautiful random graphs

DeltaScuti_FomalhautbAre their any examples of beautiful random graphs like \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ybar] \addplot+[samples at={0,...,10}]{rnd}; \end{axis} \end{tikzpicture} \end{document} I would like to form a collection of such graphs ...

 
6:35 PM
@yo' Indeed!
 
@Johannes_B No more than I did in tex.stackexchange.com/questions/400907, but I added a comment.
 
@TorbjørnT. It is a bit like Can you show photos of potatoes? I want many potatoe photos
3
 
@Johannes_B Das Kartofel!
 
@Johannes_B Find a database of graphs and pick one at random
 
@egreg Or we could show just one, very specific graph. :) That's the thing with random, we can never be sure. :)
 
@egreg FANTASTIC :)
 
 
2 hours later…
8:28 PM
@barbarabeeton You'd not shared the video before:-)
 
@DavidCarlisle -- true. i actually hadn't looked for it before. after all, i get to enjoy it in person every december. (and by now, i can even sing along, but restrain myself so that no one else can hear.)
 
 
2 hours later…
10:59 PM
What's the best way to point people to ancillary documents that are in a separate folder of a package's documentation (i.e., documents that don't come up with texdoc.)?
 
@AlanMunn example?
 
In my thesis class (msu-thesis) there's a samples folder which contains a template .tex file that people can start with. But it's not very visible. Is there a way I can link to it in the documentation?
 
11:53 PM
@AlanMunn if you assume the package doc is being read from doc/latex/msu-thesis/msu-thesis.pdf you could make a relative link to the pdf output from the sample, or just document in the documentation that texdoc MSU-thesis-template shows some sample output
@AlanMunn I think if you arranged that MSU-thesis-template.pdf was in the same directory as msu-thesis.pdf then texdoc -l msu would list it rather than needing to give the full name.
 

« first day (2606 days earlier)      last day (2329 days later) »