« first day (1040 days earlier)      last day (3888 days later) » 

6:28 AM
1
Q: Review your own post?

WernerThe sequence of events were the following: I answered a question. At the time of posting, I noticed a comment directing to a duplicate post source. Rather than keeping my answer under the (newly posted) duplicate, I deleted it and posted it under the duplicate source. After a while, I noticed...

@DavidCarlisle: I've seen some of your posts in the 10K-tools list in the past...
...you know, the days when you were giving single-word answers.
Did you ever see your own post under the 10K-tools?
 
7:24 AM
@Werner only one single word answer, I think:-)
@Werner given your question, funny it's been closed as duplicate (although it doesn't really seem the same as the linked question)
 
 
1 hour later…
8:49 AM
@DavidCarlisle You're always late.
 
9:13 AM
@egreg 10 seconds
 
@DavidCarlisle This costs you a green tick. :P
 
@egreg Oh I'm only going for ticks these days
 
 
3 hours later…
12:28 PM
<Deek> nopcode: No, it isn't. Win32 lacks the equivalent of fork().
<Knghtbrd> Deek: windoze is not meant for people who should have access to
           sharp objects, hence no fork()
<Knghtbrd> instead, you must rely on spoon()

paulo@alexandria ~$
 
@DavidCarlisle Yes, I didn't find that in my searches. I think it's too close to argue...
 
Yay, upvoting is fun!
 
@egreg I like to give you a helping hand. (I thought about posting a separate answer but I'm not that mean:-)
 
Done upvoting @egreg, time to upvote @DavidCarlisle. :)
 
12:59 PM
@PauloCereda got any left?
 
@DavidCarlisle Of course not.
 
@DavidCarlisle I always have upvotes for you both. :)
 
1:30 PM
@PauloCereda so who looks after Gonzalo?
 
@DavidCarlisle I vote for him as well. :) And Werner, and percusse, and Jake, and Heiko, and Joseph, and Torbjørn, and Herbert, and ...
 
2:09 PM
0
Q: tabulation minted xelatex

XoffWhen I use tabulation inside the minted environment in pdflatex, they show as normal (several spaces). But when I use xelatex, they appear as ^^I. Example (before each letter a b c, there is space-tabulation-space) : \documentclass{standalone} \usepackage{minted} \begin{document} \begin{minip...

I get the correct output.
 
2:19 PM
@SamWhited aah tabs! Evil tabs.
@SamWhited: I removed my comments, so the OP doesn't get confused. :)
@Sam: maybe you can also remove yours, since mine doesn't exist. :P
@DavidCarlisle: :retab
@SamWhited Yep. :) I usually don't deal with tabs. :P
@SamWhited :) Watch @David somehow fix that with picture mode. :P
@SamWhited Ah interesting! :) Nice answer, I'll upvote ASAP. :)
 
3:05 PM
@SamWhited not really a character encoding issue such as a format for control characters in write issue
@PauloCereda M-x untabify is so much clearer
 
@DavidCarlisle Nope. :)
 
@PauloCereda you have questions to answer
 
@DavidCarlisle Be my guest. :)
 
6 hours ago, by David Carlisle
@egreg Oh I'm only going for ticks these days
 
@DavidCarlisle You got the badge, so move on. :)
@DavidCarlisle: the problem is, I actually have an answer, but I'm ashamed of it. :)
 
3:13 PM
@PauloCereda There was some interview with some athletes the other day they were explaining that it's OK to have no life for 4 years but you have to get gold at the end, silver just isn't good enough
@PauloCereda add some cute ducks
 
@DavidCarlisle Ah. :) They probably have no bills to pay. :P
@DavidCarlisle sounds like a plan. :) I might go for CW.
 
 
1 hour later…
4:28 PM
@DavidCarlisle, @egreg, thanks for the help yesterday, I rolled my preamble back about 5-6 commits and I'm back to compiling again. Seems like I changed a color package include to xcolor at some point and then things started breaking, I'll be more compile trigger happy before commits in future.
 
4:47 PM
@ForkrulAssail Happy to have helped.
 
@ForkrulAssail That will teach you not to abandon one of my packages for some new upstart:-)
 
@DavidCarlisle, point taken, I'll write my filterForDavid.sh soon before posting :)
@DavidWhat do you maintain, so
 
@ForkrulAssail ?
 
sorry, @DavidCarlisle, what do you maintain, so I can get the list right :) ?
 
@ForkrulAssail there's an answer on site about that:-) I'll see if I can find it
This one although that seems not to include the core latex release, no idea if the list is accurate:-)
65
Q: Who are the package maintainers here?

Andrew StaceyQuick links: LaTeX Packages A-M, N-Z ❧ LaTeX Classes ❧ ConTeXt Modules ❧ Generic Packages ❧ Support Scripts ❧ Biblatex Styles A fair few users here have written or maintain packages on CTAN, some even in the TeX Live distribution, or at the least have some official involvement with a pac...

 
5:02 PM
@DavidCarlisle, I thought your profile was quite mute about that. 14 packages, wow. I don't instantly spot what my 'upstart' tread on though :)
 
@ForkrulAssail as I say it doesn't include the core latex release so color is me along with graphics/x lscape. longtable. delarray, array (with Frank) and bits of latex.ltx of course:-)
 
@DavidCarlisle, quite a busy man I see.
Do you have suggestions for where one would start if you want to make minor changes to a package? Say exsheets? Learn TeX, contact maintainers, ????, ????, profit :) ?
 
@ForkrulAssail a long time ago:-)
 
5:18 PM
reminds me of that learn programming in 21 days comic commentary, learn physics, learn chemistry, learn nano-tech, travel back in time after learning all that tech, kill and replace yourself, with an older more knowledgeable you - the only way to learn programming in 21 days.
 
@ForkrulAssail learning tex can't hurt. But it depends on the maintainers, some people prefer to get fully worked code suggestions, some prefer just to have top level feature requests. (I'm rather of the latter camp myself, I'd rather I understood the code I add so I can remember it 20 years later) I prefer if people want to add code they just copy and make a new package (xcolor, pdflscape,.... )
 
@DavidCarlisle Ah, that explains the proliferation of packages, probably makes sense. I have some tracking changes I'd like to add to ExSheets, ease my teaching workload a bit by automating the little things. What can you suggest for a beginner in tex (coming from python, c, asm environments) ?
 
@ForkrulAssail try typing texdoc lshort into your console ;)
 
@DavidCarlisle, haha, on my 'pile of shame' for future reading already. I'll look into it, thanks.
oops, I meant @tohecz
 
@ForkrulAssail no prob. But seriously, that one is good :)
 
5:27 PM
@tohecz, good to know, noted.
 
5:52 PM
I'm using knitr to put my graphs in straight from R into my LaTeX doc. The problem is that it nests the \label inside \caption. This causes "thesis.tex:1489: Argument of \@iiminipage has an extra }.
thesis.tex:1489: leading text: \end{figure}" errors on every figure or margin figure. When I bump the \label one level up (outside \caption), in the generated .tex file, everything compiles fine.
Some online references tex.stackexchange.com/questions/87364/… suggest it might be subfigure and tufte incompatibility, but I don't have subfigure listed in my .dep file as a used package. Any ideas how I can get past this, without an extra - regex bash processing type fix?
 
@ForkrulAssail inside caption is usually the best place for \label (before caption is just wrong (the most common latex error ever) and putting it after caption is normally OK but can affect spacing
 
@DavidCarlisle, any ideas on how I can fix the Paragraph ended before \@iiminipage was complete error then
because that seems to be what is causing it
code section:
\subsection{Responses from the population}
\begin{knitrout}
\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{figure}[]

\includegraphics[width=\maxwidth]{figure/http-status} \caption[Server HTTP responses]{Server HTTP responses\label{fig:http-status}}
\end{figure}


\end{knitrout}
it would make sense that the caption is labelled, like you said. My problem is just, I'm unsure what is now triggering this error, and killing my glossary, index, references in the process. After yesterday, I'd prefer to stay to clean compiles, even if it takes more time to figure out.
 
 
2 hours later…
7:41 PM
@ForkrulAssail not really: something has redefined something:-)
 
@DavidCarlisle maybe \long\let\@iiminipage\@iiminipage ?
 
Is that a suggestion @tohecz, or what could be causing the problem?
 
@ForkrulAssail that is a suggestion (very stupid but theoretically it might work ... well ... maybe ... I'm not so sure). It has to be entered as:
\makeatletter\long\let\@iiminipage\@iiminipage\makeatother
(of course somewhere in the preamble)
 
in the preamble or in the location I know is responsible?
ah,
thanks.
 
@tohecz No, \long\let is illegal
 
7:46 PM
ok, no \long\let then.
 
@egreg dammit, that's what I wasn't sure about
 
could you explain why @egreg? I'm a bit out of my depth here.
 
@ForkrulAssail \long is allowed only in front of \def, \edef, \gdef or \xdef
 
@egreg, thanks. Although I can't remember using any of those just yet.
 
@ForkrulAssail The only place iiminpage can appear there is in \begin{knitrout} which isn't code I know, you culd stick \tracingall after the subsection title and type x to stop the run at the error and then stare at the log (or get @egreg to stare at it)
 
7:51 PM
@ForkrulAssail Argument of \@iiminipage has an extra has usually to do with a fragile command where it should be protected.
But I don't see any minipage in the code. Probably it's added by the knitrout environment. Are you sure you want a figure in there?
@DavidCarlisle You are the \tracingall expert!
 
@DavidCarlisle, the section I pasted about 2 ours earlier, generates that error. So there is no iiminpage reference in that particular piece of code, which is odd. @egreg, let me see maybe it's added earlier in the generated .tex
 
@egreg consider it a little test (tracing code that you haven't seen is an adventure:-0
@ForkrulAssail you wouldn't see \@iiminipage directly it is the internal command that deals with the minipage optional argument (I suspect it's one of mine, although it may be same as 2.09, can't remember:-) so something is calling minipage but messing up its argument
 
@DavidCarlisle, I guess it's the knitrout env then. I'll post a question in their list, thanks.

Is there a way to still run the rest of my compile so I can at least see my references, used glossary items, for now?
Or should I stick to commenting the offending section until I can find a cure :) ?
 
@ForkrulAssail seriously stick \tracingall there, it can't be doing that much can it?
 
ok, doing that
 
7:59 PM
@ForkrulAssail that's very variable: tex is a macro expansion processor so once things go wrong it gets lost easily, you can type s or q to the prompt and it will carry on but whether the rest of the document is processed sensibly depends on luck mostly
 
@DavidCarlisle I won't gamble going that road again. So does tracingall now force errors or the section output into a .log?
 
@ForkrulAssail you shouldn't get any extra errors but it traces a lot of stuff to the log, every macro expansion step in particular
@ForkrulAssail most questions I answer on this site I do by forcing the OP to provide a working example, sticking \tracingall somewhere and watch TeX fall over.
 
Ok, so maybe I should rather stick to doing the compiles myself, rather than let rubber handle it? Or I could up rubber's verbosity
 
@ForkrulAssail you want to put \tracingall as close to the point of the error as you can and use x at the error prompt to stop the run at the first error, rubber (perhaps?) runs in batch mode so tex carries on in which case you will trace the rest of the document which might be a lot.
 
ok, so first I need to run knitr, to extract or rather embed the R code in my page, I then pass that generated .tex to latex on command line with h?
 
8:11 PM
@ForkrulAssail googling around I find \newenvironment{knitrout}{}{} % an empty environment to be redefined in TeX what do you get if you do \show\knitrout
 
@DavidCarlisle, \tracingall has rubber hang at the prompt. Where do I put \show\knitrout? Close to the section?
 
@ForkrulAssail anywhere probaby, eg just after \begin{document}
@ForkrulAssail it will stop with a fake error showing the definition
 
ok, found it in the 3133 line log
Does it the environment or env definition?
 
@ForkrulAssail environments don't really exist at that level, it will appear \kintrout
 
8:26 PM
@DavidCarlisle, I see now why you said stare. What should I look out for in the log?
 
8:37 PM
I'll do some more staring in the morning, thanks for helping out everyone :)
 
@ForkrulAssail \knitrrout -> something
 
8:56 PM
@egreg 10 seconds again, that's twice today
 
@DavidCarlisle I removed the comment, actually: the bug I remembered was in babel, rather than in polyglossia
 
@egreg well I suspect it was correct anyway
 
9:17 PM
hi
does anyone know a way that lets you put something like page numbers for a limited number of pages
like for example only the first 10 pages or the last 10 pages?
 
@AlexMardikian put where?
 
preferred in one of the header or footer locations like with fancyhdr package
 
@AlexMardikian well you can put \ifnum\value{page}<10 hello\fi in the page head with fancyhdr and it will say hello on the first 9 pages
 
thank you I will try this now
Works perfectly, thank you
 
@AlexMardikian note rather than hard wiring such numbers a more common approach is to define two different styles and then use \pagestyle to switch at the point you want to switch
\newcommand*{\somecommand}{\@ifstar{\def\foo{4}\@command}{\def\foo{16}\@command}‌​} \newcommand*{\@command}[2][\foo]{...} \newcommand*{\@commandNoStar}[2][16]{...}
@SamWhited No you don't need the top level command to take any arguments
@SamWhited well I wrote 3 \newcommand ignore the last as it was a cut and paste error. Assuming you want the * to be before any arguments the top level comamnd just has to have `@ifstar{}{} as its definition it can't itself take arguments as that would interfere with looking for *
 
9:42 PM
@SamWhited Here's the example
\newcommand{\cs}{\@ifstar\@scs\@cs}
\newcommand{\@scs}[1][opt]{\typeout{Opt is #1}}
\newcommand{\@cs}[1][mand]{\typeout{Opt is #1}}
Of course, if you want other arguments, you add them to \@scs and \@cs
 
@SamWhited or what I intended:
\newcommand{\cs}{\@ifstar{\def\opt{2}\@cs}{\def\opt{4}\@cs}}
\newcommand{\@cs}[1][\opt]{\typeout{Opt is #1}}
 
 
2 hours later…
11:24 PM
anyone here that can help with a quick TiKz problem? i have a question but I'm worried it's a duplicate of this question and so i'm reluctant to post it
i'm just having trouble turning the solutions in that question into a solution to mine
but i'm fairly sure that's just due to my own ineptitude
 
11:38 PM
@Dennis what's the problem?
 
@pecusse ah great!
@percusse I'm trying to label a draw rectangle i placed around nodes of a flowchart
 
@Dennis That's not helping much
:)
 
but because of the way that i drew the rectangle i can't figure out what the relevant coordinates are to place a label above halfway
haha, that was by way of pre-amble
\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\usetikzlibrary{calc}
\begin{document}
\pagestyle{empty}

\tikzstyle{question} = [rectangle, draw, fill=blue!20,
text width=15em, text centered, rounded corners, minimum height=4em]
\tikzstyle{view} = [rectangle, draw, fill=red!20,
text width=15em, text centered, rounded corners, minimum height=4em]
\tikzstyle{view2} = [rectangle, draw, fill=red!20,
text width=8em, text centered, rounded corners, minimum height=2em]
that is the MWE-ish thing i've been working on trying to figure it out
and i've been trying the solutions from the question on labeling a rectangle (the one i linked to) but have been really not getting anywhere
 
@Dennis First it's (A1.north west) without the ,0 and where should the label be?
 
ah, it should be midway above the red rectangle
 
11:53 PM
@Dennis Midway you mean midway the top side of the rectangle?
 
yes
changing it to this: \path (A1.north west) -- (A1.north east) node[midway,above] {LABEL};
improved it
but i need to bring it up a bit more now
AH! I think I have it: \path (A1.north west)+(-0.3,1.5) -- (A1.north east) node[midway,above] {LABEL};
but maybe there is a better solution?
 
@Dennis I would go with the fit library
\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\usetikzlibrary{calc,fit}
\begin{document}
\pagestyle{empty}

\tikzstyle{question} = [rectangle, draw, fill=blue!20,
text width=15em, text centered, rounded corners, minimum height=4em]
\tikzstyle{view} = [rectangle, draw, fill=red!20,
text width=15em, text centered, rounded corners, minimum height=4em]
\tikzstyle{view2} = [rectangle, draw, fill=red!20,
text width=8em, text centered, rounded corners, minimum height=2em]
 
ah! that is a much better solution!
@percusse thanks much!
 
@Dennis My pleasure
Good night!
 

« first day (1040 days earlier)      last day (3888 days later) »