« first day (652 days earlier)      last day (4281 days later) » 

12:39 AM
2
Q: BibTeX entry for author with only one name

SabreWolfyOne of several authors on a paper I need to cite has only one name. How do I format the BibTeX entry? author = {Smith, J and Jones, S and Singleton and Brown, A}

SPAM SPAM SPAM SPAM SPAM SPAM SPAM!
The answer, not the question. :)
Though I really like the janitorial job, I'm not a fan of deliberately replacing bits of TeX code by others, or providing images which are not requested. :(
 
 
3 hours later…
3:43 AM
@PauloCereda This also demonstrates a shortcoming of the "everybody can edit your posts" approach which is so much propagated on the main site. The "community" mechanisms in place for QA don't really work here. Of course the edit can be rolled back, which is more of a moderator job. But it makes no sense to downvote, because the guy who did the edit won't feel it.
 
 
5 hours later…
8:35 AM
@StephanLehmke I'd class this as very minor. The change of colour package perhaps should have been a comment but I can't think of any circumstances where adding an image is negative. Perhaps not necessary in this case, but we do have a strong "Let's have images" flavour to the site. The key, for me, is to ensure that no-one puts words in the original author's mouth. The comment with the package change crosses this line - but only just - and the image doesn't.
(In my opinion)
 
9:30 AM
Looks like MathOverflow is heading to town: meta.mathoverflow.net/discussion/1416/mathoverflow-20
 
@AndrewStacey Yes, that got mentioned yesterday. Good thing?
 
@AndrewStacey, how is the themes btw?
 
@N3buchadnezzar What themes do you mean?
 
@AndrewStacey The river!
 
@JosephWright Missed that - not always easy to keep up with chat on an iPad.
@N3buchadnezzar Oh! The Thames. Sorry, the missing capital letter meant I didn't consider it a proper noun. Have yet to sit by it and work, but I do cycle over the Cherwell every day (that I go into the department - it's a bit ... uninhabited ... at the moment so I'm not going in every day).
 
9:38 AM
Norse and proper English grammar, it is like oil and water.
 
@JosephWright Maybe we'll get a spike in users so from that respect, Good Thing. As far as MO is concerned, I'm past caring! My initial rush of enthusiasm for that site has faded considerably.
@N3buchadnezzar Unlike Norse and handball, I noticed.
 
Heh. I always thought MO was a part of SE.
 
10:23 AM
@AndrewStacey Agreed. :) I'm OK with the image (It's a visual appeal), but replacing TeX bits is tricky.
 
10:35 AM
@PauloCereda especially replacing one of my packages for a different one is clearly an act of vandalism:-)
 
@DavidCarlisle :) The secret is to put an X in all packages, so people will love: xcolor -> extreme colour. You could try xlongtable. :)
 
@PauloCereda Tricky, but not unreasonable. What I wouldn't have done is add the comment without making it clear that the comment isn't by the original author. There are packages that are clearly superseded (the various inline fraction packages spring to mind) and since people do cut-and-paste code I think that it's not wrong to replace an obsolete package by a more up to date one.
Just one should be clear about who's doing what.
 
@AndrewStacey Indeed.
 
What I really would hate to see is that no-one edits Heiko's posts purely because they are Heiko's posts.
 
@AndrewStacey "trespassers will be shot". :)
 
10:50 AM
The comment on the xcolor package is also badly placed because without looking at the history it isn't clear what it is better than - if the color package had been used in the original example then it would have made sense, But it wasn't. I've just edited the answer to make the package change silent and attribute the image.
@DavidCarlisle (or anyone else) is there a particular reason to prefer xcolor over color?
 
@AndrewStacey color has the advantage of being in the required distribution and described in the latex book. xcolor (which I haven't looked at in detail) has some additional features notably its ! syntax for mixing colours as far as I can see. So it depends what you want....
 
@PauloCereda Hopefully, we'll all end up living happily under the sign "Trespassers Will"
 
@AndrewStacey LOL
 
@DavidCarlisle Okay, so I've reverted the package change completely but left the image. If one completely supersedes the other then there's a clear case for promoting it, but without actual evidence, I'm reluctant to push one package over another.
 
11:41 AM
After answering the first of the following questions, I stumbled upon the second one, which is an earlier, very similar question by the same new user. Should we close the first question as a duplicate?
1
Q: How to edit Beamer theme CambridgeUS

Melvin PaulI have been using the beamer document class with the theme- cambridgeUS in lyx. The following code is the preamble. Now, I want to insert a hyperlink to a pdf file in all the pages by adding them in the header or the footer. The footer at present has the author, title and page number. How do I ad...

0
Q: Hyperlink button in all pages

Melvin PaulHow do I put the same hyperlink button (that opens a pdf file list.pdf) in all slides at same position (header bar or footline ) in the beamer presentation while using cambridgeUS theme? The preamble looks like this %\usecolortheme[named=Brown]{structure} \usetheme{CambridgeUS} %\usecolortheme{...

 
Talking of editing posts to improve them: @TorbjørnT. That looks much better, thanks!
 
12:31 PM
Guys, get ready! Soon we will have an interview. :)
 
@PauloCereda Looking forward to it! (Hope I asked PLK relevant questions.)
 
1:09 PM
@lockstep I think we should close this one tex.stackexchange.com/q/66904/3954 since the only answer to this one is not completely satisfactory and the other one has two working answers.
 
1:44 PM
@DavidCarlisle (Reply to your point in the interview room) At the moment, I'm not planning to write anything as I want to see if the OP comes back on my comment on their question. I suspect that this may have come up before.
 
@JosephWright oh grr one tab too many to comprehend:-) (if you know any moderators feel free to zap that comment:-)
 
@DavidCarlisle The comment will be there forever. :)
 
2:05 PM
The interview is going on here:

 TeXtalk - Interviews

Interviews for our community blog.
 
 
1 hour later…
3:29 PM
@percusse: Busy in interview with Aditya? Have some time for me?
@percusse: Good morning.
 
@MarcoDaniel: mechanicus :P
 
@PauloCereda My avatar
 
@MarcoDaniel <3
 
@PauloCereda Where did you find it?
 
@MarcoDaniel I read an answer of yours with a link to a German forum. I recognized you because of your avatar. :)
 
3:34 PM
@PauloCereda LOL
 
Why on Knuth's name my name is in italics in the interview room?
 
@JosephWright: You are the new maintaner of mathtools. What happened? Will you switch the code to real expl3?
@PauloCereda: Are you able to run make with your Mac?
 
@MarcoDaniel I am! :D
 
@PauloCereda What did you install?
 
@MarcoDaniel Xcode, then go in preferences and select command line tools. :)
 
3:42 PM
@PauloCereda I can't download xcode. XCode is only available via iTunes and therefor you need 10.7.x or newer. I am using 10.6.8
 
@MarcoDaniel I'm pretty sure you can (I had in my Snow Leopard). Maybe you need Xcode 3.x. Try logging in the developer connection website.
 
@PauloCereda I am a member.
 
@MarcoDaniel Let me find it for you.
 
@HarishKumar I have to leave. Will be back in a couple of hours.
 
Page 5, look for Xcode 3.2.6 for Snow Leopard.
 
3:48 PM
@percusse: No problem. May be in the evening (your time): i.e., after 6-7 hours. It is night here.
@percusse: bye, ciao later.
 
@PauloCereda Found it via the search function ;-)
Thanks. I will try it.
 
@MarcoDaniel Have fun. :) And also install homebrew. :)
 
@PauloCereda download time 4,1Gb -- 33min
 
@MarcoDaniel Show off. :P
Mine would take 2 hours. :D
 
@PauloCereda ;-)
Today I read that the next Olympic Games will be in Rio :-)
 
4:02 PM
@MarcoDaniel Point an antenna to the ocean. I want to steal your internet connection. :)
@MarcoDaniel Yes. :) Far from here. :P
 
4:20 PM
@MarcoDaniel Used to be on the DVD in the box
 
@JosephWright Which box? I had two dvd's, the installation one and an application one.
 
@MarcoDaniel Not clear: a lot of work, and some of this in breqn caused more issues than it solved. Plan is probably to do a proper rewrite: @BrunoLeFloch has expressed some interest
@MarcoDaniel Application one
@MarcoDaniel You had to find the tools on the DVD: don't remember the detail exactly
 
@JosephWright Thanks. I will search. First I must start Leopard ;-)
 
The interview lion for Aditya's interview. :)
 
4:58 PM
Happy Left Handers Day!
@MarcoDaniel: Xcode 3.2.6 already comes with the command line stuff, you don't need to activate it as I did with Xcode 4. :)
@MarcoDaniel:
2
Q: cmd+q combination

ARTniyetI am using WinOS at the office and MacOS at home. But I am more experienced on WinOS. While i am browsing (via firefox), I use cmd+q accidently to write "@" mark because of WinOS and keyboard habbits. So, the browser quits and i lose all what I've written. Is there a way to constrain this key co...

 
@PauloCereda Great
@PauloCereda If you solve another big problem I have you will get a bear. ;-)
 
@MarcoDaniel ooh! :P
 
5:13 PM
I am working with a wireless keyboard. I love the buttons pos1 and endto jump to the beginning of the end of a line. At the moment the buttons are jumping to the top or bottom.
 
@MarcoDaniel Maybe the keyboard layout can help. I'm not sure I understood the problem. :(
@KannappanSampath: How do you like this one?
 
@MarcoDaniel Ah! :D
 
@PauloCereda Sorry I didn't know the english button name ;-)
Curious:
noname:~ marcodaniel$ brew linkapps
Warning: /Users/marcodaniel/Applications does not exist, stopping.
Run `mkdir ~/Applications` first.
@PauloCereda: Did you know this issue?
 
@MarcoDaniel Hm curious. Did you run brew doctor?
 
5:24 PM
@PauloCereda Of course ;-)
 
@MarcoDaniel There's no way you don't have Applications. :)
 
@PauloCereda But that is not /Applications, that's ~/Applications.
@MarcoDaniel Did you give homebrew the necessary super-user permissions? Or is it trying to install everything on a per-user basis?
 
@AndrewStacey D'oh, my bad! You are right. :)
 
@AndrewStacey Good question. How can I detect it. I installed it by ruby <(curl -fsSk https://raw.github.com/mxcl/homebrew/go) and that's all. After this I ran brew doctor
 
@AndrewStacey I think when you install homebrew the way they recommend in the site, the permissions are set based on the current user.
 
5:40 PM
@PauloCereda I think I must change this file: bitbucket.org/cocoatomo/homebrew/src/b2e9e173169c/Library/…
 
@MarcoDaniel Can be. It's in the linkapps recipe.
 
5:55 PM
@PauloCereda The Lion looks awesome! Thanks for taking me seriously. :)
I am going back to work, but I wanted to remind you that I asked if I could join the editing team. :)
 
@KannappanSampath Joseph is working on it. We have a new blog infrastructure, so it might take a while until we figure out how to set up permissions. :)
"It's not just you! google.com.br looks down from here. "
OH MY, GOOGLE IS DOWN!
 
@PauloCereda Oh, thank you. Great people. I am really happy.
 
@KannappanSampath Go to tex.blogoverflow.com/wp-admin and register. Let me know, and I'll set up the permissions, but you have to have registered first.
 
@JosephWright Oh we need to login. I always forget.
 
@JosephWright I logged in. I am seeing a lot of options now. About going over to other blogs and stuff!
So, is that all, am I registered?
All I did is press an approve button.
 
6:02 PM
@KannappanSampath Account upgraded to Editor
 
@JosephWright Thank you. Thanks a lot. :)
So, we'll have to cull out the questions and answer from this TeX talk, right?
 
@KannappanSampath @PauloCereda does that, in the main
 
@JosephWright oh, in the sandbox?
 
6:32 PM
@JosephWright: perhaps you are interested in this observation, as beamer maintainer? equation alignment is wrong, when \label<slide>{name} is used.
 
@StefanKottwitz Sigh
@StefanKottwitz I'll take a look later today
 
@JosephWright I have something nice to tell to cheer you up. :)
 
@JosephWright No hurry, it's already some days old
 
@StefanKottwitz: Ulrike told me that the most recent MiKTeX releases have all TeX Live aliases, so --shell-escape will work as expected. tex.stackexchange.com/a/66996/3094 :)
 
@PauloCereda Good to know! Recent ;-) from time to time people appear with MiKTeX 2.5 ...
 
6:38 PM
@StefanKottwitz Indeed. :) Also TL2007. :P
 
6:55 PM
So, my coworker is about to give an entire presentation in the font Andalus
I suppose it is better then Comic Sans, but....*headesk*
Drat, was hoping someone would be around to help me explain why that is a bad thing
 
7:24 PM
@PauloCereda in your meta post on inteviews could you link to the edited blog version of the interviews as well as the raw chat?
 
@DavidCarlisle Sure! I'll do it right now! :)
 
Hahaha, @DavidCarlisle Sorry about that I've failed to read miserably....
 
Salutations all
 
@percusse :-)
 
7:46 PM
@DavidCarlisle: new format!
17
Q: TeXtalk interviews

Paulo Cereda Introduction As part of the celebrations of our first birthday, we decided to interview great members of our community. Since we received a very positive feedback from our beloved users, the TeXtalk became a regular event in our community blog. Our interviews are also indexed in the TUG's Int...

I need enlightment please.
2
A: Problem with package caption and command \captionsetup

Paulo CeredaThe tablename key seems not to be a valid entry for the caption setup. If you remove it, the code works. In fact, the caption manual doesn't mention tablename anywhere, only as a macro. \documentclass[11pt]{memoir} \usepackage{caption} \captionsetup[table]{ listformat=empty, ...

Both comments intrigue me. Any hints?
 
For anyone that is curious, here is my research group: See if you can spot me: chem.queensu.ca/people/faculty/Wang/people.html
 
@PauloCereda thanks,
 
@Canageek ooh third guy standing up from left to right!
 
@PauloCereda Nope, that is the guy who was considering doing his powerpoint in Comic Sans
I'm the one with my eyes closed headdesk
 
@Canageek Oh. :P
@Canageek must... control... rage... :)
 
7:52 PM
@PauloCereda He decided on Andalus. For illustration: cooltext.com/Download-Font-Andalus
 
@Canageek Dunno why, that font makes me want to punch horses.
It's slightly better than Comic Sans, but it still enrages me. :)
 
@PauloCereda That was my reaction as well..
 
@Canageek LOL
 
@PauloCereda Get this : "Sometimes I feel like I'm beatin'a dead horse, and I don't know why you'd be bringing me down"
 
@DavidCarlisle My next songbook will use it. :D
@percusse Guns and Roses!
:)
 
@PauloCereda You have been awarded with an access to your own credit card number
 
@percusse Not yet. :)
 
@PauloCereda bah, details...
 
8:16 PM
@percusse <3
 
8:28 PM
@PauloCereda It's complicated. It works so that the user who set it up can install stuff without needing sudo, but anyone can use the resulting binaries. It does this by ensuring that the admin group can write to key directories under /usr/local/ and ensuring that the user is in the group admin.
 
@AndrewStacey Ah interesting.
 
Oh
Missed the interview...
Hah Andrew can be sorry now, missing all the fun in Trondheim.
 
Hello @N3buchadnezzar
 
@StefanKottwitz Reply posted on the beamer question
 
An exception to almost all conventions on this site :)
3
Q: LaTeX font packages

FormlessCloudThere is a list of all font in packages? like, for example: \usepackage{kpfonts}

both question and answer :) and 8 votes, I just love here
It's like that chatroom where they discuss about god.
 
8:41 PM
@percusse wut wut in the butt?
 
@JosephWright Thanks! Do you think, it's a workaround possible?
 
@N3buchadnezzar What am I missing? Is it olavfestival?
 
@StefanKottwitz 'Write out the equation twice', I'm afraid
 
@AndrewStacey New students and the "Innmatikulering" tommorow.
 
8:44 PM
@N3buchadnezzar Oh good grief. And then there are all those things they do to join the various clubs.
@JosephWright Just checking ... did you get my email? (I've noticed that it seems to be the convention to announce that one is sending an email here when one does so)
 
@AndrewStacey Yes. All looks fine to me.
 
@DavidCarlisle I think using some of the answer to the Cthulhu question of mine would produce a more professional presentation.
 
Again, happy left handers day! :)
 
@AndrewStacey But, that is a weird convention, thinking like a Mathematician. (I did it once -- I am not a Mathematician (yet...).)
 
I'd give my right arm to be ambidexterious!
 
8:47 PM
@JosephWright Really? If you think any of the ... hypotheses .. are a bit on dubious ground then please say so. And if you think the last one is a bit OTT! (Though best to say so by email than by coded message here)
 
I am ambidextrous .
 
@AndrewStacey Reply coming up
 
@KannappanSampath Oh, email is great. I write a nice email, then print it out, copy it onto paper, put it in the post, and lastly tell the person here that I've sent them an email.
5
 
I'm a drummer
 
@JosephWright Thanks - but no rush. I just wanted to be sure I'd used the right email as I dug up an old address.
 
8:49 PM
@AndrewStacey :) lol.
 
You know how LaTeX really needs SVG support? Powerpoint needs it even more.
 
(You know how it is, you send someone an email. They don't reply for seconds. You think they're deliberately ignoring you.)
Got to love those error messages:
 
@AndrewStacey kinda, I get the same feeling. (but a few seconds, formally,...)
 
1
Q: latex gives me the error: Ouch---my internal constants have been clobbered

MarkusAs the title states, compiling with latex produces the error, right away: Ouch---my internal constants have been clobbered!---case 14 I have no idea what this means... I use TexLive 2012. I updated my texmf.cnf and ran fmtutil-sys and texhash. I guess texhash may have messed it up? Any ideas?

 
@AndrewStacey LOL
Best error message ever!
 
8:52 PM
Minimum Vomit Example
hahahaha, see the edit for MWE
 
@percusse LOL best MWE ever.
 
@AndrewStacey I think this one is going to need to go to the TL list: there are only a few people who will know what this means
 
@JosephWright Too late. Heiko already answered it. :P
 
@PauloCereda Ah, well he's one of those people
 
@JosephWright :)
 
9:07 PM
@PauloCereda Re links in the TeXTalk meta question: how about a link to the interviews in the TUG corner (or wherever they are)?
Oh, retract that. I just flicked back to the window and found it staring at me in the face.
Chalk that up to an "English" moment.
 
@AndrewStacey <3
:)
 
@PauloCereda Just clicked through to the TUG page. The layout of the links to the TeX-SX interviews is ... interesting. All but David's and mine are just by you (Paulo). David's is by you and others. Mine was apparently all by myself.
 
@AndrewStacey I thought of that. :) I'm thinking of writing an email to Dave Walden suggesting to only put the name of the interviewee.
 
Huh, did you know there is a latex group on Reddit?
 
@Canageek Yes, although I don't follow it
 
9:21 PM
@Canageek Yeah I know, it is a bit adult though. Too kinky for me
 
@N3buchadnezzar .....I.....what? Sorry, LaTeX
 
@Canageek Ooooohhhh... you did not mean the inky things huh ;-)
 
What do you lot think of the nag package? Is it actually useful?
 
9:45 PM
`tablename` and `figurename` are still valid preamble options for `\captionsetup`. Lines 64-68 of `caption.sty` say `\DeclareCaptionOption{figurename}{\caption@SetName{figure}{#1}}
\@onlypreamble@key{caption}{figurename}
\DeclareCaptionOption{tablename}{\caption@SetName{table}{#1}}
\@onlypreamble@key{caption}{tablename}`.
However, they no longer appear in the documentation; I wonder if Acel is thinking about removing then in favor of just table?. They still work if you don't use the optional argument of \captionsetup
 
@GonzaloMedina Really? Oh my, I'm sorry. :( Why is memoir complaining about it?
@GonzaloMedina I went with the manual, I need to learn how to read .sty files. :)
 
@PauloCereda Because, as I said before, they work if you don't use the optional argument for \captionsetup.
 
@GonzaloMedina Oh my bad. :( Can I add your remark to my answer?
 
@PauloCereda Of course, but maybe @AxelSommerfeldt can clarify things a little; it's strange that they are no longer mentioned in the documentation...
 
@GonzaloMedina Ah, so perhaps we shoud wait? I know Axel keep tracks of caption questions, then he can help.
 
9:52 PM
Arghh! I just read what I wrote before; today I am making more mistakes than usual.
@PauloCereda Yes, it seems sensible.
 
@GonzaloMedina Now I got the idea: \captionsetup without the optional argument works globally, so it makes sense to set both figure and table names via figurename and tablename respectivelly. But if we use an optional argument, say figure or table, there's no point in using tablename if we are inside a table setup.
 
:5761204 Yes, that's the idea; with an optional argument, name makes sense. However, since they are no longer in the documentation, it's best to wait and see what Axel might say.
 
10:08 PM
@GonzaloMedina I decided to update the answer, but without no mention to the documentation. I think the answer was lacking a good explanation, and you found it. Thank you. :)
9
A: Problem with package caption and command \captionsetup

Paulo CeredaEdit: Thanks to Gonzalo Medina, I think I have an explanation. :) tablename and figurename are indeed valid entries for \captionsetup, as long as you are using it without the optional argument. The idea: \captionsetup without the optional argument works globally, so it makes sense to set both fi...

 
@PauloCereda Yes, I saw the update (there is no need to mention me).
 
@GonzaloMedina Too late! :P
 
@PauloCereda It's a shame I cannot turn your answer into a bronze medal; I am out of votes for today.
 
@GonzaloMedina Don't worry. :) I'm out of votes everyday. :D
 
@PauloCereda Nice interview to Aditya, by the way.
 
10:15 PM
@GonzaloMedina Very nice indeed. :) Now I want to try ConTeXt. :P
 
@PauloCereda Every time I read his ConTeXt answers to questions that also have a LaTeX answer I feel the same way.
 
@GonzaloMedina Me too. :)
 
@DavidCarlisle is there a way to use \fontdimen to query for the value of a font parameter in, say the ttfamily, but without explicitly switching to \ttfamily? (I hope my question is clear)
 
10:32 PM
@GonzaloMedina \fontdimen2\tenrm but you need to use the csname that holds the font after latex/nfss has constructed it (easiest to find that by doing normal latex stuff then \showthe\font
@GonzaloMedina but except for a few base cm fonts it is only safe to do that after you have switched to the font somewhere as the fonts are loaded on demand as used so the fontdomens won't be known until you force load them
 
@DavidCarlisle Ah, I see; that's exactly what I needed. Thanks.
 
10:49 PM
@DavidCarlisle: coming soon a new app: Quick Utility for Analysis and ChecKing. :)
 
@PauloCereda Quit Using Abbreviations for Crazy Kwaks
 
@percusse Oh no! I've been spotted! :P
<3
 
@PauloCereda Your dog mask gave you away
 
@percusse: Good evening.
 
@HarishKumar Hi there.
Let's calibrate it's 01:00 here :)
We should also tune our guitars too.
 
11:04 PM
@percusse: Well, it is 4.32am here (so good morning). I am struck with pgfplotstable again. I tried to clean up my code for double filtering. If I use your method and try to add two new columns, it is working all well. But it adds two new columns which are already present in the csv file. Hence, I tried to modify/clean up a bit. Grand failure!.
 
@HarishKumar Can't you select the relevant ones with columns={comma sep list of col names}?
Also I've washed my hands before and after, you shouldn't clean it up :P
@HarishKumar Are you also referring to a recent pgfplotstable question by wonder when you mention double filtering?
 
Shall I paste the code here? If you feel that it may get a place in the main site, I will add it there too. I want to select those rows only with PY under the column Quota. If this is true, then in second filtering, I want to have only those with MBC under the column Caste. All without adding new columns.
@percusse: No, actually it is not cleaning up your code, but my mess. and yes, I want this to be done that way where you gave a neat answer for double filtering.
 
@HarishKumar It's actually pretty straightforward. Think of cascaded if clauses. Let me try to put an example here
 
@percusse: I think selecting columns is ok, but after filtering. Here is the code (where, I have noted the required table in the comment:
\documentclass{article}
\usepackage{pgfplotstable,xstring}
\usepackage{filecontents,etoolbox,longtable}
%
%%----------------Model table wanted-----------------------
%% Reg.No. Name Quota Caste Marks
%% 5001 kalaitchelvi S PY MBC 101
%% 5015 Vijayamurali S.V. PY MBC 102
%% 5016 Thamizharasan S PY MBC 73
%%---------------------------------------------------------
%
\begin{filecontents}{marksort.csv}
Reg.No.,Name,Quota,Caste,Gate,Gate-Marks,Spl. Category,Sponsored,Course,Marks,
 
@DavidCarlisle: Which Windows version do you use? :)
 
11:13 PM
if condition 1 is true
then check if condition 2 is true
    then we are happy get that row
    if not we are not happy remove that
condition 1 is false so we are again not happy so remove that row
 
@percusse: That is what exactly I tried to impliment in the above code. I tried with row predicate/.code={%
\pgfplotstablegetelem{#1}{Quota}\of\namespresent%
\IfStrEq{\pgfplotsretval}{PY}{%True
\pgfplotstablegetelem{#1}{Caste}\of\namespresent%
\IfStrEq{\pgfplotsretval}{MBC}{%True
\relax
}
{\pgfplotstableuserowfalse}%False
}
{\pgfplotstableuserowfalse}%False
} and it threw error. Also I tried with row predicate/.code={%
\pgfplotstableforeachcolumnelement{Quota}\of\namespresent\as\cellb{%
\IfStrEq{\cellb}{PY}{%True
 
@HarishKumar Well before anything you need brackets instead of braces after tabletypeset for options.
 
@percusse: I use it under \pgfplotstableset{....} so that I can save the data in a new .csv file.
 
@HarishKumar I think the problem is in the second loop let me paste the previous example
 
@percusse: Can you test my full code above and correct it?
@percusse: Oh. yes, That will be very kind of you.
 
11:21 PM
if condition 1 is true
then check if condition 2 is true
    then we are happy get that row
    if not we are not happy remove that
    we are happy we are not we are happy we are not we are happy
condition 1 is false so we are again not happy so remove that row
This is what your code is doing as far as I can see. So it's destined to trigger \pgfplotstableuserowfalse
So once it is in the true part of condition 1 you produce a lot of trues and falses but false stays as true doesn't overwrite.
 
@percusse: I am struggling with the logic and very slow to read it like you do. Pl. suggest how it can be corrected.
 
@HarishKumar I'm trying to stall you to save some time :)
 
@percusse: please.
 
11:37 PM
@percusse, @DavidCarlisle: github.com/cereda/quack
 
@PauloCereda QUACKEDITOR=gedit FAIL
 
@DavidCarlisle LOL
I was trying to set a trap for you. :P
 
@PauloCereda always read the source before running untrusted code from the internet. It may try to start vim
 
@DavidCarlisle Indeed. :) I added also a batch file for Windows. :)
 
@PauloCereda windows people should all have cygwin and use bash
 
11:41 PM
@DavidCarlisle I share your opinion. :)
 
@percusse: Which line of code is responsible for : we are happy we are not we are happy we are not we are happy? I think I am not reading the code as computer does.
 
Where'a @MarcoDaniel? He'll love the quack command line tool. :P
 
@HarishKumar Suppose your entry qualifies with PY but not qualifies with MBC, then it will set the userowfalse but maybe the one after that would satisfy MBC too but it's too late since you have set it.
I can't even get the code compile let alone the true-false correction.
 
@percusse: I think I am somewhat old for these conditions and way of thinking. Still going above my head.
The code does not compile for me either.
 
@PauloCereda win7 64 on this machine
 
11:49 PM
@HarishKumar I think you have mixed my create col code with row predicate code. That's probably the problem.
Not all macros are available to us in every code in pgfplotstable.
 
@percusse: Hehe, The first one with \pgfplotstableforeachcolumnelement.. yes. I doubted it. But the second one is not. Unfortunately that is also giving trouble.
The second one with \pgfplotstablegetelem{#1}...
 
@HarishKumar Actually, it works but only gives errors about longtable
so I might connect you to my colleague :)
 
@percusse: @DavidCarlisle? Then some thing is wrong with longtable?
 
I'm not sure. Let me check before we invoke the secret power of him.
 
2
Q: How can one comment on a TeXtalk interview?

barbara beetonunfortunately, i was not available while the interview with Aditya was happening, and i would like to comment on one point that he made: "I think that there are a very few journal who will accept packages written with the breqn package, for example" is there a comment mechanism that will allo...

 

« first day (652 days earlier)      last day (4281 days later) »