« first day (898 days earlier)      last day (4025 days later) » 

12:00 AM
@Bugbusters \rlap makes a zero width box with its contents sticking out on the right. So the formula inside doesn't take space as far as the alignment is concerned.
It's (almost) the same as \makebox[0pt][l]{...}; the difference is that \rlap doesn't start horizontal mode if found in vertical mode.
 
@egreg Why do we only need \rlap for the first and the last row of Right Hand Side?
 
@Bugbusters Because, apparently, you want that the third column position is determined by the -3x^2
 
!!/battle
@PauloCereda Psmith, the TeX bot: The current score is egreg 0 vs. 0 David. So far, nobody is winning today.
ooh let the new battle begin!
 
@PauloCereda Well, I'm going to bed. Not going to fight now. :)
 
@egreg Buonanotte! :)
 
12:10 AM
@DavidCarlisle Got it Thanks :)
 
!!/battle
 
@DavidCarlisle Psmith, the TeX bot: The current score is egreg 0 vs. 0 David. So far, nobody is winning today.
 
@texenthusiast Do you want to read x y table from that file?
 
!!/battle
 
@percusse yes and typeset in table
 
12:17 AM
@PauloCereda Psmith, the TeX bot: The current score is egreg 0 vs. 50 David. So far, David is winning.
@DavidCarlisle: ^^
 
@PauloCereda was that you voting:-)
 
@DavidCarlisle As I always do. :)
But I will upvote egreg's answers too. :)
 
@percusse i am loving pgf, thanks to you :)
 
@PauloCereda not down?
 
@texenthusiast Glad if I can be of help. Do you really need to read the headers though? You can just ignore the lines with # lines.
 
12:21 AM
@DavidCarlisle Nope. :)
!!/battle
@PauloCereda Psmith, the TeX bot: The current score is egreg 20 vs. 60 David. So far, David is winning.
ooh it's getting interesting. :)
 
@percusse not really but it will help to give column names in table typesetting. for the first set i can ignore # how to i tell for the second batch. After typesetting it should look like wait a min
 
!!/battle
@PauloCereda Psmith, the TeX bot: The current score is egreg 50 vs. 60 David. So far, David is winning.
@DavidCarlisle: ooh close call. ^^
 
@PauloCereda but fair I think, meanwhile I'm wondering if it's worth racing @percusse on @texenthusiast's pgfplots question...
 
@DavidCarlisle Release the picture mode dragon please :)
I don't think I have an answer without chopping the table into pieces
 
@percusse I possibly do but I might just go to bed instead:-)
 
12:37 AM
@DavidCarlisle Yay, I have hope then. Sleep tight while I hack into it :)
 
1:00 AM
@texenthusiast Do you know how many rows do you have beforehand or is there any significant marker (index going back to zero in the first column etc.) or only the blank line is the indicator? Also do you want three tables or just one with more columns?
 
@percusse sorry , you can notice the "Curve 1 of 3" or blank line is also a hint for us. i need 6 columns
 
@texenthusiast Do you know the row number of each group beforehand?
Then you can chop off that many chunks at each read and combine tables
 
@percusse yes , set samples 91 tells that how many points are there in each set.
 
@texenthusiast So we need to parse the comments then. Hmm.
 
@percusse this is table is good compared to earlier one. vvv
@percusse yes foreach header we can read the data and store in macro
 
1:14 AM
@texenthusiast It's actually much easier to populate the table using the functions themselves but it's not an option right?
@texenthusiast Well actually I can't :) Or maybe I can but it's gonna be messy
 
@texenthusiast are you allowed to use perl to re-arrange the data or does that make it too easy?
 
Capitalization is really important. :)
2
 
@DavidCarlisle yes, but its should work on windows and linux thats all, but i was looking pgf can do it
 
@texenthusiast cygwin?
 
@DavidCarlisle No, sorry :), but i can upvote
 
1:19 AM
@texenthusiast you could do it in plain tex but not at 2 in the morning (actually I can't do perl at this time sorry back to plan a: bedtime:-)
!!/battle
 
@PauloCereda Is PSTricks explained thoroughly in this book?
 
!!/battle
@DavidCarlisle Psmith, the TeX bot: The current score is egreg 50 vs. 60 David. So far, David is winning.
 
night all:-)
 
@DavidCarlisle Good night thanks
 
@DavidCarlisle Good night David! :)
@Bugbusters I don't think so. :)
 
1:20 AM
@DavidCarlisle: How long do you take for sleeping a day?
@PauloCereda :-)
 
@DavidCarlisle Good night
 
1:36 AM
!!/fortune
@PauloCereda Psmith, the TeX bot: Here is your fortune: A cynic is only a frustrated optimist.
 
@texenthusiast I didn't convert it to a longtable but do you think this can fly?
\documentclass{article}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.8}

\pgfplotstablenew[
create on use/x/.style={create col/set list={0,1,...,90}},
create on use/sinx/.style={create col/expr={{sin(\thisrow{x})}}},
create on use/cosx/.style={create col/expr={{cos(\thisrow{x})}}},
create on use/tanx/.style={create col/expr={{tan(\thisrow{x})}}},
columns={x,sinx,cosx,tanx},
]{91}{\mytable}

\begin{document}

\pgfplotstabletypeset[
columns/x/.style={column name=$x$},
columns/sinx/.style={column name=$\sin(x)$},
 
@percusse are the values generated using pgfmath
 
@Bugbusters Hangover
@texenthusiast Yes the number formatting can be changed etc.
for more precision for example
 
@percusse can i use myfile.dat here
 
1:50 AM
@percusse nice argument.
 
@texenthusiast You can in theory. But you have to read it a few times to get each part. (Or that's the only thing comes to mind at this hour :P ) But reading the comment line and parsing it is something I can't get my head around.
 
@percusse yes its good approach, but i have many table files , i was wondering whether it is a feature request for pgftable
 
@texenthusiast Do you have to vertcat all tables? Maybe exporting them one by one ?
Then it's really piece of cake.
I'm talking big words again :)
 
@percusse you mean all tables in one file vertically arranged
 
@texenthusiast One for sin one for tan etc.
 
1:56 AM
@percusse its good idea :), i will think on it.
@percusse in that case eliminate the headers while reading then we are done right ?
 
@texenthusiast Yes.
 
@percusse any idea how datatool does this
 
@texenthusiast If the functions are not realllllly complicated then I would suggest the create on the fly approach as above. You can make the numbers appear to the 6th significant digit. FPU library is pretty powerful
@texenthusiast Not really. I don't know even if it can do it.
 
@percusse unfortunately my functions are not that simple, hence i had to bank on gnuplot.
@percusse Anyway i will read on pgftable based on your suggestions, thanks a lot.
 
@texenthusiast No problem. Good luck.
back to my arch nemesis matlab nonsense.
 
2:03 AM
@percusse thanks a lot , at first i was thinking pgfplotstable as stable version of pgfplots , later i got the good news its pgftable
@percusse i will take food and be back in few min
 
 
7 hours later…
8:55 AM
@texenthusiast It's quite a strange reversal isn't it though to get table data out of gnuplot, normally you are passing table data in to it to be plotted (hence the name:-)
 
 
1 hour later…
10:06 AM
can be closed TL (OP comment) tex.stackexchange.com/questions/108830/…
 
10:25 AM
@DavidCarlisle Done
 
10:44 AM
Hi everyone
 
11:06 AM
I voted to reopen this question: tex.stackexchange.com/questions/18326/latex-math-jokes -- In my opinion the answers are providing a lot of information.
 
11:27 AM
@DavidCarlisle: The % in the following is not needed, right?
$\!%
\begin{aligned}
ax^2+bx+c\\
{}+mx+c
	&= ax^2+(b+m)x+c\\
	&= \!%
		 \begin{aligned}[t]
			ax^2+bx+c\\
			{}+mx+c
		 \end{aligned}\\
	&= 0
\end{aligned}
$
 
@Bugbusters I am not David, but no.
 
@MarcoDaniel Why?
 
@Bugbusters because spaces are ignored in math mode
@Bugbusters If you are putting it in a definition the % would save you a byte which was important once but probably not now.
 
@DavidCarlisle OK. But Daniel said it is not right. :D
 
@Bugbusters double negation. My mistake. I meant you don't need a %
 
11:37 AM
@MarcoDaniel OK. Thank you for David and Daniel.
 
@Bugbusters If you want to save bytes you'd put % after aligned} after \\ and [t] as well oh and c and not put a space after the =
$\!%
\begin{aligned}%
ax^2+bx+c\\%
{}+mx+c%
	&=ax^2+(b+m)x+c\\%
	&=\!%
		 \begin{aligned}[t]%
			ax^2+bx+c\\%
			{}+mx+c%
		 \end{aligned}\\%
	&=0%
\end{aligned}%
$
 
@DavidCarlisle But the % characters will contribute additional bytes?
Is the following alignment commonly used by mathematicians?
\documentclass[preview,border=12pt]{standalone}
\usepackage{amsmath}
\begin{document}
	$\!
	\begin{aligned}[t]
		-2(2x+3y)(x-2y)\\
		{}-x(x+2)-y^2
			&= \!
				 \begin{aligned}[t]
					-2(2x^2 -4xy +3xy -6y^2)\\
					{}-x^2 -2x -y^2
				 \end{aligned}\\
		 &= \!
				\begin{aligned}[t]
					-2(2x^2 -xy -6y^2)\\
					{}-x^2 -2x -y^2
				\end{aligned}\\
		&= \!
			 \begin{aligned}[t]
					-4x^2 +2xy +12y^2\\
				  {}-x^2 -2x -y^2
			 \end{aligned}\\
		&= -5x^2 -2x +11y^2 +2xy
	\end{aligned}
	$
\end{document}
Any suggestion is welcome!
Note: I have narrow columns so breaking cannot be avoided.
Do you have any suggestion to make it look better?
 
11:57 AM
@Bugbusters No they are recognised as comments and discarded along with the rest of the line while teh file is being scanned so the definition never holds the comment
 
@DavidCarlisle

How can I use the previous value, stored in a variable? I wanted \text to contain '11'. But Latex quits with error: ! TeX capacity exceeded, sorry [main memory size=3000000].

\ExplSyntaxOn

\tl_new:N \_text
\tl_set:Nn \text {1}
\tl_set:Nn \text {1\text}

\text
\ExplSyntaxOff
 
@Bugbusters why using inline math for a display?
 
@DavidCarlisle Because it must be in the \item of enumerations.
 
@user4035 \tl_set:Nn \text {1\text} is \def\text{1\text} so it's an infinite loop so you want \edef or \tl_set:Nx as long as you are in a context where edef is safe
 
ok
 
12:00 PM
@Bugbusters and?
 
@DavidCarlisle the enumeration in a two column page.
 
@Bugbusters yes but why use inline math?
 
@DavidCarlisle If I use display, then I have to put some texts before the math to make it more beuautiful. Inlined maths are used if \item is followed by math without texts.
 
@user4035 also you have not been consistent in the token name \l_text or \text
@Bugbusters You don't have_ to you could just use align and fix enumerate so it works \mbox{} and some -ve space should be enough/
@user4035 although I'm sure the tl module will have an existing command to append tokens to the end like \g@addto@macro in latex2e
 
\documentclass[twocolumn,10pt]{article}
\usepackage[a4paper,margin=5mm]{geometry}
\usepackage{amsmath}
\begin{document}
\begin{enumerate}
	\item
	%$\!%
	\begin{align*}%[t]
		-2(2x+3y)(x-2y)\\
		{}-x(x+2)-y^2
			&= \!
				 \begin{aligned}[t]
					-2(2x^2 -4xy +3xy -6y^2)\\
					{}-x^2 -2x -y^2
				 \end{aligned}\\
		 &= \!
				\begin{aligned}[t]
					-2(2x^2 -xy -6y^2)\\
					{}-x^2 -2x -y^2
				\end{aligned}\\
		&= \!
			 \begin{aligned}[t]
					-4x^2 +2xy +12y^2\\
				  {}-x^2 -2x -y^2
			 \end{aligned}\\
@DavidCarlisle: With align*, there is a blank vertical space if I have no text preceding the math.
 
12:21 PM
@Bugbusters yes as I say that can be corrected though (you see the same at start of theorems) better I think to fix that with -ve space than to change the entire markup to mi-use inline math
 
 
2 hours later…
2:50 PM
@user4035 I did warn you:-) see the last 4 words of:
3 hours ago, by David Carlisle
@user4035 \tl_set:Nn \text {1\text} is \def\text{1\text} so it's an infinite loop so you want \edef or \tl_set:Nx as long as you are in a context where edef is safe
 
3:23 PM
HELP!!!!!!
for \textit{k} = \textit{n} + 1, ..., \textit{m} where
 
@tohecz \let\document\stop
4
 
@DavidCarlisle H$_\mathrm{A}$: $\mu_{\mathrm{AD}}$ $\neq$ $\mu_{\mathrm{CN}}$.
 
@MarcoDaniel: Do you have idea to allow page breaking for the following code?
\documentclass[10pt]{article}
\usepackage[a6paper,vmargin=15mm,hmargin=5mm]{geometry}
\usepackage{mathtools}

\usepackage{tcolorbox}
\newcounter{exercise}[subsection]
\makeatletter
\@addtoreset{exercise}{section}
\makeatother

\renewcommand{\theexercise}{%
	\ifnum\value{subsection}>0\relax
		\thesubsection
	\else
		\thesection
	\fi
	.\arabic{exercise}%
}

\newenvironment{exercise}
{\par\smallskip\refstepcounter{exercise}
\begin{tcolorbox}[title=Exercise \theexercise]\ignorespaces}
{\end{tcolorbox}\par\smallskip\ignorespacesafterend}
 
@Bugbusters You have to load \tcbuselibrary{breakable} and the box needs the option breakable
 
@MarcoDaniel OK. I am loading...
@MarcoDaniel: Done. Thanks.
 
kan
4:12 PM
@DavidCarlisle Would you happen to know a word that describes a positive outcome of something that is perhaps not very good for sb or sth, eg. war?
 
@DavidCarlisle: suddenly, you appeared in my new smartphone!
 
@Bugbusters Why do you use \par\smallskip\ignorespacesafterend there are options: before and after
 
@MarcoDaniel because I have not read the documentation thoroughly. :-)
 
@Bugbusters I didn't read it too ;-) -- I saw the code ;-)
 
@PauloCereda ?
 
4:18 PM
@DavidCarlisle Google+?
 
@DavidCarlisle You are there in my contacts! :)
 
kan
@MarcoDaniel Join @David's club, where reading the documentation is considered illegal. :)
 
Suddenly, a £1k bill for calling to UK. :)
 
@kan not sure depends on context really
 
@kan LOL
 
4:19 PM
\let\stop\stahp
Well, the opposite.
 
kan
@DavidCarlisle Let's say: I want to say that optimisation emerged as a mathematical discipline in the war time.
 
I think the HD has died in my laptop :-(
 
@JosephWright Oh no!
 
@PauloCereda Quite
 
@JosephWright You appeared in my phone too, by the way. :)
 
kan
4:22 PM
Like "Linear Programming is a <some-word-I-cannot-guess>: it emerged as a mathematical model for blah-blah... @David...
 
There's a big duck in my screen.
@Joseph: there are backups on the time machine, I believe. :)
 
@PauloCereda Yes, of some of the stuff (almost all of it, in fact)
 
@JosephWright Phew.
 
@kan I'd say that:-) (but then I'm a mathematician not a poet)
 
kan
@DavidCarlisle See! I wanted to learn some English and you disappoint me! OK.
Let me write my talk instead of doing this, then. :)
 
4:27 PM
@kan Don't learn English (especially English grammar) from an Englishman, we have no idea.
 
kan
@DavidCarlisle I am sure. :)
My desk is always cluttered. Perhaps, I should frame that image and put it up on my room... /still looking at the screen instead of writing my talk.
 
I'm serial voted for 115 points :-)
 
@percusse Oh no!
 
5:04 PM
Damn, after a 3-day aritcle-writing marathon, I should get a bit of rest and not work until 7pm ;)
 
5:18 PM
@PauloCereda Thanks for the F&S recordings. :)
 
@AlanMunn My pleasure. :) Hope you like them. :)
 
@PauloCereda I do indeed. What's interesting is there are tracks on both the Drop of the Hat albums that I don't know, which means the versions of those albums that I listened to on LPs as a kid must be different from the ones you have.
 
I am currently in the German speaking part of Switzerland - and I don't understand anything. Really strange.
 
@AlanMunn Cool! :)
 
5:35 PM
Phew - just upgraded to Ubuntu 12.10 - I felt in user interface hell until just now when I discovered you can install something called XFCE ;-)
 
@topskip But people are willing/able to switch to standard German when you speak to them, though?
 
@AlanMunn some do, some don't, some switch to English :)
Watching local tv (discussions) is hard for me. I know what it is about, but I can't tell what the people said.
 
@topskip Wow. Yes, I've watched some Swiss TV on YouTube and it's completely ununderstandable to me whereas German is partially ununderstandable. :)
 
5:49 PM
/me is taking a bath now :)
 
6:06 PM
@StephanLehmke You can also install Gnome 3, Gnome classic, KDE, LXDE, Mate and Cinnamon ;)
 
@topskip Be careful not to plunge the tablet in the water.
 
@Silex Probably, but all the Gnomes looked like some apalling mutation between Unity and the Gnome I used to know, and KDE is not so simple to install I believe (isn't that a dedicated distribution called Kubuntu?)
 
@topskip Wer hat's erfunden?
 
Mind you, my configuration skill is at its end when I right-click on something and no menu pops up ;-)
 
@topskip Why, your German is at fault.
 
6:10 PM
I didn't even know the others were window managers also...
 
@StephanLehmke Installing KDE might be a bit more complex than that. I believe Mate is quite easy to install and it's probably the most like 'old gnome'. They also have installations instructions for the latest Ubuntu versions. Links: Picture, Installation instructions
 
@Silex Well TBH there's nothing I hate more than this kind of installation/configuration exercise (for instance, the desktop in the picture doesn't look like what I want to see at all), so unless I discover some show stopper I'm not going to look back from XFCE.
 
@StephanLehmke ooh a fellow XFCE user!
 
@PauloCereda Ah good news, so it can't be total crap ;-)
 
@StephanLehmke It's not that good (I prefer Gnome 3 or KDE), but it's great for low specs hardware or users that don't like fancy stuff in other window environment. :)
My thebes machine has XFCE. :)
 
6:24 PM
@StephanLehmke Heh, it most certainly isn't.
@PauloCereda Have you ever tried LXDE?
 
@AlanMunn: out of curiosity, do you know a popular catchphrase in Portuguese, "Não é uma Brastemp, mas..."
@Silex When installing Fedora on thebes, I thought of trying LXDE, but when I saw some screenshots, they all looked like Windows, so I gave up. Is it good?
 
@egreg Never my fault :)
 
@topskip You didn't plunge the tablet in the water, I see.
 
No tablet, MacBook. It never ever gets close to water, not even coffee.
I don't know what I would do without it.
 
I got downvoted for this answer, just after I showed the OP a couple of examples why his idea is bad. :( tex.stackexchange.com/a/109056/4427
 
6:33 PM
@PauloCereda Its ok. But fvwm ought to be enough for anybody.
 
@PauloCereda Nope. O que é uma Brastemp?
 
@topskip Probably I should just open emacs in full screen mode and never leave it, then the window manager doesn't matter.
 
6:48 PM
@AlanMunn An email later on. :)
 
7:20 PM
!!/battle
 
7:32 PM
@DavidCarlisle you're an XML expert, I've heard. Do you by chance know where it is documented what happens in the case of an XPath (2.0) comparison of an non-existing attribute to a value? For example: @doesnotexist = 'hello'
It seems to evaluate to false (in $xpathinterpreter in OxygenXML)
 
it's false because @doesnotexist returns the sequence of attributes matching that name and = is existential quantified so is true if some item in the sequence equals hello which is false if the sequence is empty
@topskip oh where, it's in the xpath spec:-)
 
OK, that makes sense. So accessing @doesnotexist is not an error, just an empty set.
 
@topskip exactly
 
@DavidCarlisle funny, David :)
... I've been looking around that document for a few minutes now (but I am tired)
thx
 
@topskip = on a sequence is 3.5.2 (general comparisons) and @ on an attribute will be...
 
7:43 PM
@DavidCarlisle I've seen that section, but I am still unable to decode everything that is written there. I need to spend more time on that document. Thanks again!
 
@topskip ... 3.2 path expression ...If every evaluation of E2 returns a (possibly empty) sequence of nodes,
@topskip yes it helps if you have used xpath every day at work since 1998 before v1 came out:-)
 
@DavidCarlisle I have used dissssssl once, does that count? ;-)
 
@topskip xpath 1 is a much smaller document and simpler read (But James Clark's style is to hide some detail) xpath 2 is more formal and an order of magnitude longer but if you know xpath 1 xpath2 is the same but with extra bits:-)
 
@DavidCarlisle Perhaps I should read Michael Kay's book once again, I've found it much easier to read than the spec.
 
@topskip yes it's a good book (I proof read the first couple of edns for wrox:-)
 
8:08 PM
@DavidCarlisle
I tried to put the tikz \node to variable, but compiler hangs with message: '[Loading MPS to PDF converter (version 2006.09.02).]'

\documentclass{article}
\usepackage{expl3}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\makeatletter
\ExplSyntaxOn
   \tl_new:N \__text
   \protected@edef \__text {\node[draw] (1) {111};}
\ExplSyntaxOff
\makeatletter
\end{tikzpicture}
\end{document}

What's wrong?
 
@user4035 \makeatletter inside the document body?!
 
@user4035 I doubt very much if tikz code is designed to be used in an edef. you want to append to the macro without expanding anything, \g@addto@macro or its l3 equivalent
 
oh, gosh
is it possible to expand __text?
 
@user4035 you just want \g@addto@macro\l_text{\node....} or the l3 name of \g@addto@macro (which I'd need to look up)
 
8:13 PM
@DominicMichaelis hi
 
@DavidCarlisle \tl_put_right:Nn
 
@user4035\tl_put_right:Nn\l_text{\
@egreg hey I'd just looked that up:-)
 
@DavidCarlisle @egreg

I tried this:

\begin{tikzpicture}
\ExplSyntaxOn
   \tl_new:N \__text
   \tl_set:Nn \__text {1}
   \tl_put_right:Nn \__text{\node[draw] (1) {\__text};}

   \__text
\ExplSyntaxOff
\end{tikzpicture}

Gives an error:
! Undefined control sequence.
\__text ->1\node
                 [draw](1){\__text };
 
@user4035 It's difficult to understand what you're trying to achieve.
 
@egreg maybe you like this one
 
8:21 PM
@egreg I am trying to print a square with text '1'
 
@user4035 That's not a full example (and chat isn't the best place for code) but I'm not sure: if tikzpicture reads its body as a macro you can't do catcode changes like \ExplSyntaxOn in any case tikz code probably needs spaces, make up a full example and ask on site is probably best
 
@DominicMichaelis Some of the examples are nice. Thanks
 
I love the one with exotic spheres, and for sure martins answer
 
@DavidCarlisle So, it's impossible to combine expl3 & tikz?
 
@user4035 of course it's possible but putting things in an \edef is never safe.
 
8:31 PM
@DavidCarlisle This works, printing a node with text '1'

\documentclass{article}
\usepackage{expl3}
\usepackage{tikz}
\makeatletter
\ExplSyntaxOn
\tl_new:N \text
\tl_set:Nn \text {1}
\tl_set:Nn \text {\node[draw] (1) {1};}
\ExplSyntaxOff
\makeatother
\begin{document}
\begin{tikzpicture}
\ExplSyntaxOn
\text
\ExplSyntaxOff
\end{tikzpicture}
\end{document}
 
@user4035 You probably want this:
\documentclass{article}
\usepackage{tikz,xparse}
\begin{document}
\begin{tikzpicture}
\ExplSyntaxOn
   \tl_new:N \l__text_tl
   \tl_set:Nn \l__text_tl {1}
   \tl_put_right:Nx \l__text_tl {\exp_not:n {\node[draw] (1)} {\l__text_tl};}
   \l__text_tl
\ExplSyntaxOff
\end{tikzpicture}
\end{document}
But I still can't understand what you're trying to do.
 
@egreg This one doesn't work, because \node is undefined outside of tikzpicture enviroment:

\documentclass{article}
\usepackage{expl3}
\usepackage{tikz}
\makeatletter
\ExplSyntaxOn
\tl_new:N \text
\tl_set:Nn \text {2}
\protected@edef \text {\node[draw] (1) {\text};}
\ExplSyntaxOff
\makeatother
\begin{document}
\begin{tikzpicture}
\ExplSyntaxOn
\text
\ExplSyntaxOff
\end{tikzpicture}
\end{document}

Is it possible to overcome it?
@egreg trying your code
 
@user4035 You seem reluctant to use the question and answer site for asking questions.
 
I asked 2 already today. Sorry. Will ask if you insist.
 
@user4035 Sorry, but this means nothing. What you want is expanding \text not expanding \node. Thus the \exp_not:n trick will do. Please, try using proper names for your variables: \text is surely not a good choice.
 
8:36 PM
@egreg your code doesn't work
 
@user4035 Sure it does: I get no error and a framed 1.
 
@egreg yes, that's the problem
 
@user4035 I don't insist but the interface here is just rubbish for code and rubbish for formatting long questions. Really you need to provide examples of a working tikz construct and then ask how to generate it in l3. Without the working tikz example it's really hard to help if you don't know tikz (or even if you do)
 
@egreg sorry, worked now, my bad
@DavidCarlisle I provide very small snippets. The point was combining expl3 with macro expansion and tikz nodes. Not a tikz picture generation. egreg understood
 
@user4035 The fact that @egreg understood doesn't mean the question was well formulated. We've both been doing this for a long time (half a century or more between us:-) and sometimes get lucky and provide the right answer in the absence of any information.
 
8:45 PM
@user4035 I doubt I understood. ;-)
 
@DavidCarlisle Still, I think, this chat has a benefit: almost instant feedback. If not your little snippets yesterday about clists, I wouldn't have learned expl3 so quickly. And wouldn't be able to answer my question: tex.stackexchange.com/questions/107927/…
 
@user4035 within reason, but using the chat to get instant feedback is really abusing the system, if everyone did that the whole thing would break down with no structure and no really traceable record of the answers so it's less useful in general. The whole point of a forum is that you don't expect instant answer and people answer when they have time or when the timezone means they are awake or whatever.
 
@DavidCarlisle Understood. Chat is also good for education, if used reasonably.
 
@user4035 No harm done (except you pushed me into writing L3 code which I honestly haven't done in a loooong time)
 
9:02 PM
@DavidCarlisle <3
 
9:52 PM
@texenthusiast I thought from the name of the package it was going to plot something, was a bit disappointed when I coded it all up and it just made a longtable :-)
 
@DavidCarlisle Thanks for your insight. precision sci options does , but i don't know they might work in a macro
 
@texenthusiast you asked a question about formatting, I don't know (I could look I suppose) the optional argument to pgfplotstabletypeset is at the bottom of the answr and that takes lots of keys as is the pgf way. But unless I am missing something it would be simpler just to have built something longtable/siunitx directly (I thought the bit of the doc I looked at said the table could be read from file or macro but other feature the same?)
 
@DavidCarlisle i am too new to pgfplotstable. typesetting precision is not priority rather number of points and num of data sets is imp for me
@DavidCarlisle can we make those two as variables soft coded using data read via file.dat
 
@texenthusiast sci,precision=5]{\mytable} has some affect, whether it's what you wanted I can't be sure:-) Number of columns and points should work, read from the input file.
@texenthusiast you mean 3 columns and 91 points in the example? they are read from the file
 
Did Flavius Josephus write in English?
2
Q: Textual source has two digit year

user2287214I'm working on a project that includes citations from the first century (0-99 CE) and I am using a TeX project to compile the information. I have set up my environment to use xelatex as my compiler and biblatex with biber as a backend for my citations. Every time I try to compile the bibliography...

 
10:06 PM
@DavidCarlisle if i have more data points like 991 points (instead of 91 in Q )and 6 data sets (instead of 3 in Q) ? it's not working for 991points and 6 sets
 
@texenthusiast not working as in doing the wrong thing or running out of memory or...
 
@DavidCarlisle sorry sorry :) wait a sec
 
@egreg Yes. It says so in the bib file.
 
@DavidCarlisle precision is fine, working on higher data points , wait a sec
 
@texenthusiast well I could change 90 to 900 in plot [0:90] sin(x) cos(x) tan(x); I assume
 
10:14 PM
@DavidCarlisle set samples 991 and trivial dataset plot [0:90] sin(x),cos(x),tan(x),sin(x),cos(x),tan(x);
 
@texenthusiast oh well yes I didn't record the first column as it was the integers, so I just reconstructed that at the end I suppose you want them preserving....
 
@DavidCarlisle with 991 points, datasets =6, error is `! Undefined control sequence.
<argument> \my-1-91` and `! Package PGF Math Error: Could not parse input '' as a floating point number,` at same line showing `\tmp`
 
@texenthusiast yes it was expecting the first col to be 0 1 2 3 and it isn't :-)
@texenthusiast I suppose you want me to fix it.
 
@DavidCarlisle Yes, that was the error, if possible you can change the answer to adapt for variable data points and datasets :)
 
@texenthusiast yes not immediately though, need to remember what I did:-)
 
10:20 PM
@DavidCarlisle no hurry take your time :)
 
@DavidCarlisle Ah, right! ;-)
 
18°C tonight. It's getting cold!
 
is there a concise one liner to understand what they do and differ tex pgf mp postscript ?
 
@PauloCereda It was over 11°C today. It's getting warm.
 
@texenthusiast no
 
10:30 PM
@TorbjørnT. :)
 
@texenthusiast try now
@texenthusiast tex typesets documents, pgf is a graphics language written in TeX, metapost is a graphics language written in web (pascal) based on metafont but producing postscript rather than fonts and postscript is postscript.
6
 
10:45 PM
@DavidCarlisle it works now only with table aligned right , so i would be changing \pgfplotstabletypeset and \begin{longtable} to set custom options right?.
 
@texenthusiast I guess so:-)
 
@DavidCarlisle ^^^ is this because of too many columns or pagesize should be set ?
 
@texenthusiast yes it's just too wide \small perhaps before the table?
 
11:02 PM
!!/battle
@PauloCereda Psmith, the TeX bot: The current score is egreg 465 vs. 320 David. So far, egreg is winning.
 
@PauloCereda with bounties for spotting a % missing :(
 
@DavidCarlisle Oh!
 
@percusse Sadly, linguistics doesn't answer all questions.
 
@AlanMunn Hi Alan! :) Brastemp email sent. :)
 
@DavidCarlisle Envy.
 
11:13 PM
@egreg :-)
 
!!/eightball Is David envious?
@PauloCereda Psmith, the TeX bot: The great 8-ball says: better not tell you now.
 
@DavidCarlisle could you tell me where exactly ?
 
@AlanMunn That sounds paradoxical.
 
@texenthusiast well anywhere really eg just before the \tmp at the end
 
@DavidCarlisle thanks, it works now, i thought inside \xdef near begin table \small
@DavidCarlisle is longtable used for logarithmic tables book.
 
11:39 PM
@PauloCereda I blame arara: tex.stackexchange.com/questions/109140/…
 
@DavidCarlisle LOL
It's the first answer of yours using arara! :)
First L3, then arara. What's next, YAML? :)
 
@PauloCereda I didn't use arara though it's in the OP's MWE;-)
 
@DavidCarlisle I know. :) But you could have it removed from your answer, and you didn't do it. :)
 
@PauloCereda to difficult removing stuff, I never got the hang of this editor I'm using.
 
@DavidCarlisle echo $EDITOR
 
11:43 PM
@PauloCereda My shell answers nano.
 
@egreg ooh! :) Let's wait for David's. :)
 
@PauloCereda Carefully crafted .bashrc after some disadventures in vi-land.
 
@egreg Ah. :)
The secret is setting gvim with -f. :)
In other news, TL2013 will come with Lua 5.2.
 
@PauloCereda No Gnome here.
 
@egreg We have MacVim. :)
 
11:47 PM
@PauloCereda Yes, all the scripts are broken. :(
@PauloCereda You may have it.
 
@egreg Which reminds me, I can blame the Lua version instead of paying attention to @David's bug reports. :)
@egreg I know you have it too. :)
 
:9011821
 
I couldn't understand why Lua could not keep backwards compatibility.
 
$ echo $EDITOR
see, the shell doesn't need telling,
 
ooh! No output! :)
 
11:49 PM
@PauloCereda David's shell is clairvoyant. It sets emacs without any need to tell it.
 
@egreg When in doubt, go emacs. :)
 
Actually David jumps to the shell by typing M-x shell <RET>
 
@egreg more often than not, yes:-)
 
I tried to open vim inside emacs, everything crashed.
 
@PauloCereda terminal mode? or shell mode?
 
11:56 PM
@DavidCarlisle The latter.
 
@PauloCereda terminal mode is better for that, you can even run emacs in an emacs buffer (although you have to concentrate hard to remember which emacs you are in)
 
@DavidCarlisle Oh my!
!!/battle
@PauloCereda Psmith, the TeX bot: The current score is egreg 465 vs. 320 David. So far, egreg is winning.
 

« first day (898 days earlier)      last day (4025 days later) »