« first day (813 days earlier)      last day (4113 days later) » 
00:00 - 22:0022:00 - 00:00

12:00 AM
!!/choose single spacing, double spacing
 
@AlanMunn Psmith, the TeX bot: The great oracle says: single spacing
The bot chose wisely. :)
 
!!/choose tabularx, tabulary
 
@AlanMunn Psmith, the TeX bot: The great oracle says: tabulary
!!/choose memoir, KOMA, pancakes
@PauloCereda Psmith, the TeX bot: The great oracle says: memoir
 
Ha, that's was too predictable. (tabulary)
 
Hi, can someone point me to the source of pdftex? Searching the web brings up only outdated pages for me.
 
12:04 AM
@mafp I think CTAN can help: ctan.org/tex-archive/systems/pdftex
There's an 8MB zip file with the whole source.
 
@PauloCereda Thanks, but no, that is from 2010. The homepage www.pdftex.org mentioned there is also outdated. Other people have at least version 1.40.13, and I can't find that
 
The latest SVN source can be checked out here:

svn checkout http://foundry.supelec.fr/svn/pdftex

User: anonymous (blank password)

It's a big repo. Current version is 1.50.0-alpha
!!/choose parskip, setspace
 
@AlanMunn Psmith, the TeX bot: The great oracle says: setspace
 
And lo, another logical trap fallen into. :)
 
!!/choose parskip, setspace, none of the above
 
12:15 AM
@egreg Psmith, the TeX bot: The great oracle says: parskip
 
@PauloCereda Double personality. :)
 
@AlanMunn Thanks
 
@egreg Good bot. :)
 
@AlanMunn miserable life if they are the only choices on offer
 
@PauloCereda :-)
 
12:28 AM
@percusse OMG <3
 
Tamandua:~ alan$ uptime
19:28 up 72 days, 2:07, 3 users, load averages: 0.22 0.33 0.45
 
@AlanMunn Wow. It needs a holiday.
 
@AlanMunn You sir have the most epic machine name!
 
@PauloCereda Names. (plural): Tamanduá, Kinkajou, Jaguatirica, Guaxinim :)
 
@AlanMunn ooh! :)
 
 
9 hours later…
9:57 AM
Oh no, David wrote an answer! I need to upvote it.
:)
 
10:48 AM
@PauloCereda quite right too
 
@DavidCarlisle :)
 
!!/answer weather in Oxford, England.
 
@DavidCarlisle ;) we got 15cm new snow over night ^^
 
@PauloCereda Psmith, the TeX bot: temperature | -1 °C (wind chill: -4 °C) :: conditions | fog, overcast :: relative humidity | 93% (dew point: -2 °C) :: wind speed | 3 m/s :: (2 hours 4 minutes ago)
 
10:55 AM
!!/answer weather in Enschede, Netherlands.
 
@Silex Psmith, the TeX bot: temperature | -3 °C (wind chill: -8 °C) :: conditions | snow, fog, cloudy :: relative humidity | 86% (dew point: -5 °C) :: wind speed | 3.6 m/s :: (1 hour 25 minutes ago)
 
!!/answer weather in Bielefeld, Germany
 
@Timebandit Psmith, the TeX bot: temperature | -4 °C (wind chill: -9 °C) :: conditions | snow, overcast :: relative humidity | 86% (dew point: -6 °C) :: wind speed | 4.1 m/s :: (1 hour 9 minutes ago)
 
@Timebandit Hey! I've been in Bielefeld! Some years ago, for a conference: prof. Ringel was there!
 
@egreg Nice! But I don't know who Prof. Ringel is ^^, for what department is he working?
 
11:04 AM
@Timebandit I believe he retired. Very famous algebraist.
 
@egreg Ah ok, I'm here for about 4 years now, never heard of him ^^
 
11:22 AM
9
Q: Is there a simple way to open ".sty" files by something similar to the "texdoc"?

Vahid DamanafshanIs there a simple way to open ".sty" files by something similar to the "texdoc"? I'm looking for something like texsty to simply open .sty files.

That quack repo of mine might answer this question. :)
I tried to fool David with the EDITOR variable set to vim. :)
 
11:39 AM
@PauloCereda I've added two shortcuts, one for tcsh and one for bash.
 
@egreg ooh! :)
 
@PauloCereda In tcsh aliases may have an argument, contrary to bash.
 
@egreg It's been a while since my last tcsh adventure. :)
 
@egreg tcsh is for vim users
 
@PauloCereda I got my first account on a Unix system in 1993 and the default shell was csh. So I installed tcsh. And never used vim
 
11:44 AM
@egreg Oh. :(
 
@PauloCereda Except, of course, when it popped out unwanted, with the usual random keypresses to escape from it. :)
 
@egreg Hey! :)
@egreg: what's wrong with the good hjkl? :)
 
@egreg yes I started on bsd/sunos in 87 or so and that came with csh and ksh and the documentation (and most local users) basically said csh was for running scripts from elsewhere, use ksh as your main shell, so that's what I did (and bash was more or less a ksh clone originally)
 
@DavidCarlisle I was on HP/UX, I don't think it even had ksh. Using sh was of course out of the question. :)
 
 
2 hours later…
1:34 PM
Anyone understand the 'message' here: I don't really follow what the text is getting at
 
@JosephWright gives ISE to me, moreover it's a service that is covered by the official writeLaTeX :-/
 
@JosephWright I'm not too versed in English to decypher that. :)
 
@tohecz Don't quite follow: don't know 'ISE', and not sure what is 'official' about WriteLaTeX
@PauloCereda It seems neither is mine :-)
 
@JosephWright And the site is broken as well...
 
@Silex Yes, I'd seen that
 
1:41 PM
@JosephWright Oh no! :)
 
The ad popped up on the front page, and as I don't understand the point the text is driving at I tool a look at the comments on the ad, which don't help
 
We need an expert in decyphering the bowels of the English language! @AlanMunn, where art thou? :)
 
@PauloCereda I'm sure Psmith went to a proper English school and would be well versed in correct use of English grammar
 
@DavidCarlisle I doubt it. :)
!!/eightball are you versed in English?
@PauloCereda Psmith, the TeX bot: The great 8-ball says: no. And don't be mean with David, he is my best buddy.
 
1:45 PM
ooh!
 
@PauloCereda No one in Tom Brown's school days (my only information about proper English schools) ever had a "buddy" I think Psmith is revealed as an American imposter
 
@DavidCarlisle Chap is better? :)
Fixed, replaced by "friend". :)
 
@PauloCereda well you could stop at the comma, people shouldn't need a reason not to be mean to me. (or use friend:-)
@PauloCereda also mean to not mean with
 
@DavidCarlisle oops.
Buddy sounds Canadian, eh?
 
2:05 PM
@PauloCereda Canadian/USAmerican/Brazillian Something that side of the Atlantic
 
@DavidCarlisle Hey, I'll summon my arara army. :)
 
@PauloCereda And don't be mean to David,
 
Unless of course you will cheat by calling RAF to interfere. :)
@DavidCarlisle <3
 
Knuth mentioned in the press:
 
@JosephWright: Oh my, @Alan is here! <3
Save me from @David's tyranny of grammar, British stuff, RAF, araras and Canadians, eh.
<3
 
2:19 PM
The reference in the Community Promotion Ad is a cultural one which will resonate with Americans (and possibly Canadians, but I don't know). It refers to a slogan used to try to rebrand the now defunct Oldsmobile car brand. The slogan was "This is not your father's Oldsmobile" and was an attempt to try to convince people under 50 (70?) to buy the cars.
 
o.O
@JosephWright: ^^
 
And somethings up with chat in my browser right now (FF 18.0.1); it's almost unusable wr.t. scrolling back through the previous messages.
 
@AlanMunn Looks fine here. Perhaps a refresh?
 
@PauloCereda I tried that. I'll restart FF and see if that works.
 
@AlanMunn Try leaving the chat and entering again.
@David will probably suggest an ad with "I can't believe it's not LaTeX".
 
2:26 PM
@PauloCereda @JosephWright and I only watch the BBC so we miss any cultural references to advertisements.
 
@DavidCarlisle ooh! :)
 
kan
2:48 PM
@ViGuru (Looks at @Paulo) How do you insert four spaces in the front to a block of code? :)
 
@kan Me?!
I didn't get the question.
 
kan
@PauloCereda Aren't you a Vim user? (or moved to Emacs World, huh?) @David would be glad.
 
@kan aaaaaaaah now I get it. :)
 
kan
@PauloCereda :)
 
You want to reformat a file?
gg=G if I'm not mistaken.
 
kan
2:59 PM
@PauloCereda Yes.
 
@kan Try gg=G
 
kan
ReST file actually, so all the weird indentations.
 
Undo: u
 
Quick ligature question: I thought (from reading on the main site) that there was a command \noligs in pdftex that turned off all ligatures. But putting it in a document gives an error about an undefined command. What was my mistaken assumption?
 
kan
Well, OK. u did the undoing trick! But, let me say that this is not what I want.
 
3:03 PM
@kan I'm not following the question, I'm sorry.
 
kan
@PauloCereda Sure. My fault, actually. I am unable to say it better. Time to change over to Emacs, though. It's just easier. :)
 
@kan I'll give you a hint.
 
kan
@PauloCereda Sure, please do.
 
:<firstline>,<lastline>s/^/    /
Or use visual mode and repeat the regex.
emacs might be easier, but not funnier. :)
 
@AndrewStacey Never heard of this. And it doesn't seem to appear in the pdfTeX or e-TeX manuals, either.
 
kan
3:07 PM
@PauloCereda Hmm, I don't follow this. Time for a crash course on Regexp?
 
s/^/ /
  ^ ^
  | |
  | +-- replacement
  +---- pattern
^ means beginning of line.
Then I say, replace the very beginning of the range of lines by the replacement block, which has 4 spaces.
 
kan
@PauloCereda Wow!! Neat!
 
@AndrewStacey Ah, I see what you mean.
19
Q: How can I completely suppress ligatures?

Stefan KottwitzThe microtype package allows to completely suppress ligatures. However, this feature requires pdfTeX 1.30 or newer. That's unfortunate if I'm using LaTeX or XeLaTeX while having to avoid ligatures. Is there any other way to disable ligatures for a complete document or just an environment?

 
@StephanLehmke Hmm. I got it from Taco Hoekwater: "The new primitive, '\noligs' in pdftex 1.30 was created specifically so that you do not have to mess with these tfm files."
@StephanLehmke Ah, you found it.
 
kan
Thank you. So, you have, s is telling vim that regexp follows huh?
 
3:11 PM
@kan We are talking vim. No surprises from that powerful chainsaw without safety gears.
 
kan
@Paulo ^
 
@AndrewStacey I also get "undefined control sequence". Maybe it's specific in some context, like font loading or map files?
 
@kan: Vim uses sed under the hood, s stands for the substitute command, which replaces the pattern by the replacement.
 
kan
@PauloCereda Oh. OK. Thank you so much once again.
It is very helpful, saves my space key.
 
Is this the correct way to use BesselJ name in Math mode? As text? Or is there a better way?

$$\mbox{BesselJ}(0,\beta)^2+2 \sum_{n=1}^M \mbox{BesselJ}(n,\beta)^2$$
 
3:14 PM
@StephanLehmke And no better in lualatex or xelatex either. Mysterious.
 
@kan My pleasure, sorry for not getting your question in the first attempt.
 
i.e using mbox for BesselJ
 
kan
@PauloCereda As I said, that was my bad.
 
@Nasser \DeclareMathOperator{\besselj}{BesselJ} (using amsmath packages)
 
Oh, then use \besselj ? I assume it will look better this way? WIll try it. thanks!
 
3:15 PM
@StephanLehmke Looks like plan B then: two versions of the font. One with ligatures and one without.
 
kan
@PauloCereda I am making a patch for sage. :)
 
@AndrewStacey Ha! The command name is \pdfnoligatures !
 
@kan Cool. :)
 
It's documented in the manual.
 
!!/texdef pdfnoligatures
Psmith, the TeX bot, in fixed font mode: Here's the output from texdef:

\pdfnoligatures:
undefined
 
3:16 PM
I am using mathjax btw, I do not know if it supports amsmath packages and such, but will try
 
Oops sorry.
 
@AndrewStacey You need to give the font name as an argument.
 
!!/texdef -t latex pdfnoligatures
Psmith, the TeX bot, in fixed font mode: Here's the output from texdef:

\pdfnoligatures:
\pdfnoligatures
There's the little devil. :)
 
@StephanLehmke Thanks! Now, is there a way to turn it back on again? It doesn't seem to respect TeX's grouping.
 
@PauloCereda It's a pdftex primitive, so Knuth's TeX doesn't know it.
 
3:20 PM
@egreg :)
 
@AndrewStacey No, it's an inherently global assignment
 
@AndrewStacey You could load the font twice under different names and suppress ligatures only for one of them.
 
@egreg Right, but it seems a one-way switch. Namely ff \pdfnoligatures<whatever the current font is> ff turns it off for the second ligature and there's no way to turn it back on again later on.
 
@AndrewStacey No, there's no way to get back. @StephanLehmke Wrong.
 
@StephanLehmke Given that I'm already using a modified font, that's no less hassle than creating two fonts with different ligature sets.
 
3:22 PM
@egreg Ah, cool ;-)
 
@StephanLehmke If you say \font\tenrm=cmr10, \font\nltenrm=cmr10, then \pdfnoligatures\nltenrm will disable ligatures also for \tenrm, because the names refer to the same memory location.
 
(Context: I've turned off almost all ligatures but I still want things like -- to become an emdash so I keep the punctuation ligatures. However, sometimes I need them to be disabled, but on a temporary basis. So sounds like two distinct fonts is the way to go.)
 
One can use a small trick: \font\nltenrm=cmr10 scaled 1010; then \pdfnoligatures\nltenrm will not affect \tenrm
 
@AndrewStacey If all examples are of this kind, you could also use LaTeXs \@noligs command.
@egreg I was almost going to suggest that ;-)
 
@StephanLehmke which works by making things active. I'm suffering from an over-abundance of active chars as it is - I've no wish to introduce more!
 
4:06 PM
!!/texdef -t pdftex pdfnoligatures
 
Psmith, the TeX bot, in fixed font mode: Here's the output from texdef:

\pdfnoligatures:
\pdfnoligatures
 
Does anyone know offhand the name of the package which makes cmr fonts freely scalable?
 
@StephanLehmke fix-cm?
 
@egreg That's it, thanks!
 
4:22 PM
0
Q: Starting with TeX (not LaTeX)

user24686I've been using LaTeX for a long time and I'm decided to switch to (plain) TeX but I'm a bit lost between TeX as described in the TeXbook and all what has been added since the 90's. Can anybody help me find my way through etex, eplain, preloading other formats, pdftex, texmf trees, character enco...

One for @morbusg !
 
@AlanMunn Or @DavidCarlisle. TeX is suitable for writing Christmas carols. :)
 
@AlanMunn Character encoding with Plain TeX! Hurray!
 
@egreg Carrying scissors on a slippery floor. :)
 
@AlanMunn Well, I know how to implement basic UTF-8 support in Plain TeX, but I'm not going to reveal it. :P
 
4:26 PM
!!/choose TeX, tooth extraction
@PauloCereda Psmith, the TeX bot: The great oracle says: TeX
 
kan
4:40 PM
@Paulo I am seeing this for the third time: any particular reference for tooth extraction? :)
 
Journal of Dental Torture
2
 
kan
Not getting it yet. Google does not reveal much.
 
@PauloCereda do you think I should post xii to that question?
 
We should have the package of the week sessions. This week it's color's turn.
 
@kan It's an homage to a friend of mine, which is a dentist. :) He once told me the following story. When a patient asks him if the treatment is gonna hurt or be painful, he always reply, "I'm afraid so.". So, if the procedure goes perfectly and no tear is shed, he - as the dentist - gets a lot of credit - "wow, you are a great professional, I didn't feel a thing!". If the procedure hurts, the patient is alread resigned - "Told ya it was gonna hurt". :)
@DavidCarlisle Yes, definitely. :) Don't forget to mention that the code is very readable.
@percusse Needs more cowbell/bikinis. :)
 
4:46 PM
Journal of Pastoral Sounds and UV-Sensitive Torso Revealing Techniques
 
@percusse Wow.
I'm already looking for the template/CFP.
 
wow my coffe cup fell on the keyboard and managed to copy/paste/post at the same time :)
 
kan
@percusse A probabilistically impossible event is likely to happen just so that is surprises humanity.
 
@AlanMunn We need this as a tag.
 
@StephanLehmke How about ? :)
 
4:51 PM
@kan Event space is full of surprises :)
 
@PauloCereda No I was more thinking of people trying to handle Unicode with 8-bit TeX, footnotes in footnotes, float placement, output routines and such...
 
@PauloCereda No, that's an entirely different concept. That's for people who use \\\\ for blank lines.
 
The kind of thing you start doing with TeX when you feel there's too much happiness in your life.
2
 
@StephanLehmke, @AlanMunn: Ah sorry. :)
 
Just like pretty-printing log files ;-)
 
4:56 PM
@percusse: sir, stealth meeting. :)
 
@StephanLehmke of course writing some plain tex that handles utf8 on the fly while parsing xml, that's totally sensible ?
 
@DavidCarlisle UTF-8 also in the tags?
 
@DavidCarlisle The result can of course be a blessing to the TeX world (like bigfoot supposedly is, for instance). I was more talking about the act of developing it ;-)
 
Dejà vu:
 
@egreg yes (any supported encoding actually) but utf8 out of the box, utf16 in the latin1 range and then the usual latin-x ones
 
5:09 PM
Gotta love my XML introductory book. :)
 
@DavidCarlisle Interesting
 
@egreg The (later) code in inputenc for utf8 has certain similarities to the xmltex code :-)
 
@DavidCarlisle So you just process the tag to get an internal representation as a sequence of "U+abcd" strings? Or something like that.
 
@egreg yes unlike LaTeX which normalises everything to LICR form (traditional 7bit ascii markup, essentially) xmltex normalises everything to a slight wrapper around utf8 byte sequences (I think: it's a while since I looked what it did:-)
 
kan
5:41 PM
Does someone here use ReST for documentation?
 
@PauloCereda Which one is mine? I can't Patrick's arrow is covering up the title.
 
@AlanMunn A lovely Português instrumental. :)
 
@PauloCereda What, you don't have any books by Chomsky?
 
@AlanMunn No books so far. :( I have a few of his articles, including Three models for the description of language and Syntactic structures, which gave me nightmares for a couple of weeks. :)
 
kan
Hi @Aditya! :)
 
5:55 PM
Hi
 
@Aditya Help me, @DavidCarlisle is forcing us to use emacs. :)
 
@PauloCereda Syntactic Structures is a book. A classic.
 
@AlanMunn shh mine is a copy. :P
 
@PauloCereda: Tell @DavidCarlisle that vim has support for Lua. Therefore, in principle, one can link vim with luatex, and typeset documents without leaving the editor. Beat that, emacs.
4
 
@Aditya OMG <3
 
6:04 PM
@Aditya As an emacs user, @DavidCarlisle has no concept of "leaving the editor".
 
@AlanMunn: But Emacs pipes to the shell in the background. That's cheating.
 
kan
@Aditya Exactly what I was going to say.
 
@AlanMunn I even thought David runs Windows on top of emacs. :)
 
kan
@StephanLehmke might also be interested to join.
@PauloCereda not the other way around? oh, emacs! o.0
 
@PauloCereda It's probably easier to implement Windows in Lisp than in C#. /ducks
5
 
6:10 PM
@egreg So true. :)
 
6:44 PM
@DavidCarlisle More or less true for me: not a fan of The Other Side
 
@JosephWright Red Hot Chili Peppers? :)
 
@PauloCereda :-)
 
sigh @YiannisLazarides asks a question and all I can provide is a lame comment :-(
 
@StephanLehmke The problem is not exactly perfectly specified
 
@JosephWright That's my comment :-)
 
6:51 PM
@StephanLehmke Quite
 
@JosephWright See, it's more inviting discussion than a real question :-(
 
hi guys =)
 
@StephanLehmke Yes
@Timebandit Hello
 
any fancyhdr pro here?
 
kan
@Timebandit Now, when there are TeXnicians (when the room is non-empty), I just ask.
 
7:02 PM
@kan ;)
 
@Timebandit Mention fncychap and @egreg will definitely excommunicate you. :)
 
@Timebandit Fire.
 
is very scared of @egreg
 
@egreg Let me get my gun. Oh wait, it's fancyhdr. :)
 
@Timebandit fancyhdr is OK.
 
7:06 PM
I won't ask any question without wearing a bulletproof west. Even though I'm sure @egreg will definitely kill me with a straight headshot
;)
 
@Timebandit If youre looking for "German" typography, maybe scrpage2 from the KOMA-Script bundle is easier to handle.
 
@StephanLehmke let me explain what I'm trying to do first afterwards I'll have a look at scrpage2 =)
@egreg I use fancyhdr to create a hruleat the bottom of my page . now when i create a footnoteit apears above this hrule. Now I'm trying to re-position the footnote so that its placed below hrule
@egreg hit me, I'm ready ;)
 
/me opens up the beer fridge
the fight is on
 
@Timebandit Maybe you should just use \footnoterule for that.
 
@StephanLehmke doesn't that only create a rule if there is a footnote?
 
7:17 PM
@Timebandit Yes but at least it knows where the footnotes are at that point in time. You could globally set a switch in \footnoterule which you then evaluate to decide whether to place the bottom rule.
 
@StephanLehmke but this isn't really what i want. =/
@StephanLehmke maybe i should post a picture of what I and what I want to have ;)
 
@Timebandit One point about footnotes is that they grow dynamically upwards, so it doesn't make sense to move the footnotes down below a rule which is in a fixed position. The rule needs to move.
 
@StephanLehmke Already thought about that, I'm not using as much footsnotes as you think but if i use one it would be great if it appears below the rule. if its not possible its ok. isn't that important
 
7:35 PM
user image
2
 
Pardon my language, dear gents, but... DAFUQ?
:)
 
@PauloCereda today a Captcha made my day...
@PauloCereda never though this would be possible :D
 
I like @morbusg 's sense of humour. tex.stackexchange.com/a/94763/2693
 
@AlanMunn agreed... a important letter after all
 
7:59 PM
0
Q: Convert Title Page from Latex (or resulting PDF) into PNG thumbnail

alexI have written a book in Latex using TexStudio. My title page, which is the book cover, is created using Latex source (including images in it), rather than drawn in a graphical program, such as Illustrator. I need to create several different sized PNG thumbnails of the book cover for my website....

Borderline for OT?
 
@JosephWright As it's presented, I think the question is OT.
 
@Aditya I don't recognise the existence of vim, so your statement has no meaning to me.
 
8:15 PM
@Timebandit No, you can't do that with fancyhdr.
 
@egreg ok =)
 
kan
@DavidCarlisle You know, this is a bad argument, I was expecting something much more convincing. :(
 
@DavidCarlisle boo <3
 
!!/choose vim with lua, auctex
 
@DavidCarlisle Psmith, the TeX bot: The great oracle says: auctex
 
8:23 PM
@Aditya ^^^^^ see above
 
since its absolute familiar with you guys I had to change my Displayname =)
mh does not work for the chat ;D
 
9:03 PM
Ah now its working =)
 
@Rico You are still timebandit for us though (unless we log out of chat)
 
@DavidCarlisle fine with me =)
 
9:27 PM
@Rico I'm confused - you're Timebandid on my Mac and Rico on my PC :S
 
@DavidCarlisle @DavidCarlisle AucTeX provides very little support for ConTeXt.
 
@Silex Its caused by my little schizophrenia
 
Tell me I'm wrong, please. Is this question really about putting equation numbers in the outer margin? /picking up hammer
2
Q: Equation numbers in outer margins

AudreyI'm looking for a two-sided extension to the solution for this question: Put equation numbers in the sidemargin with Tufte-Latex class This post seems relevant: Equation tag in twoside-mode outer I tried playing around with tagsleft without any luck. Here's an example. \documentclass[twoside...

 
is looking for cover, @egreg is raging again.
 
user image
2
 
9:40 PM
@percusse ROFL
 
9:57 PM
@Aditya tell Psmith:-)
 
00:00 - 22:0022:00 - 00:00

« first day (813 days earlier)      last day (4113 days later) »