« first day (1302 days earlier)      last day (3646 days later) » 

12:01 AM
Is it a common occurrence that the index shows the right page numbering in the index itself, but clicking it takes me to the wrong page number (it's always off by two?)
If not, I'll just ask a question tomorrow... otherwiseI can try fixing it now...
I'll deal with it tomorrow. Regards
 
@1010011010 is page 1 the third actual page ?
 
12:28 AM
@GonzaloMedina I think the Friday one. :)
 
 
7 hours later…
7:53 AM
@DavidCarlisle Found out it was the titlepage environment that was messing with my page numbering
 
8:32 AM
MacTeX 2014 (possibly) final build installed
 
@JosephWright Sounds like the latest fastfood hype for math and physics students at your local MacDonalds...
 
9:22 AM
Hi all, I want to place a picture/figure at the very border of my page. I can't find that here. Is there some word that could help me searching for this?
I'd like to get images on my titlepage at the very bottom and at the very right top.
But \flushleft just sets it to the very right of the text area...
 
@LaRiFaRi It's a float?
 
@101001 no
Just found eso-pic... maybe thats the stuff.
 
@LaRiFaRi I'm assuming you mean something like "watermarking" the title page... I use \usepackage[some]{background} for this.
Maybe you can do something with:

\backgroundsetup{
scale=1,
angle=0,
opacity=1,
contents={\begin{tikzpicture}[remember picture,overlay]
\path [fill=col2] (-0.5\paperwidth,5) rectangle (0.5\paperwidth,10);
\end{tikzpicture}}
}

in premable, and:

\BgThispage

On your titlepage as an example
I think this can be adapted to your needs
 
The title page is done by \maketitle. maybe thats a bit more tricky
I will try that right now. Thank you verymuch
And the graphic is a transparent png. Do I need the tikz stuff then? Or do I replace the content by an \includegraphics...
 
9:37 AM
@LaRiFaRi You can use regular LaTeX environments inside tikz nodes
 
ok
Thanks again. Going to play around with this now.
 
@LaRiFaRi You can even use a tikzpicture inside a tikzpicture that way :-)... try: \begin{tikzpicture}
\node[inner sep=0pt] (russell) at (0,0)
{\includegraphics[width=.25\textwidth]{bertrand_russell.jpg}};
\node[inner sep=0pt] (whitehead) at (5,-6)
{\includegraphics[width=.25\textwidth]{alfred_north_whitehead.jpg}};
\draw[<->,thick] (russell.south east) -- (whitehead.north west)
node[midway,fill=white] {Principia Mathematica};
\end{tikzpicture} (ofc with different parameters)
 
hehe, no need for that. :-) One single picture on the title and I am happy...
 
10:37 AM
Anyone here knows how to speed up compile speed? e.g. use multiple cores, etc. I don't really mind as long as it's faster than the current compile time :/
 
10:48 AM
@1010011010 Don't use TikZ.
 
@StephanLehmke I'm already using GNUplot for almost everything, minus the histograms I guess, I like TikZ histograms.
@StephanLehmke I was just hoping there would be some command that I could increase... memory size... CPU cores... you name it
 
11:25 AM
@1010011010 If your document takes more than a couple of seconds to compile, that's owing to TikZ. Maybe under the hood in some other package.
 
@StephanLehmke Taking off any and all compatilibity leads to compilation times about ten minutes, but most of that is owing to animations and the minted package, which I have used rather excessively.
 
11:37 AM
@StephanLehmke If you have suggestions for nice histograms, maybe I can avoid loading the tikz package altogether?
 
I think I have a new version of fontspec to release…
7
 
12:03 PM
@1010011010 Well the TeX process itself is essentially sequential, so anything computed by TeY in one session won't profit from parallel execution. Better buy a SSD if you want to speed up that.
 
@StephanLehmke I already run it on an SSD. :-)
 
That said, you can gain parallelism by "factoring out" stuff from the main TeX process, that is, don't start external processes with \write18, but use make or ant or arara to "build" all parts of your document (which are not neccesarily computed by the main TeX process); this should automatically lead to parallel execution.
Use asymptote or metapost for your histograms (I know none of those, so I can say nothing about their qualification).
I think minted also uses external processes, doesn't it?
 
@StephanLehmke It does, but minted controls it sequentially, not in parallel.
 
If you externalise your TikZ pictures, then there is a certain potential for parallelism, and furthermore, creating pictures only once should speed up compilation anyway ;-)
 
@WillRobertson Details?
 
 
1 hour later…
1:33 PM
@JosephWright commit message: replace all whitespaces with tabs.
:)
 
 
1 hour later…
3:02 PM
Does anyone here have experience with the Bembo font? Talking about math-type support, etc.
 
Is any one here in the mood to help me with a little tikz thing. Sorry, but I am in hurry, thats why I ask here. I need a wedding rings symbol in text. I think the intersections seen here (texample.net/tikz/examples/the-olympic-rings) would result cool. But I don't succeed to do it. I just need to rings horizontally aligned. Any help would be much appreciated. Thanks and sorry for that question.
 
 
2 hours later…
5:19 PM
hi di ho, small question
is it possible to convert a number to a char in latex?
eg char(65) would give 'A' etc...
 
@Trefex Classing TeX?
@Trefex Does it need to be expandable?
 
I'm use LaTeX2e and I'm not sure
I want to use it in \draw node bla bla as a label
 
@Trefex Which engine (pdfTeX/XeTeX/LuaTeX) do you use?
@Trefex Small example?
 
so \foreach \x \draw node at (\x, 0) { char(\x) }
pdtex
that is using tikz of course...
 
@Trefex Something like
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
  \def\inttochar#1{%
    \begingroup
      \lccode`a=\x\relax
      \lowercase{%
        a%
      }%
    \endgroup
  }
  \foreach \x in {62,63,...,70} \draw node at (\x, 0) { \inttochar{\x} };
\end{tikzpicture}
\end{document}
perhaps?
 
5:26 PM
\begin{tikzpicture}
\foreach \x in {1,1.9, ...,10.9}
\foreach \y in {-0.5, -1.4, ..., -7.4}
\draw (\x,\y) circle (0.4cm);

\draw (-0.15, -7.35) rectangle (11.5, 0.5);
\draw node at (0.2,-0.5) {\textbf{A}};

\foreach \name[count=\idx from 1] in {1, 1.9, ..., 10.9}
\draw node at (\name,0.2) {\textbf{\idx}};

\end{tikzpicture}
one sec
 
Should I put this strange behaviour of memoir + geometry + afterpage in a question of its own? tex.stackexchange.com/questions/180290/…
 
@JosephWright almost have it right. Just don't know how to do additions lol
\foreach \x in {65, 66, ..., 72}
\draw node at (0.2, \pgfmathparse{-0.5*(\x+64)}) {\inttochar{\x}};
why does this not work? I want either to simply add 64 to a counter 1...8 or remove 64 from a counter 65...72. I thought using pgfmathparse that was possible...
\foreach \name[count=\idx from 1] in {65, 66, ..., 72}
\draw node at (0, \idx) {\inttochar{\name}};
tried this, but that doesn't work probably due to the definition of \inttochar?
 
@Trefex TikZ is tricky with where out can and can't do arithmetic
@Trefex As long as you keep the conversion in the 'typesetting' bit, it's not that
 
5:43 PM
ok, well
\foreach \name[count=\idx from 64] in {1, ..., 8}
\draw node at (0, -\name) {\inttochar{\idx}};
also doesn't work
 
@Trefex My mistake!
  \def\inttochar#1{%
    \begingroup
      \lccode`a=#1\relax
      \lowercase{%
        a%
      }%
    \endgroup
  }
 
och, didn't see the \x there :D
\begin{tikzpicture}
\def\inttochar#1{%
\begingroup
\lccode`a=#1\relax
\lowercase{
a
}%
\endgroup
}

\foreach \x in {1,1.9, ...,10.9}
\foreach \y in {-0.5, -1.4, ..., -7.4}
\draw (\x,\y) circle (0.4cm);

\draw (-0.15, -7.35) rectangle (11.5, 0.5);

\foreach \name[count=\idx from 1] in {1, 1.9, ..., 10.9}
\draw node at (\name,0.2) {\textbf{\idx}};

\foreach \name[count=\idx from 65] in {-0.5, -1.4, ..., -7.4}
\draw node at (0.2, \name) {\textbf{\inttochar{\idx}}};
\end{tikzpicture}
look at the result!! isn't it beautiful...
thank you @JosephWright
 
 
2 hours later…
7:27 PM
@PauloCereda sounds promising! ;)
 
@cgnieder @PauloCereda obviously doesn't use Python
@PauloCereda That's going to cause some major distortion. Presumably means equivalent tabs
 
Ah, dammit. Now I remember why this was so complicated.
3
A: Dedicated pages for figures featuring automatic fit-to-page scaling and automatic portrait/landscape selection

ChristianSo here is my take. The TOC caption optional argument is probably not ideal where it is now but should instead come before or after the cation argument. Also caption and label could be optional arguments, too. And then the code could be considerably cleaner I guess. The distinctions of cases blow...

Getting to point (0,0) on a page in LaTeX just with \hspace and \vspace really isn't trivial apparently.
 
@Brent.Longborough No pythons and sucuris. :)
@cgnieder Next message: fixed the fixes. :)
 
Speaking of landscapes, is there a landscape equivalent for TikZ trees? So a tree that progresses horizontally towards the right, but all the node texts are aligned with the body text as normally?
 
@PauloCereda lol I've been there
@Brent.Longborough Someone familiar with python probably knows what you mean... I've not used it, yet
 
7:41 PM
@cgnieder It's just that the scope of control structures (if, while, etc) is derived from the indentation, and if you mix tabs and spaces it all goes very badly... :-)
 
@PauloCereda Will follow up tomorrow on the tests
 
@JosephWright ooh neat!
@Joseph: I'm drowing with academic stuff in this semester, but hopefully I'll be able to help you in a couple of days. :)
 
To go to (0,0) manually, you have to know whether you're on a verso or a recto page and AFAIK the detection is never 100%.
You could use textpos in absolute mode. But that fails on landscape pages.
 
@PauloCereda Scripts all working, I hope
 
Or you can use geometry but that wreaks havoc when used in \afterpage.
 
7:46 PM
@Brent.Longborough really? That sounds like looking for trouble. And the need for discipline
 
How can such a simple thing as absolute positioning be so bloody hard?!
 
@JosephWright Improvements, I meant. :)
 
Has Tikz got a trick up its sleeve for absolute positioning on a page?
 
@cgnieder Not really - the program structure stands out very clearly.
 
@Brent.Longborough boo! <3
 
7:50 PM
@cgnieder Here:
def expdecay(count,life,max):
    rate = -1.0/float(life)
    k = 0
    while (k < max):
        k += 1
        n = int(count*exp(rate))
        s = count - n
        count = n
        yield (s)
    yield (count)
 
@Brent.Longborough quite readable. But doesn't it force you not to mix tabs and spaces? (which is a bad idea, anyway... so maybe this is a good thing)
 
8:22 PM
Do you know how to make this to look nicer
`\begin{align*}
g[(l_1,\dots,l^{\prime}_j +l^{\prime \prime}_j,\dots,l_p)-(l_1,\dots,l^{\prime}_j,\dots,l_p)-(l_1,\dots, +l^{\prime \prime}_j,\dots,l_p)]=\\
=s(l_1,\dots,l^{\prime}_j +l^{\prime \prime}_j,\dots,l_p)-s(l_1,\dots,l^{\prime}_j,\dots,l_p)-s(l_1,\dots, +l^{\prime \prime}_j,\dots,l_p)=0
\end{align*}`

:)
 
@Christian There's a node called current page, so current page.north west is the top left of the page, for example. You can place stuff relative to the anchors of that node.
 
@TorbjørnT. Hm, interesting. I'll go and see if it works on landscape pages.
Hope my almost non-existent tikz foo is strong enough
 
8:40 PM
@Cortizol Hi, what about the following?
\begin{align*}
&g[(l_1,\dots,l^{\prime}_j +l^{\prime \prime}_j,\dots,l_p)-(l_1,\dots,l^{\prime}_j,\dots,l_p)-(l_1,\dots, +l^{\prime \prime}_j,\dots,l_p)]\\
&\hspace*{1cm}=s(l_1,\dots,l^{\prime}_j +l^{\prime \prime}_j,\dots,l_p)-s(l_1,\dots,l^{\prime}_j,\dots,l_p)-s(l_1,\dots, +l^{\prime \prime}_j,\dots,l_p)=0
\end{align*}
 
@TorbjørnT. Are you sure that current page ignores page margins?
 
@Christian I don't really use it, but I thought so.
@Christian Ah, you may need remember picture,overlay as options to the tikzpicture.
 
9:05 PM
@Christian And you need to compile twice. See also section 17.13.2 Referencing the Current Page Node – Absolute Positioning in the manual.
 
@cgnieder The 'Modern Python' way, I think, is to use spaces exclusively, and to set your editor to insert the correct (varying) number of spaces when the tab key is pressed.
 
@TorbjørnT. Yeah, the example works fine on a normal page but I'm still struggling with a landscape one.
 
@Christian Maybe it doesn't work, though I cannot say why. You could ask a question about it.
 
9:21 PM
@TorbjørnT. I can imagine why. Because lscape and pdflscape do strange things to width/height lengths. Some are rotated, some aren't.
When I take that example from the manual that puts a circle at current page.center, then the circle still appears on page for a landscape page but it's off center
towards the lower right or the lower left, depending on what orientation you ascribe to the page ;)
@TorbjørnT. Well, in a way I had already asked about this a long time ago when I asked how to autoscale and center a figure including the caption on a page which is still my ultimate goal.
Since I really suck at TikZ, I guess I'd still need someone do much of the work for me since I probably run into more roadblocks than I'm able to overcome in the time I currently have for this :/
So maybe I'll look into this after finishing my thesis. But right now I guess I need a solution that doesn't basically require me to learn a new language.
If TikZ had given me a way to get a upper left corner with a clear orientation every time, so I could just put a page sized minipage there and be back in friendly territory, it might have been different.
Anyway, thanks for your help so far :) As I said, I might actually look into this when I have the time. It frustrates me to no end that this seemingly simple problem resists all approaches to be solved so I do want to crack this.
 
10:15 PM
@e-birk Thank you. That looks better.
 
 
1 hour later…
11:45 PM
@JosephWright I have a zillion fontspec emails and github issues to trawl through, so my job is never complete, but I think it's more than enough for one release. I'm just waiting a day or two in case I've missed something obvious before uploading. Next stop: unicode-math to make @egreg and David happy :)
 
@WillRobertson :)
First round at the polling station ended. Tomorrow afternoon, counting votes.Our crazy electoral system allows voting from 7am to 11pm. Then I had to count votes for the European election.
 
Question of microscopic proportions: What's the width of a line in a tabular cell called in LaTeX dimensions?
 

« first day (1302 days earlier)      last day (3646 days later) »