« first day (713 days earlier)      last day (4211 days later) » 
01:00 - 15:0015:00 - 00:00

1:46 AM
@egreg: duckity is almost finished. :) A preview:
grades.csv
{Student}, {Exam 1}, {Exam 2}
Alice, 8.0, 7.3
Bob, 2.2, 6.7
Carl, 10.0, 9.3
David, 9.2, 10.0
report.tex
{ "datasources": [
	{
		"file"       : "grades.csv",
		"identifier" : "students"
	}
] }
[TEMPLATE]
\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{siunitx}

\begin{document}

This is the final report.

\begin{tabular}{lSS}
#foreach( $student in $students )
$student[0] & $student[1] & $student[2]\\
#end\hline
\end{tabular}

\end{document}
After running duckity:
\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{siunitx}

\begin{document}

This is the final report.

\begin{tabular}{lSS}
{Student} &  {Exam 1} &  {Exam 2}\\
Alice &  8.0 &  7.3\\
Bob &  2.2 &  6.7\\
Carl &  10.0 &  9.3\\
David &  9.2 &  10.0\\
\hline
\end{tabular}

\end{document}
There is a lot of fine tunning with the CSV loading and the expression language for the template. :)
We can have an arbitrary number of CSV's in the same file. :)
 
@PauloCereda Interesting tool, but the name … ;)
 
2:10 AM
@StephanLehmke: Can you provide an example to your comment?
 
2:28 AM
@Werner thanks a lot for your edit earlier, very generous of you :)
 
@cmhughes No problem. You've done a generous job on this site in your contributions; I'm glad to help out.
 
@Werner you're too kind :) I was really intrigued to see the m column type used on the column with the enumerate; I wouldn't have thought to use it that way
i tried it on the other column and it (perhaps obviously) didn't work as expected
 
@cmhughes Oh, rather than using it in the second column, I used it in the first...
...even though the second column required the vertical alignment?
 
2:46 AM
@Werner yes, that's what I found interesting :)
 
@cmhughes Yes. I would describe the key as being that you need to think about the m column as setting an "anchor" in the middle vertically. In contrast to that, the p column sets its anchor either at the [t]op, or at the [b]ottom.
 
@Werner nice description :) yet another thing I've learnt from you! thanks so much :)
 
So I set the enumerate's anchor to the middle, and just left the second column to a single-line p, which can be [t]op-aligned/anchored.
 
 
3 hours later…
5:27 AM
@Werner Tricky to make the effect visible ;-)
\documentclass{article}
\makeatletter
\language \l@nohyphenation
\makeatother

\begin{document}

\newsavebox{\mybox}

\savebox{\mybox}{foo foo }

\sloppy
\textbf{\usebox\mybox foobarbaz foobarbaz foobarbaz foobarbaz
  foobarbaz foobarbaz foobarbaz foobarbaz foobarbaz foobarbaz
  foobarbaz foobarbaz foobarbaz foobarbaz foobarbaz foobarbaz
  foobarbaz foobarbaz foobarbaz foobarbaz foobarbaz foobarbaz
  foobarbaz foobarbaz foobarbaz foobarbaz foobarbaz foobarbaz
  foobarbaz foobarbaz foobarbaz foobarbaz foobarbaz}
gives
But maybe I misunderstood the issue you were talking about?
 
 
1 hour later…
6:38 AM
@AndrewStacey Shoulnd't you provide an answer to this question with your hobby-calligraphy solution?
42
Q: Totally sweet horizontal rules in LaTeX

ArcaneI have been trying to find a way to easily drop a nice horizontal rule into a LaTeX document. \hline just makes a line across the page. It would seem that some package must provide something that is maybe half a page wide, with little bedknobs on the ends or something to act as a nice section m...

 
6:55 AM
... on our way home from EuroTeX. There is wifi in the train :)))
 
@topskip Are you sitting in a German ICE?
 
Friends, can some one please help me to plant my TeX tree? I cannot figure out several things.
1. How do I figure out what is the version of TL my computer is using?
 
@KannappanSampath Terminal: latex -v
 
@MarcoDaniel Oh! Thank you. TeXLive 2009. :(
 
@KannappanSampath oh -- a very old version
 
7:06 AM
@MarcoDaniel Yup. Just saw an AskUbuntu answer telling me how to update....
 
@KannappanSampath I recommend a new installation of TeXLive.
 
@MarcoDaniel Mmm. See, I am new to ubuntu and I am having a little hard time.
I need help to be able to figure out things. :)
@MarcoDaniel from their website?
(or from some standard PPA?)
 
@KannappanSampath No problem. We will help you. First of all you should download the huge iso file of TeX Live. tug.org/texlive/acquire-iso.html
I don't any way using the repository of Ubuntu.
 
@MarcoDaniel OK. First up, there are several versions: texlive2012-20120701.iso or texlive2012.iso
Which one do I use?
 
@KannappanSampath Use: texlive2012-20120701.iso
 
7:15 AM
@MarcoDaniel Thank you for offering to help. I was trying to understand this yesterday too but no luck. :)
 
@MarcoDaniel I've usually used the installer.
 
@TorbjørnT. Do you mean the net installer?
 
@MarcoDaniel OK. It's doing it! :)
2.2 GB... an hour to go, though. :(
 
If you don't have a stable internet connection I can't recommend it ;-)
 
@MarcoDaniel Yes, install-tl from tug.org/texlive/acquire-netinstall.html
The last time I followed egreg's instructions from Tugboat: tug.org/TUGboat/tb32-1/tb100gregorio.pdf (PDF)
 
7:16 AM
@MarcoDaniel The internet connection is good enough here at the Institute.
 
@MarcoDaniel Ah, yes, that's a point.
 
20 minutes to go...
BTW, guys, my computer is crazy. There is some problem with the Rubbish Bin.
There are no files in it. But, the system shows as if there are files.
(no hidden files too.)
 
@TorbjørnT. Interesting article by @egreg. This article leads to a standard discuss about the system path. I think every new user should install TeX Live with the predefined system path. So it will run out of the box. The "normal" user won't switch between several versions.
 
@MarcoDaniel So, if texlive rolls out a 2013 version, do we have to download .iso and so on...?
(that is, after setting up this version today...)
 
@KannappanSampath I use the net installer, or wait till I have a DVD
You can do an 'in place' upgrade, but it's not really 'supported'
 
7:29 AM
@JosephWright Hmm, I see.
 
@KannappanSampath Every year I download the new iso (or I use rsync) and install the new one ;-)
@JosephWright I guess you are using rsync too ;-)
 
@MarcoDaniel No
 
@MarcoDaniel As I said, I use the net installer, which downloads 'on the fly'
I am at the advantage that my 'local' CTAN server is Cambridge :-)
 
@JosephWright LOL
 
7:33 AM
I'll be right back in 5 minutes. The Chrome downloader shows 10 minutes to go...
 
7:48 AM
@PauloCereda: You may find ConTeXt Lua templates interesting: pragma-ade.com/general/manuals/templates-mkiv.pdf (it does not directly provide a way of reading csv files, but does not require an external program)
 
The arara ad has made it onto the front page :-)
5
 
Back. :)
@MarcoDaniel The .iso file is downloaded.
 
8:11 AM
@Qrrbrbirlbel egreg suggested the name. :)
@JosephWright Oh no! So now I need to work on the new version! :)
@Aditya How nice! ConTeXt has everything. :) I hope to start learning it someday. :)
 
@PauloCereda: Is duckity an external program or is it written in TeX?
 
@Aditya I had no skills to write it in TeX, so I wrote in Java. It uses VTL (Velocity Template Language) for the template part and JSON for the header info. I think I might be able to write it in Lua, but I'm still a newbie. :)
 
@PauloCereda: Can you add command line options for the initial JSON headers? That will make it relatively easy to call duckity from within ConTeXt using the filter module.
@PauloCereda: By command line options I mean duckity --file=file.csv --datasources=students and also provide the -o or --output flag to specify the output file.
 
8:28 AM
@Aditya hm interesting. :) I can provide `--json='{ "datasources": [{ "file" : "grades.csv", "identifier" : "students" } ] }' in the command line. :)
@Aditya Also a nice option. :) To be honest, I'd favour the json entry because you can set any number of datasources, say students and professors. :)
 
Smiley Ladder! This won't break. :)
 
@PauloCereda: Passing command line options from with quotes is extremely tricky. In MkII, the filter module calls the shell that calls mtxrun that then calls the external program; quotes always get mangled somewhere along the pipeline. In MkIV, the situation is a bit nicer, but still tricky. But, in any case, I can handle adding the JSON template directly to the file as well, so it is not a big deal.
@PauloCereda: What I have in mind is the following:
\startTEMPATE[file=..., datasource=....]
.....
\stopTEMPATE
should call duckity, which will convert the template to TeX code, that is then \input ed as a tex file.
 
@Aditya Ah! I see. :) I can add those options. :)
 
Thanks :)
 
Help! Please! I have downloaded the .iso file but I don't know how/where to proceed in installing texlive.
(I apologise that I spam the chat so much. But, at present, I have to set up texlive to start to do things.)
 
8:44 AM
0
Q: multiple author listing bibtex results in _ _ in place of authors names

SwagatikaI had to cite two papers of same group of authors in Latex: @inproceedings{Lai_etal_ICRA11_RGBD_dataset, author = {Kevin Lai and Liefeng Bo and Xiaofeng Ren and Dieter Fox}, title = {A large-scale hierarchical multi-view RGB-D object dataset...

Dupe: anyone know where the first one is (it's got a rather awkward name, from memory)
 
8:57 AM
:(
More woes.
 
Another cool use:
{ "datasources": [
	{
		"file"       : "grades.csv",
		"identifier" : "students"
	}
] }
[TEMPLATE]
\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xcolor}

\begin{document}

This is the final report.

\begin{tabular}{lrr}
Student & Exam 1 & Exam 2\\
\hline
#foreach( $student in $students )
$student[0] & #if( $math.toFloat($student[1]) < 5.0 )\textcolor{red}{$student[1]}#else$student[1]#end & #if( $math.toFloat($student[2]) < 5.0 )\textcolor{red}{$student[2]}#else$student[2]#end\\
will return:
\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xcolor}

\begin{document}

This is the final report.

\begin{tabular}{lrr}
Student & Exam 1 & Exam 2\\
\hline
Alice & 8.0 & 7.3\\
Bob & \textcolor{red}{2.2} & 6.7\\
Carl & 10.0 & 9.3\\
David & 9.2 & 10.0\\
\hline
\end{tabular}

\end{document}
@KannappanSampath: do not dispair, my friend. We are here. :)
First of all, what does happen if you double-click your .iso? :P Sorry, it's been a while. :P
 
@PauloCereda Yup. Still holding out hope.
@PauloCereda Nothing seems to happen....
I think I am going to be asked about where to burn.... but no window has popped yet
 
I believe you are not acquainted with the terminal?
 
Not fully yet. But, I can do certain things.
sudo ...
 
9:12 AM
Let's do this the easy way then. :)
Can you install this app, please? sudo apt-get install gmountiso
 
Done. :)
 
Open this app, please. :)
 
Opened... Do I feed it with this .iso file?
 
In a minute. :)
There is something called mount point, right?
 
@PauloCereda Yup. :)
 
9:15 AM
It's a folder where your ISO file will be referenced. Can you create a dummy folder in your home directory, say, tlinstall?
 
Done. :)
Set that as Mount Point?
 
Great! Now add the ISO to the corresponding field, and in the mount point, choose the tlinstall folder, probably /home/kannappan/tlinstall. :)
 
@PauloCereda Yup. You're reading my computer. :)
 
@KannappanSampath I have magic powers. :)
Can we continue? :)
 
@PauloCereda Sure thing.
 
9:19 AM
Cool!
Click Mount.
 
@PauloCereda Hmm. There is an error occuring: tlinstall seems to be mounted read only... :(
 
Would it not be easier to use the net installer?
 
@KannappanSampath This isn't a bad thing. :) It's read only, after all, it's the content of the CD. :)
@JosephWright Don't make the boy download everything again. :P
 
@PauloCereda Ah! OK. :) Great. :)
 
And yes, net installer would be easier. :P
To the terminal!
you probably have:
kannappan@ducksarenice ~$ _
let's go to the tlinstall folder
 
9:22 AM
Yes. kannappan@PerverseSheaf :~$
 
kannappan@ducksarenice ~$ cd tlinstall
 
ls it, please. :)
 
archive                  install-tl.bat   readme-txt.dir       tlpkg
autorun.inf              LICENSE.CTAN     README.usergroups    tl-tray-menu.exe
index.html               LICENSE.TL       release-texlive.txt
install-tl               README           source
install-tl-advanced.bat  readme-html.dir  texlive-doc
 
Yay! This is the content of your ISO.
@JosephWright: I can't remember, sudo ./install-tl --gui?
Wait for us, @Kannappan! :)
 
9:24 AM
Great! So, we have unpacked our .iso?
@PauloCereda Sure. :)
 
@KannappanSampath In a sense yes, but note that we mounted the ISO, it's like when you put a real DVD inside the drive. In our case, our drive is virtual. :)
 
@PauloCereda Yes, although you can do without sudo (not my choice) and without gui (I never use it on Linux)
 
@JosephWright Ah thanks. :)
 
@PauloCereda For --gui you need Perl-Tk
 
@egreg Oh my, I almost forgot that! Thanks!
@Kannappan: Could you run this first? sudo apt-get install perl-tk
 
9:27 AM
@PauloCereda I have it installed already. :)
 
@KannappanSampath So...
wait for it...
sudo ./install-tl --gui
Have fun. :)
 
@PauloCereda Do I do this from home or from tlinstall?
 
@KannappanSampath from tlinstall. :)
 
OK. I get a window with several change buttons and a button to install and one more to quit... so... do I press install?
 
I think you don't need to change anything. GO FOR IT!
 
9:32 AM
@PauloCereda I usually tell to drink a coffee, maybe two. :)
 
@PauloCereda :) Hey, you brought smiles on my face with this. I have been staring at this computer for half a day. :)
 
@egreg It's a good advice. :)
 
But an ISO installation should be shorter
 
@egreg Not certain by by means
 
800 files up of 2480 files.
 
9:34 AM
@egreg Indeed. :)
@JosephWright There's a heavy I/O operation in this case (reading and writing from disk), but as long as it's not a 5400RPM HDD, we should be fine. :)
 
@PauloCereda OTOH, a net install has the advantage that the most recent versions of the packages are downloaded.
 
@egreg My thoughts exactly. :) I did that with my Slackware. I don't want to scare @Kannappan, but the update will basically download everything again. :)
 
@PauloCereda True, I might have been scared if I had to download everything all over again. :)
So this installation would have tlmgr. Is that right?
 
Yes. But we need to set up some things first.
 
pre-generating all format files (fmtutil-sys --all), be patient...
From the Command Line. :)
 
9:40 AM
They are not kidding, be patient. :)
 
Welcome to TeX Live!
@Paulo Done! :)
On the GUI, there is a finish button. Being the only way to go, I clicked it.
 
Great. Close the terminal.
 
OK, It seems the terminal created a log file of the installation. :)
 
Open gmountiso, select the mounted image and click to unmount, please.
After that, enter in your tlinstall folder and see if it's empty. :)
 
@PauloCereda Hmm, the mounted images thingy is not letting me choose anything. It's greyed out.
 
9:45 AM
@KannappanSampath I think there's a dropdown list where you select your ISO and then click unmount.
 
@PauloCereda Doesn't look like it. :(
 
@KannappanSampath Does sudo gmountiso allow?
 
@PauloCereda sudo: gmountiso: command not found.
 
@KannappanSampath Sorry, it's difficult to guess things. :)
COuld you try logging out an in again?
 
@PauloCereda Oh, it's OK. I don't mind. After all I am learning. :)
@PauloCereda Will do.
Should I try shutting down completely?
 
9:53 AM
No, let's try something different.
kannappan@ducksarenice ~$ sudo unmount tlinstall
 
unmount throws a command not found...
 
Try umount.
kannappan@ducksarenice ~$ sudo umount tlinstall
It's been a while. :)
 
Ah, I got back the control without an error.
I mean:
tlinstall is EMPTY!
Great!
 
Yay! :)
 
@Paulo Do I delete that folder then?
 
9:58 AM
Now we will use @egreg's awesome guide. :)
@KannappanSampath Yes, you can. :)
 
@PauloCereda Sure.... But, if I may ask: is this the one?
 
@PauloCereda With /usr/local instead of /opt/local, I guess.
 
@egreg Indeed. :)
@KannappanSampath Can be. :)
 
Duplicate (see OP's comment)
2
Q: Aligning \text{} on the left

Joe KingI am new here, and quite new to LaTeX. I did search for an answer to this as I think it should be trivial, but I didn't find the answer yet. I have something like \begin{align*} y &= mx + c \\ \text{some text here. So} \\ c &= y-mx \\ \text{but } \\ 1+2 &\neq 2 \\ \text{Finally} \\ 3...

 
@PauloCereda Oh, OK... :)
 
10:04 AM
@egreg Voted. :)
 
@KannappanSampath Yes, it is. I usually recommend /opt instead of /usr, but it doesn't make much difference, if one remembers to use the correct prefix. :)
 
@egreg I will go with whatever you guys recommend! I'll get used to the good that way. :)
 
@KannappanSampath You have already set /usr as the prefix; go with it.
 
@egreg OK. :)
 
@KannappanSampath Correction: use /opt. :)
 
10:09 AM
@egreg Hm. Fine too. :)
 
@egreg /opt for the symlinks, right? :)
 
@PauloCereda Yes.
 
@egreg Yay! :)
 
@KannappanSampath You should be at the echo ’export PATH=/opt/texbin:${PATH}’ > texlive.sh step
 
@egreg: we need to revisit that script we were working on. To ease such tasks. :)
 
10:13 AM
@egreg Do I start by typing in all the three mysterious commands one-by-one?
 
@KannappanSampath Yes. One echo and two sudo
Terminate each one with "return"
 
One of you'll have to tell me step-by-step please... :)
@egreg in the home directory right?
 
Type: echo 'export PATH=/opt/texbin:${PATH}' > texlive.sh
@KannappanSampath Yes
The quotes are single straight quotes, not the curly ones you use in typesetting
@KannappanSampath Don't be afraid. This can't damage your system
 
@egreg Sure...
Just a sec: I am afraid something crazy happened: Just to ensure I am doing it right, let me paste what my terminal looks like:
kannappan@PerverseSheaf:~$ echo ’export PATH=/opt/texbin:${PATH}’ \
>
’export PATH=/opt/texbin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games’
kannappan@PerverseSheaf:~$ > texlive.sh
kannappan@PerverseSheaf:~$ sudo cp texlive.sh /etc/profile.d/
[sudo] password for kannappan:
kannappan@PerverseSheaf:~$ sudo mkdir -p /opt
kannappan@PerverseSheaf:~$
 
@KannappanSampath: You mistyped two commands. Let us fix them for you. :)
kannappan@PerverseSheaf:~$ echo 'export PATH=/opt/texbin:${PATH}' > texlive.sh
Everything in one line. HIT ENTER.
Then
kannappan@PerverseSheaf:~$ sudo cp texlive.sh /etc/profile.d/
 
10:24 AM
@PauloCereda You're using curly quotes too! No!
 
@egreg Oh no!!!!!!
Phew, fixed. :)
 
The character must be the one on the keyboard.
echo 'export PATH=/opt/texbin:${PATH}' > texlive.sh
The last line should be OK for copying
 
@PauloCereda Done.
@PauloCereda Done too! :)
 
@KannappanSampath cat /etc/profile.d/texlive.sh
Paste the output here, please. :)
 
@PauloCereda Sure, will do. :)
 
10:27 AM
ls -la /opt
Paste this output here too. :)
 
@PauloCereda export PATH=/opt/texbin:${PATH}
 
@KannappanSampath Cool. :)
 
total 12
drwxr-xr-x  3 root root 4096 Oct 11 21:42 .
drwxr-xr-x 24 root root 4096 Oct 13 13:39 ..
drwxr-xr-x  3 root root 4096 Oct 11 21:42 google
 
@KannappanSampath No texbin? o.O
 
@KannappanSampath All OK. Paste here the output of
 
10:29 AM
Oh wait, you didn't create the symlink yet. :)
 
ls /usr/local/texlive/2012/bin
 
@egreg x86_64-linux
 
@KannappanSampath OK! Now do
 
@PauloCereda OK. I was getting scared...
 
sudo ln -s /usr/local/texlive/2012/bin/x86_64-linux /opt/texbin
 
10:32 AM
@egreg Done... :)
 
After giving the previous command you should paste here the output of ls -la /opt
 
total 12
drwxr-xr-x  3 root root 4096 Oct 13 16:01 .
drwxr-xr-x 24 root root 4096 Oct 13 13:39 ..
drwxr-xr-x  3 root root 4096 Oct 11 21:42 google
lrwxrwxrwx  1 root root   40 Oct 13 16:01 texbin -> /usr/local/texlive/2012/bin/x86_64-linux
 
YAY!
 
@KannappanSampath Marvelous!
 
Now, erase everything and install Windows! /ducks :)
 
10:33 AM
@PauloCereda WHAT?
 
@KannappanSampath Now you should logoff and login again.
 
@KannappanSampath <3
 
I sincerely pray you are playing a cruel joke on me.
 
@KannappanSampath <3
 
@KannappanSampath He was, he's a naughty boy.
 
10:34 AM
@egreg awwww! :)
 
Done. :)
 
which tex
 
Logged off! Logged in!
 
Paste the output of
which tex
 
/usr/bin/tex
 
10:36 AM
Uh-oh.
 
@KannappanSampath No, you didn't logoff. This means closing the complete session and go to the login screen.
 
@KannappanSampath: @egreg is right, you need to restart your session.
 
You can emulate this cycle by saying to the terminal
export PATH=/opt/texbin:${PATH}
But it's better to do in the more annoying way.
 
I guess I did it right, this time, I mean
/opt/texbin/tex
 
Great. :)
 
10:41 AM
is the bash's answer to which tex
So, where are we going to, now?
 
@egreg: now, an alias for tlmgr in the command line? :)
 
@PauloCereda Yes, the gedit ~/.bashrc step.
 
Are we stuck here for some reason?
 
@KannappanSampath The step in the article from the gedit line. In the file that opens on the screen, append the lines shown from # Additions for TeX Live up to the third alias line. Just watch out that the quotes must be the straight and not the curly ones.
@KannappanSampath Is that OK?
 
@egreg I am trying to type in that bashrc command...
 
10:53 AM
@KannappanSampath With the command below, a new window should have appeared
gedit ~/.bashrc
 
@egreg Yes, it did appear.
I am sorta lost: "The three dots represent what is already in the file
.bashrc, which must not be modified." which three dots are we referring to?
(quoting the article here.)
 
@KannappanSampath The three dots is just a reference to everything that's already written in the file (if anything).
 
@KannappanSampath OK; if you have the TUGboat article at hand, it's easier: just append those lines at the end of the file (watch out for the double quotes). I'll add the lines yere. If the window is empty, never mind. Otherwise go to the end of it.
 
Just go to the bottom of the file, hit ENTER two times and paste the content. :)
 
Here are the lines to append
# Additions for TeX Live
function sutlmgr () {
if [[ -z "$@" ]]
then
sudo /opt/texbin/tlmgr -gui
else
sudo /opt/texbin/tlmgr "$@"
fi
}
alias mktexlsr='sudo /opt/texbin/mktexlsr'
alias updmap-sys='sudo /opt/texbin/updmap-sys'
alias fmtutil-sys='sudo /opt/texbin/fmtutil-sys'
So you have not to worry with the quotes.
 
10:58 AM
@egreg Hah, only now, did I understand the difference in the quote that happens while you copy from the pdf.
OK. I put your code in there.
 
@KannappanSampath Save the file and exit from gedit
 
@egreg Done.
 
Now the final commands.
sudo cp $(kpsewhich -var-value TEXMFSYSVAR)/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
It's a single line
Just for a check, paste here the output of
kpsewhich -var-value TEXMFSYSVAR
 
/usr/local/texlive/2012/texmf-var
crosses the fingers hoping all is well.
 
@KannappanSampath Fine! Last command.
sudo fc-cache -fsv
 
11:02 AM
sutlmgr update --self --all too? :)
 
This will be rather long to execute. It allows you to use the OpenType fonts provided by TeX Live with XeLaTeX, LuaLaTeX and all programs in your system.
 
@egreg "fc-cache: succeeded". :)
 
@KannappanSampath Congratulations! You're a TeX Live 2012 user!
 
@egreg Thank you! Phew!
 
The command suggested by Paulo will update all packages (and will last long).
 
11:04 AM
@Paulo and @egreg I should send you chocolates or something via snail mail. I'll drop in a line later this evening.
 
Do it when you have a good connection and time.
@KannappanSampath Are you using Kile for working with LaTeX?
 
@egreg I installed TeXmaker... But, I can install kile too.
@PauloCereda sutlmgr: command not found ... Is that bad?
Is it sudo?
 
logoff and login again. :P
 
@KannappanSampath Just open a new terminal: the shell must be aware of the changes.
 
source /home/kannappan/.bashrc
:)
 
11:08 AM
@KannappanSampath Texmaker is fine. Just try compiling a document from it with pdflatex and look at the first line in the log. It should have TeX Live 2012 in it
 
@egreg Oh, OK. I'll let you know how this goes... in a minute.
 
Sorry, lunch time. I'll be back soon.
 
@JosephWright: ^^^^^^^ :)
@egreg Buon appetito! :)
 
@egreg Sure thing. Have a tasty lunch.
281 updates. :-)
 
11:22 AM
All updates done!
Great! Time to party!
 
11:55 AM
@PauloCereda Yeah
 
@JosephWright Now we need to lure her to register. :)
 
12:18 PM
@PauloCereda I've left a comment for that.
 
@egreg Upvoted. :)
 
12:37 PM
@KannappanSampath Did you try compiling with Texmaker?
 
12:55 PM
@egreg: duckity now supports csv and json files! :)
 
Updating packages just for answering questions and get the rep is cheating. ;-) I'm very happy that you're able to support so many features. — egreg 24 secs ago
 
:)
{ "datasources": [
	{
		"file"       : "grades.csv",
		"identifier" : "students"
	},
	{
		"file"       : "subject.json",
		"identifier" : "subject"
	}
] }
[TEMPLATE]
\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xcolor}

\begin{document}

This is the final report for \textbf{$subject.name}, supervised by \textbf{Dr. $subject.professor}.

\begin{tabular}{lrr}
Student & Exam 1 & Exam 2\\
\hline
#foreach( $student in $students )
$student[0] & #if( $math.toFloat($student[1]) < 5.0 )\textcolor{red}{$student[1]}#else$student[1]#end & #if( $math.toFloat(
grades.csv
Alice,8.0,7.3
Bob,2.2,6.7
Carl,10.0,9.3
David,9.2,10.0
subject.json
{
"name": "Compiler techniques",
"professor": "John Doe",
"schedule": [ "Oct 15", "Oct 20", "Oct 25" ]
}
And the generated code:
\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xcolor}

\begin{document}

This is the final report for \textbf{Compiler techniques}, supervised by \textbf{Dr. John Doe}.

\begin{tabular}{lrr}
Student & Exam 1 & Exam 2\\
\hline
Alice & 8.0 & 7.3\\
Bob & \textcolor{red}{2.2} & 6.7\\
Carl & 10.0 & 9.3\\
David & 9.2 & 10.0\\
\hline
\end{tabular}

If you have any doubts, there'll be classes on Oct 15, Oct 20, and Oct 25.

\end{document}
 
1:33 PM
@egreg: Nicola is now registered. Now we need to lure her to visit our chatroom. :)
 
@PauloCereda She'll soon discover it.
 
@egreg Indeed. :)
 
@PauloCereda Give her time to familiarize with the site.
 
@egreg Yes. She already wrote her 2nd answer. :)
 
@PauloCereda Let's wait she writes her first question. ;-)
 
1:37 PM
@egreg I doubt this will happen. She's in the same group of you, David, Heiko, Herbert... :)
 
@PauloCereda Is it possible to find how many "over 100 answer" users have no question?
 
@egreg Yes! Gimme a sec. :)
 
@PauloCereda I always forget where to go for this kind of queries.
 
1:51 PM
@egreg:
select distinct u.DisplayName, count(p.Id) as total from Users u, Posts p
where u.Id = p.OwnerUserId and p.PostTypeId = 2 and u.Id not in
(select x.Id from Users x, Posts y
where x.Id = y.OwnerUserId and y.PostTypeId = 1)
group by u.DisplayName having count(p.Id) > 100 order by count(p.Id) desc
This one required my some of my SQL-fu. :)
DisplayName    total
-------------- -----
egreg          2518
Herbert        1469
David Carlisle 605
Ulrike Fischer 544
Thorsten Donig 223
Roelof Spijker 133
Taco Hoekwater 129
Philipp        113

(8 row(s) affected)
June 27, of course.
 
@PauloCereda Why June 27?
 
@egreg Data Explorer hasn't updated the DB. :(
"jun 27 most recent"
The data is 4 months outdated. :)
 
2:19 PM
@Aditya: I'm implementing your suggestions. :) The code is getting cooler. :)
 
01:00 - 15:0015:00 - 00:00

« first day (713 days earlier)      last day (4211 days later) »