12:20 AM
@Ariel OMG! Next lion costume: a Wolverine one. :P

12:39 AM
Wow, writing a manual is difficult. :P

8 hours later…
9:07 AM
This question can be closed as too localised. The OP wrote "So the problem should be in my cls file. I have to figure out which is the command that breaks things"
0

I'm experiencing a strange behavior of the \bibliography command (BibTeX). I'm seeing that, after \bibliography is issued, the \textheight is changed, and the references go slightly beyond the end of the text at the bottom of the page. I have my own document class, and the formatting for the bib...

tex.stackexchange.com/questions/29049/… bounty ends in an hour. If anyone feels like trying to answer it still. Maybe @levbishop?

Is this question a little bit off topic?
0

This question is very close to pdfcrop fails to crop a PDF document with non-white background However, that question (and answers) refers to a PDF created with LaTeX and my question is about cropping an externally-created PDF (not by LaTeX, but another program). I have a PDF of one page that ha...

9:44 AM
@MarcoDaniel yes, the OP could benefit from a migration to a site with Perl programmers, such as SO, if it's not achievable with the script as it is, via the user interface.

I'd send this to superuser, as it's more related to how to use a program than to programming

@Raphink Yes, if the program provides the desired feature and no change in the program code is required. If it's just about using though, it could stay here as a TeX related program, I guess a superuser is not required to run it with options. ;-)

10:24 AM
@MartinScharrer: Have you seen this question: tex.stackexchange.com/questions/51038/… -- Is there a way to combine newverbs with lstinline?

10:53 AM
One more close vote needed:
0

Beamer presentation files are very structures, they have sections, in which you find subsections, which include frames that have titles and then itemizations lists consisting of many items. It would be nice to have a program that auto-indents the input file based on this structure. I have outp...

@diabonas Voted and closed.

11:29 AM
@DavidCarlisle: Wow and thanks a lot

you just pushed me over to the epic badge:-)

@DavidCarlisle Congrats!

12:39 PM
@DavidCarlisle Now go for the Legendary badge!

12:53 PM

1:05 PM
@egreg the colour of the badges doesn't seem very related to their difficulty:-)

@DavidCarlisle The Legendary one is not very easy to get, actually. Try and see. :)

@egreg yes that's what i meant, epic wasn't too easy either, for silver compared to enlightened which you can get fairly regularly, or pundit which I got the other day for I'm not sure what:-)

I only reached rep cap for one day. :P

@PauloCereda probably a sign that you have a life

1:20 PM
@DavidCarlisle I'm not sure of that. :)

1:34 PM
@DavidCarlisle You got at least 5 upvotes on 10 comments you left.

@egreg yes but it doesn't seem so easy to find out which comments they were (and it seems a lot easier that getting 200 50 times) Not that it really matters: the badges (and rep generally) are fairly arbitrary but kind of fun to watch nevertheless
@egreg nice list settings , we should link to that from the penalties question:-)

@DavidCarlisle Which answer are you referring to?

the bibliography one just now

@DavidCarlisle That's just the article.cls definition with one line changed. :)

Yes I now but remebering which line to change got you a +1 from me:-) and generally it's a nice example of setting latex and primitive penalties
know

2:40 PM
FYI @DavidCarlisle you can edit in chat :)

3:06 PM
Robin Fairbairns' message in c.t.t: "we're all doomed, i tell ye, doomed!" :P

@DavidCarlisle The easiest way is probably to use the Data Explorer, for example this query. You can find your UserID in the URL to your profile, it's the number before your username. Note that the data there is only updated once every month.

2

I seem to have stumbled upon a minor bug in listings (version 1.4 as of 2007/02/22). A space following a quotation mark (') is being collapsed in spaceflexible and fullflexible mode when using \lstinline, even though it appears properly rendered within lstlstings environment. Same problem occurs...

It's duplicated
And here we need one vote ;-)
0

Running this code gives me an error that ! Paragraph ended before \lst@next was complete. \begin{figure} \subfloat[subcaption 1]{ \begin{lstlisting} text here \end{lstlisting} } \hspace{80pt} \subfloat[subcaption 2]{ \begin{lstlisting} text here \end{lstlisting} } \caption{Global caption} \...

@PauloCereda: Thanks

I started my own unanswered session for listings ;-)
2

OMG lotsa araras!

3:22 PM
@PauloCereda This is a awesome bird:

It now seems we need an tag for people who even after being given an answer and therefore a pointer to the relevant documentation, expect us to answer every little detailed question they have.
2

@MarcoDaniel OMG! Epic bird is epic! :)
This bird plays bass better than me. :P

@PauloCereda The bird fascinates ;-)
@AlanMunn What do you mean?

@MarcoDaniel If you take a look at Harold's questions you'll see what I mean.

@AlanMunn Now I know ;-)

3:51 PM
@MarcoDaniel Voted.

@lockstep Thanks

1 hour later…
5:01 PM
Does anyone have a recommendations for an absolute beginner easy to navigate manual for Tikz? Nevermind. Found it: cremeronline.com/LaTeX/minimaltikz.pdf

@egreg: I think you should remark that your solution works well with the standard classes. tex.stackexchange.com/questions/51294/…
KOMA and maybe memoir have a special implementation.

@MarcoDaniel Thanks. Of course the OP forgot to mention the class he/she's using. :(
What does this mean?
0

I think about truing $T=0$ but it seems kind of wrong because we do not assign but check for value == to... so what is the correct way to say that somewhere there was no such wariable (say named T) that would be equal to some value ( say 0)?

Ahah, pasting the same thing just now

@egreg I claimed a mwe ;-)
@egreg WOW -- I understand nothing

Maybe he means to ask how to write there exist no T such that T=0 ? but this is a wild (and obviously redundant) statement

5:14 PM

@DavidCarlisle Well I took a stab at it... Embarrassed that I have to resort to the xstring package as i can never remember how to do it in TeX.

@PeterGrill \ifnum\pdfstrcmp{\T}{0}=0 is true if \T expands to 0; but not if \T is a counter register, of course.
But I can't see whether this answers the "question".

I thought there was a simpler way to use \numexpr

@PeterGrill If you're sure that \T is a counter or a macro expanding to a number, then \ifnum\T=0 is sufficient.

@PeterGrill ah but you assumed that the question was about TeX macros, but I suspect it's about typesetting pseudo code but who knows:-)

5:28 PM
@DavidCarlisle Hmmm.. That didn't occur to me, but does seem to make sense.

5:40 PM
@egreg: can I send you the incomplete manual for suggestions? :)

@PauloCereda Yes, of course.

@PeterGrill and @AndrewStacey: \tikzmark is ubiquitous; see the last version of the ToC layout: tex.stackexchange.com/a/35835/3954

@egreg Thanks! Sent. :)

@GonzaloMedina Wow! Would never have thought if using it within \addtocontents.
Why all the down votes for tex.stackexchange.com/questions/51305/…? The OP is fairly new, and too much down voting can discourage people.

@GonzaloMedina One of the best answers of our community! :D

5:53 PM
@PauloCereda Thanks. There are still some details I have to take care of, though.
@PauloCereda ... and someone just down-voted it!

@GonzaloMedina Really? Here it says 62+/0-. :)

@PauloCereda I was just editing when I saw 63 upvotes; after finishing editing the count was 62! I checked and someone upvoted it 36 minutes ago and then unupvoted it 24 minutes ago.

@GonzaloMedina Oh. :(

@GonzaloMedina I have seen that often as well. I think what is happening is that new users don't know that they already up voted a question. So they up vote again, which ends in an "un-upvote".

@PeterGrill So two up-votes by the same user mean no up-vote? I didn't know that either.

6:01 PM
@GonzaloMedina I think so, was not 100% sure. How do we test it without messing up the reps?
@GonzaloMedina Ok, I will upvote that answer and see what happens -- hopefully can reverse it later.

@GonzaloMedina I think you can un-upvote a question if the question was edited since the last time the upvote was done. :(

@PauloCereda So the downvote is sending the message: "stop editing the answer; it was OK as it was and now you're just messing things up"? ;-)

@GonzaloMedina Ok, just tested by un-upvoting, followed by upvoting your answer. I really think SE should require a down vote to cancel an upvote, as otherwise it is confusing.
@GonzaloMedina :-)

@GonzaloMedina Oops. :P

@PeterGrill Yes; it's not clear why two up-votes should cancel.
@PauloCereda Do you know if (and if yes, how) I can search for all the answers by an user (me, in this case) containing a given string (possibly containing LaTeX commands)?

6:16 PM
@GonzaloMedina You could try user:me is:answer <your search terms>.

@GonzaloMedina well it;s not really two upvotes, the uparrow is a toggle you hit it once that's an upvote but it changes colour to warn you have used your vote on that so if you hit it again it's not an upvote it is cancelling theh vote you made (so it acts like a radio-button control)

@GonzaloMedina Amazing. And, yes, it's nice to see how \tikzmark has morphed out of all expectation. Incidentally, there's a new version ... somewhere ... that's a bit neater. @PeterGrill might remember where it ended up.

@PauloCereda perfect! Thank you.

6:31 PM
Andrew's revised version of \tikzmark is at: tikzmark to have different behaviour if first run (and mark locations not yet available)

@AndrewStacey Yes, I remember the question, and now @PeterGrill has provided the link.

@egreg Scanning back through chat messages, I came across your donut comment. I have a lecture that I give which hinges on the distinction between a doughnut and a donut to motivate algebraic topology.

@DavidCarlisle @GonzaloMedina Also the ability to cancel an upvote is limited to 5 minutes after you vote. And you can't subsequently vote the question down I think unless it is edited since your last vote.

7:14 PM
@AlanMunn Good to know it.

7:31 PM
@AndrewStacey I didn't know they were different, apart from orthography. :)
@PauloCereda Sent the commented version

@egreg Grazie! :) Unfortunately Skim is not showing the notes, maybe there's an additional note file?

@PauloCereda Retried

@egreg It works, thanks! I'll take a look. :)

Anyone know of cases similar to align's \ifmeasuring@ that do some measurements but do not set the \ifmeasuring@ flag?

7:55 PM
@egreg: Thanks a million for the comments. :) I'll fix the typos and add a new section. :)
Did you like the idea? :)

@PauloCereda Yes, very much. Is it possible to comment a directive in the .tex file or is it necessary to remove it?

@egreg Hm if we break the directive keyword it might act as a comment. The pattern is " arara: " (with the spaces), if we write " !arara: " the line is ignored.

@PauloCereda This should be in the manual. So one can have, say arara: draft and !arara: final for controlling the number of LaTeX runs, for instance. Does the program need to read all the file? Maybe the first 50 lines can be sufficient (TeXShop and TeXworks read the first 20 for directives).
But it's probably not a long time anyway.

@egreg Good idea! :)

@egreg A doughnut has a hole, a donut doesn't.

8:05 PM
Re: \ifmeasuring@: Found it!! it was my own \vphantom{}?? Guess I have some code clean up to do...

@AndrewStacey My dictionary says that "donut" is a variant spelling of "doughnut". Is it a British thing?

@egreg In truth, it's a UK vs US thing: "doughnut" is the UK spelling, "donut" is the US one. When I've used the idea, I've been in Norway where there is a distinct difference between a smultring (with a hole) and a berlinerbolle (without) so I have the sentence both in English and Norwegian, whereupon the distinction is easier to understand.

@egreg Americans always have a problem with the letter u

@DavidCarlisle You'll be sad to know that an English-Italian dictionary I consulted hasn't "doughnut" but has "donut". And the proposed translation is "krapfen" (we use a German word for the filled variant).
Another one has "doughnut" and "donut" sends to "doughnut".

@AndrewStacey Certainly not in N. America. There's no distinction as far as I know. Google N-grams shows doughnut to be the older word by about 100yrs with use of donut in US English about half that of doughnut.

8:16 PM
I think donut is our "rosquinha" while a filled donut is our "sonho".

@egreg There always used to be a doughnut seller outside the Westgate centre in Oxford (the name of the square escapes me - time I revisited the omphalos). I suggest that at the TeX-SX Oxford meeting, we have pre-drink doughnuts.

Not only do they spell dough as do, they spell jam as jelly:-)

@AndrewStacey While it's true that "donut" is primarily N. American, "doughnut" is used here too, in fact twice as frequently.
@DavidCarlisle There's also 'thru' as in 'thru traffic'. So far only on road signs.

@AlanMunn Do Americans know how to pronounce "ough"?

8:42 PM
@egreg Does anyone? 'bough', 'bought', 'though', 'through', 'enough', 'hiccough'.

@AlanMunn Maybe even David doesn't. /ducks

@egreg makes explaining spelling to my 8 year old "interesting"

8:57 PM
Sadly, donut is quite common in the UK as well.

@DavidCarlisle I bet! Children have some (small) problems also with Italian spelling. :)

@AndrewStacey I just looked at Tescos online (largest UK supermarket chain) and of 19 products listed for a search of "doughnut" 5 were spelled donut so you don't even get consistency in a single shop.

@egreg: thanks for adding the missing \centering ;-)

Wow @MarcoDaniel I got three silver badges today off your question, must be a record for me I think:-)

9:14 PM
@DavidCarlisle Really ;-) That's cool ;-)

Probably should do a similar thing for demerits, not sure if it is best to add to that answer or wait for another question. Only three postings on the whole site mention demerits as far as I can see...

@DavidCarlisle demerits? What do you mean? It sounds like drawbacks and benefits.

@MarcoDaniel Penalties are not the full story in line breaking. There are also demerits, for example \doublehyphendemerits for avoiding consecutive hyphenated lines and \finalhyphendemerits for avoiding an hyphenated line before the final one in a paragraph. And \adjdemerits for avoiding "visually incompatible" consecutive lines.

9:31 PM
@egreg It's the first time I read something about this ;-( The question came in mind because in many packages of Donald Arseneau and David Carlisle I saw the manipulation of penalties ;-)
@egreg: I found a paragraph about demerits in the TeXBook. Very interesting.
@egreg: It seems that there are only three demerits: adjdemerits, doublehyphendemerits and finalhyphendemerits.

@MarcoDaniel Yes, that's the complete list. Of course there's no \demerits command, as the demerits are only automatically assessed based on the line breaks path.

9:52 PM
see, I slip out for a bit and @egreg answers the question, so a typical day:-)
@MarcoDaniel, I felt a bit guilty about demerits as I didn't mention them (as you asked about penalties) but my statement that Tex is minimizing penalties isn't totally true because of demerits, and they were mentioned in the answer of @morbusg which he deleted.

10:09 PM
@DavidCarlisle The Turkish one?

10:22 PM
@egreg demerits ( but I added some demerits text to my answer on the site to make me feel more honest:-)
@egreg hm is that active = problem common? (I assume the keyval parsing could be made more robust for that case, although changing anything is a bit scary)

@DavidCarlisle I was convinced it had been solved time ago. And looking at the bug database I see that the solution was to load xkeyval! See babel/4109

10:38 PM
@DavidCarlisle Well, xkeyval loads keyval. :)
I really can't understand the sense of that shorthand for Turkish. Instead of telling that = should be used only in math mode or preceded by a space, the = is activated. It's nonsense.

10:57 PM
Friends, get ready for Wednesday: our epic interview with David Carlisle. :)

be kind, I better get some sleep to prepare....

@DavidCarlisle We only ask easy questions. :P

@PauloCereda For example "how many bugs did you find in your packages?"

@egreg That's a good one! :P
@egreg I usually say, "It's not a bug, it's a random feature!". :)

@egreg, so not just me that fails this then:-0 tex.stackexchange.com/questions/51336/…

11:15 PM
@DavidCarlisle I guess that Tantau didn't even think about active =. Go figure if he thought about active comma.

11:25 PM
@PauloCereda Pardon my ignorance but will this be a live interview over chat?

@Ariel Yes it will be. :) We have a special chat room for interviews. :)

TeXtalk - Interviews

Interviews for our community blog.

@PauloCereda oh wow, looks interesting. So all of you are legends in the LaTex community!

@PauloCereda What time is it scheduled?

@egreg Around 18 GMT I guess. :)
@Ariel I'm not a legend. :) I'm only a TeX fan. :)

@Ariel David is a legend (don't trust him if he says otherwise).
6

11:36 PM
@Ariel: And @egreg is also a legend. :)

@PauloCereda Dinner time for me.

@egreg Maybe we can start earlier, David said he would be here around this time. :)

@PauloCereda Later would be better for me (my train arrives around 20:00 CEST, which is 18:00 UTC). But he's the interviewee. :)

@egreg Ah. :) Don't worry, we can wait until you arrive. :)
yesterday, by David Carlisle
actually it doesnt make much difference to me any day next week (apart from Monday) at that sort of time whichever works best for you