« first day (595 days earlier)      last day (4353 days later) » 

12:01 AM
@egreg By that picture, I think the valley is very high. :)
 
 
8 hours later…
8:13 AM
@egreg I am learning from such an editing . Thanks
 
 
3 hours later…
10:58 AM
0
Q: texlipse builder configuration

morphI need to compile my file in the following way: pdflatex file.tex bibtex book bibtex journals bibtex conferences pdflatex file.tex pdflatex file.tex Of course, I can build it manually from command line, however, is there any way, how to setup Texlipse to build it automatically in this way? Th...

"How about trying arara?" :P
 
@PauloCereda Indeed. Provide an answer
 
"There is no evil in that trick: it's age-old, age-long Carlisle wand. Even now he's fond of it. – Ahmed Musa 2 hours ago" :P
 
@PauloCereda Another scurrilous comment. :) (Because of "old", of course.)
 
@MarcoDaniel Maybe later. :) My goal is to finish the 2.0 manual and then using arara everywhere. :)
@egreg That's what I thought. :)
 
@PauloCereda We need advertising ;-)
 
11:03 AM
@MarcoDaniel Indeed. :) I'm trying to finish the installer today, then I'll work on the documentation. I'll try to release 2.0 final until the end of next week. :)
 
@PauloCereda I'm not that old:-)
 
@DavidCarlisle It's a trap! :P
 
@MarcoDaniel Any chance to get a small TikZ or PSTricks article from you, as contribution for the LaTeX and Graphics contest :-)
 
@StefanKottwitz Maybe -- at the moment I am working at l2kurz.
 
@MarcoDaniel We could write an article about PSTricks and latex (no xelatex), and how arara can make the workflow for generating the final PDF easier. :P
 
11:12 AM
Would be great! I'd give you a flower for this such as texample.net/tikz/examples/poppy - perhaps you like this one too, which I made yesterday with PostScript code found on the web:
\documentclass{standalone}
\usepackage{pstricks}
\begin{document}
\begin{pspicture}(4,3)(18,25)
\pstVerb {
0.1 0.5 0 setrgbcolor
/m1 [ 0.00 0.00 0.00 0.16 0.00 0.00 ] def
/m2 [ 0.85 -0.04 0.04 0.85 0.00 1.60 ] def
/m3 [ 0.20 0.23 -0.26 0.22 0.00 1.60 ] def
/m4 [ -0.15 0.26 0.28 0.24 0.00 0.44 ] def
/point 72 def
/length 0 def
% will draw inside a 8 inch square centered on 8.5 by 11 inch page
4.25 point mul 1.5 point mul translate
0.8 point mul dup scale
% x coordinate ranges from -5 to 5
% y coordinate ranges from 0 to 10
Simply run with XeLaTeX.
 
@StefanKottwitz or arara. <3
 
@PauloCereda Maybe. I answered the question ;-)
 
% arara: latex
% arara: dvips
% arara: ps2pdf
\documentclass{standalone}
\usepackage{pstricks}
\begin{document}
...
@MarcoDaniel awww <3
 
@PauloCereda Simple as it ;-)
 
@MarcoDaniel :)
 
11:20 AM
@PauloCereda Sure! From the moment on, I read your article about arara, I'll use it myself! ;-)
 
@MarcoDaniel: If the bibtex rule is 'bibtex @{expandoptions} @{file}.aux', we can use % arara: bibtex: {files: [ book, journals, conferences ]}. Everything in one line. :)
 
@PauloCereda Not really. A more general solution will be added soon ;-)
 
@MarcoDaniel Ah. :)
@StefanKottwitz awww <3
 
@PauloCereda Did you include gnuplot in arara?
or just engines and converters?
 
@StefanKottwitz Not yet, but we can write a gnuplot rule. :)
@StefanKottwitz arara is based on rules, we only need to write them. @MarcoDaniel is the rule expert. :)
 
11:22 AM
@PauloCereda Done
!config
identifier: bibtex
name: BibTeX
command: 'bibtex @{expandoptions}
                 @{inputaux == "" ? file : inputaux}.aux'
arguments:
  - identifier: expandoptions
    flag: '@{value}'
  - identifier: inputaux
    flag: '@{value}'
 
@MarcoDaniel aaaah! :) You are mastering the rules! :D
 
a gnuplot rule for arara would be very ontopic for the graphics/gnuplot contest
 
@MarcoDaniel My suggestion seems to also work with your updated rule. :)
 
@PauloCereda Great
 
@StefanKottwitz It's been a while since I played with gnuplot, but I'll try to come up with something. :)
@MarcoDaniel if you provide files: [ ... ] in the directive, for every element in the [...] list will be expanded to @{file}.
 
11:25 AM
@PauloCereda I don't like to handle with the internal file ;-)
 
@MarcoDaniel Good point. :) That's why arara is dangerous. :P
 
@PauloCereda Would be a relief for gnuplot/LaTeX users, and really an innovation!
 
@StefanKottwitz What do you mean with gnuplot compilation? shell escape?
@PauloCereda :P
 
Just see the 43 comments on texample.net/tikz/examples/gnuplot-basics to understand how hard shell escape might be
@MarcoDaniel I'm not clear about that, I just know gnuplot is externally called and that it's diffucult for many - I thought arara could help (don't know arara yet)
 
@StefanKottwitz The list is too long ;-) and I am too lazy. However the compilation is:
 
11:27 AM
@StefanKottwitz A simple % arara: { shell: on } does the trick. :)
 
% arara: pdflatex: {synctex: true , action: errorstopmode , shell: true}
@PauloCereda or true ;-)
 
@MarcoDaniel Arara fun :P
@MarcoDaniel: would you like us to write an article? :)
Mass time! :) I'll be back in an hour. :)
 
@PauloCereda About arara and tikz/pstricks?
 
11:48 AM
@MarcoDaniel Would arara be useful for any external graphics processing, such as pstricks, gnuplot, asymptote, or would it be using a sledge-hammer to crack a nut?
 
@StefanKottwitz arara has one big requirement. You need a tex-file. Inside the tex file you can do everything. In version 1.0.1 there was a problem on Windows systems but @PauloCereda was able to fix this in version 2.0.
 
12:08 PM
@PauloCereda: I noticed that the deadline for the article will be in three days
 
12:41 PM
@MarcoDaniel You seem to suffer from Grill's syndrome: the symptoms are an excessive use of % at end of lines. :)
 
@egreg Every time ;-) That's the reason I like \endlinechar or \ExplSyntaxOn ;-)
 
@MarcoDaniel I too like it, although it has its own small problems: a ~ at the beginning of a line is ignored as it is one that follows a control sequence, so it's not "I want a space in output here". However \baselineskip% at the end of a line is really ugly. :) It's curious that Grill's syndrome started from a problem of too many % ending lines.
 
1:00 PM
@MarcoDaniel Sounds like a plan. :)
@StefanKottwitz arara reads tex, dtx and ltx looking for directives which will tell it what programs it should run, the parameters for each program, and the order. :)
 
@StefanKottwitz Is this really a question?
5
Q: Industrial schematics

ntdI'm investigating if it is possible to generate electrical schematics for industrial machinery with the LaTeX ecosystem. They are quite different from electronic circuits because are developed sequentially. Here is a typical page drawn with QElectrotech (the only open source package I found for s...

 
@egreg He likes to have an advice, which to choose or what way to go - not clearly written as a question, but it should be one
 
1:19 PM
Guys, do you know any gnuplot-related packages?
 
@DavidCarlisle Ah thanks. :)
 
2:18 PM
Ti\textit{k}Z and \textsc{pgf} - is this correct?
 
@PauloCereda From the title page of the manual it seems so.
 
@egreg It looks... funny. :)
 
@PauloCereda According to the manual, there's emphasis on "kein": "TikZ ist kein Zeichenprogramm"
 
@egreg Cool! :D
 
with a TikZ tag :) Subliminal messaging.
 
2:43 PM
@percusse LOL best spam message ever!
Can I retag it to or ?
 
3:06 PM
@PauloCereda :-) I would recommend [tag:vertical alignment]
 
@percusse LOL!
 
3:29 PM
\section{Don't you know about the bird?}

Everybody knows that the bird is the word.
I can't believe I actually have that section title.
 
@PauloCereda When automatic translators were at their beginning on the net, there was a very funny translation into Italian of a Web page about Larry Bird. The title was rendered as "L'uccello di Larry", which of course can be interpreted in a vulgar sense.
Don't you know about Larry Bird?
 
@egreg Uh-oh! :)
@egreg An amazing basketball player. :)
 
@PauloCereda Really: one of the best of all times.
@PauloCereda By the way, two late upvotes saved my open streak. :)
 
@egreg I watched only a few games. He stopped in '92, I guess. :)
@egreg :P
@egreg: speaking of basketball, here you hear a lot about Indianapolis 87, when Brazil beat USA. There's the full match on YouTube. :)
 
3:50 PM
@PauloCereda That was one of the reasons that made NBA player into the national team for the Olympic games. In that team there was Oscar (Schmidt): he was 7 times the best scorer in the Italian league. But also Marcel (de Souza) was a great player.
 
@egreg Great players indeed. :)
 
 
1 hour later…
5:24 PM
I have a couple of PDF files and a jpeg file which I want to concatenate to a single PDF. Anybody who knows how the heck I'm supposed to do this in Windows 7 (preferably without having to pay somebody)?
 
Hi, is there a quick way to align an inline array so that the top row of the matrix is aligned with the text on a line?
You can use pdfpages to do this.
\documentclass{article}
\usepackage{pdfpages}
\pagestyle{empty}
\begin{document}
\includepdf[pages=1-]{pdf1}
\includepdf[pages=1-]{pdf2}
\includegraphics{jpg1}
\end{document}
 
Alternatively, can somebody do it on their end? You'd get internetz creds like crazy!
 
@Speldosa There are a few approaches, for example convert everything to PDF and use pdftk builder, include everything using pdfTeX and pdfpages, ...
 
5:44 PM
@StefanKottwitz: I'm trying to write a paper. :)
 
@PauloCereda Great! I'm looking forward to reading it!
 
@StefanKottwitz <3
 
@JosephWright Thanks! That worked as a charm. Internet credz to you!
 
6:08 PM
@PauloCereda Time Limit: 3 days
 
@MarcoDaniel Oh. :) I think I can handle it. :)
 
@AlanMunn Wrong MWE ;-) You must work with resizebox. This is similar: tex.stackexchange.com/questions/57518/…
 
@MarcoDaniel The MWE was unrelated to the question. It was a response to @Speldosa. Chat is crappy about distinguishing independent messages from the same user.
 
@AlanMunn :-) I was confused
 
@MarcoDaniel What I want is an inline array with the first row of the array aligned with the rest of the words in the line that the array is inline with.
 
6:14 PM
@AlanMunn This can be done by the optional argument of array:
\documentclass[a4paper,12pt]{article}
\usepackage{array}
\begin{document}
Text Text  Text $\begin{array}[t]{c}a\\b\\c\\d\end{array}$ Text Text Text
\end{document}
 
I found this question: tex.stackexchange.com/q/41806/2693 but I can't seem to get @egreg 's solution to work (mine is a bit more complicated since the array is generated in a macro from an etoolbox \forcsvlist command.
 
@AlanMunn Can you provide a little bit more information please?
 
:4992729
\documentclass{article}
\usepackage{etoolbox}
\usepackage{amsmath}

\def\addrow#1{\text{#1}\\}
\newcommand{\annot}[1]{%
   \ensuremath{\left[\begin{array}[c]{l}%
      \forcsvlist\addrow{#1}%
      \end{array}\right]}}
\begin{document}

\annot{This,Det,Dem} is a sentence \annot{with,P} some annotations.

\end{document}
I want the first word of the array to appear like it's part of the rest of the sentence.
Adding [t] to the array specification really screws things up.
 
@AlanMunn Intersting.. But, I can tell that this is a non-egreg solution as it uses \ensuremath. :-)
 
@PeterGrill :) in this case it's actually justified, since this is a macro designed to be used in regular text not in math.
 
6:24 PM
@AlanMunn Yes, but egreg would probably find a way to work around it. :-) :-) Or just use $ since it is intended for non-math mode use. Quite surprising result when you add the [t].
 
6:39 PM
@AlanMunn Try
\documentclass{article}
\usepackage{etoolbox}
\usepackage{amsmath}

\def\addrow#1{\text{#1}\\}
\newcommand{\annot}[1]{%
  \raisebox{\dimexpr-\height+\ht\strutbox\relax}{$%
     \left[\begin{array}[c]{l}%
          \forcsvlist\addrow{\strut #1}%
      \end{array}\right]$}}
\begin{document}

\annot{This,Det,Dem,} is a\rlap{\rule{4cm}{.4pt}}\llap{\rule{4cm}{.4pt}} sentence \annot{with,P} some annotations.

\end{document}
 
@MarcoDaniel Beautiful. Thanks a lot. That works exactly as I want it. (And you even got rid of the \ensuremath :)
 
@AlanMunn ;-)
I like ensuremath ;-)
 
@MarcoDaniel In this case, I'm leaving it in.
 
@AlanMunn Just tell what the problem is. :)
 
@egreg Now there is no problem. :) @MarcoDaniel has found a simpler solution. I would be curious to know why adding [t] to the example posted above screws it up so much.
 
6:57 PM
@AlanMunn Let David do the job. Oh, wait, he did it some years ago. :)
\documentclass{article}
\usepackage{etoolbox,delarray}
\usepackage{amsmath}

\def\addrow#1{\text{#1}\\}
\newcommand{\annot}[1]{%
   $\begin{array}[t][{@{}l@{}}]%
      \forcsvlist\addrow{#1}%
      \end{array}$}
\begin{document}

\annot{This,Det,Dem} is a sentence \annot{with,P} some annotations.

\end{document}
 
@egreg And why does this work?
 
@AlanMunn Because delarray adds the delimiters in a smart way.
The examples in the doc are enlightening.
 
@egreg Sorry, I missed the delarray addition; I thought it was just removing the intercolumn spaces that was doing the work. Yes, the docs are very enlightening. :) So this is an even simpler solution.
 
7:14 PM
@AlanMunn The @{} are only my final touch. Without them the brackets are too far from the contents.
 
Yes, I realise that. You and DK. (The quotes about his new editions in the most recent TUG e-mail):

"the books themselves are significantly better in hundreds of small ways.
I went through every page very carefully and introduced many
refinements, which have made me extremely happy with the result."
 
 
2 hours later…
8:50 PM
@AlanMunn glad to be of service:-)
 
@DavidCarlisle So short a package should be bug free. :)
 
@DavidCarlisle Given that almost every document I write uses array, you're always of service. :)
 
@AlanMunn you probably just use Frank's bits of array:-)
 
@DavidCarlisle No, I'm a big fan of \newcolumntype.
 
\section*{Trivia}

There's also another motivation of the name \emph{arara}: the \href{chat.stackexchange.com/rooms/41}{chatroom residents} of TeX.sx -- including myself -- are fans of palindromes, especially palindromic numbers. As you can already tell, \verb|arara| is a palindrome, besides of course being an anagram of itself.
 
9:01 PM
@PauloCereda "being an anagram of itself in many non trivial ways".
 
@egreg Cool! Thanks!
 
@PauloCereda "arara" is fixed under 11 non identity permutations.
 
@egreg Oh my!
 
Hey I just got a tenacious badge on S.O. No one has that here as far as I can see!
 
@PauloCereda There are 6 that act on positions 1, 3 and 5, and 2 that act on positions 2 and 4. So 6*2 = 12.
 
9:03 PM
@PauloCereda By that logic, 'Bolton'/'Ipswich' would have made sense :-)
 
@JosephWright LOL
Notlob!
\verb|arara| is a palindrome, besides of being an anagram of itself in many non trivial ways\footnote{A special thanks to Enrico Gregorio for this clever remark! And he adds, ``\texttt{arara} is fixed under 11 non identity permutations.''}.
 
@PauloCereda Of course, any palindrome is an anagram of itself at least in one non trivial way, by definition of palindrome. :)
 
@egreg Oh. :) Should I remove the anagram remark? :)
 
A three letter palindrome is fixed under only one non identity permutation.
A five letter one can resist 3 or 11 permutations, depending on its form
 
@egreg aaa?
 
9:09 PM
Too much information for a sunday afternoon. :P
 
@DavidCarlisle This is a trivial palindrome, invalid.
 
@egreg hmm unfair appeal to unseen rulebook:-)
 
@DavidCarlisle Uttering arbitrarily long palindromes would be a matter of moaning as long as needed.
 
@StefanKottwitz: article done. :)
First thing before writing anything: youtube.com/watch?v=ioE_O7Lm0I4
 
9:30 PM
@MarcoDaniel: I think you could turn your comment into an answer. :) tex.stackexchange.com/questions/60155/…
 
10:05 PM
@DavidZaslavsky: Nice answer of yours in the Physics site: physics.stackexchange.com/a/30282 :)
 
10:40 PM
@PauloCereda You are fast! Can you mail it to me?
 
@StefanKottwitz Sure! Can it be to the email I already have of yours? :)
 
@PauloCereda Sure
 
@StefanKottwitz Just a minute. :)
 
it's 0:42 here :-)
 
ooh. :P
Why are you awake? :P
 
10:43 PM
Because I just arrived at my "work-town"
but I should get some sleep
 
@StefanKottwitz :)
Sent. :)
 
Got it!
Fun to read!
 
@StefanKottwitz :)
 
@PauloCereda Great work at first read. I gladly read it tomorrow again! Got to get arara.
@PauloCereda Thank you!
 
@StefanKottwitz Yay! :) If it's offtopic, please disconsider it. :)
@StefanKottwitz My pleasure! :)
 
10:50 PM
@PauloCereda thanks, I did like being able to offer the simple answer to that one
 
@PauloCereda got to hurry :-) good night!
 
also I'm a little surprised to get a ping here that is actually for me :-P
 
@StefanKottwitz Night! :)
@DavidZaslavsky hehe
I need to apologize, I didn't know you are a mod there. :)
 
@PauloCereda oh, no apology necessary
it's not the sort of thing one needs to know very often
 
@DavidZaslavsky I don't know the other ecossystems. :) I'm tempted to provide an answer to Sci-Fi, but I think that would confirm my geek status. :P
I like to browse the other sites. Thought I can't understand most of the answers (specially Physics and Maths), it's always a pleasure to read nice answers like yours. :)
 
10:57 PM
Great :-) It's nice when we can explain things in a way that is understandable to non-physicists, although that is necessarily not always possible
 
@DavidZaslavsky :)
 
11:16 PM
Oh no!
0
A: Why doesn't Fry return to his original time?

Paulo CeredaGorchestopher's answer is very accurate, but I'd like to add a little contribution. :) What's keeping him in future Earth? His love to Leela. In "The Why of Fry" (S05E08), when Fry is trapped inside the Infosphere, the Giant Brain suggests him to query the database concerning the night of ...

 
11:36 PM
@StefanKottwitz: I found a typo in the abstract and sent you a new version. :) Sorry for the trouble. :)
 

« first day (595 days earlier)      last day (4353 days later) »