« first day (3277 days earlier)      last day (1639 days later) » 

7:00 AM
Hello. How can I reduce the distance between arrow and label text in Tikz-CD? I try to adjust row sep and column sep but it is for nodes and arrows.
 
 
1 hour later…
8:26 AM
@AlanMunn well it was a comment to the OP and he/she presumably knew the question that they had asked a few hours earlier.
 
8:44 AM
@barbarabeeton in the footnote @DavidCarlisle 's name is mentioned... ∗The original version of this document was written by David Carlisle, with several additional tables provided by Alexander Holt. See Section 10.8 on page 230 for more information about who did what.
 
@EnthusiasticEngineer (@barbarabeeton) my version is still on ctan try texdoc maths-symbols in texlive, it's somewhat shorter
 
9:00 AM
Teh dungeon!
 
@MarcelKrüger @DavidCarlisle @JosephWright I have a problem with the pageattr implementation in luatex. Basically I want to do something like \latelua{pdf.setpageattributes ("\ifodd \value{page} /Tabs/R\else /Tabs/S\fi ")}. But I want to store the \ifodd \value{page} /Tabs/R\else /Tabs/S\fi in a lua table and retrieve from there. But when I do this, the tex code is no longer expanded and ends verbatim in the pdf. Is there any chance to get this working?
 
@PauloCereda hi Paulo, how are you? long time I have been absent in TeX.SE
missed most of the TeX users here...
 
9:15 AM
@EnthusiasticEngineer 'ello! :) In a hurry, but fine! And you? :)
 
@PauloCereda oh, a fast duck!
 
@PauloCereda fine thanks, these days I am mostly busy with python! Love it but not as much I love LaTeX!
 
@Skillmon quack :)
@Skillmon 'ello mr. rabbit!
@EnthusiasticEngineer :)
 
@PauloCereda Hello, Mr. Duck!
 
 
2 hours later…
11:14 AM
@UlrikeFischer if you want the \ifodd expanded by tex you would have to tex.print it back to tex at some point but you could write the test in Lua instead, as you can access \c@page in Lua and test if it is odd.
 
11:48 AM
@DavidCarlisle the \ifodd was only an example for more or less random commands which perhaps need the current page number. I think I found a solution with set_macro but need to check.
 
Good morning, everyone, and have a nice lunch if you haven't had lunch yet.
 
@UlrikeFischer Too bad you could't be on the dante meeting this weekend. I would have surely enjoyed meeting you.
 
Hi campa :-)
@egreg @Mico Thank you very very much for your suggestions.
2
Q: Is there a new partial symbol into newtx package?

SebastianoAt this moment I do not remember exactly if I had asked a specific question here or in chat. However I remember that I had asked courteously to @egreg to change, for my tastes, the default \partial symbol of mtpro2[lite] with another one that was coherent with the package newtxtext (actual Time...

On my previous question, has any of you had any news?
 
12:27 PM
i, I have a question about my login. How can I contact a moderator?
*Hi
My bad - I was totally blind and found it now :)
 
@Sebastiano same answer I always give: don't ask to change one character from a font. Pick an entire font as one coherent work.
4
 
12:59 PM
@UlrikeFischer I think you will have less problems if you store the token list instead of the string. Then it doesn't depend on catcodes etc and you can evaluate it on demand by writing it to TeX using token.put_next and then reading using token.scan_string
 
u
@UlrikeFischer I think \pdfmajorversion is sorted :)
@DavidCarlisle, @UlrikeFischer I've added \pdfmajorversion to expl3: probably will be on CTAN this week (today?) so well ahead of any engine support
 
@JosephWright thanks for permuting some letters
 
1:25 PM
Grr, something is up with my siunitx test files and it is Not My Fault
\documentclass{article}
\usepackage{fontspec}
\setmainfont{OpenSans-Regular.ttf}[
   LetterSpace = 2,
   FontFace = {lt}{n}{OpenSans-Light.ttf},
   FontFace = {sb}{n}{OpenSans-Semibold.ttf},
   FontFace = {bf}{n}{OpenSans-Bold.ttf},
   FontFace = {bx}{n}{OpenSans-Bold.ttf},
   FontFace = {xb}{n}{OpenSans-ExtraBold.ttf},
   FontFace = {lt}{it}{OpenSans-LightItalic.ttf},
   FontFace = {md}{it}{OpenSans-Italic.ttf},
   FontFace = {sb}{it}{OpenSans-SemiboldItalic.ttf},
   FontFace = {bf}{it}{OpenSans-BoldItalic.ttf},
@UlrikeFischer, @MarcelKrüger ^^ Used to work with LuaTeX, now it doesn't, any idea why?
 
@MarcelKrüger can you show an example? (I'm currently on the road, and will be offline for some time)
 
@EnthusiasticEngineer -- I remember the original, and in its heyday it was very useful. But it's only 6 pages long and covers only those symbols available for "original" TeX. Much more variety is needed and is now available.
 
1:43 PM
@DavidCarlisle Ah ok, I missed that.
 
@JosephWright ooh NMF
 
2:17 PM
\pdfvariable compresslevel0
\pdfvariable objcompresslevel0
\documentclass{article}
\directlua{
my_crazy_table = {}
function store_tokens()
local name = token.scan_string()
local toks = token.scan_toks()
table.insert(toks, 1, token.new(123, 1))
toks[\csstring\#toks + 1] = token.new(125, 2)
my_crazy_table[name] = toks
end
function get_string(key)
token.put_next(my_crazy_table[key])
return token.scan_string()
end
}
% Jetzt können wir die Tabelle füllen. Da die Tokens aus TeX kommen,
% werden die catcodes auch nach normalen Kriterien bestimmt :)
@UlrikeFischer ^
 
2:31 PM
@UlrikeFischer, @MarcelKrüger Decided I'd post a question!
0
Q: OpenSans package and LuaLaTeX:

Joseph WrightThe OpenSans package seems to be failing to work with LuaLaTeX: \documentclass{article} \usepackage{opensans} \begin{document} Hello world \end{document} yields first error (of many): ! Package fontspec Error: The font "OpenSans-Regular" cannot be found. For immediate help type H <return>...

@egreg, @DavidCarlisle ^^^ It's not that hard to find the button
 
@JosephWright Works for me...
 
@PhelypeOleinik Hmm, what's your \listfiles? What platform are you on?
 
@JosephWright Just compared \listfiles: it's identical. I'm on Ubuntu TL 19
@JosephWright I can try on Windows. Hold on
 
@PhelypeOleinik OK: if it's important, I'll edit that in, but will wait on your first
@PhelypeOleinik I've tried two different systems ...
 
@JosephWright works for me too
 
2:39 PM
@PauloCereda Linux?
 
@JosephWright yes
 
@PauloCereda Hmm
 
@JosephWright “Working on updates...” ¬_¬
 
@PauloCereda, @PhelypeOleinik I've tried TeX Live 2019 on two machines and MiKTeX on one: same result in all cases
I wonder about the file searching change ... working on it
Pretty sure it's not expl3: I've checked with TL'18 and everything is fine with the latest expl3 ...
 
@JosephWright Works for me.
 
2:51 PM
@egreg Mac?
 
@JosephWright yes
 
@egreg Hmm, could do with another Windows user to check, them ... I'm almost certain I've got 'clean' set ups
 
After 20 minutes, Windows finished its updates. Lovely.
@JosephWright Works too
 
Does the \\ that comes at the end of a line in a table have a name?
Just writing a log message. So it would be helpful to know what to call it.
 
@PhelypeOleinik Cool
@PhelypeOleinik Ah, OK, think I've managed to force things to work: did a cache rebuild
@PhelypeOleinik Thanks
 
2:59 PM
@JosephWright Ah
@JosephWright You're welcome!
 
@JosephWright mine has a user css applying visibility:none which makes it quite hard to find
 
@DavidCarlisle Hah!
 
@DavidCarlisle ooh
 
@FaheemMitha not really, the named form is \tabularnewline
 
@DavidCarlisle Oh. I didn't know that. Thanks.
 
3:04 PM
@FaheemMitha you can use \tabularnewline to end a table row even after \centering or \raggedright have redefined \\
 
@DavidCarlisle So \\ is the same as \tabularnewline by default?
 
@FaheemMitha \\ in tables yes, but \\ has different definitions in centering or raggedright or several other places so in nested contexts it can have the wrong meaning hence \arraybackslash that sets it back to the tabular meaning
 
@DavidCarlisle Oh. \arraybackslash resets \\ to \tabularnewline?
 
@FaheemMitha yes (well it has that effect, actually it uses some internal version of the same)
 
3:10 PM
@DavidCarlisle Ok.
 
@PauloCereda One for wider use, I imagine
 
@JosephWright yes!
 
@PauloCereda Oh, nice!
 
@PhelypeOleinik indeed!
 
@PauloCereda useful if you can write your entire thesis in one sitting as it saves you ever running latex more than once.
 
3:12 PM
@DavidCarlisle ooh it could be an empty thesis
 
@PauloCereda Is that in LuaTeX, then?
 
@FaheemMitha yes
@DavidCarlisle I will submit a motion to the AGM
 
@PauloCereda Oh.
 
@PauloCereda you would know about those, I assume.
 
3:15 PM
@DavidCarlisle ooh
@JosephWright of course @DavidCarlisle already knew of that :)
 
@JosephWright I didn't even know there was a language called Tibetan. Does it has its own alphabet?
 
@PauloCereda well anyone following tl list recently knew quite a bit of it:-)
 
@DavidCarlisle bah spam :)
 
@FaheemMitha Yes
 
Looks exotic.
Presumably a challenge for typesetters.
 
3:19 PM
@JosephWright wow he really looked in it ;-)
 
@FaheemMitha -- Ever hear of the Dalai Lama? Tibetan is the language he speaks as a native.
 
@barbarabeeton I've heard of him, yes.
 
@barbarabeeton for a minute, I read llama
 
I think I might have vaguely heard of the language before.
 
@JosephWright ¡CUIDADO, LLAMAS!
 
3:21 PM
@PauloCereda OH MY!!!
 
But I'm pretty sure I've never met anyone from Tibet. I don't even know whether it is its own country. I seem to remember something about a Chinese invasion.
 
@PauloCereda -- "A one-l lama is a priest. A two-l llama is a beast. And I will bet a silk pajama, there isn't any three-l lllama."
2
 
But it's hard to keep track of all the horrible things that go on in the world. Even if I wanted to.
 
@barbarabeeton oh!
 
I did read "Tintin in Tibet" once. It didn't feature the Dalai Lama, though.
It did feature Llamas.
 
3:23 PM
@FaheemMitha -- Misplaced geographically. Llamas, like alpacas, are native to the South American mountains.
 
@barbarabeeton Maybe I got my Tintin books confused, then. It's been a while.
 
@barbarabeeton speaking of llamas, I don't know if I ever told you this story: travelblog.dailymail.co.uk/2009/04/… I am sure you will find it very, very amusing!
 
In "Tintin in Tibet", Tintin has a dream that his friend Chang, who is been in a plane crash, is still alive. So he goes to Tibet to find him. And since he's Tintin, he succeeds.
As I recall, Chang is being taken care of by a Yeti. Or the Yeti?
Anyway, that's about as much as I know about Tibet.
Except, if they are at the mercy of the Chinese, I feel sorry about them.
There aren't a lot of upsides to living in India. But at least we don't have to worry about being invaded by China.
@barbarabeeton I think I got it confused with "Prisoners of the Sun". Which does take place in South America.
 
@DavidCarlisle :-):-) you're right, but I like them both right now. I was just curious to know what happened as the symbol in the table is the right one. :-)
Good afternoon to all from the warm Sicily. Here if any of you want to come to sea is always welcome.
@egreg Good afternoon to you and always an immense thank you with the heart. If I have to come to Sicily bring some rain here too. There is dry weather and very little rain.
 
@PauloCereda -- Oh, absolutely delightful! Thank you! (I should have credited the poet I quoted -- Ogden Nash, a sometime denizen of the city where I grew up. His poetry helped develop my sense of the ridiculous.)
 
3:37 PM
Hi @Sebastiano. How goes it?
 
@FaheemMitha -- Which is why the Dalai Lama and much of the Tibetan expatriate community are now quartered in Dharamsala.
 
@barbarabeeton <3
 
@barbarabeeton They've living in India? I didn't know that.
Poor people. That's terrible.
 
3:54 PM
@FaheemMitha Very good except for the heat out of season :-). There are many tourists: English, French, German, Russian. But I hope for my health that the rain and the cold will come. I always wish you the best.
 
@Sebastiano I hope you have A/Cs in Sunny Sicily.
 
@MarcelKrüger I think I understand it, and I think that it the way to go - much safer than trying to escape stuff. But why does the get_string command use token.scan_string()? From the documentation I would have expected to get a list of catcode 11 and 12 characters ;-(.
 
4:13 PM
@JosephWright Yet another filehook update issue: tex.stackexchange.com/questions/513051/…
 
4:35 PM
@PhelypeOleinik hm, filehook loads filehook-memoir which requires filehook and then you get the error. This looks a bit like the circular call just discussed in the github.
 
5:03 PM
@MarcelKrüger I think I misunderstood the token.scan_string(). How can I at best map over a list of keys and create `pdf.setpageattributes(get_string 'keyA'..get_string 'keyB'..get_string 'keyC')?
 
 
1 hour later…
6:28 PM
@UlrikeFischer get_string does read a braced argument, if there are braces. If there are no braces it reads as much catcode 11 and catcode 12 tokens as possible. But after reading, you have a Lua string and no longer TeX tokens.
 
@MarcelKrüger yes, I got it now, I was a bit confused first as I thought it would expand my command, but this is earlier. I managed to loop over the table too. This is quite neat once one gets the hang on it.
 
@UlrikeFischer Indeed it is. Thanks!
Although memoir still needs an update to match the current version of \InputIfFileExists (@daleif).
 
@UlrikeFischer It does actually expand your argument, most LuaTeX token library functions do full expansion.
If you want to iterate, you probably should use integer keys for the table.
 
@MarcelKrüger I have keys anyway (StructParents, Tabs, Rotate), and I need them as two setting of e.g. Rotate should overwrite each other.
 
6:49 PM
@PhelypeOleinik noted, I've scheduled time for memoir updates tomorrow (is currently taking a vacation)
 
@daleif No rush. Enjoy your vacations ;-)
 
7:06 PM
@PhelypeOleinik now that I'm not at a computer all day, I don't mind being at a computer at home. I'm wondering, when getting these changes inline do we also need to make this 2019-10-01 format only or are the new defs also usable on their own? In short what happens if a user only update memoir and not the kernel?
 
@daleif Since memoir redefines \InputIfFileExists there should be no problem of using the new code with an older kernel. The only changes were a small bug (github.com/latex3/latex2e/issues/109) and the command was made robust.
@daleif However if some package assumes that \InputIfFileExists has its old meaning, bad things may happen. We're talking about LaTeX packages after all ;-)
@daleif One bad combination, for example, would be someone using an updated memoir with an older version of filehook. I think that, for the sake of safety, you could have memoir detect which version of the kernel it is running on...
 
 
1 hour later…
8:38 PM
@JosephWright follow this account: twitter.com/duckoftheday
 
8:50 PM
@PauloCereda menuoftomorrow
 
@DavidCarlisle oh no
 
@DavidCarlisle You're mean
 
@CarLaTeX not me vv
Sep 25 at 9:22, by Paulo Cereda
@DavidCarlisle ^^ I think @CarLaTeX is mean
 
@DavidCarlisle oh no
 
@CarLaTeX you just need an ooh and your @PauloCereda impersonation will be complete
 
8:54 PM
@DavidCarlisle ooh
 
9:10 PM
@DavidCarlisle Ooh
 
10:00 PM
@MarcelKrüger Is there any trick to use the token scanner together with \latelua?
 
10:10 PM
@UlrikeFischer er, why?
 
@UlrikeFischer You can. How exactly depends on what you are trying to do.
 
@UlrikeFischer it's late at night and you are giving me \afterpage nightmares
 
@DavidCarlisle @MarcelKrüger well it is about setting \pdfpageattr: I'm trying to setup the commands so that they affect "the current page" and work like a \special.
@DavidCarlisle ;-). my husband sent me this for you (but he didn't say why):
 
@UlrikeFischer needs a few more weeks
 
@UlrikeFischer So do I understand this right? You are getting a string in Lua, want to tokenize and evaluate it and the assign it to \pdfpageattr. In the process, it is important that you use \pdfpageattr and not pdf.setpageattributes and you also want to avoid weird side-effects?
 
10:28 PM
@MarcelKrüger the command I have is \pdf_thispageattr_gput:nn. And it should affect the current page. So \pdf_thispageattr_gput:nn{Rotate}{90} should rotate the "current" page, which mean the page the command is "on" (would print something). The implementation is not really relevant but I used lua to avoid a second compilation. It worked quite fine until I realize that I also want \pdf_thispageattr_gput:nn{Rotate}{\ifodd\value{page}90\else-90\fi};-(.
 
10:39 PM
@MarcelKrüger I also want (in tagpdf) insert for every page a /Structparents entry with increasing page number. So something like \pdf_pageattr_gput:nn{Structparens}{\int_use:n{\g__tag_abspage_int}} should work too and "update the value on every page".
 
@UlrikeFischer This gets a bit long for a message. I can prepare you a small GitHub gist tomorrow.
 
@MarcelKrüger that's fine. I need to sleep it over anyway. It took me some time to realize that there is a difference in directlua and latelua here ;-)
@campa I would liked to be there too, but it wasn't possible - we were just flying back from Sicily.
 
10:57 PM
@UlrikeFischer Should \pdf_pageattr_gput:nn affect only the current page or all pages starting with the current one?
 
11:08 PM
@MarcelKrüger all pages starting from the current one, where it is not so important that it is really the current page in shipout sense, but if the value contains code referring to the page number it should work.
@MarcelKrüger with xetex one has specials and so a strong connection to the current page and I tried to mirror this for the other engines. At least for float pages it is important.
 

« first day (3277 days earlier)      last day (1639 days later) »