« first day (2920 days earlier)      last day (2015 days later) » 

12:01 AM
@DavidCarlisle Just found two things that can only be done at font loading time, that shouldn’t be done their. Glyph metrics, but this is a more optimization so can live with slightly slower font load, the other is ToUnicode mappings that need to take into account ligatures and these are only known at text layout time, so one is forced to use the less supported /ActualText spans.
@DavidCarlisle Both of these do not to be done at font loading time at all, but they are done this way I guess because that is how TeX has always done things.
@DavidCarlisle LuaTeX seems to be centered around the idea that fonts should be loaded once in memory and be done with it, this might have been true for TeX82 when fonts had 127 glyphs and simple TFM files.
 
@KhaledHosny Is it worth trying to push any changes back to Hans?
 
@DavidCarlisle May be, but I’m not looking forward to the discussion that would result from such suggestions ;)
I guess I better finish what I’m doing, then collect LuaTeX limitations and discuss them at once.
 
@KhaledHosny sounds like a plan:-)
 
12:24 AM
@DavidCarlisle Not in e-(u)pTeX so not requested for XeTeX ...
@KhaledHosny Not surprising: XeTeX explicitly bakes in new font handling, so the entire set up is different, whilst LuaTeX aim to avoid adding any major features beyond Lua itself
@UlrikeFischer Ah, sorry: the file dump one is (it's in e-pTeX), the hex one isn't
 
 
1 hour later…
1:49 AM
user image
3
 
 
5 hours later…
6:49 AM
@JosephWright LuaTeX changed how hyphenation works so radically it isn’t compatible with any other TeX engine anymore, it could have done that with fonts (to some degree at least).
 
7:18 AM
@KhaledHosny If you do not want to load the characters at the beginning, you can use font.addcharacters. Then you only need to set the glyph parameters on first use of each glyph. Except for the glyph metrics and the index this should also allow overwriting the values of existing parameters, but I only used it to add new ones yet.
 
@MarcelKrüger Thanks for the suggestion, will give it another (I think I tried it before, not sure why I didn’t use it at the end).
 
8:09 AM
@KhaledHosny Sure, but I think it has to do with core goals: Hans needed to change hyphenation to work on nodes, etc., but he is happy with monolithic fonts
 
@JosephWright Exactly!
 
@DavidCarlisle, @UlrikeFischer Do we need \pdfunescapehex? I can sort it for XeTeX/(u)pTeX ...
 
8:43 AM
@JosephWright I don't know. I stumbled on it while converting the hyperref tests. But the command is only used inside a test command:
\def\GetFileContents##1{%
      \pdf@unescapehex{%
        \pdf@filedump{0}{\pdf@filesize{##1}}{##1}%
      }%
    }%
    \Expect*{\GetFileContents{\jobname.aux}}%
           *{\GetFileContents{\jobname-aux.aux}}%
 
9:08 AM
@KhaledHosny I don't think that the reason is "how TeX has always things done". But TeX and luatex has been created by people living in a culture who has book printing with lead letters since hundreds of years and this shapes fonts and letters a lot and the view on them too. Our letters are quite immutable. They don't change at text layout time. Adjusting to the idea that this isn't true for all scripts in the world is not so easy.
 
9:32 AM
@UlrikeFischer Isn't that a way to do something like \expanded but without the primitive?
 
@UlrikeFischer My issues are with Latin too (that is actually what I’m testing right now). Take ligatures, LuaTeX wants to know what ligatures the font has at font loading time, but that is a waste of resources, since you only care about them when you encounter them at layout time. The only reason it would want to do what is does now is because that is how TeX always worked, nothing inherit about a particular writing system.
@UlrikeFischer It is impractical to parse all the font substitution rules while loading to fill out tounicode values, when you will need that info just at the time of writing the final PDF output, and you should only care about ligatures actually used in the document and you get that for free as a side effect of the layout process.
 
@KhaledHosny No it is the same with ligatures. If you are printing a book with lead letters you don't start with a small subset of letters and run back to the store getting more everytime you encounter a new one. And we have only a small number of ligatures just for this reason: not to waste resources due to the need to have lots of variants availables.
 
@UlrikeFischer I looked over TeX Live. Other than Heiko's code, there's only one place that \pdfunescapehex is used: media9. Heiko has, in pdfescape, emulation at the macro level anyway. I'm minded to say we can go that way if/when we need this: do the job ourselves, not have to ask for another engine addition. Or at least I'm not in a hurry ...
@UlrikeFischer @UlrikeFischer I guess if we really need the concept, a primitive is handy, but I'll need to check with Alexander Grahn about his use case. All of Heiko's are either for using it as and \expanded substitute or are for emulation, etc. of the primitive itself!
 
@marmot This conference could benefit from your experience: eurekalert.org/pub_releases/2018-10/aps-hhc102418.php
 
@JosephWright no idea. I didn't really understood \expanded yet ... ;-)
 
9:45 AM
@UlrikeFischer You soon will do
 
@JosephWright Perhaps. If some real use case comes along ...
 
@UlrikeFischer It comes down to being able to do something like
\long\def\foo#1{\expanded{\noexpand\fooaux{#1}}}
\long\def\fooaux#1{...
@UlrikeFischer which makes \foo work like a function in other languages
 
@UlrikeFischer My font loader loads the same Latin font at ~10% of the time luaotfload takes, that is the waste of resources I’m talking about. It really about how TeX works. Even TrueType that wasn’t designed with any complex text functionality in mind, is designed to allow constant time access to any glyph, without g=having to fully decode the font in memory.
 
@KhaledHosny Sounds good!
 
@UlrikeFischer for oberdiek->l3build tests I was planning at some point to take them all out of the dtx files so they are fixed source files not generated, does that fit with your plans?
@JosephWright yes but if it means extensive forks in luatex the program rather than mostly in the build setup to link hb then long term it's a bigger maintenance commitment
 
9:59 AM
@DavidCarlisle Heiko could open a transportation network company named Uber-diek
3
/ba dum tss
 
@DavidCarlisle Er, yes
 
@PauloCereda magically running on self driving cars
 
@DavidCarlisle ooh magic cars
 
@DavidCarlisle That is what I'm doing now. I'm trying the tex, then remove some of comments, add regression-test and \START (and perhaps showoutput), rename to lvt and move them to the test folder and created the tlg. I'm not trying to be really sophisticated. One can improve later.
 
@DavidCarlisle That is not something I want to do, so far I managed to workaround the limitations, but I don’t like some of the workarounds. But it is too early, may be it will be possible to figure out better solutions using what LuaTeX provides right now.
 
10:03 AM
@DavidCarlisle @JosephWright but I did run into a problem with the askinclude tests: as single tests they work, but when checking them all together the aux-files of one tests lets the next test fails ;-(.
 
10:20 AM
@MarcelKrüger Do you have a good idea about an interface to (in luatex) insert commands in boxes which are not executed when the box is saved but when it is used?
 
@UlrikeFischer partly because of all the generated tests etc updating any of those is a real pain, the version numbers and dates appears in each file in multiple paces, and versions in related packages have to match, I have some emacs list code just for that setup that runs over the files to make any change to the dates, not generating the test files would simplify things quite a bit I suspect
@UlrikeFischer you can't can you? at least not if it's used via \box, rather than inserted via lua.
 
@DavidCarlisle I can imagine. I just spent the week-end unifying the version numbers in luaotfload and writing the tagging function (and found in various files older version numbers I forgot in the previous uploads) .
 
@UlrikeFischer I could send you some emacs lisp
 
@DavidCarlisle oh no
 
@PauloCereda the lisp system in vim is sadly lacking.
 
10:32 AM
@DavidCarlisle Well in theory the command could write an attribute and then later you could check for it in some callback. It should probably not do some typesetting, but I was actually thinking about the rotating question from yesterday and how to delay the pdfpageattr setting (and similar question for tagging).
@DavidCarlisle oh no ;-) But it is working now. I uploaded the new version yesterday.
 
@UlrikeFischer ah but that's different if you traverse the node tree later and find the nodes that came from the box, you can of course do anything, but I don't think ther is a callback that triggers at the point you add the \box.
 
@DavidCarlisle oh
 
@DavidCarlisle I'm not sure, that's why I asked @MarcelKrüger. He knows a lot about the hidden features of luatex, or can ask for the next patch ...
@DavidCarlisle just saw on the luatex list: ligatures are lost before dashes:
\documentclass{article}
\begin{document}
	profi font

	profi-font
\end{document}
context has it too ...
 
10:58 AM
@MarcelKrüger Oh, I remember now why I couldn’t use font.addcharacters(), the documentation is not very helpful, no mention what the first parameter is, and the description of the second one is rather confusing. Do you know any examples I can check?
 
@UlrikeFischer Calling Lua code at the point the box is inserted into the current list is not possible. What would be the use-case for this?
 
@UlrikeFischer good time for @KhaledHosny to raise the issue of luatex's ligature handling:-)
 
@MarcelKrüger see chat.stackexchange.com/transcript/message/47388845#47388845 and tex.stackexchange.com/questions/457172/… (but I made also some test with boxes and tagging and there are similar questions to solves).
@DavidCarlisle ;-). I will have to keep an eye on this and forward it to context if Hans doesn't answer on the luatex list.
 
@KhaledHosny I have some highly experimental code using it to generate arbitrary braces using MetaPost on the fly, but I have to clean it up a bit before it is a useful example... Anyway the first argument to font.addcharacters is the Id of the font and the second parameter is essenatially the same as the font table returned by define_font, except that most stuff is ignored. I will prepare an example later.
@UlrikeFischer Do you really want to run that when the box is inserted? It looks like something you would do during shipout. Then you could use \latelua.
 
11:30 AM
@MarcelKrüger bingo ;-). This works perfectly for the delaying. Now the question is how to reset to portrait at the following page:
\documentclass{article}
\usepackage{lipsum}
\newsavebox\mybox
\begin{document}
\savebox\mybox{\latelua{pdf.setpageattributes("/Rotate 90")}landscape}
    portrait
    \newpage
    portrait
    \newpage
\usebox\mybox
\newpage

portrait
\end{document}
 
@UlrikeFischer ooh bingo vimeo.com/241332536
 
@UlrikeFischer don't use afterpage or I'll cry:-)
 
11:45 AM
@DavidCarlisle such a good package from such a reknown author and I should not use it?
 
@UlrikeFischer You should use it to the full extent that its documentation recommends use
 
 
2 hours later…
1:27 PM
@samcarter Indeed. Unfortunately the progress of my book is very slow.
 
@marmot ooh das Buch
 
@PauloCereda In marmot language it is phhfht.
 
@marmot oh
 
2:03 PM
@marmot You could publish the most important advice beforehand: a good location for hibernating needs access to tex.se :)
@PauloCereda For you a "Zeitung" might be more interesting, it can contain "Enten"
Als Zeitungsente (seltener auch Zeitungssage, kurz auch Ente) wird umgangssprachlich eine Falschmeldung in der Zeitung bezeichnet. Als „Zeitungsente“ bezeichnet man sowohl bewusste Fälschungen („Tatarenmeldungen“) als auch Irrtümer. == Begriffsherkunft == Die Herkunft des Begriffs ist nicht eindeutig geklärt. In jüngster Zeit scheint sich die Ansicht durchzusetzen, dass die Zeitungsente im 19. Jahrhundert aus dem Französischen in den deutschen Sprachgebrauch kam, in Anlehnung an den Ausdruck ‚donner des canards‘ (‚Enten geben‘, ‚lügen‘) oder ‚vendre des canards à moitié‘ (‚Enten zur Hälfte verkaufen…
 
@samcarter ooh
 
@PauloCereda I miss the ooh counter! It must be very hight :)
 
@samcarter ^
 
@samcarter ooh counters
 
2:21 PM
@samcarter Yes, and I don't know what that means for the Mars project. Maybe in the future TikZ questions will be answered by Marsians? ;-)
 
@DavidCarlisle There seems to be some time lag, now it is 5302 and only one message from @PauloCereda in the mean time
@marmot I'm prepared for that:
\documentclass{standalone}
\usepackage{tikzlings}

\begin{document}

\begin{tikzpicture}
	\tikzling[alien]
\end{tikzpicture}

\end{document}
 
@samcarter ^^^^ and this is the proof that there is water on Mars. ;-)
@samcarter ^^^^^ did somebody already draw a yeti tikzling?
 
@MarcelKrüger I managed to get it working, thanks for the suggestion.
 
@marmot And also fits the current understanding that most of the water is frozen!
@marmot No tikzyetis have yet been seen :)
 
@samcarter Maybe we can ask Gernot for help?
 
2:32 PM
@marmot only if he promises that all marmots will escape!
(I understand how it will work for marmots 1,...,n-1, but I'm worried for marmot n)
 
@samcarter ooh
 
@samcarter No worries, the book is very clear on that: "The Yeti, or Dremo in Tibetan, is a dim-witted mythical beast said to feed only on marmots. It sees a marmot, grabs the hapless creature, and then sits on it—saving the delicious morsel for later. And then the Yeti sees another marmot and leaps up to snatch it while the first marmot makes a quick break for freedom." ;-)
 
2:44 PM
@marmot This is also the summery I found. I'm still worried about the last marmot (i.e. before the yeti will go to sleep), how will he/she escape?
 
@samcarter (s)he will draw a tunnel with TikZ and use it for her/his escape. ;-)
 
@marmot I'm relieved, this is a good way out :)
@PauloCereda will you publish an ooh saying chat bot program soon?
 
@samcarter ooh I can work on that
 
@PauloCereda :)
 
'ello, Psmith is now fully operational.
 
2:54 PM
ooh the bot is here
 
ooh
 
@samcarter ^^
/duck
 
@Psmith Ooh, you are such a clever bot!
 
@samcarter 'ello, I bid you good day! Type /help to see all my commands.
 
2:59 PM
\cat
/cat
 
ooh more cats
 
ooh
 
ooh works for everybody?
 
3:00 PM
ooh
 
yes :)
 
@samcarter ooh it works
 
ooh
 
 
2 hours later…
4:46 PM
@PauloCereda ooh no!
 
ooh
 
@boycott.se-yo' oh
 
5:24 PM
@PauloCereda Ooh!
@PauloCereda ooh
 
ooh
 
@egreg huuum case sensitivity
/shutdown
 
Initiating shutdown sequence. Cheerio!
'ello, Psmith is now fully operational.
 
Ooh!
 
ooh
 
5:26 PM
@egreg ^^ :)
 
@PauloCereda OOH!
 
ooh
 
@PauloCereda :-D
 
cis
/cat
 
5:29 PM
/juventus
 
/8ball can I eat Pringles?
 
@PauloCereda It is certain.
 
woo
o/
 
\o
 
5:30 PM
Psmith, can you detect when in the middle of another word, like in oohing?
Apparently not :-)
 
@PhelypeOleinik But it can detect a random ooh like this one. :)
 
ooh
 
/say
 
I can not find it (there is little danger up here, Comrade Windsor
 
@PauloCereda :D
 
5:31 PM
@PhelypeOleinik :)
/say
 
What that was to town yesterday with Comrade Wilberfloss
 
Wilberfloss?
I just found out an excellent name for a cat :)
 
@PhelypeOleinik LOL
/say
 
The treat has not been denied you, he is loading up that basket, we will hunt around for some good turn
 
/fortune
 
5:35 PM
@egreg Oh I should create this command.
 
@PauloCereda The old Psmith had it!
 
@egreg True!
 
/football
 
- LIVE Transfer Talk: Manchester United face race to keep Juan Mata
- Lopetegui's fate at Real Madrid was likely sealed before heavy Clasico defeat
- In-form Victor Osimhen earns Nigeria recall
- Baxter faces midfield puzzle for Nigeria clash as injuries bite
- Leicester players, family pay their respects to Leicester chairman
- Senegal primed to end 17 years of AFCON disappointment - Cisse
- Kaizer Chiefs fans allowed at Moses Mabhida Stadium for Telkom Knockout quarterfinal
- Liga MX Power Rankings: Club America and Santos Laguna lead the pack
 
/shutdown
 
5:40 PM
Initiating shutdown sequence. Cheerio!
'ello, Psmith is now fully operational.
 
/fortune
 
Your fortune cookie: Love can last a lifetime, if you want it to.
 
@MarcelKrüger font.addcharacters() addressed my two immediate issues, thanks!
 
Yay it works!
/fortune
 
Your fortune cookie: Benefit by doing things that others give up on.
 
5:42 PM
/fortune
 
Your fortune cookie: Be direct, usually one can accomplish more that way.
 
/fortune
 
Your fortune cookie: Seize every second of your life and savor it.
 
5:52 PM
/marmot
/blame
 
@marmot Let us blame David Carlisle
 
@marmot Saved.
 
/marmotnews
 
5:55 PM
/shutdown
 
Initiating shutdown sequence. Cheerio!
'ello, Psmith is now fully operational.
 
/texfortune
 
Your fortune cookie: Bruno, the team expert on weird expansion corner cases.
 
/help texfortune
 
texfortune:
Displays a fortune cookie for the LaTeX3 team.
 
5:55 PM
@JosephWright ^^
/texfortune
 
Your fortune cookie: iPad Mittelbach
 
LOL
@JosephWright ^^ :D
/texfortune
 
Your fortune cookie: Cygwin woes.
 
/fortune
 
Your fortune cookie: Trust your intuition. The universe is guiding your life.
 
6:02 PM
/texfortune
 
Your fortune cookie: Cygwin woes.
 
boo
/texfortune
 
Your fortune cookie: Is BuzzTeX a thing?
 
6:29 PM
/texfortune
 
Your fortune cookie: It worked on my machine.
 
/texfortune
 
Your fortune cookie: Catcode everything.
 
@Psmith And why not mousecode?
 
@marmot 'ello, I bid you good day! Type /help to see all my commands.
 
6:31 PM
/say
 
If you gentlemen is to clear out all the money
 
Could Psmith monitor the ooh counter and alert us when it is palindromic?
 
ooh
 
@Psmith ooh indeed!
 
@HaraldHanche-Olsen working on it!
 
cis
6:39 PM
@Skillmon Did you "procrastinate" today? :)
 
7:02 PM
/duck
 
awww
 
7:14 PM
/shutdown
 
Initiating shutdown sequence. Cheerio!
 
7:38 PM
I'm wondering how best to modify generated output from R
This is the generated output : vpaste.net/06cmV
Which looks as follows : i.imgur.com/6Iqd9hU.png
I'd like to be able to label the rows / columns , but I can't do that in xtable
 
 
2 hours later…
9:45 PM
@cis well, I did a bit, but not so much that I took a look into column names.
 
cis
@Skillmon Ah, I understand. ;)
 
10:36 PM
@KhaledHosny just saw your message on the luatex list, and imho the problem is that you are closing the group before the \par. That's the same problem you have with e.g. {\centering blbl}.
 
11:32 PM
Good LaTeX everybody. Please, is there an user that can help Antonio? Thanks
2
Q: \downarrow in equation

Antoniocould you suggest me a method to write the equation with the arrow pointing down as in the picture? I do not understand how it could be set. i see this post: Undersetting an arrow beneath an equation How I can code long down arrow in equations ---------------------------------------------...

 

« first day (2920 days earlier)      last day (2015 days later) »