« first day (524 days earlier)      last day (4418 days later) » 

12:11 AM
Yay more 40 votes to use!
Oh no, today we have the litany!
 
 
7 hours later…
7:14 AM
10k rep!!! I'give party. Well, a chat party of course.
 
@PatrickGundlach Cheers!
 
@StephanLehmke Thanks!
Perhaps 10k is a sign that I spend too much time here ;-)
3
 
Well what can I say :-) To me rep is a measure of new things learned. I always wanted to understand output routines and insertions but never got around to really looking into it :-)
 
Thats true, @StephanLehmke, I try to answer only LuaTeX questions (and as many as I can), just to learn more of that
 
 
2 hours later…
9:28 AM
@PatrickGundlach Really? ;-)
Congratulations!
 
10:26 AM
@PatrickGundlach grats!
 
@PatrickGundlach Congrats Patrick! :)
 
10:49 AM
@PatrickGundlach Congratulations and thanks for all the Lua answers.
@StephanLehmke I agree with you that rep is a measure of things learned. Answering even if you familiar with the topic helps with retention (psychologists call it spaced repetition).
 
11:43 AM
I was about to make a joke about Patrick's starred 10k rep message but I realized that I am coming close to it too. So I should also watch out for my thesis progress...
 
12:10 PM
Possibly of interest:
0
Q: Benefactor badge awarded twice

lockstepThe description of the Benefactor badge indicates that it is a non-recurring badge: "First bounty you manually awarded on your own question"*. However, at tex.sx, user Raphink was awarded the Benefactor badge twice (link): A possible reason is that Raphink awarded his first two bounties on one...

 
Hey! Andrew got the gold badge! Congratulations!
 
@egreg And he was already at 1.3k rep when hitting the 200 questions mark.
 
@PauloCereda Did you try the TeX Live installation procedure on Fedora 16? I was asked if the texlive.sh file is correct.
 
@AndrewStacey grats!
 
12:26 PM
Shameless plug for a geature request that would have earned Andrew an earlier gold tag badge:
-2
Q: Reduce the required number of non-wiki answers for bronze/silver/gold tag badges to 10/40/100

lockstepBefore the introduction of bronze tag badges, the only requirement for silver/gold tag badges was 400/1000 upvotes. This permitted a notable Tag-badges exploit, namely, a single answer with 1000+ upvotes could earn any desired gold tag badge. When bronze tag badges were added in September 2010, t...

 
@egreg Yes. :) It's working like a charm for me. :)
paulo@temperantia profile.d$ cat texlive.sh
#!/bin/bash
pathmunge () {
        if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
           if [ "$2" = "after" ] ; then
              PATH=$PATH:$1
           else
              PATH=$1:$PATH
           fi
        fi
}
pathmunge /opt/texbin
unset pathmunge
 
@PauloCereda Thanks!
 
The Benefctor badge bug has been corrected already!
 
How does one "turn on" the bluesky fonts on texlive 2011 system in fedora? I read this cs.gmu.edu/~sean/stuff/DoingLatexRight but I am not clear
 
12:42 PM
@lockstep It is nice when they fix things fast like that.
 
@Ariel There should be no need to do anything special. Try grep cmr10 $(kpsewhich pdftex.map), the shell should answer cmr10 CMR10 <cmr10.pfb
 
@egreg that is exactly what its answering. What does it mean? Does it mean that all my pdfs are already using bluesky or merely that bluesky is on my system.
 
@egreg :)
 
@Ariel It means that when pdftex is looking for the cmr10 font it will use the BlueSky Type1 version
 
sorry to sound so lame - but is there someway I need to tell pdftex to look for cmr10?
 
12:49 PM
@Ariel That's taken care of by the high level macros in LaTeX.
 
Ah - so in this page: www-verimag.imag.fr/~monniaux/download/Latex-PDF.HOWTO it says: "specify -Pamz and -Pcmz, or, alternatively, -Ppdf" to use the bluesky fonts. Where do I use these commands? Would it be something like 'pdflatex mytexfile.tex -Ppdf ' (in the console}
 
@Ariel That's quite old and refers to using dvips as an intermediate step for getting a PDF. With pdflatex it's a very different story. And nowadays also latex+dvips+ps2pdf doesn't need those command line options.
 
@egreg Thank you for tolerating my clueless questions - would you have any recommendations for an updated doc on fonts etc that I could read?
 
@Ariel Install a full TeX Live, use pdflatex and don't worry. :)
 
@ereg - I think that is wonderful advice. :) I think when I installed the texlive on this system I hadn't installed the full version. I will be migrating from F16 to Ubuntu too (fedora is driving me nuts with its "cutting edge" issues with my graphic card). I will make sure to do a full install rightway. again, thanks! this is a much better solution than wandering around in confusion.
 
1:13 PM
@Ariel I believe there's no point in saving disk space nowadays. The full installation takes less than 4GiB.
 
1:31 PM
Can someone explain this error to me? I'm using the literate option in a lstset to color specific parts of my code. When running on a simple document, the code works, but with a more complex document, this error is raised:
! Missing \endcsname inserted.
<to be read again>
                   \protect
l.360 <B>identifier:
                    <A> makefoo
?
I tried to reduce the code to a MWE, but I can't find what's happening.
 
@PauloCereda I'd tag such a question as . :)
 
@egreg Me too. :P
I'll try to reduce the problem. :)
 
user19161
@egreg Hmm, I thought we still need -P pdf? I am not sure what -P cmz is though.
 
@JasperLoy I don't think so. With -Ppdf you load config.pdf which loads psfonts_t1.map which is identical to psfonts.map which is loaded by default. Hey, too many which's. :)
It's a very old teTeX method.
 
1:47 PM
@egreg: I got it! :)
Well, I could reduce it. :P
 
user19161
@egreg Wait you mean it is loaded by default in all cases? I was not referring to the question specifically, just in general.
 
user19161
I remember trying out with MikTeX a few years ago. Using -P pdf gave me a different file size.
 
\documentclass{memoir}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\usepackage{listings}
\usepackage{xcolor}

\definecolor{bluekeywords}{rgb}{0.13,0.13,1}
\definecolor{greencomments}{rgb}{0,0.5,0}
\definecolor{redstrings}{rgb}{0.9,0,0}

\lstnewenvironment{yaml}{\lstset{%
   basicstyle=\ttfamily,
   numbers=left,
   xleftmargin=1.5em,
   numberstyle=\color{brown}\ttfamily\small,
   columns=flexible,
   mathescape=false,
   escapechar=|,
   literate={<B>}{\color{bluekeywords}}0
			{<R>}{\color{redstrings}}0
For some reason, those two listings environments are conflicting with each other. :(
 
Hello TeX friends, if I may ask: does anyone happend to know how I can print the full date using BibLaTeX?

I defined the key urldate and it works fine. However, it prints
"Apr. 7, 2012"
whereas it should be
"April 7, 2012".

I'm using the setting `urldate=comp`.

Would be great to know, then I don't need to post a question for this simple problem :-). Thanks!
 
@PauloCereda Use
   literate={<B>}{\color{bluekeywords}}1
			{<R>}{\color{redstrings}}1
                {<G>}{\color{greencomments}}1
	           {<A>}{\normalcolor}1,
1 instead of 0
 
1:55 PM
@MarcoDaniel OMG!!!!!!!
@MarcoDaniel: thanks a million! I owe you another 10 beers!
 
@PauloCereda ;-)
 
@MarcoDaniel Just a newbie question: what does 1 mean?
 
user19161
@PauloCereda You can give him virtual beer in this chat room.
 
user19161
gives out beer
 
May I also order a coke please :-P? I'm an anti alcoholic.
 
1:58 PM
@IngoGerth Hi, how do you specify the date and how to you compile -- biber or bibtex? Do
 
@JasperLoy :P
 
I used biber and the date is specified as 2012-04-07.
 
user19161
@IngoGerth Actually I prefer pepsi to coca cola and wine to beer.
 
@MarcoDaniel Yes, but this will leave a space: the number means how many "cells" the literate thing should occupy.
 
@IngoGerth use:
\usepackage[style=authoryear, backend=biber,urldate=comp,dateabbrev=false]{biblatex}
 
2:08 PM
@egreg Disk space is getting more expensive these days (SSDs)
 
@IngoGerth The important part is ,dateabbrev=false
 
@PatrickGundlach What do you need other than the OS and TeX Live? ;-)
 
Brilliant, I just could not find that in the manual. Thanks so much!
 
user19161
@egreg An internet browser. :-)
 
@egreg My documents, of course ;-) And a web browser to access tex.sx
 
2:22 PM
@N.N. Thanks. I've been wondering if I was close to that badge. Now I know.
 
\startlua
items=string.gsub("#1", "1", "\\item")
context(items)
\stoplua
I am trying to replace 1 with \item
in Lua, but it instead becomes "crlf doitemgroupitem"
 
@JosephWright, @StefanKottwotz, @MartinScharrer Could someone unfreeze the "From Answers to Packages" chatroom, please.
 
@egreg @PauloCereda I found the problem:
   literate={<B>}{\color{bluekeywords}}{-1}
			{<R>}{\color{redstrings}}{-1}
            {<G>}{\color{greencomments}}{-1}
	        {<A>}{\normalcolor}{-1}
use -1 instead of 0 ;-)
Internal the counter lst@lenght is set to 0 and then the following test fails:
ifnum\lst@length=\z@\else
 
@MarcoDaniel Wow! beer++ :)
 
2:38 PM
Found the ultimate time-waster: emacs org-mode
Note to self: get back to studying AUCtex
 
@BrentLongborough Yay! :)
 
@MarcoDaniel Interesting. :)
 
I'm so bad at writing manuals. :)
 
@PauloCereda Did you buy Pringles? In less than two hours the match will begin.
 
@egreg ;-9
 
2:47 PM
@egreg Really?! I thought there wouldn't be any gionarta today. Thankfully I have an emergency Pringles for occasions like this. :)
 
@MarcoDaniel I really don't understand why one should do that.
 
@AndrewStacey What are you celebrating with that image? Is it my eyes, or have you (accidentally, I hope) included drop shadows. If not, perhaps the keming?
 
@egreg: Milan 1:2 Fiorentina! If Juve wins... :)
 
@BrentLongborough emacs M-x doctor should cure you of those time wasting tendencies
 
@egreg Me too
 
2:52 PM
@DavidCarlisle Thank you, David. Has anyone ever told you how extraordinary a person you are?
 
It seems to be hack
 
M-x arara. Oops. :P
 
@PauloCereda Bad luck, it says [no match]. David's option starts up a psychotherapist.
 
@BrentLongborough Uh-oh!
It's like :help! in Vim. :P
 
@PauloCereda Yes, indeed. BTW, does anyone else dislike info (as opposed to man)
 
3:11 PM
@BrentLongborough but info was hypertext long before the web (and had standard typesetting via Tex since almost the beginning) It may seem quirky now but it was well ahead of its time
 
@BrentLongborough Sometimes I use it. :)
 
@DavidCarlisle Oh, yes, I can sort of see the heritage in org-mode. I always get confused by the key bindings in info, and I always have trouble backing out of a stack of followed links..
@DavidCarlisle Plus, (though this may be an authoring problem) I sometimes like to read a tree linearly (next and back rather than traverse-down and traverse-up)
 
@BrentLongborough There was a time I really loved info mode (once I learned the key bindings in emacs). I have read much of the elisp manual in info mode and was very happy with it.
 
@AndrewStacey Done
 
3:46 PM
General question: I was informed by the system that my bounty on the newspaper question is running out.
19
Q: Meta-question: Automated Newspaper Layout

Stephan LehmkeThis question might well be off topic, so feel free to close. But I hope some people reading here possess the relevant meta-knowledge. I'm thinking (from a professional point of view) about fully automatic generation of newspapers from data. More precisely, the system under consideration would ...

Now there hasn't been a new answer. I accepted the most helpful answer already, and this answer also already received a bounty. If I do nothing, I assume the current bounty will go (partially) to the accepted answer. What would be the recommended route of action?
 
4:17 PM
@StephanLehmke I have no idea, but I guess when a second bounty to a question is not manually awarded, it's automatically discarded.
 
@MartinScharrer Thanks!
 
4:34 PM
hi
I have a question regarding this answer, as I don't understand the reasoning:
7
A: Are there any differences between a "newly defined" path and a path using predefined nodes?

JakeThis happens because when you specify just the node name, without an anchor, the border of the node is used to draw the line. Even with inner sep=0pt, this point will be different depending on the direction of the line to be drawn. In order to achieve the desired result, you should explicitly use...

I get that using (A) is different from (A.center) (and a different area will be filled) but why is nothing filled if I use (A) -- (B) -- (C) -- (D) -- (A) but all vertices work as expected if I add but one hard coordinate or anchor?
I can post a new question, but I thought that would be redundant and I should rather ask here.
 
5:09 PM
@MarcoDaniel Yes, this is much better because the previous suggestion (to use 1 instead of 0) puts extra space in the listing. Technically this is a bug in listings, I would think.
 
@AlanMunn Should I send a bug report to the author?
 
@MarcoDaniel It can't harm. The issue arises in these cases that @PauloCereda is using because all he's doing is inserting \color commands which take up no space. So from a user's point of view the right number of replaced characters should be 0 and not -1.
 
@AlanMunn I will do it can't harm ;-)
 
5:43 PM
@AlanMunn @PauloCereda Now I am confused. As I provided a minimal example it turned out that the error occurs only in combination with the key language.
\documentclass{article}
\usepackage{listings}
\usepackage{xcolor}

\lstnewenvironment{yaml}{\lstset{%
   basicstyle=\ttfamily,
   columns=flexible,
   literate={<B>}{\color{blue}}0
	        {<A>}{\normalcolor}0
}}{}

\lstnewenvironment{latex}{\lstset{%
%   language=[LaTeX]TeX,
   basicstyle=\ttfamily,
   columns=flexible,
}}{}

\begin{document}

\begin{latex}
\documentclass{article}
\begin{document}
Hello world.
\end{document}
\end{latex}

\begin{yaml}
<B>name:<A> paulo
<B>country:<A> brazil
\end{yaml}
 
@Raphael Please use this example and zoom in as much as you can to the corners
\begin{tikzpicture}[every node/.style={inner sep=0,draw,outer sep=0}]
\node at (0,0) (a) {};
\node at (3,0) (b) {};
\node at (3,3) (c) {};
\node at (0,3) (d) {};
\coordinate (A) at (7,0);
\coordinate (B) at (10,0);
\coordinate (C) at (10,3);
\coordinate (D) at (7,3);
\draw[fill=black!10] (a) -- (b) -- (c) -- (d) -- cycle;
\end{tikzpicture}
you will see that the drawn lines do not form a closed shape and cycle only redraws the top line again.
 
@MarcoDaniel Uh-oh. I really don't know why. :( I'm manually highlighting the yaml block because listingsdoes not support YAML as a language. :(
 
@PauloCereda You can define your own language ;-)
 
@percusse that may very well be what I want. That does not explain why I can't fill that way.
wait...
 
@Raphael Because fill checks the resulting curve and closes it automatically and since only a line is drawn the fill is invisible.
 
5:47 PM
@MarcoDaniel I'm not sure it would be easy with YAML, since the "keywords" are based on position and not on a predefined set. :(
 
@percusse I did (a) -- (b) -- (c) -- (d) -- (a) -- that is a closed cycle, isn't it?
at least it draws a square; but it does not fill it.
 
@Raphael unfortunately it's not, remove the draw option and zoom in to the corners
you should be able to see it.
 
minted uses pygmentize under the hood, but the output from pygmentize is just awful. I saw Aditya's t-vim module for ConTeXt, it uses Vim to highlight code. I'd love to use Vim's highlighting, it's very advanced and it supports YAML. :)
@egreg: GOAL!!!!!
 
@PauloCereda It feels like playing Championship Manager :)
you should make your message blink and you are done
 
@percusse LOL! True! :D
 
5:51 PM
I voted to close -- not a real question: tex.stackexchange.com/questions/50877/…
 
@percusse what am I supposed to see? There are small nodes drawn
 
@Raphael Try this one
\begin{tikzpicture}[every node/.style={inner sep=0,outer sep=0,fill=none}]
\node at (0,0) (a) {};
\node at (3,0) (b) {};
\node at (3,3) (c) {};
\node at (0,3) (d) {};
\draw[fill=black!10] (a) -- (b) -- (c) -- (d) -- (a);
\end{tikzpicture}
You should be able to see the void at the corners making it impossible to fill.
 
I see a gap in the lines, does not mean there is a gap in the path/logic
 
@Raphael yes, but it's not that clever it works with the constructed paths not the command interpretation that draws the path.
 
@percusse ok, I'd consider that a bug then. A usability bug, at least
 
5:58 PM
@egreg: GOAL!!!!!
 
@Raphael actually it's not a bug but a syntax preference. you have to provide the anchors for line segment start/end points. Because this is rather special. If you use nodes with inner sep=1cm you would probably appreciate why it is done in this way.
 
@egreg: At last Quagliarella scores! :P
 
@Raphael There is no logic filling in those partial lines. :)
 
@percusse How do I fill the area inside this graph:
\begin{tikzpicture}
\node[state] at (0,0) (a) {a};
\node[state] at (3,0) (b) {b};
\node[state] at (3,3) (c) {c};
\node[state] at (0,3) (d) {d};

\path[->] (a) edge (b)
(b) edge (c)
(c) edge (d)
(d) edge (a);

\fill[black!10] (a) -- (b) -- (c) -- (d) -- (a);
\end{tikzpicture}
using the anchors won't do the trick
I get the behaviour if drawing lines and filling at the same time, but then only filling?
 
This fills correctly but I don't know if that's what you want : \fill[black!10] (a.center) -- (b.center) -- (c.center) -- (d.center) -- cycle;
 
6:02 PM
(also, fill draws over half of the lines, too, if the lines were drawn with another command; makes the images look weird because lines with the same semantic look differently. but that is another issue.)
@percusse obviously not ;)
 
So do you want to keep the lines?
or arrows?
 
I don't want to fill a square, I want to fill the area between the notes
@percusse sure. and the nodes.
 
I see so you have to send them to the background. So you have two choices:
 
(in my actual use case, I have a tree and want to color some parts, drawn as boxes)
 
1) putting coordinates and drawing/filling using them and placing nodes later at those coordinates. This is slightly laborous
2) you can send the fill to the background layer, let me make up an example.
 
6:05 PM
i.stack.imgur.com/YcdLE.png -- it is fine to use X.center for the lower nodes, but S and A should be used and still not drawn over.
both 1) and 2) sound harder than it should be.
 
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{automata,backgrounds}
\begin{document}
\begin{tikzpicture}
\node[state] at (0,0) (a) {a};
\node[state] at (3,0) (b) {b};
\node[state] at (3,3) (c) {c};
\node[state] at (0,3) (d) {d};

\path[->] (a) edge (b)
(b) edge (c)
(c) edge (d)
(d) edge (a);
\begin{scope}[on background layer]
\fill[black!10] (a.center) -- (b.center) -- (c.center) -- (d.center) -- cycle;
\end{scope}
\end{tikzpicture}
\end{document}
See 2) is not that hard ;)
it only needs an extra scope for the fill
 
@MarcoDaniel @PauloCereda That's very odd. I don't have a clue what's causing it. There doesn't seem to be anything in the language definition for LaTeX that would cause it, but I'm not a listings expert.
 
hm, that fixes the lines but I still have color inside the nodes. I guess filling the nodes with white solves that?
jup. but that makes it a non-local fix again, duh. :-/
 
@Raphael Sorry, I don't follow you in the last one
 
guess there is no easy way for that, then, and \fill works slightly unintuitive
\node[state,fill=white] at (0,0) (a) {a};
otherwise I have a grey rectangle with a graph on top, but the corners of the grey rectangle are visible behind the vertices
 
6:09 PM
Yes, that's it. But why it is non-local?
 
what if you have yellow paper
 
@AlanMunn I sent a bug report ;-)
 
then a white fill on the nodes looks weird, i.e., non-local
well, non-global actually
it is local :P
but I presume that is what Raphael meant
 
@RoelofSpijker ah, now I get it :)
 
@percusse I have to change the nodes and the fill, not only one of both.
 
6:12 PM
@Raphael Let me put it this way. The drawings are stacked on top of each other after each command. So if you want to fill and draw the nodes on top of it, then you need to tell TikZ where the nodes are. But then you need to define the nodes for that. Can you see the pattern here? You are trying to refer to a fill region that is not defined yet.
So either you draw/fill and put the nodes or you put nodes and send the fill action to background.
 
I'd rather have a system that doesn't work in a know manner than have a system that doesn't work in an unknown manner
 
@percusse I see. That makes sense. However, it is disappointing that there does not seem to be a simple way to fill the area between (existing) nodes, respecting their respective boundary lines.
I guess a useful pattern is to make the points of interest proper coordinates and then stack the drawing the way it should be. Even though filling first and drawing the stuff being filled after is counter-intuitive. You think one way and have to draw the other way round.
 
@Raphael Well actually there is a certain handle but I don't think it is intuitive at all. :) Please check the manual for append after command that would allow you to refer to a node before it's drawn but it's not that powerful and pretty much fragile.
 
Anyway, thanks a lot @percusse! Your help (and patience) is much appreciated. I learned some about TikZ today, even though that crappy image took far too long. Basically spent the whole afternoon on an image for one Stackexchange answer...
 
I'll try to see if I can make up something when I have the chance.
 
6:17 PM
@percusse nah, that sounds like hacking.
 
@Raphael My pleasure.
@Raphael The learning TikZ and becoming proficient is indeed tough but pays off when you get some affinity to it.
 
Hmm, I never really thought about doing something like this (filling anything delimited by nodes). However, it seems strange to me that filling doesn't work with the node coordinate system.
 
@percusse Yup, the results are stunning. The learning curve is tough, though. I have been drawing grids with for loops by hand and found out today that there is a simple command for that. The animation stuff is intrigueing; no idea how well that scales, though.
 
@egreg: For the scudetto!
 
@RoelofSpijker There is an example which Raphael linked above around 18:17.
@Raphael Well, it's still not close to PSTricks but getting there quite fast and not using any hacks so far. I'm simply amazed by pgfplots for example.
 
6:27 PM
@PauloCereda Mission accomplished. Happily you had still some Pringles. :)
 
@percusse: I see, that doesn't really explain why this is the case though.
 
@egreg Emergency Pringles to the rescue. :)
Nice game, I was mad at Quagliarella for losing so many chances. :P
 
@RoelofSpijker \fill is only closing the top segment since it is the current path to be constructed so actually it fills but fills between two adjacent lines. Node border shapes are breaking the current path into segments and fill just closes the last one which is the only the top line.
So it's equivalent to write \fill (0,3) -- (3,3);
 
@percusse: I see, didn't realize the node cs used moves inside
although that is pretty obvious...
 
@RoelofSpijker It took me a while to see it too.
 
6:34 PM
@percusse I am deeply in love with pgfplots.
 
@Raphael Welcome on board! :D (or welcome aboard?)
 
@percusse It is not that it does not make sense if explained, it is just not reasonable from a user experience point of view. It should be easy to fill the area between nodes, especially considering libraries like automata which allow you to create great graphics without ever doing \draw yourself.
@percusse (both?)
 
aboard, I'd say
 
@percusse gnuplot + pgfplots is just beautiful. Runtime intensive, though.
 
well, a board and on board are both correct. Doesn't mean that welcome on board and welcome aboard have the same meaning
 
6:38 PM
Anyone know off hand which question here recommended not to use abbreviations such as "i.e.,". I thought it was @YiannisLazarides that posted that answer but can't seem to locate it.
 
Note that I am in no way sure whether one is preferred over the other or not
 
@PauloCereda But we can forgive him because of the nice goal. :)
 
Let's ask our resident linguist, @AlanMunn! :)
 
I tried to use externalize but then it was even slower than before, writing 200+ files (thank you, todonotes!) and repeating some for the subsequent runs. Also, I don't like -shell-escape; apparently it is not possible to have externalize use it and prevent pgfplots from doing so.
 
@egreg Yes! :) And Del Piero almost scored! :)
 
6:39 PM
@PeterGrill +1; what would you use instead?
 
@Raphael You can trick todonotes into not using the externalization. Or simply use externalisation explicitly
 
@Raphael "That is", "For example" instead of the abbreviation.
 
@Raphael Ah yes, zeroth was quicker. There must be a couple of questions here just search for it in the main site.
 
@PeterGrill messy.
 
@PeterGrill, I don't see a problem with using the abbreviations, really. And I don't recall a post on it on here.
 
6:41 PM
@percusse :) Yes, I also think the question have popped up within the last few days (or weeks... Its all melting together...)
 
oh, and externalisation without shell escape should work according to the manual, but they don't explain how.
 
@zeroth Yes, my brain is getting mushy from searching for duplicates heheh...
 
@Raphael, because it is very difficult. You have to do your own call of each externalised image (which kind of looses the idea of the library)
 
@DavidCarlisle Hahaha, deal is still on, I see!
 
6:42 PM
@percusse :)
 
@zeroth I am completely fine with that because it enables me to catch the output orderly
I have a script that takes care of all calls I have to make, so that does not worry me at all
I just need to know where the file pops up, how it is named and what I have to run.
 
@Raphael then you could simply call:
pdflatex -halt-on-error -interaction=batchmode -jobname "<external name>" "\def\tikzexternalrealjob{<main file name>}\input{<main file name>}"
pops up? Sorry i didn't catch that?
 
@zeroth and what kinds of external names does externalize/TikZ create?
first run of pdflatex creates one file per figure, right? Those I have to translate before the second (and subsequent) run
 
@Raphael defaultly the externalisation names goes as:
<main file name>-figure<num>.pdf
where num starts from 0
defaultly is a new word... :) I just invented it... Apparently! :)
 
that's simple enough. Will the file contain everything necessary or do I have to include my preamble(s)?
 
6:50 PM
@PeterGrill: I haven't yet been able to find out whether or not the Chicago manual of style discusses it anywhere, mainly because i.e., and e.g. are used often throughout it. Which leads me to conclude there isn't anything wrong with doing so.
 
todonotes' manual does not include any mention of externalization; checking the main site
Hm, I seem to remember that I abandoned the idea because referencing stuff inside the images is hard.
 
@Raphael How have you been using the externalisation before?
@Raphael It is not that hard, one simply needs to compile each externalised image twice, then you should be good to go
 
@zeroth have not, first try. never had too long build times because of TikZ before.
 
@Raphael No, and I can understand why, havn't really used it, however adding the key external/export=false and it will not externalise.
@Raphael Ok, start by trying it with the regular method, i.e. shell-escape. Once you know how it works and get a feel for it you can switch.
The main idea is simply that when encountering an externalisation image it will check if a corresponding image is present, if so include that, if not compile to such an image.
@Raphael are you on a nix or windows?
 
GNU/Linux
 
6:59 PM
Great, do you use Makefiles?
 
When using externalize w/o shell-escape, it complains that it can not compile the intermediate file (ok) but then deletes it or something.
no, homebrew script.
 
how do you externalize? What externalization mode are you using?
 
`\usepackage{tikz, pgfplots}
\usetikzlibrary{external}
\tikzexternalize[prefix=externaltikz_]`
`nvoking 'pdflatex -halt-on-error -inter
action=batchmode -jobname "externaltikz_mathesis-figure145" "\def\tikzexternalr
ealjob{mathesis}\input{mathesis}"'`
looks good
./implementation/main.tex:14: Package tikz Error: Sorry, the system call 'pdfla
tex -halt-on-error -interaction=batchmode -jobname "externaltikz_mathesis-figur
e145" "\def\tikzexternalrealjob{mathesis}\input{mathesis}"' did NOT result in a
usable output file 'externaltikz_mathesis-figure145'
also expected
but no such file in the directory afterwards
 
do you have 145 pictures in your file?
 
todonotes, remember? Have to try the parameter you recommended, mom
 
7:04 PM
@DavidCarlisle Go England!
 
ahh, yeah sorry... :) , check the log file externaltikz_mathesis-figure145.log
what does it say?
@Raphael i have created a room: 3034
so that we don't annoy everybody else! :)
 
@RoelofSpijker "Welcome aboard" sounds much more natural than "Welcome on board". As a native speaker, I definitely wouldn't use "on board".
 
@AlanMunn: Thanks, good to know :)
 
7:23 PM
@RoelofSpijker Thanks for looking. I'd still like to find that quesiton, and will let you know if I do.
 
@PeterGrill: Great, let me know :)
 
7:34 PM
@Brent.Longborough If anything, I was celebrating getting a gold badge. And yes, it was a drop shadow, and no, it wasn't accidental.
 
@DavidCarlisle I think I finally understand the concept of stretch and glue somewhat. I removed the LTleft and LTright prespecifications and got better results for my tables. However, now the complicated tabular footnote from here: tex.stackexchange.com/questions/46567/… does not line up with the table again. \noalign{\raggedright just indents it flush left and \noindent alone has no effect.
 
(a "out of band" notice: sorry for the confusion on the commutative diagram, @caramdir )
 
@Ariel by coincidence i just posted a long (for me) answer on stretch and glue
12
A: Do I have to care about bad boxes?

David CarlisleIt is worth noting that TeX doesn't make the value judgements here. The user, or more likely, the class file on behalf of the user, has set constraints on the amount by which boxes may overflow, the amount of stretching allowed on short pages etc. TeX only warns if these user-set constraints are...

@Ariel I'll look at your table (but food first:-)
 
7:49 PM
@DavidCarlisle thanks! I will give that a read. I have always wondered about those bad box warnings all over the place! Here's to a good dinner (?)
 
@Ariel if you don;t set LTleft LTright and don't use the [l] optional argument the table will be centred. If you want the table to be centred but the footnote flush with the left of the table it has to be in the table not in a \noalign because \noalign says not to align it with the table....
 
Ah I took the \noalign out but the footnote is still not aligning with the left
 
@Ariel if you take the align out you have to put something back, probably something like \multicolumn{10}{p{5in}{\raggedright .... the big table legend}
 
Oh! So the big table legend needs to be INSIDE a multicolumn of the longtable! I see! I will try that!
 
8:06 PM
@DavidCarlisle: I did \multicolumn{8}{p {6in}}{\raggedright
\begin{tabular}{llllll} .... The small indent on the left remains. Also replaced the {p {6in} with just {l} with the same results
 
depending on the top level preamble of the table, that may need to be \multicolumn{8}{@{}p {6in}} or you'll get more space on the left of the p than other vells, and then you need \begin{tabular}{@{}llllll} as otherwise the inner table will have \tabcolsep to its left inside the p
(food delayed)
 
{please don't delay on account of me. My ongoing skirmish with the nitty gritties of long table will continue for a bit before I submit my final thesis}
 
@Ariel no you have cause and effect wrong way round: you are getting answers because food is delayed, not that i am delaying food n your account:-)
 
ooh the follies of correlations!
 
food!
 
8:21 PM
7
Q: How do you explain the concept of logarithm to a five year old?

SandboxOkay I understand that it cannot be explained to a 5 year old. But, how do you explain the logarithm to primary school students?

 
Some really nice explanations in that thread. Though I am happy I was not related or knew the OP when I was 5 years old.
 
@Ariel Me too. :P
 
8:45 PM
Another two questions which can be solved by adjustbox!
 
9:01 PM
@DavidCarlisle Success!! Learning new things - I guess I never noticed how LaTeX automatically makes sure that the contents of a cell don't touch the walls of the cells! So this narrow space allowance between the wall and the content is causing that grand legend to appear as if its not flush left. So, in the end, put in @{}p in the longtable multicolumn and @{} p in the multicolumn inside the tabular legend. Will update answer in that original post!
thanks so much!
 
9:18 PM
@DavidCarlisle too bad I can't "accept" your answer once more!
 
@PauloCereda That's a horrible way of teaching kids the logarithm. Actually it's a horrible way to teach mathematics anyway :) Especially if they will continue to high school etc. There is a big pedagogical debate going on about the way we tell to youngsters and painfully demolish it later with abstraction, just about when they start to feel that they understand :)
 
@DavidCarlisle - another question - I have an extra long line now in the multicolumn - that just does not want to wrap regardless of how many inches I put in the p {}. Why is that? Usually p{} defines the span, correct?
 
Needs a bit of work on the kerning:
 
@Ariel sorry my powers of imagination are failing, you'd need to post an example either on site of in an email or something
 
Sort of code:

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes.stix}
\begin{document}
\begin{tikzpicture}
\node[stix=T,draw,fill=gold] (T) {};
\node[stix=i,draw,right=of T,fill=gold] (i) {};
\node[stix/shape=italic,stix=k,draw,right=of i,fill=gold] (k) {};
\node[stix=Z,draw,right=of k,fill=gold] (Z) {};
\end{tikzpicture}
\end{document}
 
9:32 PM
@DavidCarlisle I added my example as an edit to the original Q: tex.stackexchange.com/questions/46567/… You can see the long line stretching on and on...
 
9:47 PM
@DavidCarlisle I guess I could also try chopping that poorly written sentence. :)
 
9:58 PM
@Ariel I couldn't recreate your example I probably added the egend in a different place, send a complete document (that runs without cantarell that I don;t have and without [6pt] and i may have a look)
 
@DavidCarlisle - Sure - is this your current email: d.p.carlisle at gmail dot com
 
10:15 PM
@DavidCarlisle Here is a paste: gist.github.com/2332429
 
@AndrewStacey Wow, looks really nice. Immediate imagination kick in: Let TeX do its magic and spits out the node positions where you just say \node[stix={TikZ},....] {}; but how to communicate with it i have no idea.
 
 
1 hour later…
user19161
11:39 PM
Is there supposed to be a graphical front end to tikz called riesz? It was hinted at in one of the documentation files, but I am not sure about the status of the project.
 
@JasperLoy Do you mean QtikZ(Ktikz for Linux) or TikzEdt?
 
user19161
@percusse Nope, don't think so. It's in one of those readme files under tikz I think. It's supposed to be a student project maybe.
 
user19161
riesz is also a German acronym for something.
 

« first day (524 days earlier)      last day (4418 days later) »