« first day (2070 days earlier)      last day (2846 days later) » 

12:00 AM
@PauloCereda It fills vim users' screen with ~. Oh, wait, that's already done by vim.
 
12:13 AM
@PauloCereda -- thank you for the very nice note. i shall reply tomorrow, when i'm in front of a "big" screen and a real keyboard.
 
@barbarabeeton <3
 
1:13 AM
anyone here knows about SVG? For some reason tex4ht generated math (in SVG) no longer displays in firefox or Chrom. i.e. I get blank screen. I have no idea why. I open the SVG file (which should display math on the screen) and look at it in editor, but I do not know what is wrong and why browser do not display it. Something is seriously wrong. I just did full update from TL before this.
This is typical header of one svg file
<?xml version='1.0' encoding='UTF-8'?>
<!-- This file was generated by dvisvgm 1.15.1 -->
<svg height='44.7157pt' version='1.1' viewBox='72.8715 298.8 128.454 44.7157' width='128.454pt' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'>
<defs>
All my pages now show blank space where Math is supposed to be there!
 
@Nasser Do you have Inkscape? Try opening the .svg file with it.
 
@michal.h21 if you are around, can I please ask you on this.
@PauloCereda yes. I'll try now
I also cleared browser cache, etc.. and still I get empty space everywhere where math is supposed to show.
inkspace shows empty box! Here it is
 
@Nasser: ^^ there's a validator here with one version of the SVG schema. You could try validating your file against it.
 
@PauloCereda ok, will try the validator now. This is big problem.
This is what I get from validator, for one typical svg math image:
Info: The Content-Type was image/svg+xml. Using the XML parser (not resolving external entities).

Info: Using the preset for SVG 1.1 + URL + XHTML + MathML 3.0 based on the root namespace.

The document validates according to the specified schema(s).
 
@Nasser Is there anything in that image? Did you try selecting the "blank" area?
 
1:24 AM
@PauloCereda these are all math equations, generated by tex4ht. I clicked on the displayed area in inkscape, but nothing shows, it is just blank. Here is one SVG file. I put it in this folder at my site 12000.org/tmp/063016
called KE404x.svg
I think something in the latest TL update I just did broke something. I rebuild the file again and still all the math shows blank
 
Interesting. If I import the file into Inkscape, I get the correct output.
 
The SVG file has stuff in it, but the problem is that nothing gets dispayed on my browser.
hummm... I do not understand. Why I get blank on my system? Here is screen shot on firefox
All the empty spaces supposed to display math. I closed the browser and cleared cache. I do not understand what the problem is. Let me reboot the PC. I'll be back in 10 mins after rbooting.
 
1:48 AM
Could someone please look at my page here 12000.org/my_notes/mma_matlab_control/KERNEL/KEse7.htm and see if the math shows up for them? On my end, math do not show up. I just build the above with tex4ht
I tried firefox and Chrome. I rebooted and still math do not show up. Something is wrong and trying to find what.
 
2:44 AM
Would anyone be able to help with a font embedding issue? I ran ghostscript over a document created in XeLaTeX and there are very subtle kerning differences between the document.
 
 
3 hours later…
5:19 AM
question on how to align things in table in indesign: graphicdesign.stackexchange.com/questions/74114/… the answer is to use TABs. They should switch to Latex :)
 
 
1 hour later…
6:29 AM
@Nasser I can see the math. Anyway, nothing changed on tex4ht side, it is only possible that dvisvgm got update and it generates different output than it used to.
 
@Nasser works for me (firefox)
 
ebo
7:04 AM
hey! today is a great day! it's duck giveaway day (-:
 
@michal.h21 you might be looking at updated page,. I send email to tex4ht of what happened. But here is the page that shows no math (renamed it) 12000.org/my_notes/mma_matlab_control/KERNEL_no_math/KEse7.htm
@michal.h21 do you see math on it? I see no math. As I said in email, I did not have % at the end of the line I copied. I do not know if has anything to do with it.
 
@Nasser No math here. (Firefox or Opera/Chrome/Chromium/Vivaldi)
 
@DavidCarlisle thanks for checking.
@TorbjørnT. yes! No math on my end also. But the corrected version now shows math. Here it is 12000.org/my_notes/mma_matlab_control/KERNEL/KEse7.htm I think the problem was me. I edited latex.4ht and did not put % at end of the line that Michal showed in his answer.
from now on, I will put % at the end of EACH latex line I write. Each line.
Is there a package which adds % at the end of each line automatically?
 
@Nasser Sounds like a bad plan.
 
Can I turn of just tz ligature (but keep st, etc., ligatures) when using Linux Libertine O?
 
7:21 AM
@wilx If I've understood correctly, I think the selnolig package can do that. Requires LuaTeX though.
(Note that it is now on CTAN, and in TeX Live/MikTeX, so there is no need to go to GitHub.)
 
7:39 AM
@Nasser ah, there is no math, but the SVG files are there, and I can't see anything suspicious in their source code
 
@michal.h21 yes, that is the problem. I had no idea why that happened. But now it seems OK after I used your official latex.4ht from source control. Only difference I could see is I missed % at end of line., but may be you had something more added to latex.4ht. Very strange
 
@Nasser that would be a bad idea
 
sometimes Latex feels to me like using MS Word, when I have to worry about spaces and adding % like this.
main reason I liked Latex, is that I do not have to worry about these things.
 
@Nasser this is really strange, this should work only inside code listings, I see no reason why it should cause problems with math. or how it could cause problem in the DVI conversion.
 
@Nasser worrying about % at the end of the line is the same as worrying aboutspacesbetweenwords if y o u m is s them out or add e x t r a thin gs go w r ong
@Nasser the svg issue seems unlikely to be related to % at end of line since your output worked fine when Michal and I tested it. More likely to be a local issue with your graphics driver not rendering svg for some reason.
 
7:50 AM
I really have no idea why math do not show up. So that is why I kept the old page online for testing. May be there is a problem somewhere else. I do not know.
 
@egreg thanks to your use of comic sans I got a gold badge, thanks!
 
@michal.h21 I can reproduce this problem very easily. I just have to switch back to latex.4ht which has no % at the end of line. The one I edited by hand. Now I am using latex.4ht from source control and I see the math ok.
There might be conflict with other packages. I am using a very large document with many packages added. On a small file, this might not show up.
 
So, I have downloaded some random font (Bariol) and used it with Xelatex on my Wizardry 7 FAQ. However, all bold parts come out as regular.
I am guessing, there is some sort of TeX related part that is missing, am I right?
 
@wilx does it have a bold font?
 
@DavidCarlisle Hnnnmmm, there are only two files named Bariol_Regular.otf and Bariol_Regular_Italic.otf.
 
7:59 AM
@wilx the page you linked to mentioned bold in the irritating sliding pages thing so probably there is supposed to be a bold variant either as a separate font or packaged in the same opentype container, as long as you have it somewhere xetex is supposed to be able to dig it out but as far as I can tell watching the xetex list it's something of a black art, may be worth pinging fontspec issue or mailing the xetex list to check...
 
@DavidCarlisle OK, I'll re-check the site first.
It is not important, I was just entertaining myself by trying the different fonts on the FAQ text.
 
it says `bariol regular for free by just paying with a tweet or like.
complete family “pay what you want”.` so I guess you don't have the bold unless you make a (possibly zero) contribution
 
Hey, I was wondering if it's possible to prevent a seperation of chapters in the ToC.
I want 4.2 to be displayed completely on page 2 of the ToC: https://s31.postimg.org/4ce1xqoqz/Bildschirmfoto_2016_07_01_um_10_03_41.png

Any ideas (working with LaTeX for 10 hours, so I only have a minimal understanding of it's mechanics)
 
@TechTreeDev anything's possible but it depends how the toc is being written (different classes do slightly different things) best to make a small complete example on site
 
Hi guys! I have one problem: I have used \cite[Theorem~2.1]{b} and similar, but now I don't have word References at beginning of bibliography, just list (but without bold word References). Any thought?
I have used \begin{thebibliography}{00} ....
 
8:15 AM
@Cortizol \thebibliography is defined to do whatever it does by the class file you are using, so you haven't given any information that would allow anyone to guess why that is empty
 
@DavidCarlisle it is: \documentclass[preprint,12pt]{elsarticle}
 
@Cortizol Almost certainly 'by design'
 
My citation was in form: \cite{b}. And everything works perfect. Then I change it like \cite[Theorem...]{b}, so I suppose that is problem
 
8:32 AM
\addtocontents{toc}{\protect\newpage}
\section{Off-Page-Optimierung}
did the trick
 
yo'
@TechTreeDev sounds good for final fine-tuning, but please, add a comment to the line, something like:
% fine-tuning the ToC: we want this section to go to the next page of ToC
\addtocontents{toc}{\protect\newpage}
\section{Off-Page-Optimierung}
Comment are important for non-standard code!
 
8:55 AM
I just found a big problem after latest TL update.
I am making a MWE now.
Before I ask the question on main board, any sees any error in this (in case I am not seeing things)
\ifdefined\HCode
\documentclass[12pt]{article}%
\else
\documentclass[11pt]{article}
\fi
I used the above for the last 5 years with no problems.
 
@Nasser user error? (that's the most common "big problem"
@Nasser the trailing % is slightly dangerous but looks OK in this case, I get no error in tl2016
 
@DavidCarlisle no,. It is not a user error. I checked everything. This is a BIG problem. standalone now fails.
@DavidCarlisle Ok, will post the question then. I can't figure what is going on. I made a MWE. But hard to post it here.
 
@Nasser oh standalone is broken check its issue page (but how anyone was to guess anything related to standalone from what you wrote above:-)
 
@DavidCarlisle standalone fails to load the child file, when I have the \ifdefined as above in the child. This always always worked. Now it no longer works!
 
yo'
@Nasser well, if it works in one copy of TL16 and not in another one, then it seems one of the copies is corrupted. Guess which one :)
 
9:04 AM
@DavidCarlisle I just did TL full update, just now.
any way, will post the question, as I have no idea what is going on. I made MWE.
 
@Nasser clearly what you say is not true:-) as if it doesn't load the file it wouldn't have seen the \ifdefined
 
@DavidCarlisle if I remove the \ifdefined, and just use documentclass, it loads the child.
any way, hard to describe here. posting question now....
 
9:38 AM
@DavidCarlisle You said check its issue page, but not able to find this page using google. Would you happen to have a link? thanks,
 
@Nasser nah it's a different issue anyway, I'll look at weekend, but bitbucket.org/martin_scharrer/standalone/…
 
@DavidCarlisle thanks.
 
9:58 AM
@Nasser actually it might be this bitbucket.org/martin_scharrer/standalone/issues/22/… (using global defs there is definitely wrong!) if you still have tl215 around you could try the older standalone with an otherwise new setup
 
@DavidCarlisle oh, I see. So this is known issue? I had no idea. Ok, will change the code to remove ifdefined from child files and rebuild everything. I was using special standalone in T2015, Martin made for tex4ht to work. may be that is why I never seen it. Now I am using official standalone. Thanks
 
@Nasser don't know, just noticed that issue and thought it might be related
 
@DavidCarlisle thanks. Will keep the question, until someone posts official answer. Might be useful to others. I removed all my \ifdefined so I can compile for now.
@DavidCarlisle the good thing, I no longer have to change standalone each time after TL install to handle this issue:
 
10:30 AM
@JosephWright I can t join tomorrows event, so this one right now: tex.stackexchange.com/questions/317315/…
 
The results are in!
@R.Schumacher: Congrats, you won the duck! Yay!
 
10:45 AM
@PauloCereda It's clearly vim's fault. ;-)
 
@egreg nope. :)
 
@PauloCereda booo I wanted to win
 
11:11 AM
@DavidCarlisle A bit like Brexit then
 
@JosephWright perhaps it'll take @PauloCereda 10 years to determine the mechanism for delivering the result by which time I'll have forgotten all about it
 
@DavidCarlisle :-)
@DavidCarlisle Just had an interesting phone conversational of the topic of UK-TUG, talking of taking a long time over anything :-)
 
11:36 AM
does a symbol exist that is equivalent to \square, but with dotted lines? or do I have to define it myself?
 
@Federico like this ⬚⬚⬚⬚⬚⬚ U+2b1a which is \dottedsquare in unicode-math (or stix package for pdftex)
 
@DavidCarlisle <3
 
11:51 AM
@PauloCereda a comment that I'm sure you will approve:
@Charles yo emacs! the editor of choice, just use M-x untabify on your source file! — David Carlisle 4 hours ago
 
@DavidCarlisle Upvoted. :)
 
@DavidCarlisle thank you!
 
12:50 PM
@R.Schumacher: could you send me your address? Poke me at paulo DOT cereda AT usp DOT br. :)
 
@macmadness86 I notice you've been using Texpad a lot. Would you be able to do me a favour and send me some .log files from 'local compilation': say one 'simple' doc and one using fontspec?
 
ebo
hi! I've a question that is -imho- not worth a real post: "Why is KOMA-script documentation so ugly?"
Beyond this catchy (but I do hope not offensive) question is the question: my KOMA documents have wide margins, so why does the documentation have a less-than-1em-wide right-margin?!
Is it because of my PDF viewer (see screenshot)? Is it on purpose? I'm curious about it!
 
@ebo Because they want to sell the book on KOMA? ;-)
@PauloCereda: According to your uploaded video, you have malware on your computer: vim ;-)
 
ebo
1:07 PM
@ChristianHupfer this makes sense... I'd however have expected something more fun like "to save pandas, while reducing the number of printed pages by putting more info into a single page" (-;
 
1:50 PM
@ChristianHupfer boo :)
 
@Nasser -- have just looked. there are plausible (la)tex math inclusions in the view, and no "odd" blank spaces. using firefox 47.0 (newly installed last week).
@Nasser -- now this one has blank spaces where math would be expected.
 
@barbarabeeton thanks, you might have looked at the page after updating. The problem page is this: (renamed) 12000.org/my_notes/mma_matlab_control/KERNEL_no_math/KEse7.htm this one shows no math ! I kept it for analysis
@barbarabeeton yes :) Very strange. But now I get the math after adding % at end of line. Latex is magic for me.
 
@Nasser oh that's not what I looked at earlier, anway the svg it links to doesn't work 12000.org/my_notes/mma_matlab_control/KERNEL_no_math/KE48x.svg what is different about that svg compared to the svg in the working version?
 
@DavidCarlisle svg is same. Never touched the SVG. As I mentioned, I used latex.4ht that I did not add % at end of the line /def-(/string-/:scriptenv:breakhyphen/relax)% and rebuild. Same images. for some reason, they do not display in browser when I remove %
 
@Nasser oh well that was building the commandline to build the files wasn't it? If you pass the option -- lua instaead of --lua it won't work of course.
 
2:04 PM
@Johannes_B -- i've started the ball rolling. (have fun.)
 
@DavidCarlisle I am not sure if I follow. may be we talking about different things here? The issue was that math (SVG) do not show up on the page with the source code on it. This was because I edited latex.4ht myself and did not put % at end of the line that should have % there. When I put % and rebuild everything, the math shows in the browser. This has nothing to do with --lua vs. -- lua? I am using same command. Makefiles.
but now math shows up OK. So there is no issue now. BUt it is strange why svg do not display on those pages there.
 
@Nasser but in your question you were writing out a system command of the form something --lua something and it was the -- turning into a ligature that was the problem
 
@DavidCarlisle yes., but that was fixed. The change in latex.4ht fixed --. But it also made the math go away! That was the problem.
 
@Nasser the images are not the same, they have the same path commands but the vieBox are different (presumably wrong in one case) so it is clipping to somewhere where there is no image
@Nasser no you just showed the code above, in the bad case you made it not ligature but turn in to --space so instead of the option --lua you generate an invalid command argument -- lua
@Nasser there is nothing magic about percent the issue is adding or not adding a space after the --
 
@DavidCarlisle Ok, now there is no issue. Math shows up ok. I do not know what happened. So all cool now. Thank you.
 
2:14 PM
@Nasser I don't see why you are surprised since you posted the exact code causing the problem a few lines up (otherwise I wouldn't have known about it:-) but anyway.
@PauloCereda did R.Schumacher mail you about the duck?
 
@AlanMunn -- to you (and anyone else in a similar situation) -- have a happy weekend. you have both canada day today, and u.s. independence day on monday to celebrate. so enjoy. hope the weather's nice.
 
@DavidCarlisle Yes, he did. :)
 
2:35 PM
I like to make my PDF legal size now. I think text and images fit better on legal size paper (8.5 in by 14 in) better than on letter size. But it is hard to print them on legal size, but it sure look better.
 
 
1 hour later…
3:37 PM
@barbarabeeton Thanks Barbara! Happy 4th to you too.
 
4:09 PM
@DavidCarlisle I couldn't find the optional position argument in the tabularx documentation. Perhaps it's covered by the phrase "essentially the same"? :)
 
@AndrewCashner must be:-)
 
@DavidCarlisle I haven't played video games in decades but this reminds me a bit of those secret Nintendo key codes you could enter to unlock extra powers and defeat the big boss.
 
$ svn commit -m "show optional argument" tabularx.dtx changes.txt
Sending        changes.txt
Sending        tabularx.dtx
Transmitting file data ..done
Committing transaction...
Committed revision 1206.
@AndrewCashner ^^^
 
@DavidCarlisle bravo, thanks!
 
@AndrewCashner odd no one has asked about that in the last 24 years:-)
 
4:24 PM
@DavidCarlisle @DavidCarlisle Indeed. Maybe that's a sign I'm taking the wrong approach. Perhaps there's a better implementation for what I was trying to do, basically a list in which each list item has several key:value pairs.
 
@AndrewCashner oh I was thinking it's more likely no one reads the doc:-)
 
5:00 PM
@DavidCarlisle Or they have been using tabu ;) <runs and hides>
 
5:19 PM
@R.Schumacher: yay, you won the duck!
:)
 
6:05 PM
@PauloCereda And it was so near to my numbers ;-)
 
@JosephWright Do you know if there's a simple way to apply this technique to the output of the ...cite commands too? It only seems to work for the bibliography itself.
 
6:24 PM
@ChristianHupfer You are jealous. :)
 
@PauloCereda Of course... :D I've bet a billion dollars on getting this Duck ;-)
 
@ChristianHupfer Quack. :)
@DavidCarlisle: Christian should've sent an email.... ^^ :)
 
@PauloCereda You want mails? You will get some mail....
@PauloCereda: Spam, spam, lovely spam mails ;-)
 
@ChristianHupfer too late, you got one first. :)
 
@PauloCereda @DavidCarlisle: Oh my, how embarrassing :-P (and with some errors in German ;-))
 
6:29 PM
@ChristianHupfer <3
 
@PauloCereda @DavidCarlisle should look for das "deutschen Wort for Mittelschmerz" and das "Deutschen Klassenzimmer" ;-)
 
@PauloCereda snitch
 
@DavidCarlisle It wasn't you, it was R. S. :)
 
@PauloCereda I of course have no idea what you are talking about
 
@DavidCarlisle :)
 
6:36 PM
@DavidCarlisle This whole conversation sounds phishy to me.
 
@AlanMunn ooh
 
@ChristianHupfer -- i was just looking at the "english" translation of the german wikipedia entry for insel verlag. what an abomination!!! i will never believe google translate again! (i think i can probably write better german than what it does turning a decent german text into english. and that's not a particularly positive statement.)
 
@barbarabeeton Everything @DavidCarlisle says is run through Google translate first. This explains a lot.
4
 
@AlanMunn @ChristianHupfer is suspecting that some email that @PauloCereda may have received may not have been totally honest and may even have been generated by teh software @barbarabeeton just mentioned.
 
@barbarabeeton I've used Google Translator once or twice, but not for english texts.
@AlanMunn Well said ;-)
 
6:39 PM
@AlanMunn -- yes, i'd figured that out. but since i can't read some of those languages (yet) in the original, i'm at a disadvantage.
 
@AlanMunn oh calar a boca
 
@DavidCarlisle :)
 
@DavidCarlisle :D Errado.
 
@DavidCarlisle s/calar/cale/g
 
@PauloCereda Don't encourage him.
 
6:40 PM
@AlanMunn :D
 
@PauloCereda you are probably thinking of the Brazilian version, I'm sure mine was correct as written
 
@DavidCarlisle oh my
 
@PauloCereda it must be correct, I used an infallible source.
 
@DavidCarlisle Yes, it's from Hamlet. Calar a boca ou não calar a boca.
 
@AlanMunn ou :)
 
6:41 PM
@PauloCereda Oups. :)
 
@AlanMunn my plaesure. :)
 
@PauloCereda s/ae/ea/ :)
 
@DavidCarlisle I put it to you to have published a Hungarian phrasebook written a mail to @PauloCereda with vile aims to get a Duck hand puppet you haven't deserved definitely. ;-) If this is honest I don't know what honest means actually ;-)
 
@AlanMunn well of course. everyone knows that Hamlet came from Portugal.
 
@AlanMunn This will never end. :)
 
6:43 PM
@AlanMunn to be or not to be?
 
@DavidCarlisle Señor Biggles Shakespeare. :)
@ChristianHupfer ^^
 
@PauloCereda The world is out of joint. Ye rest is silence. And ... frailty, thy name is woman ;-)
 
@ChristianHupfer Well after a fashion, yes. But the actual sentence is "To shut up or not to shut up".
 
@ChristianHupfer I am not dictating. What!
 
@AlanMunn Ah, lower class Shakespeare :D
 
6:45 PM
@AlanMunn Good friend, for Jesus' sake forbear to dig the dust enclosed here. Blessed be the man that spares these stones, and cursed be he who moves my bones!
 
@PauloCereda Shakespeares epitaph?
 
@ChristianHupfer So I heard. :)
 
@AlanMunn: Haven't read Shakespeare for a while now (well, about ten years). Currently I am reading 'Carrying Albert Home' by Homer Hickam, a funny book
@PauloCereda We should ask @egreg -- he was definitely at Shakespeare's funeral and should know ;-)
 
@ChristianHupfer ooh that's mean @DavidCarlisle
 
yo'
Good day!
 
7:00 PM
@yo' A good night .... ding ding ding ;-) @PauloCereda ;-)
 
yo'
@ChristianHupfer 9pm is "night"?!
 
@yo' Never mind -- you don't get the hint, apparently :D
 
yo'
@ChristianHupfer obviously ;D
Btw, my current home, but only until tomorrow :( ...
 
@yo': For your further education ;-)
 
yo'
 
7:04 PM
@yo' A LaTeX Scout Camp?
 
yo'
@ChristianHupfer not today (see the photo, the internet is moody here...)
@ChristianHupfer not really :D
 
@yo' You could scratch \documentclass into the lawn ;-)
 
@yo' hi Tom!
@yo' ooooooh
@David: you got mail. :)
 
7:31 PM
@ChristianHupfer I couldn't get a connection at Paris
Goal! @cfr will be happy
 
@egreg :) A nice goal too. Now it's a game.
 
@egreg cricket again? ;-)
 
@ChristianHupfer Baseball
 
@ChristianHupfer Curling
 
@AlanMunn Flinging Ducks beyond the 200 yard line ;-) Very popular in the Sao Paolo region @PauloCereda ;-)
 
7:34 PM
@ChristianHupfer Tiddlywinks
@ChristianHupfer oh no
 
7:57 PM
@PauloCereda Wow (or better quack, quack). Sorry DavidC, it appears that the duck preferred my pond to yours. So, Paulo how do I get you my address. Thanks for a fun diversion to watch. There are some very creative reasons for specific numbers being chosen. Bob
 
@R.Schumacher Congrats, buddy! :) Could you poke me at paulo DOT cereda AT usp DOT br?
 
@yo' -- a couple of those tents bear more than a passing resemblance to native american plains indian tepees. what are they doing in the middle of europe?
@AlanMunn -- a bit off-season, no?
 
@barbarabeeton Are there really any seasons for any sport these days? :)
 
@AlanMunn Ice skating on a lake
:D
 
@AlanMunn -- it depends on whether there's enough electricity to change the environment to the one necessary for the sport. around here, they tend to stop making ice when the summer solstice approaches. some of the rinks are converted to dance floors for the duration.
ice fishing also takes a hit. and when they have to haul in snow to launch the iditarod, ...
 
8:10 PM
@barbarabeeton Well the Munn Ice Arena is open for skating. (No curling there, I'm afraid).
 
@AlanMunn you own an ice arena?! OH MY!
 
@PauloCereda No, it's just named after me. :)
 
@AlanMunn OH MY
 
Goal!
 
Goal!
Yay!
Welsh pride!
 
8:12 PM
@PauloCereda Clearly my stream is on time delay!
 
@AlanMunn Here too. :)
 
@AlanMunn Sorry!
 
@egreg It's ok. Just kind of funny.
 
@PauloCereda: Prejudices: Find words for Belgians ;-)
 
@PauloCereda I also have a field
 
8:14 PM
@PauloCereda The announcer has just said that Fellaini and David Luiz are the greatest mysteries of football.
 
@AlanMunn and a doppelgänger. :)
 
@AlanMunn -- brown had a curling club for a few seasons, and now there's one at one of the local public arenas. i watch, but when i tried it out, i learned that my knees no longer bend reliably enough for it to be safe. (similarly for bowling. i was only ever fond of duckpins or candlepins -- after i chipped an ankle and threw out a shoulder bowling with one of the "lightweight" (only 10lb) balls.)
 
@barbarabeeton Yes, curling (and its summertime equivalent, lawn bowling) is quite tough on the knees.
@PauloCereda Hey that's the Welsh spelling of my first name. And most of you lot's pronunciation of my last... :)
 
@AlanMunn ooh
 
Somebody asked Bobby Charlton what would their England team do against Iceland; we'd win 1:0, says Bobby Charlton. How come? Just 1:0? Well, says sir Bobby, we're eighty!
 
8:21 PM
@egreg :D
 
5
Q: Inconsistent letterspacing (interword space) in pdflatex vs lualatex

ThanasisIn my documents I prefer text in small- and all-caps to be letter spaced. To that end I am using the letterspacing capabilities of the microtype package. Until now (with version 2.5 of microtype) I used to get the exact same result when the text was typeset in the same font via the pdflatex and l...

@DavidCarlisle, @JosephWright -- another luatex question ... is this a 2016 update flaw on their side or yours?
@PauloCereda -- did you know he'd been a tugboat author? tug.org/TUGboat/Contents/listauthor.html#Moon,Alun
 
@barbarabeeton cool!
 
yo'
8:39 PM
@barbarabeeton tipis are very popular amongst Czech scouts and other "natural" people. It's the nicest way of camping.
@egreg lol
 
@egreg LOL
 
@PauloCereda I'm sure you like David Luiz. ;-)
Goal, by the way!
 
@egreg You delayed enough this time. ;)
This has been a great game to watch.
 
@AlanMunn Tell it to the Belgians
 
@egreg Nope. :)
 
8:43 PM
@egreg Well yes, but that's not my problem. :)
@egreg I was expecting it to be a one sided game. (And I'm sure so were the Belgians.)
 
@AlanMunn Belgium was overrated
 
yo'
@egreg it was a nice match, especially for the small number of fouls.
 
@yo' Indeed
 
yo'
@egreg i mean, for me, it's what matters, it seemed to me to be a fair match and both played well...
 
@PauloCereda I was following the match commented by a comic group; when Fellaini went in they said “Belgium want to lose”. :)
 
8:56 PM
@egreg LOL
@egreg and friends: run this and have fun: wget https://gist.github.com/cereda/50ff43abec5d7f1c23d92d23b7223140/raw/swirling-hex‌​agon.tex; pdflatex swirling-hexagon.tex It's a swirling hexagon, I guess... :)Paulo Cereda 13 secs ago
@egreg ^^ I wanted to post it as an answer, but it is closed.
 
@PauloCereda :)
 
@egreg I was late to the party.
 
9:13 PM
any lualatex expert here? How do I force macro to expand before passing it to lua call? When I pass it now, the literal macro name is passed, not its value. I am doing this:

\def\name{....}
\directlua{ format(\name) }

inside Latex, \name as the actual name that the macro expands to (evaluates to) but inside lua, I see "\name" being passed.
 
@Nasser edef?
 
@Nasser \edef
 
@ChristianHupfer boo
 
@PauloCereda Damn!!!!!
 
9:14 PM
in the above, format is my lua fuction. inside \begin{luacode}..\end{luacode}.
 
@ChristianHupfer <3
 
Oh, ok, will try edef. Thanks.
 
@PauloCereda edef does nothing, \edef will do :-P
 
@ChristianHupfer \egreg
:)
 
@Nasser As far as I know, \directlua does macro expansion
@Nasser How are you defining \name?
 
9:15 PM
humm. \edef not working.
 
@PauloCereda \meaning\egreg → undefined :D
 
Ok, here it is.
 
@Nasser Don't trust Germans nor ducks
 
........
\edef\name{\fullpath{\jobname.tex}{"foo7_1.tex"}}
\name
\directlua{ format(\texht,\name,"Matlab","normalsize") }
......
when I compile, I see \name evaluates to full path name OK, but inside LUA, I see only "\name"
 
@Nasser: Is that expandable at all?
 
9:17 PM
@Nasser What should \fullpath do?
 
fullpath is LUA function I wrote with help of answer here, which find full path of file and adds to it a file name. It works OK on its own, and returns the full path of the file. Then I want to pass this full path to another LUA function
I guess I have to make a MWE
 
@Nasser Definitely.
 
The problem is that I do not know how to tell lualatex to pass the value of \name
Ok, will make one.
in Matlab, I would just do
A=10;
foo(A)
and it will pass 10, not "A" to foo(). I wanted to do the same with LUA
But I am very bad at macros, that is why I try to do the coding inside LUA
 
9:41 PM
OK, I give up. LUA<-->LATEX is the most confusing API I have ever seen. I will post a question on the main forum.
 
9:59 PM
@Nasser you must be suppressing expansion, \directlua expands all macros before passing to lua.
 
@DavidCarlisle I have no idea. I am writing the question now. I wish someone would write a SIMPLE easy to follow instruction on how all this latex<-->lua stuff is to be used. Currently there is just scattered stuff here and there and it is very confusing. Normally there is an official language reference manual for these things. any way.
 
@Nasser there is a reference manual. texdoc luatex
2
 
10:14 PM
Hello everyone,

Slackware 14.2 has just been released as the latest stable version of Slackware.  The annoucement is below.  Also see slackware.com for more information and links for downloading.
 
10:41 PM
I fixed the typo I had in my question. If anything I can clarify please let me know.
 
@Nasser already answered it:-)
 
@DavidCarlisle thanks. I get an error.
Last call, when you uncomment it., I get error. \format{\name}. I still need to call lua back one more time.
I put the -2 in both places. I do not understand what -2 does. Does it mean to return string? Any way, it is till not working :(
(C:/Program Files/MiKTeX 2.9/scripts/oberdiek/oberdiek.luatex.lua))))X:\data\public_html\magine\"sub_folder\foo7_1.tex"
X:\data\public_html\magine\sub_folder\foo7_1.tex
[\directlu
a]:1: <name> expected near '\'.
\luadirect ... { \luacode@maybe@printdbg {#1} #1 }

l.52 \format{\name}
                 %
?
 
@Nasser -2 is explained in the reference manual, as you commented earlier (section 9.3.10.1 tex.print) the error is simply that your lua code expects a lua string like "/usr/foo/bar" but you are passing it /usr/foo/bar so it complains about the lua syntax
 
@DavidCarlisle this is really strange. Ok, I changed it to \format{"\name"}% and guess what, it compiles OK on linux but fails on windows ! I have no idea why. Will update so you can see.
(C:/Program Files/MiKTeX 2.9/scripts/oberdiek/oberdiek.luatex.lua))))X:\data\public_html\magine\"sub_folder\foo7_1.tex"
X:\data\public_html\magine\sub_folder\foo7_1.tex
[\directlu
a]:1: invalid escape sequence near '\d'.
\luadirect ... { \luacode@maybe@printdbg {#1} #1 }

l.52 \format{"\name"}
                   %
? x
But on Linux, it compiles OK :
(/usr/local/texlive/2016/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))/media/data/public_html/magine/"sub_folder/foo7_1.tex"
/media/data/public_html/magine/sub_folder/foo7_1.tex

[1{/usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./foo7_1.aux))
 396 words of node memory still in use:
   3 hlist, 1 vlist, 1 rule, 7 glue, 4 attribute, 44 glue_spec, 4 attribute_lis
t, 1 write nodes
   avail lists: 2:13,3:4,4:1,5:14,6:115,7:26,8:1,9:8,11:6
Same file. I use lualatex for both.
 
@Nasser I was just going to say on windows you'd need to quote the \ but why not use / everywhere. lua strings are same a c or matlab or most other things and \ is special in strings
 
10:54 PM
Becuase on windows, I use "\" for file separation
 
@Nasser yes but you probably can use / but you need \\ to put a \ in a lua string, that's just lua syntax nothing to do with the tex/lua interface
 
@DavidCarlisle my file name I pass is always like this: "folder/name" and so when I build the full path, I need to be consistent. on windows I have to change it to "folder\name" to match the directory format that LUA gives me.
@DavidCarlisle OK, I will play with it. .Thanks for your help.
 
@Nasser are you sure? most windows programs accept / but anyway the lua string "folder\name" doesn't have a \ in the middle, it has \n which is the escape for a newline
 
@DavidCarlisle I mean, when I compile on windows, LUA returns directory name with "\" separator. On Linux, LUA return directory name with "/". but my file name I pass uses "/" all the time. So I can't mix. Any way, I will work on this more. Now I know about the -2 trick., thanks
 

« first day (2070 days earlier)      last day (2846 days later) »