« first day (3532 days earlier)      last day (1384 days later) » 

12:23 AM
@DavidCarlisle You're right... it's the bad (or good) habit of trying not to depend on the OS, anyway it's a great project, I hope to see it in action soon :)
 
 
6 hours later…
6:18 AM
@DavidCarlisle Fine with me: we are not tied to anything
 
@JosephWright (sorry for always bothering you with my L3 related questions): How could I write a test in l3build which needs multiple files (because I have to somehow write tests for the class/package option package)?
 
@Skillmonlikestopanswers.xyz Put them in a support folder inside testfiles: see for example l3kernel and tests for file input
 
@JosephWright thanks, I'll take a look :)
 
 
1 hour later…
7:47 AM
I get an overfull hbox warning from the following code (and I'm totally lost on why):
\input{regression-test}

\RequirePackage{expkv-opt}

\START
\OMIT
\makeatletter
\newcommand\setoptions[2][\relax]
  {%
    \unless\ifx\relax#1%
      \def\@currext{#1}%
    \fi
    \expandafter\def\csname opt@\@currname.\@currext\endcsname{#2}%
  }%
\ekvdef{known set}{keyA}{}%
\ekvdefNoVal{known set}{keyB}{}%
\setoptions[pkg]{keyA,keyB=value,keyC={value, with a comma}}%
\TIMO
Forget about it, found my stupid mistake :)
 
8:01 AM
Morning @DavidCarlisle
Interesting discussion about TeX and website (mis)design: twitter.com/patrickgundlach/status/1278584101289811968
 
8:18 AM
@JosephWright will look...
 
@JosephWright well one can certainly discuss some design decision, but I don't think that he is right when claiming, that you can't find the central information. On all sites the "we are a group supporting TeX" and "what is TeX" is prominent and easy to find.
 
@UlrikeFischer also there is the issue that new users who need to know what tex is don't start (or join or use) the user groups, they come here....
 
@JosephWright you saw the error I mentioned yesterday?
 
@UlrikeFischer No
 
@JosephWright there is a variant missing: \cs_generate_variant:Nn\prop_put:Nnn {cxx}
 
8:33 AM
@UlrikeFischer REally?
 
@JosephWright oh, then I need to recreate the formats to get this.
 
@UlrikeFischer Yes: for testing, I'm just adding the appropiate variants at the start of my test file
 
@JosephWright today texlive update has taken care of this.
 
@JosephWright what's happened with www.tex.ac.uk and redirects to texfaq for the old cgi-bin/texfaq2html url, I thought they were working before?
 
@DavidCarlisle It was: @StefanKottwitz any ideas?
@DavidCarlisle Perhaps something to do with having to move the DNS? But that was working ...
$ORIGIN tex.ac.uk.
*                       300 MX    10     mail.texfaq.net.
ftp                     300 CNAME        texfaq.net.
www                     300 CNAME        texfaq.net.
@DavidCarlisle ^^^ DNS record at Mythic Beasts
 
8:42 AM
@JosephWright texfaq.net? (not .org?)
 
@DavidCarlisle Ah, that would be the issue :)
 
@JosephWright stick to .xyz :-)
 
@DavidCarlisle :)
@DavidCarlisle DNS fixed, give it ... a little while
@DavidCarlisle Hmm, still not right
 
I'm trying to figure out what is needed to setup a new color model. What is required to get `\color_set:nnn {myspot1} {spotA} {0.5,1}\color_select:n {myspot1}
` to write the /SpotA cs ... into the pdf? Is there already something setup for non device colors?
 
@UlrikeFischer The selecting shoudl work, it's the set up I've not done, but at present I've been focussed on trying to get export/multi-models right, as DeviceN/Separations really needs to build on it
 
8:50 AM
@JosephWright not valid for www.tex.ac.uk. The certificate is only valid for the following names: texfragen.de, www.texfragen.de blame @UlrikeFischer she's German:-)
 
@DavidCarlisle I get a 404 from GitHub Pages :(
 
@JosephWright oh I don't get that far, perhaps dns takes a while (actually when I set up latexcgi dns I had to quit my work vpn before I saw it that day) but /cgi-bin/texfaq2html?whatever are supposed to work at texfaq.org
 
@JosephWright it works with spot and one value: \color_set:nnn {myspot1} {spot} {0.5}, but not with another name and with two values.
 
@UlrikeFischer Ah, probably I need to do more testing :)
@UlrikeFischer I see that my latest checkin failed as we are at the deprecations-to-remove point, so I'll need to do a bit on master before I can get anything to pass in the branch(es)
 
cis
@ expkv

Is there a way to use a bool depending on another bool?


I tried
  ,boolTF boolA = \myboolATF
  ,boolTF boolB = \myboolBTF



    \myboolATF{S1 S2 S3}{S0}%
    \myboolBTF{\iftrue{boolA}{AAA}{BBB}}{YYY}%
is that trival or should I ask a proper question on the main page?
 
9:00 AM
there is place for improvement here ;-)
better ;-)
 
@DavidCarlisle the cpanm tool (cpanminus) is my tool of choice nowadays for perl as it installs to the current user or your dir of choice by default. It also have a nice way of listing dependencies such that when you install those then if it is not in the base installation it will install it for you (compiles it from scratch, so build tools are needed, bit scary if you want to install your own database drivers)
 
@DavidCarlisle IIRC, there are ISPs/regions in which .xyz are blocked (topanswers had such an issue, I think)
@cis the boolean value is only stored in the \myboolATF macro by letting it to \@firstoftwo or \@secondoftwo, so you'd use \myboolBTF{\myboolATF{AAA}{BBB}}{YYY}.
 
cis
9:17 AM
@Skillmonlikestopanswers.xyz Works!
\documentclass{article}
%\usepackage{xcolor}
\usepackage{expkv}
\usepackage{expkv-def}

\ekvdefinekeys{cmd}{
  ,boolTF boolA = \boolATF
  ,boolTF boolB = \boolBTF
}
\newcommand\cmd[1][]
  {%
    \begingroup
    \ekvset{cmd}{#1}%
    \boolATF{S1 S2 S3}{S0}%
    \boolBTF{\boolBTF{\boolATF{AAA}{BBB}}{YYY}}{}%
    \endgroup
  }

\begin{document}
\cmd[boolA=true, boolB=true]

\cmd[boolA=true, boolB=false]

\cmd[boolA=false, boolB=true]

\cmd[boolA=false, boolB=false]
\end{document}
 
@Skillmonlikestopanswers.xyz really? it works for me, so I don't care:-)
 
quack
 
cis
Puhh, two times `\boolBTF`
This has to come to mind first....
 
@JosephWright hm, did I remember right that l3build doesn't copy support files with umlauts?
 
@UlrikeFischer It should work, but I've not tested all this
 
9:34 AM
@JosephWright it doesn't work, I have two files in the support dir, and the one is then in the build dir and the other (grüße.txt) not.
 
@UlrikeFischer I'll have to look at that
 
@JosephWright but it is not pressing, I will use filecontents for now in this test.
 
10:10 AM
@cis Your code doesn't make sense, if \boolBTF is false the first will use the second value (empty), if it is true it'll use its first value (\boolBTF{\boolATF{AAA}{BBB}}{YYY}), but the second \boolBTF will never input YYY, because to get it called it has to be true. So the code you posted is equivalent to \boolBTF{\boolATF{AAA}{BBB}}{}, which doesn't seem like what you want to do. Instead \boolBTF{\boolATF{AAA}{BBB}}{YYY} should be what you intend.
 
10:23 AM
@JosephWright Is there a option for l3build to skip the format generation when testing LaTeX2e and use a preinstalled format?
 
@cis also, you can use an \ifnum test to get logical AND, logical OR, or logical XOR tests:
\documentclass{article}

\usepackage{expkv-def}

\ekvdefinekeys{cmd}
  {%
     boolTF boolA = \boolATF
    ,boolTF boolB = \boolBTF
  }

\newcommand*\cmd[1][]
  {%
    \begingroup
    \ekvset{cmd}{#1}%
    boolA: \boolATF{true}{false}\par
    boolB: \boolBTF{true}{false}\par
    Or-test:
    \ifnum\boolATF{1}{}\boolBTF{1}{}0>0
      true%
    \else
      false%
    \fi
    \par
    And-test:
    \ifnum\boolATF{\boolBTF{1}{}}{}0>0
      true%
    \else
      false%
    \fi
    \par
    Xor-test:
 
@MarcelKrüger --rerun?
@MarcelKrüger Not really, as the cases where we need a custom format tend to go badly wrong without it
 
@JosephWright OK, then I will have to teach l3build to build luametatex formats... Is there a list of all engine options which l3build might try to use and which have to be supported in order to run l3build?
 
cis
Uiii, I have to confess, it doesn't make it easier for me at this moment.

But I am currently designing an (abstract, that is to say general) overall example.

Maybe you can take a look at it later.
 
@MarcelKrüger The engine list is in checkengines, you also need to use specialformats
 
10:31 AM
Just realized, that as a micro optimization, having spaces around the key and value in expkv's space stripper is faster than without spaces (still a macro expecting user input shouldn't introduce additional spaces, as the space stripper only strips one space on either end). (This observation is not true for l3keys and packages using expl3's space stripping code)
 
 
1 hour later…
11:44 AM
Someone with admin rights can you please have a look at: tex.stackexchange.com/q/552001/3929 doesn't the person have access to edit their own question (which is of very poor quality)
 
12:04 PM
@daleif As long as they'd stayed logged in
 
@JosephWright then I don't understand why the person insist that they cannot editor their question. The MWE was quite important (they placed it in the chat) as it easily showed the problem
 
@daleif 'Can' in a technical sense and 'manage to do it' are not the same
 
cis
Why does that not work?

\newcommand\myitem[1]{
\item \begin{verbatim} #1 \end{verbatim} \\
#1}

where #1 is a command like \cmd[....]
 
@JosephWright pointing to .org is good, and check the cgi-bin/texfaq2html path
 
@cis Verbatim-in-argument
@cis You cannot wrap up verbatim inside an argument
 
12:18 PM
@cis because the moment #1 is read as an argument it gets tokenized (fixed category codes) and the category code changes of \verb and verbatim can't apply anymore.
 
cis
@JosephWright OK, is there a short way to solve?
 
@cis You'd have to do it the other way around.
 
cis
@Skillmonlikestopanswers.xyz Ehhh, what? :()
 
@cis first read verbatim and then reapply catcodes.
@cis I'm writing an MWE.
 
@JosephWright @DavidCarlisle Just fix the DNS. Both for tex.ac.uk and www.tex.ac.uk
@JosephWright @DavidCarlisle something points to the old name/IP so you get a default certificate from the wrong server
 
12:21 PM
@StefanKottwitz Hopefully I have, but now GitHub is not happy: at least it's Not Your Fault
 
@JosephWright Let me know if we should have it separate again with full control and doing frequent mirroring from the Github source
 
\documentclass{article}

\usepackage{xparse}

\ExplSyntaxOn
\NewDocumentCommand\myitem{v}
  {
    \item \texttt { #1 } \\
    \tl_rescan:nn {} { #1 } % this is like reading #1 again
  }
\cs_new:Npn \mycmd { This~is~a~macro }
\ExplSyntaxOff

\begin{document}
\begin{itemize}
  \myitem{\mycmd}
\end{itemize}
\end{document}
@cis ^^^^
 
cis
@Skillmonlikestopanswers.xyz Oha, I was afraid of it. Thanks anyway.
 
cis
12:45 PM
@Skillmonlikestopanswers.xyz There is a solution with tcolorbox as well:
\documentclass{article}
\usepackage[most]{tcolorbox}
 \tcbset{colback=white, colframe=white, fontupper=\ttfamily}

\newcommand\aaa{the command}
\begin{document}
\begin{tcblisting}{}
(1) \aaa
\end{tcblisting}
\end{document}
 
@cis guess what that's doing internally :)
 
cis
I think so. He uses xparse too as far I know.

tbcitemize is an further option. But I don't need itemize so badly now.
 
@cis well, of course there is equivalent code outside of expl3 as well. \tl_rescan:nn is essentially not so different from \scantokens (but using \scantokens directly is a major pain in the ..., so be glad that you can use \tl_rescan:nn) and changing category codes to read something verbatim was a known technique long before xparse as well. Still, imho, expl3 makes all this way more convenient.
 
@Skillmonlikestopanswers.xyz The only inconvenience (depending on the use case, of course) of \tl_rescan:nn is that it reads things with a fixed catcode setting, and we haven't decided on a good interface yet (nor if there will be one)
 
@PhelypeOleinik I don't really see this as an inconvenience most of the time. And using \scantokens correctly is a much bigger inconvenience.
 
12:57 PM
@Skillmonlikestopanswers.xyz That is true. As I said, depends on the use case. Most of the time it's fine
 
@PhelypeOleinik Catcode tables ;)
 
@JosephWright :-)
 
@JosephWright I saw the many commits you and Bruno pushed... :)
 
@JosephWright I'll push a test for Bruno's comment on interleaving cctabs with groups
@JosephWright Not too much can be done without overusing \aftergroup, but at least a pretty error message
 
@Skillmonlikestopanswers.xyz More to do yet
@PhelypeOleinik OK, go for it
@PhelypeOleinik I'll sort the deprecations before I take on my actions there
 
1:04 PM
@JosephWright cctab deprecations?
 
@PhelypeOleinik No, the general ones: they expire and stop use compiling docs (deliberately)
 
@JosephWright Ah, right, the mid-year ones
 
cis
1:25 PM
@Skillmonlikestopanswers.xyz That is my abstract example. That is probably not understandable as I imagine it? My problem is the last option.
% arara: lualatex
% arara: lualatex
% arara: ghostscript: {  resolution: 250  , device: png16m}

\documentclass{article}
\usepackage{verbatimbox}
\usepackage{tikz}
%\usepackage{xcolor}
\usepackage{expkv}
\usepackage{expkv-def}

\tikzset{
CommonStyle/.style={baseline=0em, anchor=base, remember picture},
SymbolTextColor/.style={text=#1},
SymbolTextColor/.default={black},
}


\newcommand\TheSymbol{%
\noindent\begin{tikzpicture}[CommonStyle]
\node[] (tempcoordinate-0) {S0};
\end{tikzpicture}}

\newcommand\TheMap{\foreach \n in {1,2,3}{%
 
cis
1:54 PM
The solution is probably very simple to program.
I could ask the question on the main page. But I could probably only take out one of the two options 'arrows' or 'startpoints' to shorten the example.
 
cis
2:17 PM
0
Q: keyvalue-command: A Key changes Another

cisI have a keyvalue-command \cmd[map] that produces Now I need another key stepstrokes=true, that produces That means: Text of 'map' is gray now and the 'stepstrokes' overlay (and 'startpoints' or 'arrows' [see below] is futhermore an option). U hope, this is understandable. The solution is pr...

 
2:35 PM
@cis there are multiple solutions here. You could create a choice key for stepstrokes which only accepts true or false but does more than a boolTF (namely also setting other keys).
@cis but does it make sense to evaluate map at all if stepstrokes is true? Your output routine for stepstrokes does already incorporate also the map routine, so wouldn't it be more sensible to ignore the map completely as soon as stepstrokes is true?
 
cis
2:56 PM
"choice " sounds not bad. I do not know the package so well yet.

I leave a commend at your answer.

BTW: What is still missing are various keys for colors, e.g. `arrows = green` (I currently don’t know how to do that with a bool key). But first I wanted to let that out in the MWE.
 
@cis you can't do that with a bool key, those only accept the values true and false. What you could do is using a data key and adding a special flag as the default if no value is given, then you wouldn't use the \myarrows as the \mycolor data key (so not directly forwarding to \color) but check whether the value is equal to the special flag or not, and only pass it to \color if it is, else you just draw the arrows.
@cis or you set the arrows key up to be a meta key and forward any value to another set of keys which only affect the arrows, that could result in a a syntax like \mycmd[arrows={color=red, thick}] (similar to what pgf does, but you couldn't access the key arrows.set(color) like in pgf, so no \mycmd[arrows/color=red] as expkv isn't using a directory tree like structure for its keys).
Also I realized I should add a feature to expkv, namely a user definable handler for undefined keys in a set...
 
cis
3:13 PM
Mmhhh ..... I think this whole story with the additional options (e.g. "arrows = green"), I should discuss with a simple, separate MWE.

Hehe, your package will become really popular.
 
 
3 hours later…
5:49 PM
operator: what’s your emergency
me: my fridge fell on me
operator: is anything broken
me: some eggs maybe
 
Lol
Btw the joke is a bit lame ..
Jk
 
yo'
6:28 PM
support: what's on your screen?
user: eeeeeh a flower pot
support: no, I mean what's written there?
user: eeeeeh Sony?
 
@yo' LOL
 
@yo' hahahaha
 
 
2 hours later…
8:17 PM
uff I didn't break pdftexcmds -- at least for now ;-)
 
@UlrikeFischer we'll know whom to blame :)
 
@UlrikeFischer did you break something else instead?
 
8:36 PM
@DavidCarlisle not yet, but I could try to create a pull request for colortbl ;-)
 
yo'
9:31 PM
BTW, we're just discussing how and when to enable the strict (halt-on-error) mode on Overleaf...
 
10:05 PM
@JosephWright latexcgi live on learnlatex
@yo' switch over to learnlatex.org interface?
 
@DavidCarlisle ooh ;-)
 
10:20 PM
@UlrikeFischer if it all goes wrong I'll blame you.
 
@DavidCarlisle ;-)
 
10:55 PM
@egreg anyone, why does [nonewpage]{imakeidx} cause a warning that makeindex needs to be run by hand?
\documentclass{article}
\usepackage[nonewpage]{imakeidx}
\makeindex
\begin{document}
Some text about Foo\index{foo}.
More text\index{baz!bar}.
Even more text\index{alpha@$\alpha$}.
More text about a different part of baz\index{baz!wibble}.

\clearpage
Some text about Foo\index{foo} again, on a different page.
Even more text\index{beta@$\beta$}.
\printindex
\end{document}
 
1
A: nonewpage option in imakeidx prevents me from using an .ist file

egregWith the option nonewpage it's impossible for imakeidx to call automatically makeindex, because the index file has to be closed before the last page is shipped out and entries in it would be lost. Assuming your file is named ahorn.tex, you have to run pdflatex ahorn makeindex -s debugging ahorn...

 
@UlrikeFischer I even read the doc and it doesn't mention this:-) not sure why imakeindex can't force a makeindex run next time by writing to the aux file? I should look at at the code one day, not tonight though:-)
 
@DavidCarlisle i have been wondering too if the new shipout would work, but not tonight either ;-)
 
@UlrikeFischer alternatively I'll have to do what the doc at latexcgi says I plan to do which is to add a % !TEX makeindex possibility to force a makeindex run (gets more like arara every day, but written in a proper language:-)
 

« first day (3532 days earlier)      last day (1384 days later) »