« first day (759 days earlier)      last day (4471 days later) » 
00:00 - 21:0021:00 - 00:00

21:00
@tohecz Put {\parfillskip=0pt\par\noindent} at regular intervals in the long paragraphs.
@egreg causing irregular line spacing? no. I would better break the paragraphs and pretend it wasn't me
@tohecz Why irregular line spacing?
or what else would your code cause? And of a paragraph such that the last line is "filled" and the next par starts unintended
Use {\parfillskip0pt\parskip0pt\par\noindent}
@tohecz long paras should make it easier to avoid underfull boxes, so long as baselineskip matches the text height?
21:02
and how would that help me with underfull boxes ?
@DavidCarlisle which is hard with so many figures
@tohecz TeX would try more often to eject a page
@tohecz do you have stretch glue after the figures?
@DavidCarlisle I think so, but obvously less than baselineskip
@DavidCarlisle as well (not this case) but the figure*s in twocolumn never use their glues
@tohecz well you either need that or you need to force each figre to be a multiple of baselineskip (by boxing and measuring and padding if necessary before floating it
@DavidCarlisle yeah, I know
21:05
@tohecz no but again you can force them.... oh you know:-)
btw, quick one: how can I slighly increase the shape modification effect of microtype?
@tohecz TeX2 didn't do microtype (and I never really learnt any TeX after that)
@DavidCarlisle pull the other leg
@tohecz See my answer to Ulrike's first (and only) question
18
Q: Flushbottom columns when \parskip has no stretchable glue

Ulrike FischerIn the following example, the columns on page 1 and 3 "sit" perfectly on the frame, while on page 2 (with the large float) the columns end a bit above the frame. Does anyone have an idea what I could do to get around the problem? (If a perfect solution is not possible, then a difference of 1-2pt ...

@egreg I'll hopefully convince the language editor to make authors break long pars, and all will be fine ;)
21:09
I removed the egreg tag from my question (tex.stackexchange.com/questions/84673/…). It was just meant as an appreciation that egreg provided a command that forms the basis of the question and an appreciation in general to his contribution on the site
@tohecz It's more or less true (Although the TeXBook I own is a TeX3 one the one I actually read end to end was TeX2 and it still has an affect on how I think about the newer features:-)
@tohecz The TeXnique I suggested is found in the TeXbook. If you have the source, check for "modernistic" or "Joyce".
@egreg I don't argue :)
\usepackage[stretch=20,shrink=30]{microtype}
@egreg Joyce? :)
kan
kan
needs_work.
21:16
@PauloCereda long dull paragraphs
@DavidCarlisle ooh!
Since TeX reads an entire paragraph before it makes any decisions about line breaks, the computer's memory capacity might ^^{capacity exceeded} be exceeded if you are typesetting the works of some ^^{Joyce, James} ^{philosopher} or modernistic novelist who writes 200-line paragraphs. Suggest a way to cope with such authors.
\answer Assuming that the author is deceased and/or set in his or her ways, the remedy is to insert `|{\parfillskip=0pt\par\parskip=0pt\noindent}|` in random places, after each 50 lines or so of text.
@egreg OMG!
kan
kan
I don't think so:
0
Q: Comma inside \texttt{}

Dmitrii I.I am trying to print a comma inside a \texttt{} tag, but it is not printing: \documentclass{article} \begin{document} \texttt{foo, bar} \end{document} produces: foo bar not foo, bar How to print the comma inside without loading extra packages, though defining new command is allowed?

@egreg but can't TeX cope with 200 line paras now without doing this?The page breaker will get triggered earlier but..
kan
kan
21:18
Too localised?
@kan who knows?
kan
kan
@tohecz I tried and could not reproduce.
@DavidCarlisle For Knuth the problem was in memory constraints. Here I guess that exercising more often the page builder can help in placing figures.
@kan neither me. Which doesn't mean we say him to GTFO
-2
A: Free and open source substitution for mendeley

William GunnI work for Mendeley, so you may think I'm biased, but I can address the factual error in your question above. Anyone can sign up for Mendeley or contribute documents for free. It's also free to interface with the network via http://dev.mendeley.com I think where you may have gotten confused is ...

An interesting flamewar is going on here. :)
kan
kan
21:21
@tohecz I know, and I really did not mean to tell him that. Sorry.
@Jörg Good, I removed my comment. Some more are obsolete now. I understand, of course! And I like fun, there are just some rules :-) Also I restrict myself often.
@egreg well in theory (but not always practice) the longer para should help place figures as it means tex has more material to juggle, the problem with the page breaker as opposed to the line breaker is that it ships out pages too early and never normally considers two pages at a time
@kan but closing a noob's question feels like that, trust me, been there happened that.
@StefanKottwitz Can I add a tag too? :)
@DavidCarlisle it would be nice to have an algorithm to "rebreak a paragraph to avoid bad vbox at output"
kan
kan
21:24
I am reworking my patch.
Be back later.
@PauloCereda Sure. With your ... now ... klickklick ... 20 rep, no problem.
ok, see ya
@tohecz talking of TeX3 Frank tried to get reconsider paragraphs <at page breaks> in to TeX3 but it didn't get in. You can do it in luatex using its paragraph breaker callback I think
@StefanKottwitz Uh-oh. :)
@DavidCarlisle Thanks for your answer, that's really usefull for my work :-).
21:25
@PauloCereda Let's agree your bot said this :-)
@DavidCarlisle probably. LuaTeX seems to provide some interesting opportunities worth discovering
!!/eightball
@StefanKottwitz Ah yes, it was Psmith! :)
@Jörg well it delayed the marginpar stuff for another day at least:-)
@tohecz The bot is sleeping. :)
!!/cricket
21:26
@DavidCarlisle The bot is sleeping. :)
!!/CRICKET
!!/wake
For basic calculations within the document body (subtract, multiply, divide etc.) is there an alternative to the calculator package (not Lua though). That was the first package I found, so I tried that one
@DavidCarlisle Wow.
@PauloCereda I'm not sure if shouting wakes bots but it seemed worth a try
21:28
@DavidCarlisle Hehe, okay I stop myself from asking difficult questions now...
@DavidCarlisle :)
@Jörg calc?
@Jörg l3fp :-)
@JosephWright ooh! :)
LATeXPACK powered by @DavidCarlisle. :)
@DavidCarlisle I think calc just works to calculate dimensions
21:30
Also pgfmath or fp (if you don't need expandable calculations)
@Jörg that's what the standard latex \strip@pt is for:-)
@Jörg yeah, calculations know to be a problem. The other day, I was giving @Stephan a Taylor polynomial of something, to avoid need of sqrt
@DavidCarlisle I tried that before and it did not work....
@JosephWright or \immediate\write18{echo "1+2" | bc}
@Jörg user error:-)
Okay, maybe may question should be what is the best/easiest/robst way to make simple calculautions...
@DavidCarlisle Very likely
21:32
@DavidCarlisle Not platform independent :-)
@Jörg Like I said, l3fp :-)
@JosephWright It works on all the platforms I use
@JosephWright and there're platforms without echo, bc and | ? :P
@tohecz \immediate\write18{wget cygwin.com/setup.exe; setup; echo "1+2" | bc}
@DavidCarlisle Even better (with pdflatex): \@@input|"echo '1+2'|bc" which gets the 3 in the input.
@egreg Fails with other engines :-(
21:35
Hey guys, @AlanMunn is here! :)
@JosephWright but still is something I haven't seen ever
We miss you, buddy! :)
@JosephWright I know; we should convince the XeTeX maintainers to put it into the program.
@egreg I did the patch for the last lot of primitives the team asked for: that was hard work!
@AlanMunn Too much work! You should learn better the art of procrastination.
@JosephWright Very nice! Will this extension of \input be among them?
21:37
@tohecz It's relatively specialised
Of course LuaTeX can do it by a system call.
Trust me, if I hadn't mastered the art of procrastination I would have more time to spend here. :)
@egreg No, you misunderstand me: did was the key word here. We needed \(pdf)strcmp: we also more-or-less said we would not ask for any other new primitives
I actually dropped in to get some quick macro help, but as I wrote the question an answer came to me that will work for the moment and I'm in a hurry. So I'm afraid I can't chat too much now. The semester is almost over, though, so I think I'll be back more frequently in a couple of weeks.
@AlanMunn Great! I mastered it too. That's why my second baby will come in a few weeks.
21:43
@StefanKottwitz Somehow I don't think that's procrastination. Congratulations!
Thanks! My boss is not so happy that I frequently get babies. :-)
(I'll stay at home for a while.)
!!/eightball Do we procrastinate a lot?
@PauloCereda You may rely on it.
!!/define procrastination
@PauloCereda procrastination: To put off doing something, especially out of habitual carelessness or laziness. (source)
!!/eightball Is procrastination good?
@egreg Reply hazy, try again.
@PauloCereda Well I don't procra ... I'll explain later.
4
21:46
@StefanKottwitz LOL
!!/eightball Is procrastination a good thing?
@PauloCereda My reply is no.
!!/choose Procrastination, Work
@PauloCereda Work
Oh no.
Turning off bot. :)
!!/cricket
Oops, too late. :)
nearly:-)
@PauloCereda It's surely in need of repair. :)
@egreg Indeed. :)
22:04
@DavidCarlisle No output with OT1 encoding is like having many accented A's.
@egreg :-)
I think I'll parse the cricket results, in order to make them more human-readable.
If that's even possible with cricket.
Hi @StefanKottwitz Congratulations! My second baby will come out next week.
22:22
@JosephWright l3fp works great, I came up with

\usepackage{expl3,xparse}
\ExplSyntaxOn
\NewDocumentCommand{\calc}{m m}{\tl_set:Nx #1{\fp_to_decimal:n{round((#2),2)}}}
\ExplSyntaxOff

The only problem is a missing white space if I do \calc{number}{2-1}... \calc and here is text
@Jörg why redefine the set macro to be the result? that means you cant call it again?
Hey guys, I got a silver badge for context. If I add context tag to all the questions for which I have given a context answer, do I get a gold badge? :)
4
@DavidCarlisle Sorry, it should have been "\calc{\mycalculation}{2-1}... \mycalculation and here is text where a white space is missing"
@Aditya ooh I like this plan. :)
Btw, how do you format code in this chat?
22:31
@Jörg tex always eats space after a command name
@Mathematicians: I should have noticed this earlier: Regarding tex.stackexchange.com/a/82655 do you know a maths command \wideparent? If yes, which package?
@Jörg inline with back ticks or multiline a fikex font button appears
@Paulo :)
@DavidCarlisle I know, normally I fix it with {} / or \xspace, but I can't get it to work here
@Jörg ?? \mycalculation{} and here is
22:33
@Aditya: speaking of ConTeXt, we'd love to include it in our cheat cube project. Suggestions are welcome. :)
@Paulo: Since it is a cheatsheet, I'll cheat. Wait for the LaTeX submission and just provide the context equivalent of those :)
@DavidCarlisle Yes, but I want to fix this on the command level :-)
@Aditya ah! :P
@DavidCarlisle So that I don't have to worry when calling \mycalculation
(OK … who is active now … ) @DavidCarlisle:
3 mins ago, by Speravir
@Mathematicians: I should have noticed this earlier: Regarding http://tex.stackexchange.com/a/82655 do you know a maths command \wideparent? If yes, which package?
22:35
@Jörg well xspace then (not that I ever use that) but then it' no longer expands to a number which probably is your problem
@Speravir: What is \wideparent suppose to do?
@Aditya I don’t know! I guess, it should be \widehat.
@Speravir o.O
Then why are you looking for a package that provides it :)
@Speravir yhmath is the package; the command is \wideparen and is a math accent like \widehat
@Speravir I fixed the command name in the answer
22:39
@Aditya I do not look for it, another one used it in an MWE. @egreg: AAAAAaaaah! Biting in the desk A simple typo!!!11 Oh … my … god!
@egreg Thanks!
@egreg \wideparent must be a good name for something..
@DavidCarlisle An overweight mom or dad?
5
@egreg And now I must ask: What is it supposed to look at. With MiKTeX I only get “ABC” (the other user wrote about this issue).
@DavidCarlisle & @egreg: Hahaha!
@egreg well yes that was my thought.
@Speravir section 6 of
@Speravir here's a picture
@Speravir Install TeX Live and life will be easier. :)
Thanks @DavidC and @egreg (Silly me. I have the documentation here.)
@egreg Yes, and no … I would have a reputation some below 1000 here. ;-)
23:11
Anybody with TeX Live on Windoze who can test this problem of @doncherry?
0
Q: Weird spacing with DejaVu Sans Mono in XeLaTeX

doncherry\documentclass{article} \usepackage{fontspec} \setmainfont{DejaVu Serif} \setsansfont{DejaVu Sans} \setmonofont{DejaVu Sans Mono} \begin{document} Hello World! \textsf{Hello World!} \texttt{Hello World!} \end{document} compiled with XeLaTeX gives me this: Copying the output wit...

It seems a problem in MiKTeX.
@egreg does cygwin count? I'll try it anyway...
@egreg @doncherry works OK in windows cygwin TL2012
@egreg I can roll with that. Procrastination is part of the TeX.SE life...
@Werner Are you procrastinating even the 100k goal?
23:29
@egreg As mentioned in my interview, I'm in it - here - for the long haul. Lately I've been less active, just because of other things requiring action. Same would actually go into the entire December.
@egreg and @DavidCarlisle Thanks for testing and spreading the word! I think there's been a similar question on here, which also proved to be MiKTeX-XeTeX specific, but I didn't find it.
@doncherry Unfortunately (?) I don't have MiKTeX to test it.
@doncherry The fact that copying the text gives spaces is not decisive: usually PDF previewers have heuristics for deciding when two spaced out strings are divided by a space, since often spaces are not "real characters".
@doncherry I checked my font file: it's version 2.33, file size 333636, dated Aug 13, 2011
23:53
@doncherry Here is the result with my MikTeX-XeLaTeX based run
I've just downloaded the fonts and installed as .ttf so no complicated font installation but just system font usage.
00:00 - 21:0021:00 - 00:00

« first day (759 days earlier)      last day (4471 days later) »