12:02 AM
@FaheemMitha From LaTeX Companion:
If you use \documentclass{article} it loads letterpaper by default which is 11 inches long. If you use a4paper the it is 11.75 inches long giving you more length.

12:42 AM
@FaheemMitha ?
@FaheemMitha yes the class options only control the size of the text block. Then teh printer driver (or pdftex \paperheight register) controls the size of the paper

4 hours later…
5:10 AM
@DavidCarlisle See the quote from you above.
@HarishKumar Thank you, that is helpful.
So, botom line, one should always pass the a4paper option to classes if using A4 paper.
How does settings like
\setlength{\oddsidemargin}{-0.6in}
\setlength{\evensidemargin}{-0.10in}
\setlength{\topmargin}{-0.5in}
relate to setting margin in the geometry package? Like in
\usepackage[a4paper,margin=1in]{geometry}

3 hours later…
8:13 AM
[4/6, 00:04/00:58] auto-install: dickimaw (32925) [6529k] ... done
@NicolaTalbot: ^^ Yay! :)
@JosephWright: hello! :)
Yay @Stefan is here too!
Yay @egreg is here too! :)

8:39 AM
Woohoo @Stephan is here too!
I'm pretty joyful today. :)

@PauloCereda :-)

@NicolaTalbot Yay, Nicola is here too!

@PauloCereda you're overexcited. :-)
If I give a4paper as an argument to the documentclass, I don't need to do it for geometry, right?

8:56 AM
@FaheemMitha Be careful of classes that use key=value class options. (They usually don't get passed to loaded packages.)

Oh, you mean not just [a4paper], but [something=a4paper]?

@FaheemMitha Yes, the class could have, say, paper=a4 as a class option. But there are also inconsistencies with the way some key=value class/packages options are processed compared with standard options. (Although I don't think you need worry about that in this instance.)

@NicolaTalbot Ok, I'll try to remember that.

9:46 AM
@percusse So I decided to order Tascam DR-05. The Zoom H4n was just over my price limit, and H1 didn't look nice, neither did the buttons on the side somehow. The DR-05 looks more like a device to use with professional device :)
The only thing, I find it ridiculous that I order it from amazon.de to France, and it's 10 euros cheaper than from amazon.fr. I just hope it'll come in time, I've got only 3 weeks before I leave for good.

10:12 AM
@PauloCereda Have you seen the arara directives at the start of mirrors.ctan.org/info/dickimaw/src/novices/dickimaw-novices.tex There's almost time for me to make a cup of coffee while building the document. ;-)

10:49 AM
@JosephWright I did make an answer two months ago, but it wasn't upvoted!
2

I get the following error message when I try to compile the code below. package calc Error :'\gdef' invalid at this point \title What am I doing wrong? \documentclass[a4paper,11pt]{book} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usepackage{lipsum} % permet de faire une table ...

Thanks!

2 hours later…
12:24 PM
I'm back! :)
@NicolaTalbot Oh my! :)

@PauloCereda Yay, Paulo's back! :-)

@NicolaTalbot Yay, Nicola is here too! :)

@PauloCereda lol :-)

We are trying to avoid the grumpy monday. :)

@PauloCereda why

12:29 PM
@DavidCarlisle more cheerful thoughts. :)

1:00 PM
Hi there

Can I have a small request please? Can you check please whether the executables htlatex and t4ht are shell scripts on your system, and post their contents here?

wait a second
 latex $5 '\makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode '$2'.a.b.c.\input ' $1 latex$5 '\makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expan
that was htlatex

@tohecz Did you want ht as well?

t4ht looks garbled in my console

@NicolaTalbot t4ht, yes please, this should be a script. Surely not tex4ht, that's a binary

1:10 PM
@tohecz ht and htlatex are scripts, t4ht and tex4ht are binaries.

#!/bin/sh
$1$2
$1$2
$1$2
tex4ht $2 t4ht$2  $3 that was ht I wrote C++ code to create data for a diagram. What's a recommended way to share that code with someone who requested it in a comment on tex.sx? The code is not meant to be publicly available. @NicolaTalbot Ah ok: lrwxrwxrwx. 1 root root 50 Nov 26 17:08 /usr/bin/t4ht -> /usr/share/texlive/texmf-dist/scripts/tex4ht/ht.sh so t4ht = ht @Christoph and now tell me that you have TeXLive2013 yes I do @tohecz That's weird. /usr/local/texlive/2013/bin/x86_64-linux/t4ht is a binary file for me. It doesn't make sense for t4ht to symlink to ht.sh given that ht.sh calls t4ht. @Christoph yep. It seems that there's something wrong with htlatex in TL2013, Even a very simple document fails in an infiginte loop: \documentclass{article} \begin{document} Hello \textbf{World}! \end{document} @NicolaTalbot Well, that's an unfortunate bug in TL2013 :-( 1:22 PM @tohecz I don't understand how our TL2013 distributions are different. I don't have that symlink so t4ht actually calls the real binary not the ht shell. Try removing /usr/bin/t4ht. @NicolaTalbot I can't :( I'll have to add aliases in my .bashrc but the problem is not that I can't solve it, but obviously thousands of people might have the same problem 1:46 PM @tohecz Did you make symbolic links in /usr/bin or did you install the Debian TeX Live? @egreg I didn't do anything (server-terminal system at work), but it's the distro TeXLive obviously, since it lives in /usr/share/texmf/texmf-dist @tohecz Well, then it's a bug in TeX Live/Debian (or whatever distro you're using). In vanilla TeX Live, t4ht is not a symbolic link. @egreg ok. That's pretty bad, since it makes relying on htlatex even more difficult than it is now :( I mean, I can solve it for myself, but if I want to build something over it and propose it to others, then I don't know how wide-spread the problem is. @tohecz What distro? 2:04 PM @tohecz Sorry, had to answer the phone. That link isn't created by the TeX Live distro that I installed from DVD so something else put it there. Perhaps reorder the PATH environment so that it checks the TL bin path before /usr/bin. Incidentally, the ht script ought to check for errors: #!/bin/sh$1 $2 || { echo "$1 $2 failed"; exit 1; }$1 $2 || { echo "$1 $2 failed"; exit 1; }$1 $2 || { echo "$1 $2 failed"; exit 1; } tex4ht$2 || { echo "tex4ht $2 failed"; exit 1; } t4ht$2  $3 || { echo "t4ht$2 $3 failed"; exit 1; } It gets a bit annoying if there's a mistake in the .tex file but ht keeps calling latex instead of terminating. @NicolaTalbot well, while checking for errors, it relunches itself, creating an infinite cycle, which is eventually killed by invalid fork invocation (i.e. by running out of resources). @egreg Fedora release 19 (Schrödinger’s Cat) @tohecz It should be reported, IMO. @egreg yes, it should. But I'll wait for @Paulo, I suppose he has F20 so he can check whether this bug of htlatex not being able to compile any document is preserved. Then I'll report it. 2:37 PM @tohecz I'm downloading Fedora 20, I'll report soon. @egreg thanks :) @Christoph You could create a private repos on a hosting site e.g. Bitbucket, and then give that user permission to access it. Or you could just email it to him, encrypted. :-) 3:01 PM @tohecz I'll take a look right now. :) @Faheem fortunately, that user created a package that includes his email address. Even with externally hosted code, how would I pass login credentials to him without making them public here on stack exchange? I'd need some other way of contacting him. paulo@alexandria i386-linux$ file ht
ht: symbolic link to ../../texmf-dist/scripts/tex4ht/ht.sh'
paulo@alexandria i386-linux$cat ../../texmf-dist/scripts/tex4ht/ht.sh #!/bin/sh$1 $2$1 $2$1 $2 tex4ht$2
t4ht $2$3

@Christoph Leave them a comment with some way of contacting you

@JosephWright yeah that would work as well

@PauloCereda merde

3:07 PM
@Christoph If the user has an account on BB, you can just give him access permission for that repos. No credentials have to be exchanged.

@tohecz Sorry.

Of course, you would need to be sure that the account in question was actually his account, :-)

@PauloCereda Fedora 20 is simply terrible. Gnome 3 or whatever's used doesn't even show some button to logoff.

@PauloCereda well, you should'nt sorry, I should actually thank you for this. And I'm gonna file a bug report to Fedora
@egreg well, MATE for the win, will all the bugs it has :-/

@PauloCereda How in the hell does one install TeX on Fedora 20?

3:30 PM
@egreg What happened?
Ah the GUI thingy, I suppose.
@egreg You need to click in the power-off button in the far right upper corner.

@egreg yum install texlive-full doesn't work?

@egreg Apparently, there's something wrong with the Perl PNG module, so I could not bootstrap the GUI installer, but the text-based one works flawlessly.

@DavidCarlisle I think I'm working slowly toward a plan on the case-changing business: goodness it's complicated!

@PauloCereda It's the worst thing I've ever seen. Now the screen shows only the date and time, and nothing happens if I click. There is no power off button at the corner.

3:33 PM
@DavidCarlisle I'm wondering who thought Lua not having native UTF-8 support was a good plan: trying to find meaningful info on slnunicode is impossible, and I think it's actually broken :-(

@egreg: the last button from left to right.

@PauloCereda One has to use the keyboard. :( Well, now the three buttons appear. They didn't before.

@egreg I believe Fedora doesn't like too much being executed inside a VM. :(

The power button is hidden in the volume control!?

@PauloCereda And it shows only the applications they want.

3:36 PM
@egreg Yep. That's why I have the terminal by my side. :) You you want to logout from the terminal, go with gnome-session-quit . :)
@Christoph It's just one menu, actually. If I'm in my laptop, there's a brightness control as well.

@PauloCereda yum remove gnome

@tohecz :)

@NicolaTalbot ad duck typo: There was a farmer and this farmer had plenty of small ducks.

@PauloCereda Give me a dock, a menu or something!

@egreg there's none in gnome-3. Seriously

3:38 PM
@egreg Gnome 3 doesn't have any, sadly. :( You might try installing Cinnamon or MATE.

Switch to mate or whatever, because gnome-3 is a dead project

@PauloCereda I want Xfce! Even windoze is better than that *!&#

@egreg Oh my, I forgot about XFCE! spins.fedoraproject.org/xfce
Good choice!

@egreg it should be available
@egreg well, you obviously haven't met Microsoft METRO ;-/

what about ratpoison? One of my students uses it, he seems to be productive. I can't look at him working though, because his hands move over the keyboard so quickly that the image is blurred

3:41 PM
I'm not a fan of GUI's, that's why I keep a big terminal opened all the time. :)

@PauloCereda Now the problem is: how do you change from Gnome3 to Xfce?

@egreg yum install @xfce

@egreg you install it, and log out. The next time you log in, you will have a dropdown choice at the login screen

then switchdesk xfce

@Christoph I was never hardcore enough for ratpoison. I chose DWM instead. :D

3:42 PM
@PauloCereda Let me try when TeX Live is installed

@Christoph LOL I had no idea of it!
@egreg Sure. :)
I still prefer no GUI at all. :)

@tohecz Well, I suppose it's better than accidentally pressing the f instead of the d key ;-)
@egreg Cinnamon's much better than gnome-3.
(In my opinion.)

At least, G3 is way better than Unity. :P

@PauloCereda Mmm, they seem pretty much alike, in badness.

@egreg :)

3:49 PM
@PauloCereda I succcessfully use unity as a background image on my netbook

@Christoph Oh my!

So why doesnt \usepackage{parskip} remove indents for me?
that is literally my code
and it isnt doing ANYTHING at all

@CBenni What's \paragraph*{} for?

I was told that using \\ is bad habit once
but it works with \\ and a empty line >_>

@CBenni \paragraph is a sectioning command. Use just a blank line to separate paragraphs.

4:05 PM
@egreg yeah, I want vspace between paragraphs tho, how would I do that then?

@PauloCereda sudo yum install @xfce hangs; I get No Presto metadata available for fedora

@egreg Hm hold on.

@CBenni You don't want vertical space between paragraphs. ;-)
@CBenni It's a bad typographical device, in general. Indentation has been used for five centuries: were they all stupid? ;-)

I was told to do it that way. I didnt decide that myself

@CBenni OK, then. Just don't use \paragraph*{}

4:07 PM
ok, ty.

@egreg: perhaps yum groupinstall xfce

@PauloCereda The same

Any Ruby people around?

@AlanMunn Shoot.
@egreg Ah I think I know what's happening.
@egreg: sudo yum groups install xfce-desktop-environment

@PauloCereda Now when I give my csv2latex script UTF8 input, it throws an error: invalid byte sequence in US-ASCII (ArgumentError). I've googled around and it seems that this is something that has changed with Ruby. But the solutions on the web don't seem to solve the problem for me.

4:14 PM
@AlanMunn Does # encoding: utf-8 work for you?

@PauloCereda Does this make sense to you? fedoraproject.org/wiki/Features/Presto

@egreg Actually no. :) Try --disableplugin=presto with yum. :)
@egreg: did it work?

@PauloCereda No.

@egreg Could you paste the output from yum?

@PauloCereda No Presto metadata for fedora
Also yum update hangs at 307/308 packages.

4:23 PM
@egreg Oh my.

Wow, 43k views in just a few days. tex.stackexchange.com/q/158668/37907

@Johannes_B well, it's the worst of all 100+ questions, so no surprise it's got so many views

@tohecz :-)

@Johannes_B Despite I said in meta that I'm quite ok with that one, every time someone mentions it and I open it, I hover my mouse over the close button.
Nice comment I got:
"sets" are not also known as a list of lists of lists, and there's no need for your variable name to SHOUT. — DSM 21 mins ago
^ from someone whose name SHOUTS :)

@tohecz :-)

4:38 PM
@tohecz :-)

@tohecz :-)

@PauloCereda but anyways, finally I managed to sucessfully ask a question, get it upvoted, and get a good answer in the jungle there :)

@PauloCereda That changes the error. It just barfs on the first attempt to deal with the input. (Sorry I was in a meeting.)

@tohecz ooh! :)
@AlanMunn Uh-oh. I need to be in my Mac to try it out. :(

@PauloCereda And as far as I can tell this is something to do with the newer version of Ruby. So the issue didn't arise before Mavericks. (Although I can't say for sure; I'd need to check with an older system.)

4:44 PM
@PauloCereda Now, mysteriously, yum is installing notwithstanding the strange Presto message.

why are \fontfamily and \fontsize being ignored? o.O

@CBenni \fontfamily{lmss}\selectfont ?

@CBenni Because you don't say \selectfont, probably.

I do now, but it still doesnt care
...
I should just stop for today
\fontfamily{helvetica}\selectfont
still uses times new roman
or whatever the default is

@CBenni If you load \usepackage{mathptmx}, just \sffamily should do. In any case, it's \fontfamily{phv}\selectfont

4:49 PM
@JosephWright I have your xetex Uchar thing working in xetex \showtokens:-)
@NicolaTalbot it's not the keys next to u that you should be worrying about, beware keys next to d

@DavidCarlisle That would indeed be worse. Imagine writing a story about a little fick.

@DavidCarlisle Cool
@DavidCarlisle It's handy

@CBenni It probably complains a lot in the log about helvetica not being a known family name. (don't ignore log warnings:-)
@JosephWright Not merged it back in yet but the one example is
\showtokens\expandafter{\romannumeral-x\expandafter\expandafter\expandafter\@gobble\expandafter\string\csname\scantokens{^^37\expandafter\ifx\expandafter$\the\everyeof$\expandafter\noexpand\fi}\endcsname}

@egreg Usually, things should not stop with Presto messages (Presto only deals with metadata, which might give you just some diffs instead of the whole packages, thus increasing the install speed). But sometimes yum is crazy. :(

@JosephWright Trick being to use csname to force it to expand past the eof, then to gobble the \ 

4:54 PM
@AlanMunn I'll take a look soon. Ironically, Ruby is becoming the new Python of fragmentation. :P

@NicolaTalbot A friend's mother in law (who is French), upon seeing a bunch of stuffed seals (this is Canada after all) exclaimed (in English) "Oh, I want a little phoque".

@NicolaTalbot sick little duck :)

@tohecz On my Fedora20, t4ht is a binary. Now the Fedora virtual machine is going in the trash can

5:08 PM
@AlanMunn LOL

@PauloCereda Trashed, without any back thought.

paulo@alexandria ~$file /opt/texbin/t4ht /opt/texbin/t4ht: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped @egreg Oh my! :) @DavidCarlisle The Agency for Legal Deposit Libraries has requested copies of my duck book so there'll probably soon be a copy at the Bodleian. @PauloCereda That's a vanilla TeX Live! @egreg Ah yes, it is. Let me see the Fedora one. 5:17 PM @egreg well, thanks for the test anyways :) @DavidCarlisle Clever: handy in pdfTeX as well as XeTeX, I guess @JosephWright The \ifx\expandafter$\the\everyeof$\expandafter\noexpand\fi bit makes it work if \everyeof is {} or {\noexpand} (No idea what happens if it is anything else:-) @DavidCarlisle Do you need that part at all? Why not just \noexpand? @DavidCarlisle Ah, I see @JosephWright because (apparently) if it is \noexpand and \everyeof is {\noexpand} bad things happen @DavidCarlisle Yes, found that out! 5:27 PM @JosephWright presumably it does \noexpand\noexpand which doesn't do much useful @DavidCarlisle Cool: I've added it to my test set up for case-changing @AlanMunn: I asked Siri to tell me a joke. She said, "The past, the present and the future went in a bar. It was tense." 4 @PauloCereda Groan. @AlanMunn More funny than trying out Fedora 20, anyway. @AlanMunn She's probably hanging out a lot with my Android tablet. :) 5:41 PM "Have and a participle went out on a date. It was perfect." 7 @AlanMunn LOL Let me ask her to tell another joke. @PauloCereda You can call me Sir. @AlanMunn <3 I did not realize I got 2 extra gold recently. 6:31 PM @PauloCereda Can I reverse the direction of call stack in Python? I always get the bottom displayed, which is some python's inner crap. I need the top of course, to see at which line the problem occured. @tohecz How are you debugging? @PauloCereda I'm in sage's interacitve mode @tohecz traceback might help, but I don't know Sage. @PauloCereda ok. when I have the time, I'll ask.sagemath.org @CodeMocker congratulations on your two great answer badges- very nice work :) 1 hour later… 7:53 PM How do you migrate a question of someone who knows it should be migrated and looks like he's prejudiced about it? 1 hour later… 8:54 PM @DavidCarlisle I'm having fun with the \Uchar business: I seem to need more than eight ^, and ran into the XeTeX bug that Bruno asked about. I got: The $' that I just saw supposedly matches a previous $$'.charsubdef So I shall assume that you typed $$' both times.New character substitution:
display =
Missing  insertedYou should have said \read<number> to \cs'.
longI'm going to look for the \cs now.
outerXeTeXmathcodenum
globalUmathcodenum
defXeTeXmathcode
gdefUmathcode
edefXeTeXcharclass
xdefXeTeXdelcodenum
prefixUdelcodenum
You can't use a prefix with XeTeXdelcode
:-)
Oh, and then some more of the messages when I had bigger numbers :-)

9:09 PM
@DavidCarlisle Is seems that as described in tex.stackexchange.com/questions/62725/… you can't use XeTeX for the full range needed :-(

9:20 PM
@JosephWright This bug was supposedly fixed

@egreg Not here

@JosephWright Are more than six ^ necessary?

@egreg No: my mistake

9:52 PM
Ok, 11pm, time to get out of work ;)