« first day (1350 days earlier)      last day (3587 days later) » 

12:05 AM
@DavidCarlisle, thank you for the feedback; much appreciated!
 
@izabera Just beware: the problem might seem naive at first, but there's a big complexity behind it. :)
 
@PauloCereda my first idea, as shown in that animation, was to develop an external program that takes a picture with some text and
1. create black boxes around each word (box height = x height, box width = word width),
2. fill up the vertical space between these boxes (this creates white rivers),
3. isolate each river,
4. compute its length (ignore rivers shorter than 2 lines),
5. colorize rivers accordingly to the length (3 lines = green, 4 lines = yellow, 5 lines = orange, more than 5 lines = red)
most of these steps are pretty straightforward with any programming language except maybe the first
 
@izabera Agreed. And then? :)
 
12:21 AM
and then output "your document sucks bad" if there are too many of them
yes this part may need a rethinking
doing it in lua within tex of course opens up a lot of possibilities to actually do something with the result
 
Sorry, I'm wearing my TCS hat. :)
 
what does that mean? an inside joke? <.<
 
@izabera Theoretical computer science. I meant that, at the end of the day, you might end up with a region partitioning problem (as I see it) that will cost terribly (exponential at least), unless of course some greedy heuristics could be employed. :)
 
uhm no? what?
 
I'm boring, I know.
Happens all the time. :)
 
12:27 AM
ok o_O
 
That's why I sit in the dark side of the bar. :P
@izabera: sorry for scaring you. ;)
 
XD
can i say tex to try to typeset a paragraph without actually writing it, then checking the result and correct stuff?
like adding badness here and there?
 
 
7 hours later…
7:31 AM
@izabera luatex
@PauloCereda stick to cricket
 
8:02 AM
@PauloCereda I found two more: github.com/raphink and github.com/georgd :)
 
8:16 AM
@Paulo An obvious “at least to try” solution would be to change the spaces just a little to see if the paragraph changes a lot, and then compare the two baddnesses. A partial solution (IIRC it was a commend in the ConTeXt list) is to write optional code while writing the text … like \maybe{for instance} the romans…; that way you let the program compile many paragraph some with the argument of \maybe typeset y others without it, and then compare the badness in all of them.
 
8:49 AM
@DavidCarlisle can you link some reference please? i'm not sure what to search for in this case
 
9:11 AM
@izabera on luatex or cricket? (the system thinks you were replying to the later:-) luatex (on which I'm not really an expert) has callback functions that allow you to substitute lua functions for tex internals, in particular there is one for the linebreaking routine so with luatex you can have a lua function that gets the horizontal list of the paragraph and does whatever you want before returning the vertical list of tehe line boxes after linebreaking
 
@DavidCarlisle i'm reading the luatexbase documentation about callbacks, thanks a lot!
 
 
1 hour later…
10:43 AM
@Manuel It's surely a valid approach. :)
@cgnieder Done. :)
 
11:10 AM
@Manuel: actually... it's still combinatorial, isn't it? unless all \maybe or none altogether. :)
 
11:36 AM
Werner update: 379 to go! And still 110 available for today. Somebody start preparing the cake!
 
12:07 PM
@PauloCereda I wasn't proposing a definitive answer. Just that you don't need to get stuck there, you could do a few things :) Combinatorial? I guess what that means, but never ever thought/studied about that, so I can't say anything relevant :)
 
12:26 PM
@Manuel I understand. :) After all something is better than nothing. :) I probably forgot to take my hat off from yesterday. ;)
@egreg We need a cake expert. :)
 
1:14 PM
@PauloCereda just remember that it's a lie and you'll be good. :-)
 
 
2 hours later…
3:05 PM
Barf!
 
@egreg woof! :)
 
3:28 PM
@PauloCereda Storm approaching. :( At least there's some good news: Fred won't play.
 
@egreg Phew. :)
 
@DavidCarlisle Such tenth wicket partnership
 
@DavidCarlisle Is that good news?
 
@egreg Yes: got England out of trouble
 
3:38 PM
@JosephWright But you still haven't won, have you?
 
@egreg yes it means our batsmen can't bat and we were losing by a mile but fortunately our bowlers can bat and look like saving the day:-)
@egreg no 2 innings for each team and India have just started their second and then we bat again
 
3:50 PM
@DavidCarlisle Will they end by tomorrow?
 
@egreg the match ends tomorrow so if both teams have not finished their innings by then it's a draw. Basically India will be hoping now to get far enough ahead so they can "declare" and stop their innings and give themselves time to get England all out, of course if you declare too early and lose you look silly, but if you declare too late the match gets drawn, meanwhile England are trying to get India out quickly so they have time to pass that score tomorrow.
 
4:28 PM
This is rather general inquiry (which I do not think qualifies for the main site), with intent to find out how to go about this the best way with the less time-consuming the better. How would you draw this when using TikZ? imgur.com/btKCS48
It's a sketch of a technical apparatus. There are obviously lots of rectangular shapes and nearly equally many nodes "pointing" to them. On the right of the nodes are the same rectangular shapes, just rotated by 90°, in the sense of a sectional drawing from the side.
 
4:49 PM
anybody home???
 
@subhamsoni Yo!
 
@subhamsoni ?
 
here
I have used CambridgeUS theme
I want to change the color
and the layout of the numbers
in the ToC
to box and color to red
how to do it???
 
 
3 hours later…
7:49 PM
@PauloCereda Are you watching the game?
 
8:06 PM
@egreg I'm back from a tour. :) But according to my dad, I shouldn't turn on the TV. :)
 
@PauloCereda It's 1:0.
@PauloCereda I'm afraid they gave back the generous penalty with Croatia. ;-) It was not a penalty.
 
@egreg :)
 
@PauloCereda Oooops
@PauloCereda This was offside.
 
8:27 PM
@egreg Oh my. :)
 
@PauloCereda Jô hasn't touched a ball yet.
@PauloCereda He touched the ball twice: on the midfield line.
 
@egreg Pretty much it. :)
 
 
1 hour later…
9:49 PM
@PauloCereda Oooops again.
I guess that Brazil will no more organize the World Cup. ;-)
 
 
2 hours later…
11:45 PM
Do you understand what's been asked here tex.stackexchange.com/q/191242/3954 ? In a comment (the first one), I asked for clarification but the answer got me even more confused.
 
@GonzaloMedina was trying to figure that one out as well. I think the OP wants to mark a section in the source somehow. This marked section should have an asterisk prepended in the ToC, as well as the Chapter containing the marked section. (I think :-).)
It is entirely possible that I'm completely wrong, though. :~)
 

« first day (1350 days earlier)      last day (3587 days later) »