« first day (3570 days earlier)      last day (1354 days later) » 

8:47 AM
@Skillmonlikestopanswers.xyz quack
 
9:03 AM
@PauloCereda ...
 
@DavidCarlisle oh... no?
 
9:53 AM
\documentclass{article}
\usepackage{l3color}
\usepackage[dvipsnames,usenames]{color}
\listfiles
\begin{document}
\ExplSyntaxOn
\color_select:n { MidnightBlue!50!Emerald }
\ExplSyntaxOff
Hello world
\end{document}
@UlrikeFischer, @DavidCarlisle ^^^ Should be working now
 
@JosephWright with your change from yesterday? Yes should work, I had this locally already too. But it naturally simply setups the colors as cmyk and drops the "named" stuff in the postscript (which should be ok for now imho)
 
Don't you guys love getting emails from CTAN about your uploads? :)
 
@PauloCereda did you use l3build?
 
@JosephWright what should we do with the "odd" models in xcolor, e.g. cmy, Gray, hsb, wave? \pretocmd{\XC@definec@lor}{\@expl@color@set@nnn{#2}{#4}{#5}} works basically fine, but naturally errors if an unknown color model is used. Should \@expl@color@set@nnn warn that these models are not supported?
 
@DavidCarlisle what's that? :)
 
10:00 AM
@PauloCereda It's a device that allows you to blame Joseph for any errors in the upload.
6
 
@DavidCarlisle ooh
 
how on earth does texdoc match documentations? when I try texdoc l3colors it opens the xcolor documentation.
 
@UlrikeFischer magic
@UlrikeFischer I get the l3color doc for texdoc l3color, and the luacolor doc for texdoc l3colors
 
cis
Another problem was the query IfFileHasChanged more than 1 time.
But I think so it runs well and I can use that.
TYVM².
 
@DavidCarlisle fuzzy matching with a large value of fuzziness.
 
cis
10:07 AM
% tex.stackexchange.com/questions/557511/…?
\begin{filecontents*}{IfFileHasChanged.tex}
\RequirePackage{expl3}
\ExplSyntaxOn
\file_if_exist:nTF { myfile.txt }
  {
    \ior_open:Nn \g_tmpa_ior { myfile.txt }
    \ior_str_get:NN \g_tmpa_ior \l_tmpa_tl
    \ior_close:N \g_tmpa_ior
    \tl_put_right:Nn \l_tmpa_tl { ~change. }
  }
  { \tl_set:Nn \l_tmpa_tl { This~is~my~file. } }
\iow_open:Nn \g_tmpa_iow { myfile.txt }
\iow_now:Nx \g_tmpa_iow { \l_tmpa_tl }
@PhelypeOleinik
@PhelypeOleinik So you could consider make this a package. Some users could need that. ;)
 
11:00 AM
@UlrikeFischer Well yes, as the reason for passing to l3color is really just for export
 
@JosephWright yes, I think that is quite ok so. I tried yesterday to use it for the hyperref keys, and imho as soon as I can more or less be sure that colors defined with color and xcolor are known to l3color it will work very fine, and most of hycolor can be declared "legacy code" ;-).
 
@UlrikeFischer My initial thinking was that we shouldn't be re-parse data from xcolor, rather we should look to add a 'pass to l3color' function only once the model has been checked
@UlrikeFischer Second possible is to do more-or-less that: filter on the model and simply ignore colors we don't support
@UlrikeFischer The other models could be set up for legacy conversion
 
@JosephWright that is what the code is doing, it basically only pass the arguments to \color_set:nnn, like in color, but as xcolor has more models than l3color, one has to decide, if xcolor or we should do the filtering (or if we should support this models).
@JosephWright we are saying the same things ;-)
@JosephWright imho we need also some color conditionals, e.g. "\color_model_if_exist:n" (and perhaps "\color_if_exist:n") for this filtering.
 
 
2 hours later…
12:50 PM
@PhelypeOleinik I do find the messages (from latex/develop) here curious. Has this been changed in the newest code?
\documentclass{article}
\ShowHook {env/document/before}
\begin{document}
xxx
\end{document}
 
1:00 PM
> Poll: 1 in 3 Americans would decline COVID-19 vaccine: axios.com/…
Wait, WHAT?!
 
@moewe both the biber and the biblatex docu write that the "protocols http and ftp" are supported for remote datasources. But I just tried with a https source and it seems to work fine with it too. Is this simply missing in the docu, or are they known restrictions with https?
 
@UlrikeFischer Good question. I'm not quite sure. That's ultimately up to Biber and I know pretty little about its internals. If you want to be sure you need to ask PLK. All I can say is that OpenSSL (libssl, libcrypto) is compiled into Biber, so it should support SSL.
 
1:17 PM
@moewe ok that sounds as if it is only missing in the docu. I will open an issue. Thanks
 
@UlrikeFischer Yeah, I guess so, though HTTPS support can be a bit tricky. Case in point: Last time I looked LuaTeX didn't appear to support HTPPS requests which is a shame with the direction things are moving in.
 
1:39 PM
I created two glossaries with the command \newglossary
\newglossary{abbreviations}{sym}{sbl}{List of Abbreviations}
\newglossary{symbols}{sym}{sbl}{List of Symbols}
Then I defined entries as follows \newglossaryentry{pdf}{type=abbreviations, ... or \newglossaryentry{definedas}{type=symbols, ...
I want to print all abbreviations and symbols, no matter if I use \gls or not in the text
So, I am using \glsaddall after the definition of all entries
However, if I do like I described, I like a list of symbols and abbreviations, but the list of symbols also contains the abbreviations and viceversa
How to solve this issue?
wait
Maybe I found the problem
nope
no
I don't find the problem...
 
@nbro don't use the same extensions for both glossaries ({sym}{sbl}).
 
so what can I use there?
I don't know what those arguments are
 
@nbro then go to the documentation, chapter 12 Defining New Glossaries, and read up what the arguments do.
 
1:54 PM
huh...no
I hate docs, especially, latex's docs
It's faster to do trial an error
anyway, yout suggestion worked
I had already tried it
 
@nbro if you say so. How long are you now trying to solve this problem by trial and error?
 
probably it wasn't working cuz I had already created the files
so I deleted all files and recompiled
 
@nbro the biggest error in trial and error is to not stop trying after some errors ;-)
 
Mar 26 '12 at 19:37, by David Carlisle
@Canageek moral of the story: never read the documentation, bad things happen
 
well
latex docs are not appealing
 
2:14 PM
@PauloCereda -- Oh, very neat! Thanks.
 
2:33 PM
any one knows how to write the sigmoid-like symbol? i.e. something like an integral symbol but more like an S?
 
@nbro no it's abusing the goodwill of others.
5
@CarLaTeX wise words
 
@PauloCereda /distinct rabbit sound
 
2:50 PM
@nbro any examples you can show?, most uses of sigmoid functions i see use a sigma, as in math.stackexchange.com/questions/78575/… but your usage sounds rather different
 
@DavidCarlisle No? I am asking a question. If someone wants to answer, fine, otherwise, I will try to search for another solution, like more trial and error or search in the docs
If someone already knows the answer, I can get it it in 5 minutes, rather than 30 minutes of looking into the docs
 
@nbro and if every user does the same? If you find the docs are not helpful, you can always suggest improvements.
 
well, I use latex as a tool to have the job done
 
@nbro for which you rely on volunteer labour to support the system, which is fine, but no need to abuse it.
2
 
well, I think I am not really abusing your goodwill or something. you know you are volunteers and you can decide whether to help or not
I am myself a regular SE but on another SE site
I help cuz I want and sometimes I know that some people try to "exploit you"
but I can decide to ignore
I understand them cuz they need help
but well I also need to take care of myself
Also, I come here, to this chat, cuz typically there are a lot of knowledgable users here
so the likelihood of finding an answer faster than searching through the docs is relatively high
but I guess I already talked too much lol
 
 
2 hours later…
4:35 PM
@UlrikeFischer are hopatch pagesel and oberdiek good to go to ctan ?
ah I remember now some pdf diffs in oberdiek
ah and this in hopatch tests just for xetex?
! (../l3backend-xdvipdfmx.def
! File: l3backend-xdvipdfmx.def ....-..-.. L3 backend support: xdvipdfmx
! \g__graphics_track_int=\count...
! \l__pdf_internal_box=\box...
! \g__pdf_backend_object_int=\count...
! \g__pdf_backend_annotation_int=\count...
! )
 
cis
Does TeXLive include a Sinhala font (*.ttf etc.)?

I don't know how to search.
 
@cis I don't think so but with xelatex and lualatex you can use a system font or free ones like noto see examples at tex.stackexchange.com/search?q=sinhala I think the only indic font actually in texlive is shobhika for Devanāgarī but I may have missed something
 
4:57 PM
@DavidCarlisle basically yes. I was only wondering if we should extend the readme in oberdiek, and if we need some version number. And before the upload we should warn Henry Menke ;-)
@DavidCarlisle do you get a failure?
 
@UlrikeFischer no I think the date is OK (I just made it 1st aug to match oberdiek.tex) I get failures in oberdiek and hopatch
@UlrikeFischer hopatch because l3backend gets input as shown above and oberdiek the pdf diffs show different font ids
 
@DavidCarlisle but probably we should write a readme.md with a licence, don't we? I just run the hopatch tests and they work fine for me. But they use the expl3 files from a current master, not the texlive stuff.
 
@UlrikeFischer ah I was reading the diff backwards the saved version includes the l3backend file and my local one didn't OK, I can change my paths around again:-) That probably accounts for the oberdiek diff as well.
@UlrikeFischer the Oberdiek READMe has got past ctan previously but we could add a line saying it's LPPL if you think that's better
 
@DavidCarlisle I will look at it, when I'm back from dinner.
 
@UlrikeFischer yes we'll be eating in a bit too :-)
 
5:50 PM
@UlrikeFischer I'm not at home right now. I'll look at this as soon as I get back
 
cis
6:41 PM
@DavidCarlisle Yes, that's true. I used: dafontfree.net/freefonts-iskoola-pota-f38257.htm
% arara: lualatex

\documentclass[a4paper]{article}
%\usepackage{times} % nein...

\usepackage{fontspec}
\setmainfont[Extension=.ttf, %Language=German,
BoldFont=timesbd, ItalicFont=timesi]{times} % ja...

\newfontfamily{\myfont}[Scale=1]{iskpota.ttf}
% U+0D80 (3456) .... U+0DFF (3583) <---- Sinhala!
\newcommand\sinha[2][]{{#1\myfont\symbol{#2}}}

\usepackage{pgffor, mwe}
\begin{document}
\section{Times Test}
\lipsum[66]

\section{Sinhala Test}
Test: {\myfont\symbol{3461}}

Test:  \sinha{3461}

\subsection{Unicodebereich}
 
7:27 PM
@DavidCarlisle the hopatch xetex files fail for me too, I hadn't pulled before the test ;-(. I think I forgot to remake them for xetex when I added expl3 to load the backend earlier.
 
@UlrikeFischer ah I wondered why it was just xetex
Sep 13 '19 at 19:40, by Paulo Cereda
@DavidCarlisle blame Ulrike
I always do what @PauloCereda says ^^
 
7:54 PM
@DavidCarlisle I updated the readme.md of oberdiek, I would suggest to use that and to remove the readme.txt. I also have a few test changes in pdfrender and pdfcolparallel.
 
@UlrikeFischer thanks
@UlrikeFischer not pushed?
 
@DavidCarlisle the test files? Just checking if it still works.
 
@UlrikeFischer readme, but no rush, just checking i was seeing the right thing:-)
 
@DavidCarlisle does the readme looks ok? Then I will delete the readme.txt
 
@UlrikeFischer as I say I didn't see it? README.md just has two lines and git pull says Im up to date
@UlrikeFischer ah now it's there:-)
 
8:00 PM
@DavidCarlisle hm, I wonder what I pushed ;-)
 
@UlrikeFischer README.md looks good
 
@DavidCarlisle ok, I remove the old readme.txt and adapted the build.lua. I hope that it builds ok so.
 
@UlrikeFischer running the build here, see what happens..
 
8:16 PM
@DavidCarlisle just wondering how to warn Henri, he wasn't in the chat recently...
 
@UlrikeFischer he could read the ctan-announce like everyone else:-)
 
@DavidCarlisle I did sent a mail ;-)
 
How can I create an "expanded version" of a command? I have this command:

```
\def\unexpandedLuaCode{\directlua{tex.write("\\foo")}}
```

and I tried doing something like this (which doesn't work):

```
\def\expandedLuaCode{\detokenize\expandafter{\expanded{\unexpandedLuaCode}}}
```
 
8:37 PM
@UlrikeFischer oberdiek built here
@andrew it depends what you mean by "expanded version" is \foo expandable?
 
@DavidCarlisle Sorry, I forgot the definition. I defined it like this \define\foo{FOO EXPANDED}. I expect when using \expandedLuaCode somewhere, that it just expands to "FOO EXPANDED" instead of "\foo"
 
@DavidCarlisle uff. And even in a more or less reasonable time ;-)
 
@andrew in that case you can simply use \edef\zz{\directlua{tex.write("\string\\foo")}}
 
@DavidCarlisle is the readme.md there?
 
@UlrikeFischer I know you are German and have trouble with the concept of interword spaces : If you want to install all packages j ust download
 
8:43 PM
@DavidCarlisle ;-(( I knew a missed a z, it should be jzust ...
 
@andrew well for that you don't need to pre-expand it you can use \def\unexpandedLuaCode{\directlua{tex.write("\string\\foo")}}
 
Does .gitignore care about directory structure? I have *.pdf in my .gitignore file but SourceTree still seems to want me to commit foo/bar.pdf etc.
 
@AlanMunn Usually, *.pdf should suffice for subdirectories. Do you have an exclusion of foo afterwards?
 
@AlanMunn if you committed the pdf earlier it won't forget it.
 
@UlrikeFischer Hmm, maybe that's the problem. How do I undo that?
@TeXnician No I don't.
 
8:50 PM
@DavidCarlisle Both of your suggestions don't work for me. I also thought that \edef is sufficient but it seems that it is not
 
@AlanMunn git rm --cached foo/bar.pdf
 
@AlanMunn git rm --cached<file>
 
@AlanMunn Sometimes it might be a problem of .gitignore in subdirectories or specific entries in .git/info/exclude although that's both a bit unusual.
 
@TeXnician @UlrikeFischer Thanks. Is there a way to see a list of what has a cached status?
 
@AlanMunn Cached is everything that's committed in the repository and everything that has been staged. git status for the latter and for the first there is some ls-like command I don't remember.
 
8:55 PM
@AlanMunn probably. My general assumption is that there is always a way with git. first hit: stackoverflow.com/questions/17358953/…
 
@UlrikeFischer @TeXnician :) Thanks I've got it fixed now.
 
9:42 PM
@andrew oh sorry I was doing something else and didn't read carefully your definition, you want tex.print not tex.write:
\documentclass{article}

\begin{document}

\def\foo{FOO EXPANDED}
\def\zzz{\directlua{tex.print("\string\\foo")}}
\typeout{\noexpand\zzz is \zzz}
\zzz

\end{document}
 
@DavidCarlisle Hm. I really have to use tex.write and not tex.print. In your case you already expand \foo within the Lua block and I have to expand it afterwards
@DavidCarlisle I'll open a question with a detailed question. Sorry for the vague question
 
10:03 PM
@DavidCarlisle Ok that's weird. I tried it out again and yeah your solution with tex.print actually works out for my use case too. Thanks :)!
 
 
1 hour later…
11:29 PM
@andrew no: Lua writes \foo then that expands after tex resumes contriol
 

« first day (3570 days earlier)      last day (1354 days later) »