« first day (1423 days earlier)   

7:04 AM
@PauloCereda Any idea for a name of a beamer color theme? parrot ?
2 hours later…
9:16 AM
@tohecz Hi! :) What colours does it have?
Good Morning :)
is there something like a paragraph that keeps text and equations linked together with smarter pagebreaks?
well, there actually is a \paragraph thing.. now i feel stupid :0
9:34 AM
@Buni Mmmh, I don't think \paragraph is an answer. There is never a break between the last line before a display and the display.
9:49 AM
@PauloCereda Wait until you submit them :) It's gonna be fun
@percusse "Final version must be in the .docx format." IEEE got me already. :P
@PauloCereda Welcome to my world
@JosephWright :( That's the sole reason I have Office for Mac nearby.
@PauloCereda Don't get any documents to open/work on in Word format?
@PauloCereda I have to have Word for Windows, even on the Mac, as otherwise things go badly wrong
@JosephWright Sometimes, I stick with LibreOffice. When things require complex actions, I have to switch.
@JosephWright Apparently, Mac vs. Windows compatibility also strikes. :)
9:54 AM
@PauloCereda It's to do with a program called ChemDraw. When you paste into Word from ChemDraw it keeps the info for editing the 'pictures', but it only works if you edit on the same system as you paste. So it's 'always Windows' or 'always Mac'.
@JosephWright Oh my!
@PauloCereda It's a bit of a hack, I think
@JosephWright Indeed.
@JosephWright Sounds like the 2-hour hack of PSfrag :)
@JosephWright, @percusse: I'm am minority in here. Besides, the few who say they use LaTeX do so terribly wrong that would be better if they stick with Word.
10:01 AM
@PauloCereda For articles, it's also a bit of journals' fault. They stick to stuff that is very old. Especially IEEE has no argument for that practice.
@percusse 100% agreed. :)
@PauloCereda But you can pay in n different ways almost including Bitcoin, so we can guess where the emphasis is.
@percusse o.O
When it comes to money they are pretty modern
10:43 AM
@percusse Last week I signed their copyright form. It's quite amusing. :)
2 hours later…
12:21 PM
Didn't know Johnny Rivers recorded a version of this song.
12:43 PM
@egreg: your new Midas touch seems very useful. :)
@PauloCereda :)
@egreg Do you have power over too? :)
@PauloCereda Oh, no. :( But even @DavidCarlisle hasn't yet.
@egreg :P
@PauloCereda gimme a sec
12:52 PM
@egreg nearly (then I'll be delighted to close all your longtable questions)
@Paulo (it's really pastel blue, green and orange)
@egreg the longtable documentation is so brilliant that not enough people get stuck and ask questions to make it easy to get that badge.
1:12 PM
@Harald what?
@tohecz your theme. not using a red-green contrast :)
@Harald well, all slides should use primarily the dark-light contrast, and then colour blindness doesn't matter
@tohecz I like parrot. :)
@tohecz sure, but its still nice to use "safe" color contrasts to distinguish content structuring elements (Theorem vs Example in our slide)
1:25 PM
@Harald yep :)
@PauloCereda ok. I'll see how to purify the code, and then release it :)
Hello everyone :)
@Alji hi
I have a simple question
I use \begin{figure} and \includegraphics to add an image to my article
I would like to turn it 90°
I mean add it to file as portrait
any idea how to do that ?
includegraphics has an optional parameter for that, i think
@Alji try \includegraphics[angle=90]
I found it it works
just angle=90 in parameter includegraohics :D
thank you guys
1:32 PM
@Alji you're welcome
1:54 PM
Whatver could Heiko mean?
@DavidCarlisle You mean, there is one poor implementation that needs to be enriched by many other packages to get image support work in practice? ;-) — Heiko Oberdiek 1 min ago
Hi @FrankMittelbach, do you think \input{a#b} or \input{a##b} or \input{a####b} should work? (none do, different bits need different numbers of #)
@DavidCarlisle never seen that as a requirement and I wouldn't mind if we simply don#t support it (if it gets complicated) ... so what happens? (no way to test now)
seems I wasted 100 bounty points on tex.stackexchange.com/questions/200989/… really no takers? They get lost by tomorrow I fear.
2:23 PM
@FrankMittelbach @DavidCarlisle is always rep hungry. Maybe he'll learn Lua in one night, but not reading a manual can be hard.
@egreg its not about learning Lua, it is about applying the luaTeX callbacks
@FrankMittelbach what happens is depending on the number of # or whether you add \string it dies with illegal param number (usually in \reserved@a) but in different bits of filename@parse depending how many # you have:-) Not really suggesting change it just came up on a question here this morning. (\edef\hash{\string#} and use \hash is a good enough workaround)
@FrankMittelbach The LuaTeX manual is pretty uninformative.
@egreg why do you think I'm asking for help? What I want to do is to work on some ideas for implementing river detection in paragraph breaking (which I would do in the lua implementation of the algorithm) but for that I need to be able to trigger it in the first place in a basic TeX run
@FrankMittelbach No wonder nobody answers the question. There is no MWE :D (sorry, just kidding)
2:38 PM
@Harald well I could make up one I guess :-) ... if I do are oyou tackling it? ;-)
@FrankMittelbach sorry, I can hardly help there. Up to now, I have never even run the lualatex command once.
@Harald maybe that's a good way to learn then :-)
@egreg you sure you don't need a few more points? I'm sure it needs only a line or two in a TeX file ... the question is just which?
2:55 PM
@FrankMittelbach Maybe we can poke Patrick to take a look?
@PauloCereda anybody please if you can poke .. I'm desperate :-)
@FrankMittelbach :)
@patrickgundlach: Pat, save Frank! http://tex.stackexchange.com/questions/200989 :)
@Frank: ^^ :)
@PauloCereda very impressive ... let's see
@FrankMittelbach oh my, I almost forgot Michal! @michal.h21: do you have any ideas for Frank? tex.stackexchange.com/questions/200989
@David is also an expert according to this source:
Apr 15 '13 at 11:26, by David Carlisle
@PauloCereda If you look at my linkedin page you see I'm endorsed (so presumably an expert?) in lots of languages, some of which I've never seen. (does anyone understand linkedin?-)
@FrankMittelbach so you can get a callback working but node-ltp.lua seems like it's the start of a large tangle that's going to pull in the whole of context ! LuaTeX error ./node-ltp.lua:190: attempt to index local 'fonts' (a nil value) etc...
3:34 PM
@Frank: ack?
@DavidCarlisle guess then depends on how much of that needs tp be pulled in
@Frank: good news: Patrick is the solution. :) bad news: twitter.com/patrickgundlach/status/514433811141361664 :(
@PauloCereda ? eh?
At least, we know now who we should poke. :)
@PauloCereda would be really interested if this could be made to work
4:10 PM
@FrankMittelbach mail (not very helpful) sent:-)
you mean it isn't yet good enug hto form an answer?
how disapointing .-9
@FrankMittelbach I could post an answer and take some rep off you,. but it doesn't work:-)
@DavidCarlisle the reps are taking off when you put out the bounty and I think they do not revert to me if nobody comes up with an answer ... but it would be a bit embarrassing i guess if you get 100 extra for "I really don't know how to make it work :-) "
anyway, perhaps they revert ... we'll see
@FrankMittelbach yes you've lost them whatever happens, and if @egreg is happy to get a 2000 bounty for a % at the end of a line, 100 for some non-working lua doesn't seem so bad
got to go, bye..
4:31 PM
@FrankMittelbach I can wave the wand if you like (bounty-wise, at least)
@JosephWright I don't mind but if you can extend it then at least maybe somebody comes up with a solution in the end (and gets them)
4:52 PM
@FrankMittelbach Did you ask on the ConTeXt mailing list? In the comments Martin talked about the one presented by Hans Hagen. For sure in the ConTeXt mailing list they should know…
5:35 PM
@Manuel guess I'm not on this list ... too many lists around to keep on top of. I mailed Hans, but haven't heard back from him
1 hour later…
6:44 PM
@PauloCereda if Frank wants to play with river detection, maybe he doesn't need to implement whole line breaking parameter. tex.linebreak function exists, which takes two parameters, node list and table with parameters like tolerance, loosenes, etc. return value is new node list with horizontal boxes. maybe he could process this returned node list to find rivers and repeat function with various until good solution is found (maybe not most efficient and optimal solution, of course)
@michal.h21 ooh! :) That's gold info, thank you! :)
@FrankMittelbach: ^^
but it is just my idea from reading the manual, I haven't used libebreaking callback and this function yet, so I am not sure whether this would work
7:21 PM
@egreg: could you help me with a quick catholic algorithm? :)
@egreg: I want to determine the liturgical year of a certain date. My plan is to obtain a general rule (modulo 3) to determine the current trend of the year (A, B or C), then later calculate the date set four sundays before Christmas; if the date I want to inspect is before the calculated date, it's the current trend, or the next letter otherwise.
7:47 PM
@PauloCereda It's quite simple. ;-) If the date is between the fourth Sunday before Christmas and 31 December, add one year; then get the remainder of the (adjusted) year modulo 3: remainder 1 is year A, remainder 2 is year B, remainder 0 is year C. ;-)
8:00 PM
@PauloCereda Not easy. You have to determine if the day is a Sunday, compute the weekday of Christmas, and so on.
@egreg Love it. :) Thanks. :)
@egreg That's the easy part. :)
@PauloCereda Compute the weekday of Christmas in a year, back up to the preceding Sunday and back again for three Sundays to find the first day of Advent.
@egreg Thank you. :) I'll implement it right now.
@michal.h21 thanks, but my plan is to actually build river detection into the algorithm (or rather extend it to take rivers into account in a parameterized way (and I have a couple of old ideas on that) ... in the past I never felt like trying to put that into the algorithm directly, that would have meant coding it in web or so. But these days I thought it should be nice to try it on the lua level.
@michal.h21 So for this I need the whole algorithm (more or less as Don designed it) in Lua and it seems Taco did just that. So now I only need it in a working stage in plain TeX, sort of.
Corn juice, yummy!
8:14 PM
@FrankMittelbach ah, I see. the context version seems to depend on various context libraries a lot, it will be not easy task to adapt it for plain and LaTeX
@michal.h21 that would be a pity, because if the task here is to offer a reimplementation of linebreak than that should work as a drop in replacement really. However, for the experiments I have in mind I don't really care that much, so if you could put in an answer that works in context I'm happy enough (for now). If my ideas actually succeed then eventually I would, of course like to see it available as a generic replacement
    public String getLiturgicalYear() {
        int year = current.getYear();
        DateTime christmas = new DateTime(year, 12, 25, 0, 0);
        int days = christmas.dayOfWeek().get();
        DateTime advent = christmas.minusDays(days).minusWeeks(4);
        if (!current.isBefore(advent)) {
        return getYear(year);
And it works. :)
@PauloCereda :)
@egreg Thank you very much, my original idea was far more complicated. :)
1 hour later…
9:31 PM
@egreg: I think I need a algebraic professor now. :-)
Q: Which was defined first to represent $\underbrace{a+a+a+\cdots+a+a+a}_{n \text{ terms}}$? $n\times a$ or $a \times n$?

Oh my ghostWhen we are talking about multiplication, we often use it without knowing which one was defined first and which one was defined because of its commutative property. Here I want to know which one was defined first? $$\underbrace{a+a+a+\cdots+a+a+a}_{n \text{ terms}} \equiv n \times a $$ or $$\...

@Ohmyghost To add some % at the end of lines? ;-)
@Ohmyghost This is more history of mathematics than algebra. But the “times” word should clearly lead to $n\times a$.
@egreg No. It is not about TeX.
@Ohmyghost But in Italian we say “a per b", that's abbreviated for “a multiplied by b”. In the 16th century it was denoted “a .in. b”.
@egreg OK. Thanks.
For the Greeks it was something like “twice a”.
9:54 PM
Is there any way to restart the discussion on more migration paths so that we may finally get them? See meta.tex.stackexchange.com/q/3303/5763
10:28 PM
Q: What can I do with a unicorn?

DamekI just got a Unicorn and I actually don't know how/why I got it. How did I get it and what can I do with them? I did got an achievement Achievement unlocked: Unicorn Conspiracy! And it says, Lift the shroud of the Unicorn Conspiracy!

By the way this reminds me of this series of tapestries, which is at the Cluny museum in Paris
The Lady and the Unicorn (French: La Dame à la licorne) is the modern title given to a series of six tapestries woven in Flanders of wool and silk, from designs ("cartoons") drawn in Paris around 1500. The set, on display in the Musée national du Moyen Âge (former Musée de Cluny) in Paris, is often considered one of the greatest works of art of the Middle Ages in Europe. Five of the tapestries are commonly interpreted as depicting the five senses – taste, hearing, sight, smell, and touch. The sixth displays the words "À mon seul désir". The tapestry's meaning is obscure, but has been interpreted...
11:24 PM
@egreg Oh my!

« first day (1423 days earlier)