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

4:00 PM
@tohecz The question is, only stores that work with beverages can profit from the event, the rest of the stores don't get anything. And the kind of tourist you attract for this kind of event is not the one who wants to spend a night in a hotel. :(
 
kan
@David I closed the group after the INPUT and began a new one. Makes it look fine, only with a extra line break.
@David Texinfo looks really interesting.
 
sometimes I gotta love my facutly in Prague: January 29 I recieved the information that I teach. Now I wrote to the person responsible for scheduling to tell him my requirements when I don't want to teach. He replied me: Deadline for these requests was January 17.
 
4:16 PM
@kan yes it's like \\ which is why you get an indent for one and not the other
 
kan
@DavidCarlisle Hmm I see.
OK.
Let me play with it a bit.
 
@kan awwww man, @end tags me.... that's so lame! :)
 
kan
@enderland Sorry! Did not intend to do that.
 
@kan No it's funny - I wonder if partial tags hit users? that seems weird
 
@enderland Just be thankful there are not billions of texinfo users...
 
kan
4:20 PM
@enderland I think only 3 letters are required for getting pinged.
 
@DavidCarlisle Hehehehe. Indeed...
 
@kan yes, as long as your name has at least 3 letters
 
oh. Well, I guess learned something here :) That surprises me though, tbh
 
kan
For instance @Dav would have pinged David. :)
 
and you can ping yourself: @toh (or you cannot?)
 
kan
4:20 PM
@kan
No sound though. ;-)
 
@tohecz But not in polite society
 
@toh I don't know...
 
@D @Da @Dav @Davi @David @DavidC @DavidCa @DavidCar @DavidCarl @DavidCarli @DavidCarlis @DavidCarlisl @DavidCarlisle
 
@tohecz but you surely can reply to your own message, like I do here
 
@PauloCereda That only makes 1 notification.
 
4:21 PM
:7959938 I can also reply to a message in the future.
 
:7959954 thats awesome
 
@PauloCereda as long as it appears in our chat :p
 
@DavidCarlisle Oh. :)
Andrew Stacey is the master of time travel. :)
 
ok. well. back to work for me. interesting situations here
 
kan
True. :)
 
4:23 PM
!!/ctan
Psmith, the TeX bot, in fixed font mode: Let's take a look at the last CTAN news:

- CTAN update: media9 (Sat, 02 Feb 2013 00:55:10 GMT)
- CTAN update: etoc (Sat, 02 Feb 2013 00:54:01 GMT)
- New on CTAN: uestcthesis (Wed, 30 Jan 2013 16:56:55 GMT)
- Re: cam.ctan.org upload: pageslts (Wed, 30 Jan 2013 15:53:15 GMT)
- CTAN Update: chemmacros (Wed, 30 Jan 2013 15:42:48 GMT)
- CTAN Update: babel-beta (Wed, 30 Jan 2013 08:13:36 GMT)
- CTAN Update: lastpage (Wed, 30 Jan 2013 08:12:22 GMT)
- CTAN Update: libertine (Wed, 30 Jan 2013 08:11:46 GMT)
 
amsfonts updated?
 
@DavidCarlisle It seems so. :)
 
@PauloCereda Although I heard it from a very unreliable source.
 
kan
4:39 PM
OK. Time for a newbie question: From time to time, I do rm *~ as they affect TAB completion. Can I do that?
 
@kan Yes you can.
 
kan
@StephanLehmke Thanks Stephan. As I understand, they are some back up files.... So, I was getting worried if there was a better way to do this.
 
@PauloCereda And here I was assuming all Brasilians loved Carneval. What is the world coming to :-(
 
@kan They are backups generated by your file editor, you can surely switch it off if you don't like ti
 
If you think Carneval is living hell in Brazil, you should witness it here :-( :-(
 
kan
4:42 PM
@tohecz Oh, I'll try to figure out how to do that....
 
@StephanLehmke Not all Brazilians. :)
@StephanLehmke ooh!
Is it terrible?
 
@PauloCereda I suspect only the very rich and the poor, not the middle class?
 
@Brent: do you like Carnaval? :)
Better, do you dance frevo? :P
 
@PauloCereda Detested it from the second one onwards
 
@PauloCereda I mean, people are dancing in Brazil, aren't they? Or is that only in Rio for the media? Here it's 99% drinking...
 
4:43 PM
No, nor maracatu
 
@Brent.Longborough I think carnaval was reduced to drinking/orgy stuff in most of the places. You can't go out with your family without seeing some terrible things.
 
@PauloCereda Yes, that's the origin, isn't it, let go all the sins of the carne before Lent. Though I guess in olden tymes they thought things scandalous that today anyone can see on Faceb**k
 
@kan Best is to keep all your files in revision control.
 
@PauloCereda I miss a lot of Brazilian things, but Carnival isn't one of them...
 
@StephanLehmke No. :) Carnaval for foreigners is what happens in the sambódromo at São Paulo (Anhembi) or Rio de Janeiro (Marquês de Sapucaí), where there are lots of people dancing, dressed in costumes with allegories etc (that is, under the hood, a big scheme of money laundering IMHO). What happens in all the other cities is some kind of show with people singing songs that are not meant to be carnaval-like (marchinhas), people getting wasted, drinking a lot and some other nasty things.
@Brent.Longborough Ah yes. :)
@Brent.Longborough Feijoada! :)
I live downtown, I have to listen to crazy people screaming all night and all day and loud music during 4 days from saturday to tuesday. Think of a zombie in wednesday.
 
4:49 PM
@PauloCereda Ok, so maybe it's equivalently bad everywhere...
 
@PauloCereda Yes! And rodízio of meats, and Caipirinha, and Beer with sardines, and people who introduce themselves as "My name is Leandro, but you can call me Doctor"
 
@Brent.Longborough LOL
 
kan
@StephanLehmke OK, I have git installed. I am afraid I am not a pro yet.
 
Hey @Brent we could take our friends to a nice churrascaria. :)
 
kan
I'll use it now on... @Stephan
 
4:50 PM
I think @StephanLehmke will love it. :)
 
@PauloCereda And you don't even live in Rio!
@PauloCereda We just had one open in Cardiff, haven't been there yet.
 
@Brent.Longborough Yes, that's why things are terrible. Think of a city with only 4k people getting crowed with random people just to have their mess done here. :(
@Brent.Longborough I heard that Fogo de chão had opened a lot of churrascarias in the US.
 
@PauloCereda "Fire of Floor"
 
@Brent.Longborough LOL
 
LOL, telepathy
 
4:52 PM
Indeed.
Never tried them, it's a very famous franchise in São Paulo. Luckly, we have good churrascarias in the countryside area too. :)
Let's call a churrasco expert: @AlanMunn, how do you like your churrasco? :)
@Brent: Alan is a Grêmio fan, you know.
Bah tchê.
 
@PauloCereda Myself, I'm very traditional: Rubaiyat
 
@Brent.Longborough Wow!
 
kan
Shameless Affirmation: I find Brent's replies here the hardest to follow. I am like "what's that" and, I see Paulo going LOL.
 
And IIRC, there was a marvellous place in São Paulo, not a rodízio, you had to order a whole joint, like, say, a whole picanha
 
@kan Brent is half-Brazilian, so we understand each other. :)
@Brent.Longborough oooh! :)
 
4:59 PM
@kan Sorry, we're just doing some name-dropping of expensive Brazilian restaurants
 
@Brent.Longborough I can't even afford the napkins.
 
kan
@Brent.Longborough Oh... no need to apologise really!
I was just telling you what I feel like.
 
@kan LOL - just got carried away - my mouth is watering...
 
kan
But, even generally, my foo is too weak...
 
The first time I went to Brazil, I ate at one of these places, and had an espresso coffee at the end of the meal. It was so good, I had a second one. Result: I couldn't fall asleep until 05:30 in the morning.
 
5:03 PM
LOL
 
@PauloCereda of course, since then, my caffeine resistance has increased somewhat.
 
kan
@Brent.Longborough I wish I get some coffee of that kind.
 
@kan IMNSHO, the only continent with decent coffee is South America. Colombia, with Brazil a close second
@kan From what I remember, it's quite hard work to find a decent coffee in India, no?
 
kan
@Brent.Longborough True, very true.
Do not remind me of the tea and coffee we got at the canteen.
 
@kan But, as in everything, there are many other things that compensate
 
kan
5:13 PM
@Brent.Longborough Like... (let's see what are your picks...)
 
@kan Masala dhosa, marvellous inexpensive vegetarian restaurants, lassi, Agra, Jaipur, the beaches of Goa (and the food!)
@kan Oh, and of course the Tuk-Tuk
 
@Brent.Longborough OMG
!!/ctan
Psmith, the TeX bot, in fixed font mode: Let's take a look at the last CTAN news:

- CTAN update: media9 (Sat, 02 Feb 2013 00:55:10 GMT)
- CTAN update: etoc (Sat, 02 Feb 2013 00:54:01 GMT)
- New on CTAN: uestcthesis (Wed, 30 Jan 2013 16:56:55 GMT)
- Re: cam.ctan.org upload: pageslts (Wed, 30 Jan 2013 15:53:15 GMT)
- CTAN Update: chemmacros (Wed, 30 Jan 2013 15:42:48 GMT)
- CTAN Update: babel-beta (Wed, 30 Jan 2013 08:13:36 GMT)
- CTAN Update: lastpage (Wed, 30 Jan 2013 08:12:22 GMT)
- CTAN Update: libertine (Wed, 30 Jan 2013 08:11:46 GMT)
 
5:36 PM
@PauloCereda Too much output. You should limit it to say 10 lines by default and maybe allow an parameter for the amount
 
@MartinScharrer I'm lazy to implement that. <3
 
@PauloCereda Your are TOO lazy to implement that
 
@MartinScharrer OK fine. :P
 
@PauloCereda: Also there must be a bug, my recent update to currfile isn't listed ;-)
 
@MartinScharrer it gets the CTAN RSS feed. :)
 
5:42 PM
@PauloCereda and then filters out my packages ... yeah, yeah
 
@MartinScharrer there's a FROM_MARTIN flag. :)
!!/ctan 1
Psmith, the TeX bot, in fixed font mode: Let's take a look at the last CTAN news:

- CTAN update: media9 (Sat, 02 Feb 2013 00:55:10 GMT)
- CTAN update: etoc (Sat, 02 Feb 2013 00:54:01 GMT)
- New on CTAN: uestcthesis (Wed, 30 Jan 2013 16:56:55 GMT)
- Re: cam.ctan.org upload: pageslts (Wed, 30 Jan 2013 15:53:15 GMT)
- CTAN Update: chemmacros (Wed, 30 Jan 2013 15:42:48 GMT)
- CTAN Update: babel-beta (Wed, 30 Jan 2013 08:13:36 GMT)
- CTAN Update: lastpage (Wed, 30 Jan 2013 08:12:22 GMT)
- CTAN Update: libertine (Wed, 30 Jan 2013 08:11:46 GMT)
LOL phail.
!!/ctan
Psmith, the TeX bot, in fixed font mode: Let's take a look at the last CTAN news:

- CTAN update: media9 (Sat, 02 Feb 2013 00:55:10 GMT)
- CTAN update: etoc (Sat, 02 Feb 2013 00:54:01 GMT)
- New on CTAN: uestcthesis (Wed, 30 Jan 2013 16:56:55 GMT)
- Re: cam.ctan.org upload: pageslts (Wed, 30 Jan 2013 15:53:15 GMT)
- CTAN Update: chemmacros (Wed, 30 Jan 2013 15:42:48 GMT)
- CTAN Update: babel-beta (Wed, 30 Jan 2013 08:13:36 GMT)
- CTAN Update: lastpage (Wed, 30 Jan 2013 08:12:22 GMT)
- CTAN Update: libertine (Wed, 30 Jan 2013 08:11:46 GMT)
!!/ctan 1
Psmith, the TeX bot, in fixed font mode: Let's take a look at the last CTAN news:

- CTAN update: media9 (Sat, 02 Feb 2013 00:55:10 GMT)
- CTAN update: etoc (Sat, 02 Feb 2013 00:54:01 GMT)
- New on CTAN: uestcthesis (Wed, 30 Jan 2013 16:56:55 GMT)
- Re: cam.ctan.org upload: pageslts (Wed, 30 Jan 2013 15:53:15 GMT)
- CTAN Update: chemmacros (Wed, 30 Jan 2013 15:42:48 GMT)
- CTAN Update: babel-beta (Wed, 30 Jan 2013 08:13:36 GMT)
- CTAN Update: lastpage (Wed, 30 Jan 2013 08:12:22 GMT)
- CTAN Update: libertine (Wed, 30 Jan 2013 08:11:46 GMT)
!!/ctan 1
Psmith, the TeX bot, in fixed font mode: Let's take a look at the last CTAN news:

- CTAN update: media9 (Sat, 02 Feb 2013 00:55:10 GMT)
Finally! :)
@MartinScharrer: Done. :)
Had to refresh my server. :D
 
@PauloCereda Is it possible to get synctex to work with arara? For example, in TeXworks the pdflatex tool has arguments $synctexoption and $fullname. I tried to create a similar tool for arara, but it doesn't like the synctexoption. Can it be passed as a command line option to arara rather than having to specify it in the % arara: pdflatex lines?
 
@NicolaTalbot this doesn't make sense, does it?
 
@NicolaTalbot Yes, you can! :) We mapped the SyncTeX parameter (--synctex=1). :) Just use:
 
ok, obviously does...
 
5:54 PM
% arara: pdflatex: { synctex: yes }
% arara: pdflatex: { synctex: true }
% arara: pdflatex: { synctex: on }
% arara: pdflatex: { synctex: 1 }
All of those four forms work. :)
 
btw, do you know python?
 
@NicolaTalbot ooh command line! I misread that. :(
I'm afraid it's not possible at the moment. :(
@tohecz me?
 
@tohecz That's me being too verbose :-(
 
@PauloCereda whoever
I just need someone to say that I hate that language :p
 
@NicolaTalbot: maybe I can help with the rule. :)
@tohecz Try @Brent, he's a great Pythonista. /runs
 
5:57 PM
^^ my bike ride home ... damn :-/
 
@tohecz Python's the best thing ever!
 
@Brent.Longborough ummmmm no?
 
@PauloCereda I was just trying to make the examples in my book as slim-line as possible. (Or, alternatively, it's just laziness on my part not wanting to type so much at the start of each example file.)
 
python may have some good things to consider, but language with no variable declaration and no type declaration is wrong
 
@tohecz LOL. You can do functional programming, O-O, and even "normal" programming
 
5:59 PM
@Brent.Longborough but that itself doesn't make a language good
 
@tohecz Oh, sounds like you need Java and all its bureaucracy
 
@Brent.Longborough no. I need something with high performance, that's it
 
@tohecz "Good" is very subjective.
@tohecz C
 
my typical object is array of length (up to) couple millions
 
@NicolaTalbot Ah I see. :) I think Marco suggested to provide some parameters at command line time, but then it's difficult to map to each rule each parameter belongs to, and also it breaks a little "the magic" of exploiting comments in the source code. :)
 
6:00 PM
@Brent.Longborough C++, to be more specific. The only thing I miss there is the bad memory control
 
@tohecz Oh, that's a bit challenging
 
@Brent.Longborough HASKELL!
<3
 
@Brent.Longborough yes, it is. And slow.
 
@tohecz boo!
 
@tohecz C++ I hope only for the O-O, not for the templates, which IMNSHO are an abomination
 
6:01 PM
@Brent.Longborough Full ack.
 
@PauloCereda Okay. Thanks :-)
 
@Brent.Longborough it is not so bad, if you're really keen on types, as I am
 
Got to go now. Bye!
 
Bye @Nicola
 
@NicolaTalbot Sorry for breaking the lines in your code. :)
@NicolaTalbot See ya! :)
 
6:02 PM
@tohecz For once Paulo got something right: Haskell
 
@Brent.Longborough but C++ mostly for having both C efficiency (with a good compiler) and objects
 
@tohecz Have you considered R, or is it a non-numerical application?
I've always been pretty impressed with R's performance on large arrays
 
@Brent.Longborough combinatorics, my things are integers :/
 
@Brent.Longborough It's a great suggestion indeed.
 
@tohecz I think Python's pretty good for that.
 
6:04 PM
the most impression for me is in Matlab (sorry for speaking about commertial SW)
@Brent.Longborough not really. C++ static memory access proves to be faster
 
@PauloCereda Just come back from the Apple reseller; in about a week a new 15" MacBookPro Retina will be on my desk. :)
 
@egreg Yay, congrats! :)
 
I seem to be on the wrong planet ... people being happy about MacBook and Python ...
 
@tohecz Yes. I don't know for sure, but functional programming with Haskell might be interesting for combinatorics. Though Python has list comprehensions, too, which might help.
 
@Brent.Longborough the list thing in python is what I don't like
 
6:06 PM
@tohecz The thing I really like about Python is that I can get a proof-of-concept sewn up quickly
 
but the most stupid thing is the 2d programming
 
@egreg: I'm curious to know the list of apps that goes in your brand new MB. :)
 
@Brent.Longborough yeah, I fully understand Google uses python, most of their code need not be really optimal. And the one that has to be can be written in something different
 
@PauloCereda MacTeX and little more. :)
 
@tohecz What aspect of the "list thing"?
 
6:07 PM
@egreg haha I was thinking the same! Probably Aquamacs and MacTeX. :)
 
@PauloCereda Ça va sans dire. The radio has just started "Non più andrai farfallone amoroso".
 
@Brent.Longborough how do I make a good 3*10*150000 array of small integers in python?
in C++ I would make it static => fast
 
@egreg :) I managed to stick with only opensource/free apps in my iMac, it's quite interesting to have them. :)
@egreg oooh! :)
 
@tohecz Constant or variable? Regular or irregular?
 
@Brent.Longborough variable, but constant in size
 
6:09 PM
Cherubino alla vittoria, alla gloria militar!
 
@tohecz Static?! But then you create things which will exist beyond object lifetime and they will be immune to GC.
 
kan
@Brent.Longborough Masala Dosa is one of my picks too. Sorry for the late reply... I just came out for fetching some water... Sorry!
 
@PauloCereda sorry, wrong expression. Static in the sense of "dynamically allocated, but at the initialisation, with no changes in allocation ever after"
 
@tohecz Ah sorry, I thought we were talking about scope. :) In that case, it's the better approach with no doubt. :)
 
6:11 PM
@tohecz Don't know, sorry.
 
@Brent.Longborough regular (if you mean "regular" as "rectangular")
 
@tohecz No, I meant things like sequences 0,1,2...
 
@Brent.Longborough nono, data I'll manipulate, aperiodic structures
 
@tohecz How do you initialise these structures? - in the code (x = ...), or by reading in data?
 
e.g. from this discussion it seems to me that "numerical libraries" are slower than if you make you own low-level manipulators:
2
Q: Using Python tuples as vectors

EtaoinI need to represent immutable vectors in Python ("vectors" as in linear algebra, not as in programming). The tuple seems like an obvious choice. The trouble is when I need to implement things like addition and scalar multiplication. If a and b are vectors, and c is a number, the best I can th...

@Brent.Longborough initialized all zeros usually
 
6:13 PM
Hmm, yes, C++ might be better
 
@Brent.Longborough Heavens no! :)
 
@Brent.Longborough The problem is that sage is in python :((((( (that's actually where this story begins)
 
kan
Off for some time!
See y'all later.
 
@PauloCereda Of course, I'd do it in Assembler (z/Assembler)
@kan Bye
 
@kan Cya.
@Brent.Longborough :)
 
6:16 PM
@tohecz Have you considered J or any of its successors? (J is a grandson of APL)
 
the reason why sage switched from whoknowswhat to python is the idea that "it's proved that a programmer's speed is measured in length of code he produces and this is moreorless invariant to what language you use". Therefore in python you code faster, but being high-level means that you loses optimality,
@Brent.Longborough I think I consider sage+python for now (very unhappily) because there's a lot done in sage in my research direction. But I'm unhappy about the speed of the code :(
 
@tohecz You can speed things up with e.g. Cython or f2py.
 
@TorbjørnT. cython is what quite a lot of sage code uses, but not in what I'm interested in
The thing is that in my lab, there're two sage developers, but they don't have a real background in "lowe-level" things like C or C++. And I don't have the sage/python experience to immediately start contributing
brb
back
 
@AndrewStacey Can you help me finding your explanation on this one?
3
Q: TikZ grouping expressions in calculations

tedI had to do some calculations like: \node (A) {A}; \node (b) at (x,y) {B}; ((A) + (B))*2 However I could not figure out how to group it in a calc statement, I tried ($((A)+(B))*2$) and (${(A)+(B)}*2$). How can I express this? (Currently I use ($(A)*2+(B)*2$), so I have to adjust the factor in...

 
6:37 PM
do I miss a point here?
 
@tohecz How do you mean?
 
@TorbjørnT. isn't it completely wrong? I mean from the math point
 
Should I add the answer or close this as off topic?
0
Q: MathJax - unwanted indent

Olegs JeremejevsI'm using MathJax to render formulas on my MediaWiki-powered personal wiki. I encountered a minor, but frustrating issue - an unwanted indent, when using align environment for two columns of formulas: ===== Integration ===== :Definition of the integral (not really): ::$\displaystyle \int f'(...

 
@tohecz Ah, that could be, I didn't really look at the equations.
 
@egreg I voted for off-topic, this is beyond being a TeX problem
@egreg and it's up to you, you can provide an answer, get 15 and then we close it :p
 
6:44 PM
@tohecz Voted as OT
 
@egreg and have you seen the formulas? they're completely wrong ;)
 
@tohecz Really? :)
 
@egreg try the middle one in the left column with f(x)=x^2 and a=2
 
@tohecz Yes, an f'(x) is missing. But probably it was only for the example. I hope, at least. ;-)
 
@egreg well, put df instead of dx, become a physicist and everything's ok :)
 
7:15 PM
can I detect a space using \@ifnextchar ?
 
leo
8:04 PM
what is the best package to handle databases?
and hello :-)
 
@leo Hi. :) What do you use as database? A csv file? :)
 
leo
I've found db and datatool
@PauloCereda don't know what is a csv file :-) .
I just imagined a file with a lot of columns with numbers, etc
@PauloCereda yes :-) (now I know what it is)
 
@leo So datatool it is. :)
 
leo
@PauloCereda there is pgftable or something like that, right?
 
@leo I think there is.
 
leo
8:18 PM
@PauloCereda just searched. Nothing
I don't remember what exactly his name is
hi! @cgnieder !
 
Hi @leo and everyone else!
 
@cgnieder Hi Clemens! :)
 
@cgnieder Hello
 
8:35 PM
@leo pgfplotstable
 
leo
@TorbjørnT. I see. And it comes with pgfplots, right?
 
@leo Yes.
 
@TorbjørnT. Thanks for hunting down the answer.
 
You gotta love article authors: They use PNG in their document. We send a proofreading and they reply: "The figure looks terrible, much worse than what I sent. Here's a better version" and they send a vector version...
 
9:02 PM
@percuße No problem.
 
@tohecz In a discussion about topology somebody pointed at this:
 
leo
If want something to start in a right handed page I must put \clearpage something right?
@egreg :D
lol
 
@leo \cleardoublepage
 
@leo \cleardoublepage
@leo and necessarily twoside option or {book} class, without that \cleardoublepage behaves like \clearpage
 
@leo \CLEARDOUBLEPAGE
aaah too late
:)
 
leo
9:08 PM
@tohecz ok :-)
 
@egreg I've just recently saw a video using the very same scene in context of one of Faculty of Information Technology
 
@tohecz There are many of them around. There was one very funny about fonts.
 
@egreg I would never thought that I would agree with Hitler... (this is so going to be flagged)
 
@egreg lol i pimp .. it't so hard to listen his angry about the lost war and reading about topology
 
leo
9:12 PM
I think this has been deal with before in the main site
 
@leo look for \nouppercase
 
@egreg the topology one kept some of the sensitive things, SS, Stalin, ...
 
@percuße "They kicked me out from the Art School in Vienna, I used Comic Sans MS in my portfolio". :)
2
 
@egreg Wingdings hahahahaha
 
@bloodworks I had to concentrate very hard indeed... probably a lot funnier if you don't understand what they're actually saying
 
9:22 PM
@egreg btw, I came to the conclusion that bold sans-serif CM is one of the nicest and "most friendly" typefaces :)
 
@tohecz Sabon
 
@egreg ?
 
@tohecz Did you try Sabon by Tschichold?
 
Quick question (related to my answer to tex.stackexchange.com/questions/96774/…):
 
@cgnieder do you know if there's a english version of Mein Führer? youtube.com/watch?v=j7b5msnFKpk
 
9:28 PM
@egreg looks nice, and has quite well-defined lines, could be used in presentations easily :)
 
How can I print ] in such a way that it takes up the same amount of space as )?
 
@Jake How do you want to treat it? A centered ] in the space of )?
 
@egreg: Left-aligned (so space to the right of the ])
 
@Jake \leavevmode\rlap{]}\hphantom{)}
 
@egreg Perfect! Many thanks
 
9:34 PM
@bloodworks No idea... my all time favourite surely is this one youtube.com/watch?v=G2es8HPsMA4 (in Bavarian, though)
 
@cgnieder my favorite is nnn youtube.com/watch?v=dFZAQ100mT8
 
@PauloCereda Picanha, mal passado.
2
 
@bloodworks lol, yes they're great
 
Another quick (I hope?) question:
How can I check if a counter value is divisible by some integer?
 
@PauloCereda :-) I've edited all my sample files so they include the synctex option. (I know if I don't do it people will complain that the "jump to ..." menu item in TeXworks has broken!) So now it's just the chapter on glossaries and indexing that I need to finish :-)
 
9:50 PM
@Jake Do the division, multiply back and check if the result agrees.
\@tempcnta=<number> \@tempcntb=<number> \divide\@tempcntb 17 \multiply\@tempcntb 17 \ifnum\@tempcnta=\@tempcntb divisible\else non divisible\fi
 
@Jake \pgfmathparse{Mod(\the\counter,n)} :P
 
@Jake Here's a purely expandable test:
\documentclass{article}
\makeatletter
\newcommand{\IfIsDivisible}[2]{%
  \ifnum\numexpr#1\relax=\numexpr((#1-(#2/2))/#2)*#2\relax
    \expandafter\@firstoftwo
  \else
    \expandafter\@secondoftwo
  \fi}
\makeatother

\begin{document}
\IfIsDivisible{65537}{641}{Yes}{No}

\IfIsDivisible{65536}{1024}{Yes}{No}

\IfIsDivisible{36}{6}{Yes}{No}
\end{document}
But of course @percuße's method is fancier for PGF users.
 
is there anybody with good experience with PDF conversions?
 
@egreg I think L3 has mod function no?
 
@percuße Yes. Just do \int_compare:nTF { \int_mod:nn {#1}{#2} = 0 }{Yes}{No}
 
10:00 PM
@egreg Haha, indeed. Thanks for showing me the proper way to do this, but yeah, @percusse's PGF way just looks much much friendlier to me, even though it probably takes eons longer to compile.
 
@egreg Sometimes I really dig L3 syntax, unfortunately not so often :)
 
\documentclass{article}
\usepackage{xparse}
\ExplSyntaxOn
\NewDocumentCommand{\IfIsDivisible}{mmmm}
 {
  \int_compare:nTF { \int_mod:nn {#1}{#2} = 0 }{#3}{#4}
 }
\ExplSyntaxOff
\begin{document}
\IfIsDivisible{65537}{641}{Yes}{No}

\IfIsDivisible{65536}{1024}{Yes}{No}

\IfIsDivisible{36}{6}{Yes}{No}
\end{document}
 
@Jake I prefer enjoying my LaTeX compilation comfortably with a glass of wine :)
6
 
@percuße Hehe, I can relate to that!
 
@AlanMunn Yes! With just a dish of plain farinha!
 
10:02 PM
@Jake oh just saw the comment. Thank you very much.
 
@percuße No no, thank you! I was working on an answer that had become an abomination involving node [pin={[label={[..., it was just ugly! I'm glad I didn't get to post it
 
A mixed case answer by barbarabeeton!
2
A: amsmath obsolete package – which is current?

barbara beetonamsmath is definitely not obsolete! It may have some old and unrepaired bugs, but it still has the status "maintained" and AMS has every intention of keeping it that way. Something else must have gone wrong with your update.

 
@AlanMunn You are my hero. Don't forget to poke me the next time you are in São Paulo. :)
@NicolaTalbot How nice! :)
@egreg See edit message: "reacting to egreg" :)
 
@PauloCereda That's an answer about the AMS point of view, that's why I asked her to "mixcase" it. :)
 
@egreg :)
 
10:17 PM
@Jake Do you have any idea on how to make things better on this one? I'm so keen on deleting it because it's a little too pragmatic.
6
Q: Plot functions and their point of intersection

MiaWe are plotting three functions as follows \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[enlargelimits=false] \addplot[domain=0:1,blue] {(1-x)/5}; \addplot[domain=0:1,yellow] {0.5/( 2-x)^3 * 1.0 / sqrt(16 + 14 / (2-x)^4 ) }; \addplot[domain=0:...

 
@PauloCereda :-)
 
@NicolaTalbot Now we wait for TL. :)
 
@PauloCereda :-) I'll definitely have to look at LzPack when I have time. It looks good.
 
leo
I have a comma separated list, say `{item,iitem,iiitem}`. I want to define a command `\ibaptizeyou` as:
\newcommand\ibaptizeyou[#1]{%
list=#1%
for i=1 to 3
\renewcommand\command@i{list[i]}
}
just as we do in Java
I mean, how can we deal with such list?
 
@NicolaTalbot It's a nice app indeed. :)
 
10:47 PM
@PauloCereda Nice! Thanks very much for the nice mention in the manual! Can't wait to see tlmgr install arara :)
 
@leo etoolbox has a comma-separated list parser.
 
@cgnieder It's an honour to mention you, you are one of our evangelists. :)
 
leo
@NicolaTalbot true! Thanks for point that out :-)
 
@PauloCereda You'll have to tell me the secret of getting a Java app onto TL. None of mine that are on CTAN have made it to TL (as far as I've seen). It can't be a licensing issue as they're all GPL. Maybe I haven't bundled them up in a way that TL likes.
 
@NicolaTalbot Let's see if I succeed first. :) Karl told me that the only person so far that has Java code in TL is Heiko. That's not fair with us. :)
Best part of the manual:
user image
4
<3
 
10:53 PM
@PauloCereda I didn't realise Heiko had some Java code on TL. What is it?
 
@PauloCereda :) trying my best. Which means I'll have to write a proper announcement on my blog, too
 
leo
@PauloCereda nice!
 
@cgnieder Thanks! :) Wait for TL. :)
 
leo
the index go from 0 to n or from 1 to n?
 
@NicolaTalbot I can't remember it now. It's not fair, Heiko has a thousand packages. :P
 
10:56 PM
@PauloCereda that's what I thought, too
 
leo
it doesn't matter
just realized
 
@PauloCereda ctan.org/author/oberdiek Yeah, that's a lot!
 
leo
I just get an:
C:\Documents and Settings\Leo>mpm --verbose --install=xkeyval
mpm: Package "xkeyval" is already installed.
I was about to say: mpm --nice!
 

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