« first day (966 days earlier)      last day (3966 days later) » 

1:14 AM
I like TL 2013. I switch my tree to it. some problem that were before with htlatex are gone now. new VBox, new Linux also, mint 15. all brand new software :)
 
 
2 hours later…
3:07 AM
@egreg Oh my, the landscape is amazing! :)
 
 
5 hours later…
8:22 AM
@PauloCereda Yes, the result of the match is exactly as in my dream... or I'm still dreaming?
@PauloCereda But we risked the 3-3 before Fred killed us for the 4th time... Sigh...
 
 
2 hours later…
10:39 AM
@karlkoeller It was a good game for both, I guess. :)
 
@PauloCereda: Do you have a moment?
 
@MarcoDaniel Always. :)
 
@PauloCereda Great ;-)
Ok then let me start
I am writing a new rule. However it seems that arara and I have a misunderstanding of expansion. Let's start with the following rule:
!config
# DVIPS rule for arara
# author: Marco Daniel
# requires arara 3.0+
identifier: dtx
name: dtx-compilation
commands:
#    - <arara> @{engine} @{action} @{draft} @{shell} @{synctex} @{options} "@{file}"
    - <arara> @{ isTrue( parameters.printindex , 'makeindex -s @{indexstyle} -o  "@{getBasename(file)}.@{indexoutput}" "@{getBasename(file)}.@{indexinput}"' , ) }
    - <arara> @{ isTrue( parameters.printchanges , "makeindex -s @{changesstyle} -o  @{getBasename(file)}.@{changesoutput} @{getBasename(file)}.@{changesinput}" , ) }
The header isn't correct -- I know ;-)
My issue is related to the second line
<arara> @{ isTrue( parameters.printindex , 'makeindex -s @{indexstyle} -o  "@{getBasename(file)}.@{indexoutput}" "@{getBasename(file)}.@{indexinput}"' , ) }
The tags @{indexstyle} and friends are not expanded.
 
@MarcoDaniel hmmm I need to check.
 
@PauloCereda Here is my check ;-)
  __ _ _ __ __ _ _ __ __ _
 / _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
 \__,_|_|  \__,_|_|  \__,_|

Running dtx-compilation...

Index style file @{indexstyle} not found.
Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
FAILURE
 
10:53 AM
@MarcoDaniel Which version?
3 0r 4?
 
@PauloCereda 4RC of course
 
@MarcoDaniel :)
I'll take a look after the mass.
 
@PauloCereda Thanks
 
!!/eightball Should I go to Taksim Square today?
@PauloCereda Uê!? Where's PSmith?
 
11:09 AM
@Brent.Longborough In the mass ;-)
 
Ah! Religion stört alles
 
11:25 AM
@Brent.Longborough Oh my, I'm in a hurry today. :) Off to the mass I go. :)
 
@PauloCereda Catch you later. I'm still in İstanbul
 
 
2 hours later…
1:28 PM
@Brent.Longborough ooh Istanbul! :)
I was in São Paulo this week, so I think the places were similar.
 
2:00 PM
@PauloCereda Unfortunately.
 
@MarcoDaniel Yep. I think situation in Turkey is actually far worse than ours. :(
Ironically, the tear gas used by the Turkish police is provided by a Brazilian company.
 
Whee my chat works
 
@morbusg Yay! :)
 
@PauloCereda Yes, and it's past its sell-by date
(Son kullanma tarihi)
 
2:31 PM
@morbusg Hi! I'm a fan of your plain TeX answers (and your sense of humour).
 
@Brent.Longborough oh typical jeitinho brasileiro.
 
3:04 PM
@Alan: hey, thanks :)
 
3:25 PM
a fontshape that is being claimed to fool OCR software
 
3:39 PM
@percusse ooh it's like my font file fell into a bag of Cheetos. :)
3
 
@percusse What if the document isn't printed, but in electronic form? ;-)
Just send around PNG images?
I guess that cryptography is much better.
 
@egreg I think the optimal solution is not creating a document if one is too sensitive about copy pasting or OCR.
 
 
3 hours later…
7:04 PM
Quack.
 
@PauloCereda Lazy day.
 
@egreg Indeed. :) And a cold one! :)
 
Well, 22 doesn't seem cold to me.
 
@egreg We have 18 now. :) brrrrr :)
 
 
7:07 PM
@egreg ooh! :)
 
@PauloCereda Dashboard over the chat page.
 
@egreg Oh no, rain on Wednesday! I'm going to São Paulo that day. :P
 
@PauloCereda With the rain there's less risk of riots. :(
 
!!/answer weather in Oxford, UK
 
@egreg Then floods. :)
@DavidCarlisle ooh wait. :)
 
7:11 PM
@DavidCarlisle Psmith has gone to see the football match.
 
!!/answer weather in Oxford, UK
Oh no, Psmith doesn't want to work.
!!/answer weather in Oxford, UK
Psmith, the TeX bot, in fixed font mode:

weather | Oxford, United Kingdom
temperature | 16 °C  (wind chill: 15 °C)
conditions | cloudy
relative humidity | 63%  (dew point: 9 °C)
wind speed | 7.7 m/s
(2 hours 23 minutes ago)
between 10 °C and 13 °C
rain (all day)  |  cloudy (early morning  |  late morning to late afternoon)  |  partly cloudy (early morning to late morning  |  late afternoon to evening)  |  few clouds (evening onward)
between 7 °C and 10 °C
rain (night to early morning)  |  few clouds (night)  |  clear (late night onward)
 
@PauloCereda typical summer weather, you would love Oxford:-)
Meanwhile the final:
!!/cricket
 
Psmith, the TeX bot, in fixed font mode: Let's take a look at the last cricket results:

- Worcestershire 51/2 &  505/7 * v Glamorgan 278/10 &  277/10
- Derbyshire 266/10 &  36/2 * v Somerset 216/10
- Leicestershire 302/10 &  91/4 * v Essex 356/10
- Yorkshire 433/9 &  52/1 * v Surrey 353/7
- Gloucestershire 296/10 &  122/10 * v Australia A 331/4 &  111/10
- Nottinghamshire v Sussex 363/4 *
- England 110/5 * v India 129/7
- Unicorns 170/10  v Middlesex 172/1 *

Our cricket expert David might explain these results later on.
 
@PauloCereda Oh, no! The Unicorns lost again!
 
@egreg Oh no! They are the cricket version of Íbis. :)
Íbis Sport Club, or Íbis as they are usually called, are a Brazilian football team from Paulista in Pernambuco state, founded on November 15, 1938. Their home stadium is the Municipal de Paulista. They play in black and red colors. Íbis are one of the founders of the Pernambuco Football Federation.Ibis is nicknamed and known in Brazil as being the worst team in the world. History Íbis Sport Club were founded on November 15, 1938 by employees of Tecelagem de Seda e Algodão, owned by João Pessoa de Queiroz, and located in Santo Amaro. Íbis, under Onildo Ramos administration, started to acc...
@egreg: you will love this. ^^
 
kan
7:34 PM
Friends, I am on Debian now!
@PauloCereda Could you please tell me about best practices regarding having a python script executable from any directory by putting into the /usr/bin/?
 
@kan Personally, I'd go with a PATH addition in your bashrc file or perhaps adding your executable in /usr/local/bin. :)
 
kan
@PauloCereda So, in this particular case, the executable depends on a different module, and there are a couple of data files too... so which method do you think is particularly appropriate?
 
oops...
!!/cricket
 
Psmith, the TeX bot, in fixed font mode: Let's take a look at the last cricket results:

- Worcestershire 51/2 &  505/7 * v Glamorgan 278/10 &  277/10
- Derbyshire 266/10 &  36/2 * v Somerset 216/10
- Leicestershire 302/10 &  91/4 * v Essex 356/10
- Yorkshire 433/9 &  52/1 * v Surrey 353/7
- Gloucestershire 296/10 &  122/10 * v Australia A 331/4 &  111/10
- Nottinghamshire v Sussex 363/4 *
- England 124/8 * v India 129/7
- Unicorns 170/10  v Middlesex 172/1 *

Our cricket expert David might explain these results later on.
@kan A viable option is to create a directory somewhere (say, in your home or /opt directory) and put everything inside it and then add a symbolic link to your executable in /usr/local/bin. :)
Oh my, look at teh Unicorns!
 
kan
@PauloCereda Wonderful! Thanks for the advice!
I'll do that!
 
7:41 PM
@PauloCereda England just lost the Champions Trophy Final on the last ball:(
 
@DavidCarlisle Oh no! England lost!
 
kan
@PauloCereda Next is installing TeXLive. :)
 
!!/don't show the cricket
 
@AndrewStacey Psmith, the TeX bot: Oh no! We have an invalid command /don't show the cricket here.
 
kan
@PauloCereda Are we sure that, if I put something inside /usr/local/bin, it will be accessible from any directory?
 
7:46 PM
@kan Yes.
 
kan
@PauloCereda Danke!
 
@kan Sauerkraut. :)
My German is terrible. :P
 
kan
@PauloCereda Sour Cabbage?!
 
@kan I told you, my German is terrible. :)
 
@kan Not really a good translation. Pickled cabbage might be a bit better. In English, the German word is used.
 
kan
7:49 PM
@AlanMunn :)
 
@PauloCereda The correct response is 'Bitte'. (Which also means 'please', thus leading to an infinite loop.) :)
 
@AlanMunn Ah thanks bitte. :)
 
kan
@PauloCereda So, I guess for installing texlive too, I can put it at /opt right?
 
@kan Yes. :)
Just pay attention to path priority.
 
@kan Not quite. Your response there should have been 'Danke'.
 
kan
7:52 PM
I am on Debian @PauloCereda, So, there is no default texlive!
 
@kan Are you doing this on a Mac?
(I see not.)
 
@kan I meant path priority in general.
 
@AlanMunn Which is the same as in Italian "Grazie" "Prego"
 
kan
@PauloCereda Will Debian insist on installing dependencies?
As in should I take @egreg's route to installing?
 
@egreg Yes, how you guys ever stop the loop is quite amazing. :)
 
7:58 PM
@kan Go with egreg's guide. Note that some apps that rely on TeX might go for dependencies as well.
 
kan
@PauloCereda OK!
 
@AlanMunn And prego for us is nail. :P
 
@AlanMunn A: "Grazie" B: "Prego" A: "Non c'è di che" B: "Si figuri, è un piacere" …
 
@AlanMunn:
From a South Park episode. :)
Canadians eh.
 
kan
I can't see youtube from Debian! :(
Neither can I see vimeo.
(well, browser: iceweasel)
 
8:02 PM
@egreg :)
@PauloCereda ? I guess I don't watch enough South Park. I don't see what this has to do with Canadians.
 
@AlanMunn For non-South Park'ers, the reference is obscure. :) This is from an episode called Canada on Strike, I guess. And these guys are Terrance and Phillip. :)
 
@AlanMunn However, the usage of "prego" in contexts similar to "please" is declining in favor of "per piacere" or "per favore"; (or nothing at all: also politeness is declining.
 
@DavidCarlisle I upvoted every one of your comments in the meta question. Reminds me of the movie The Reader.
@egreg What's the etymology of 'prego'?
 
@AlanMunn I thought it was just going to be a quick comment, but he kept coming back:-)
 
@DavidCarlisle repeat until exhausted {But I fixed the grammar. But you changed the meaning.}
 
8:12 PM
@AlanMunn It's like a user once who was upset that I fixed a tex document so it no longer produced errors. It took a couple of rounds of email before I finally understood that I'd made the errors go from the log but the document was no longer producing any output:-)
4
 
kan
@DavidCarlisle Haha! :)
 
@AlanMunn Is "anormal" good?
 
@egreg No. abnormal, but I think for what is meant probably 'atypical'? or just 'not normal'.
 
According to Mel Brooks it should be "a…b… something… a…b…normal"
 
8:31 PM
Poor Nigeria.
 
kan
Any debian users here? :)
 
kan
8:51 PM
Emacs 24 for Debian, now installing!!
 
kan
9:40 PM
@egreg @PauloCereda Oops!!!!
In the step where I ask which tex I get back nothing!!
 
@kan What does ls /usr/local/texlive/2013 produce?
@kan And what's PATH set to?
 
@egreg I think @kan installed into /opt
 
kan
bin index.html install-tl.log LICENSE.TL readme-html.dir README.usergroups texmf.cnf texmf-config texmf-var
doc.html install-tl LICENSE.CTAN README readme-txt.dir release-texlive.txt texmfcnf.lua texmf-dist tlpkg
@egreg I am following your article, basically!
In the /opt, the directory texbin has been created.
 
@kan What about PATH?
 
kan
@egreg Hmm, I have PATH=/opt/texbin:${PATH} ??
 
9:49 PM
@kan Hmm, this is not good at all.
 
@kan What's the output of $ ls /opt/texbin?
 
@kan Output of echo $PATH, please
 
kan
@egreg I am not sure what you're asking for...
 
@kan Type "echo $PATH" on the terminal (without the quotes)
 
And please $ cat /etc/profile
 
kan
9:50 PM
@egreg /usr/local/heroku/bin:/home/knsam/.rvm/gems/ruby-1.9.3-p327/bin:/home/knsam/.rvm/gems/ruby-1.9.3-p327@global/bin:/home/knsam/.rvm/rubies/ruby-1.9.3-p327/bin:/home/knsam/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/‌​games:/home/knsam/epd_free-7.3-2-rh5-x86_64/bin:/home/knsam/.rvm/bin
:10026729 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
fi
export PATH

if [ "$PS1" ]; then
if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
 
@kan no /opt/texbin in you PATH
 
@DavidCarlisle neither is set in profile. :)
 
@kan There is no /opt/texbin. Did you put the instruction export PATH=/opt/texbin:$PATH in the file texlive.sh that you put in /etc/profile.d?
 
kan
@PauloCereda But, I did those... :( :(
 
@kan Did you logoff and login?
 
kan
9:53 PM
@egreg I did too... BTW, does it matter that this is Debian?
I can try logoff and login once again?
 
@kan Maybe. What's the output of "ls /etc/profile.d"?
 
A long time ago, a file put inside profile.d had to have +x in order to be executed (Slackware for the win), but Fedora doesn't require it. Try # chmod +x /etc/profile.d/texlive.sh.
 
kan
@egreg bash_completion.sh texlive.sh
 
@kan Please, ls -la /etc/profile.d
Ubuntu spoiled a generation of Linux newbies. :(
 
kan
total 16
drwxr-xr-x   2 root root 4096 Jun 24 02:23 .
drwxr-xr-x 114 root root 4096 Jun 24 02:57 ..
-rw-r--r--   1 root root  660 Jun 18  2012 bash_completion.sh
-rw-r--r--   1 root root   30 Jun 24 02:23 texlive.sh
 
9:56 PM
Damn, no x flag.
 
kan
@PauloCereda Sorry. I am still learning.
 
@PauloCereda No x flag for bash_completion.sh either.
 
@kan No please, it wasn't for you! :) I meant that Ubuntu, instead of following Debian's guidelines, turned into a different thing.
 
@kan Try issuing "PATH=/opt/texbin:${PATH} which tex"
 
kan
@egreg /opt/texbin/tex
!!!!
 
9:59 PM
@kan I'm asking why this shouldn't work on Debian. Can you try with "less /etc/profile.d/texlive.sh"?
 
@kan egreg forced a PATH setup.
 
kan
export PATH=/opt/texbin:$PATH
There is just this line that gets displayed...
 
@kan Braces are missing! I don't know if this really makes a difference. It should be export PATH=/opt/texbin:${PATH}
 
kan
@egreg Oops!!! OK, I'll fix that...
 
@egreg It should not make a difference, unless Debian proves me wrong. :)
 
10:03 PM
@PauloCereda should only need the {} if needed to distinguish from following letters
 
@DavidCarlisle Ah yes. :)
@kan: please, $ less /etc/profile.d/texlive.sh
 
kan
Oops! No Luck either after the {}
@PauloCereda Just a sec:
export PATH=/opt/texbin:${PATH}
 
is @kan using bash... ? csh and vim users have different rules...
 
kan
@DavidCarlisle Yes, the shell is definitely bash.
 
@kan Try logoff and login
 
10:07 PM
@DavidCarlisle :q
 
kan
@egreg Hmm, no luck yet... should I make it executable?
 
@kan $ less /etc/profile.d/texlive.sh please.
 
kan
@PauloCereda export PATH=/opt/texbin:${PATH}
 
@kan No shebang?
 
kan
@PauloCereda no...
do I add one
 
10:11 PM
@kan Please do.
#!/bin/bash
export PATH=/opt/texbin:${PATH}
 
kan
Oh my dear!
No luck even after this! :(
 
@kan so if you set the path by hand in a terminal ie just execute export PATH=/opt/texbin:${PATH} does tex then work as expected?
 
@DavidCarlisle It did, egreg suggested it a few lines before.
 
kan
@DavidCarlisle yes! asking which tex after executing that line does tell me /opt/texbin/tex
 
@PauloCereda One can always put the change to PATH in .bashrc
 
10:16 PM
@PauloCereda shebang cant help can it? the file has to be executed by the current shell anyway if it has to look uo a new shell via that teh variable will be set in a subshell
 
kan
So, is there a brute force way to do it?
 
@DavidCarlisle Indeed, but it might be use for non-interactive sessions. :)
@kan Install Windows. :)
 
kan
@PauloCereda Oy! NO WAY! :)
 
@kan Add the line export PATH=/opt/texbin:${PATH} to your .bashrc file
 
kan
I had genuine windows and got rid of it for ubuntu...
 
10:17 PM
@kan Get a Mac. :)
 
@kan: my suggestion (and of course @egreg's): add it to .bash_profile.
 
kan
@AlanMunn I am a poor undergraduate student. But, I am now saving some money for this... :)
 
@kan Sorry to be making fun in the middle of your frustrations. Blame @PauloCereda, he started it. :)
 
@PauloCereda I'll never learn the hierarchy. ;-)
 
@kan do what I do, install windows then install cygwin, then pretend you are on linux anyway:-) (or simpler just add the line to .bashrc or .profile or .bash_profile
 
10:19 PM
@AlanMunn Hey! :)
@egreg Neither do I. It gave me trouble when setting paths in my Mac. :)
WAIT A MINUTE!
@kan: Please, cat /etc/environment
 
kan
OK, there are several suggestions here! which one should I edit:
 
Now I'm enraged.
 
kan
@PauloCereda I get back nothing... :(
 
@kan hmmmmm
 
kan
the prompt is returned...
 
10:20 PM
@PauloCereda The file exists and is empty.
 
@egreg We could try adding the export line in there.
 
@PauloCereda When I tried doing things with /etc/environment I ended up with a hanged system (but it wasn't Debian, IIRC).
 
@egreg ooh sounds dangerous. :) Let's try it! :)
By the way, can we install cowsay in Mac via brew? :)
 
@PauloCereda Error: No such keg: /usr/local/Cellar/cowsay
 
@egreg Oh no.
@egreg: you are right, I think the correct file is .bashrc.
 
10:27 PM
@PauloCereda It should be read in also by non interactive shells
 
@kan: please, $ source /etc/profile.d/texlive.sh
then which tex
 
kan
@PauloCereda Works too!
Shows the /opt/texbin/tex
 
@kan Reboot the machine.
:)
 
kan
Hmm!! OK!
Oh man! :(
I hate this!
No luck @PauloCereda :(
 
@kan Oh sorry.
 
kan
10:31 PM
No problem...
We are trying to debug the issue I guess...
 
/etc/profile.d/texlive.sh is (should be) setting the system default path but is your user profile using that or does it go PATH=/a/b/:c and over-ride it?
 
kan
@DavidCarlisle how do I test this?
 
@DavidCarlisle Let's summon Norbert. :)
 
@kan Have you some export PATH... in the .bashrc file?
 
kan
@egreg @DavidCarlisle Here is what I asked and got:
$ less .bashrc | grep "export"
   export PATH=$PATH:/home/knsam/epd_free-7.3-2-rh5-x86_64/bin
   export PATH="/usr/local/heroku/bin:$PATH"
 
10:41 PM
@kan Try also in .profile and .bash_profile
 
@kan they just add to the ends of the default path, so look OK, it can't hurt much to add your texpath to that second line /opt/texbin:/usr/local/heroku/bin:$PATH but better would be to work out why default setting didn't work
 
kan
@egreg One more candidate now:
export PATH=$PATH:/home/knsam/epd_free-7.3-2-rh5-x86_64/bin
export PATH="/usr/local/heroku/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
I asked:
less .bashrc .profile .bash_profile | grep "export"
today might be a peculiar day!!
 
@kan Again, these lines should only add to the PATH. But for the moment, adding /opt/texbin as suggested should keep you in line. The route via texlive.sh is for having the setting system wide.
 
kan
NOTHING works!!
emacs has path difficulties now... eeks.
 
@kan Welcome to the wonderful world of applied computer science. ;-)
 
10:46 PM
@kan Yay! :)
@egreg Meanwhile, in the theoretical CS alley... :)
 
kan
@PauloCereda Actually, I checked the variable load-path and see that the path is in there but then, emacs complains on startup...
 
@kan: would you mind if I ask why did you decide changing from Ubuntu to Debian? :)
 
kan
@PauloCereda Hmm, just for the fun of it... never thought life was this hard in this part of the world...
 
@kan Try Slackware then we can talk. :)
 
kan
@PauloCereda No, in all seriousness, only next year...
@DavidCarlisle Are you using emacs24?>
@egreg bashrc or bash_profile?
 
10:51 PM
@kan .bashrc, I'd say
 
kan
OK, I'll try to investigate the other problem too,..
More troubles...
 
11:55 PM
Any Mac users around right now?
 

« first day (966 days earlier)      last day (3966 days later) »