« first day (2035 days earlier)      last day (2891 days later) » 

kan
12:08 AM
Hello from India!
 
Anonymous
@kan Hey mate where do you live?
 
kan
@VincentVerheyen at the moment, in Trichy, a city in India.
 
Anonymous
I am looking for something similar to the LaTeX Overlay Generator, but instead of generating coordinates for a rectangle, I would like to make polygons (which can also be rectangles, but not necessarily horizontally aligned with the screen) e.g. by placing dots on the background image. --- The polygons don't need to be automatically created if not possible, I can just work with the coordinates in Tikz, if they could at least be generated.
 
Anonymous
@kan OK. I am living with a Sri Lankan guy at the moment: a meditator.
 
@kan Hi from a pond in Brazil!
 
kan
12:30 AM
@PauloCereda Quack, quack. :)
 
@kan Quack! :)
 
 
2 hours later…
Anonymous
2:42 AM
Hmm ... I guess it's not so easy to let Tikz find the coordinates of the middle of any n-polygon?
 
Anonymous
3:00 AM
e
 
Anonymous
@DavidCarlisle Will that work if I want to output a text string when a SVG is copied into plain text?
 
6:41 AM
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\coordinate (a) at (0,0);
\coordinate (b) at (3,0);
\coordinate (c) at (2.5,3.5);
\coordinate (d) at (0,3);
\draw (a) -- (b) -- (c) -- (d) -- cycle;

\node [inner sep=1pt,fill,circle,label=above:middle] at (barycentric cs:a=1,b=1,c=1,d=1) {};
\end{tikzpicture}
\end{document}
@VincentVerheyen See above, for some definition of middle. If you want regular polygons, then look for the regular polygon node shape. With \usetikzlibrary{shapes.geometric} you can do \node [regular polygon,regular polygon sides=5,draw,minimum size=3cm] (a) {}; and then access the centre with a.center.
 
@VincentVerheyen i don't think so? but as I think I said before, if it can be done in pdf you can probably generate the needed pdf from tex, but can it be done in pdf?
 
7:17 AM
@DavidCarlisle: Is there any reason to use \write\m@ne{} in the definition of \clearpage? This writes nothing to the .log file, as far as I understand \write\m@ne? Is this some kind of 'flushing' buffers?
 
@ChristianHupfer Yes
@ChristianHupfer Makes sure we don't loose any writes: see cryptic comment in sources :-) (Leslie's, I think)
 
@JosephWright Thanks, I'll take a look
 
7:53 AM
@JosephWright I'm sure you meant to say "extensive documentation" not "cryptic comments"
4
 
@DavidCarlisle I'm not blaming you, I'm blaming Leslie :-)
 
@ChristianHupfer I think the main point is that it's a non discardable non removable node so makes sure that the empty page isn't lost, but I can't immediately give an example where removing it would make a difference (that is where the \vbox{} that follows wouldn't already have that effect.
 
8:17 AM
@DavidCarlisle Thanks for this 'extensive' instead of cryptic comment ;-)
 
@ChristianHupfer it does write a newline to the log file, it's not exactly "nothing"
 
@DavidCarlisle Oh yes, I forgot: There's an implicit new line with \write
 
oh I see dejavu math got updated to ctan, be interested to see what that looks like
 
8:32 AM
@DavidCarlisle I see there's an example at ctan.org/tex-archive/fonts/tex-gyre-math/doc
 
@TorbjørnT. Maybe somebody can like it. ;-)
 
@egreg You don't, in other words?
 
@TorbjørnT. Not too much: look at \pi
 
@egreg "distinctive"
 
@DavidCarlisle “Peculiar”
 
8:35 AM
@egreg Agreed, that wasn't very pretty.
 
Anonymous
8:51 AM
@DavidCarlisle How about insert an "empty-looking" object/text/whatever behind or in front of the SVG, so that; when the part of the page slightly before the SVG, up until slightly after the SVG, is copied; a certain text-string is paste when pasted into plain text?
 
Anonymous
@TorbjørnT. Thank you, I'll need to study a little bit to thoroughly understand your advice, and how to work from there. But is there a way to calculate the middle of ANY n-polygon [that is, it is not yet specified whether the polygon (which could be input by the user, using an arbitrary amount of coo-rdinate #1->#2->#3->#... inputs) is a triangle, rectangle, or a higher polygon et cetera]?
 
yo'
9:13 AM
@VincentVerheyen define middle point
 
@VincentVerheyen As I tried to say with the code I posted, for some definition of middle you can use the barycentric coordinate system. But as @yo' says, define "middle".
@VincentVerheyen How you apply that depends on how coordinates are given etc.
 
yo'
@PauloCereda In 4 weeks, we'll get to know that you go to Prague :) fingers crossed!
 
9:28 AM
funny quarter rep :D
 
Anonymous
9:40 AM
@yo' I am not sure. There are indeed many ways to calculate a centroid. -- I rest my own case and thank you for your help.
 
Anonymous
@TorbjørnT. Thanks for the codes. I really appreciate that. I just need to grow a bit in my knowledge of Tikz first.
 
10:41 AM
@JosephWright I see you've been deactivated puszcza.gnu.org.ua/project/memberlist.php?group=latexfmxdef :-) I wonder if we should set the page size there and in dvips.def...
 
@DavidCarlisle Might be a plan
@DavidCarlisle Changes documents but only those that are presumably bust anyway
 
@yo' <3
 
@JosephWright not sure what exactly it changes, eg if you are printing to dead trees does it make a difference at all or is the generated postscript set to clip to the new page size
 
11:05 AM
@DavidCarlisle Hmm, I thought Bruno V. said he gets A4 PDFs vs. letter PDFs
 
@JosephWright yes if you have a4 as default and dont specify a latex paper size use graphics, then pdfinfo will show a4 with dvips/ps2pdf and letter with pdftex
 
@DavidCarlisle I meant if you do load graphics but compare pdfTeX and dvips routes
 
@JosephWright yes pdftex.def sets \pdfpagewidth (after some memoir-specific fudging) but dvips.def does not, so you get letter with pdftex and a4 with dvips
 
@DavidCarlisle Yup, so my point is if we change dvips.def then that will be altered
 
@JosephWright sure, but if you print (on paper with say A4 paper in the tray) does a pdf-specified page size make any difference. in particular is any text outside the specified page size but within the physical paper printed or clipped
if we do add it I suppose has to match what is now in pdftex.def which uses memoir's stocksize setting if it is defined rather than latex's pagesize settings. Not sure it's great to just support one contrib class in the core, but changing pdftex.def as well seems unnecessarily disruptive
 
11:16 AM
@yo' :-( I fear the day has come. My mobile phone does not start up. I shall contact the retailer.
 
@DavidCarlisle Ah, I see what you mean
 
11:31 AM
@DavidCarlisle ooh I have an account there too, for... reasons unknown.
:)
@Johannes_B Brand?
 
@PauloCereda Nokia. This is the worst part.
My Nokia mobile phone died.
 
@Johannes_B Holy cow, if that thingy died, something is terribly wrong!
@DavidCarlisle: ^^ ResearchGate asked me this, I thought I should answer...
 
@PauloCereda Yep.
@PauloCereda Preparing for the worst: Can i get a cli calculator on a android phone?
 
@Johannes_B There's a terminal somewhere, I guess. :)
 
@PauloCereda Oh thanks.
 
11:37 AM
@Johannes_B You can always run emacs too. :)
@DavidCarlisle: ^^
 
@PauloCereda I guess vim is not so great on a touch screen?
 
@Johannes_B I had Vimtouch in my tablet. Hacker's keyboard help a lot, but it is quite messy.
Even for emacs.
 
@PauloCereda Before i use emacs, i have to make sure that the phone really died or just makes fun of me. Next i would have to find a phone with enough power to start up emacs and run it for five minutes.
 
@Johannes_B ooh a tough task. :)
 
@PauloCereda you were supposed to answer: my thesis
 
11:48 AM
@DavidCarlisle OH NO
 
@PauloCereda anyway how come we have a hummingbird not a duck for latex logo?
 
@DavidCarlisle Frank would kill me. :)
 
12:38 PM
Am I being over harsh here?
-1
A: What does [t] and [ht] mean?

user79772With a capital H \begin{figure}[H] the location is "strong" fixed, even generating some white gaps...

 
@AndrewSwann well it doesn't answer the question as asked but I suspect that it was intended as an addition to the accepted answer rather than as a self-standing answer. As such it ought to be a comment or edit on that answer but not unreasonable for a new user not to attempt that
 
yo'
@AndrewSwann i commented. The Q is actually a dupe, without any doubt. I may VTC later when I get home
 
@yo' Indeed this material covered by tex.stackexchange.com/q/39017/15925, but the comments on the accepted answer do cover a subtle point.
Thanks for the additional comment.
 
1:00 PM
@PauloCereda see I even help vim users tex.stackexchange.com/questions/311772/…
 
1:45 PM
@DavidCarlisle :)
 
2:06 PM
@PauloCereda Nice answer: “don't try using vim features”.
 
@egreg I might need to downvote it. :)
 
@PauloCereda By the way, I'm above 60000 upvotes
 
@egreg You've beat me! Congrats! :D
<3
 
2:44 PM
@DavidCarlisle I see you too spotted the 'SNV' typo: I was about to fix it
 
@JosephWright yes not sure if I understand the blog like aspects of the news yet, whether I just make a file in _postsand it gets picked up or whether you need to do something to update the snippets that appear on the main pages
 
3:00 PM
@DavidCarlisle A learning process
@DavidCarlisle Need to work out who is doing content re-writes :-)
@DavidCarlisle I guess I should write a new LaTeX3 news, as Will is busy
 
@JosephWright or you could provide a Twitter update status. :)
 
@PauloCereda That's more-or-less what you can get from GitHub
 
@PauloCereda old school: we have an rss feed
 
@JosephWright :)
 
@PauloCereda @DavidCarlisle I guess I might alter the L3 links to point to the latter not to the SVN (which is not great as a web service)
 
3:04 PM
@DavidCarlisle Who reads them anymore? (/writes parser in Fortran...)
 
@PauloCereda I use RSS for my day-job: Feedly for journal updates
 
@JosephWright oh I was kidding. :) I use Feedly a lot too. :)
@Joseph: in other news, expect an online L3 tool. :)
 
@PauloCereda I just use firefox active bookmarks;-)
 
@DavidCarlisle ooh :)
 
3:24 PM
I think MaestroGlanz is Masi reincarnated. My mind find their questions cryptic :)
 
@Manuel :)
 
@Manuel don't do this should be a standard answer
@Manuel @egreg couldn't resist moving some % and picking up some rep:-)
 
3:43 PM
not had a palindrome in ages, but a couple of lucky downvotes this week got me to the correct parity again:
user image
7
 
@DavidCarlisle Another reason for hating downvoters
 
@DavidCarlisle Reading the ConTeXt sources: did you know it has some pronunciation advice?
 
@DavidCarlisle yay! And the comma is in the right place. :)
 
@egreg well it is not just downvoters of course you also need the skill to avoid rep cap so that the downvote has an effect
 
2
Q: ConTeXt: what is ~/texmf folder and what is its relation with /usr/share/texmf

ScumCoderFirst of all, I am a complete noob in TeX/LaTeX/ConTeXt/WhaTeVeR, so please be gentle. OK so I installed ConTeXt (version 2013.84.svn30044-18.5) on my OpenSuSE 42.1 using the official repository, and tried running context --version. This gave me ... resolvers | resolving | resolvers ...

Is this a TeX issue or an OpenSuSE one?
 
4:05 PM
@DavidCarlisle You should try harder not to reach rep cap.
 
@PauloCereda @ChristianHupfer will be pleased about the comma
 
@DavidCarlisle Yes. :)
 
yo'
@DavidCarlisle funny you use the word "parity" modulo 10
 
4:30 PM
@yo' yes but what else:-)
 
The most seen and clicked ad is:
:)
 
Jan 12 at 12:15, by David Carlisle
@PauloCereda finished your thesis?
 
@DavidCarlisle Oh no!
 
yo'
@PauloCereda the most clicked is the TeX tips one, it's just newer ;)
 
@yo' ooh :)
 
4:56 PM
@DavidCarlisle Only 18,000 to go for me and the comma is in the middle ;-)
 
5:17 PM
@PauloCereda Where are the stats again?
0
Q: About Latex editor(s) for Powerpoint lectures?

Y. AzzougWhat are the best Latex editor(s) for Powerpoint lectures

Nice question :D
 
@ChristianHupfer The best is the tag.
 
@UlrikeFischer Yes, a brilliant combination. :)
 
@UlrikeFischer I noted that too, but for me the question itself is funnier, the tag is 'das Sahnehäubchen' ;-)
 
5:33 PM
@ChristianHupfer obviously vim is the answer, @PauloCereda wouldn't want to waste emacs on a powerpoint document
 
@DavidCarlisle vim? I don't know 'vim' ;-)
 
@DavidCarlisle Ah, that's something useful, apparently some cleanser stuff :D
 
5:58 PM
@PauloCereda my next target ^^^^
 
 
2 hours later…
7:29 PM
@MaestroGlanz: I've got the impression you try to imitate Masi and his style of questions ;-)
 
yo'
7:57 PM
@ChristianHupfer no insult intended :D
 
@yo' Of course not ... it's an impression ;-)
 
@DavidCarlisle :)
 
Cake in the oven.
 
@Johannes_B \begin{baking} ??? ...and by the way: ssssh, you only attract strange ducks (@PauloCereda) to this place ;-)
 
@ChristianHupfer Almost done. I hope it is good.
 
8:11 PM
@ChristianHupfer Quaaaaaaaaaaaaaaack
 
@PauloCereda Ah, it's too lattttttttttttttttttttttttttttttttttttttttte :-(
 
@PauloCereda Quack :-)
 
Any pandoc experts around?
 
@ChristianHupfer latte? :)
 
@PauloCereda Milch.
 
8:28 PM
\documentclass{article}


\ifnum\pdfoutput=0
  \AtBeginDvi{\special{papersize=4in,4in}}
  \AtBeginDvi{\special{papersize=5in,3in}}
\else
  \pdfpagewidth=4in
  \pdfpageheight=4in
  \pdfpagewidth=5in
  \pdfpageheight=3in
\fi


\begin{document}


a  aa a a a a a a a a a a a a a a
\end{document}
@JosephWright (anyone) what is the media size of the above? Answers on a postcard to....
 
With pdflatex and lualatex I get 360 x 216 pts
 
@DavidCarlisle 4x4 via dvips and ps2pdf, otherwise 5x3.
 
@egreg yes they are the easy case as you just reset the registers before they are used. but with latex I get 5in by 3in with xdvi and 4in square with gv showing the output of dvips and 4in square with xpdf showing output of dvips+ps2pdf
 
So I have a pandoc question, and but it's about converting Word to LaTeX. I need to tell pandoc how to ignore text marked with a particular paragraph style in word. I suspect if I ask it here, I won't get an answer or everyone will decide it's off topic. So where should I ask it?
 
@DavidCarlisle Yes, with DVI the second \special is not honored
 
8:34 PM
@egreg but xdvi honours it...
 
@DavidCarlisle So it's dvips
@DavidCarlisle I confirm also on Mac OS X, xdvi sees 5x3
 
@AlanMunn StackOverflow as ~750 questions tagged pandoc. Not much, but perhaps an alternative. (I don't know what's best.)
 
But first one wins means it's a tricky thing to set in dvips.def as hard to document what happens if something else sets it directly or in atbegindvi or in Heiko's \AtBeginShipoutFirst (which is what hyperref does)
@egreg well dvips specified the syntax so if it wants to say first one wins I guess it can....
@TorbjørnT. yes thanks, confirms what egreg and I got, which means basically it's not that reliable :(
 
@TorbjørnT. I guess I'll try there first.
 
@AlanMunn You could try the pandoc mailing list.
 
8:43 PM
@DavidCarlisle It should delay setting the bounding box when outputting the first page, but possibly there are issues with PostScript. AFAIK, the bounding box information might also go at the end.
 
@AlanMunn I don't suppose running some xslt over the document.xml in the docx zip file to delete marked paragraphs would count as a solution?
 
@UlrikeFischer Thanks, that sounds like a better idea. I tend to forget that mailing lists exist...(I barely read the ones I'm subscribed to any more).
@DavidCarlisle Only if they could be magically reinserted into the output document. :)
 
8:57 PM
0
Q: The duck giveaway 2016

Paulo Ceredaladies and gentlemen, boys and girls, ducks and mallards, children of all ages! It is time for organizing another amazing community lottery, our beloved duck giveaway 2016! Quack! The prize The prize will be a lovely duck! Not a real one, I am afraid (note to self: organize another lottery with...

 
@PauloCereda I don't want that duck -- it's scratched :-P
 
@DavidCarlisle can longtable handle a large last foot and no normal foot sensibly? I need to be sure that there is at least one line before the sums at the end ...
 
@ChristianHupfer <3
 
@ChristianHupfer You know that something has gone wrong, if you ask google to search for Sahneabdeckpapier.
 
@PauloCereda you haven't got the improved version of the duck picker code that I provided last time
 
9:07 PM
@DavidCarlisle ooh good times. :) Those numbers were very lucky. :)
 
@Johannes_B I don't dare to ask
 
@ChristianHupfer Kuchenbasar.
 
@UlrikeFischer should be OK, although why not just add those lines to the end of the body?
 
@DavidCarlisle good question. Probably to easy a solution ;-)
 
@DavidCarlisle Please change the code that 42 will be the result :-P
 
9:14 PM
@ChristianHupfer, @UlrikeFischer: you can pick two numbers. :) More chances!
 
@PauloCereda @PauloCereda: I know, but I rely on 42 :D
 
@ChristianHupfer Ah. :)
 
@PauloCereda Ok, I choose another number: 42
@PauloCereda: Damn :-(
 
@PauloCereda Naughty Brazilian Duck!
 
9:19 PM
@ChristianHupfer Let me ask the system for a random integer. Here it is: 42
 
@DavidCarlisle: c'mon, duckie duckie duckie!
 
@PauloCereda at least I gave two numbers unlike @ChristianHupfer and @UlrikeFischer who only managed one each
 
@egreg Your pseudo random generator is scratched :-P
 
@DavidCarlisle :D
 
@DavidCarlisle Au contraire ....
 
9:22 PM
@DavidCarlisle I wanted to give you a chance too ...
 
@PauloCereda: @DavidCarlisle hasn't understood the rules actually :-P
 
@egreg: ^^
 
@ChristianHupfer He relies on hidden features
 
9:26 PM
@ChristianHupfer I have faith that @egreg will supply some expl3 code to return 0
 
@DavidCarlisle @UlrikeFischer We've got no chance -- it's like the Florida ballots :-P
 
@PauloCereda Hey! It works just like for the Cookie Monster!
 
@ChristianHupfer don't matter -- my number is a lucky number anyway
 
@UlrikeFischer The @egreg-@DavidCarlisle conjuration is strong and evident ;-)
 
@UlrikeFischer Oh my! <3
@egreg :)
 
9:49 PM
@egreg I left a comment for you on the xetex/biber/utf8 question
 
yo'
@DavidCarlisle with TL15 I get 5x3 by both engines, but you had probably known that.
 
@DavidCarlisle And I provided a far more complete answer. :P
 
@yo' you do? how are you measuring the latex one?
 
yo'
@DavidCarlisle ah sorry, I mean both pdflatex and lualatex. What's the other option?
 
@yo' latex +xdvi (or any other dvi viewer you have to hand) and latex+dvips + ps2pdf
@yo' xdvi takes the second so makes a rectangle, dvips takes the first, so makes a square, which is a bit of a pain as they are reading the same dvi file.
 
9:57 PM
@DavidCarlisle And the tick goes to…
 
yo'
@DavidCarlisle yeah, right
 
9 mins ago, by David Carlisle
@egreg I left a comment for you on the xetex/biber/utf8 question
 
@DavidCarlisle The OP know better. :P
 
@egreg oh and now a third, with no new information
 
@DavidCarlisle With no information
 
10:00 PM
@egreg actuallly my second comment wasn't posted as it was too short, just added .....
 
10:10 PM
"A well designed package must be extendable. It will be similar to the concept of moderncv. "
I'm having trouble parsing the above sentence, could anyone help?
@Johannes_B one of your favourites, I know ^^^
 
yo'
@DavidCarlisle where have you found it?
 
Hard disk has died on laptop :-(
 
A well designed package must be extendable. It will be similar to the concept of moderncv. So I do only a base layout, which can easily be replaced by custom ones. The point Ulrike mentioned is correct, but this is - as I think - more acceptable than putting a ifundefined around every item. If I can do it, the way I intend this, every school boy can design his own layout. — MaestroGlanz 22 mins ago
 
@JosephWright Time machine backup though?
 
@JosephWright oops, running latex test suite too often? Hope you get everything back...
 
10:16 PM
@AlanMunn yes mostly
 
@JosephWright They're easy to replace yourself.
 
@DavidCarlisle apart from a part done form for work will be fine
 
@AlanMunn What do you do when the Time Machine disk dies?
 
@AlanMunn indeed but first will see if can get it done for free
 
@JosephWright Applecare?
@egreg Backup from the backup Time Machine disk.
 
yo'
10:17 PM
@DavidCarlisle I replied, preserving the level of parseability.
 
@AlanMunn yes but may have run out
 
@JosephWright Oh well. But hard drives are pretty cheap now.
 
@yo' M.A.S.I ;-) No insult intented....
 
@DavidCarlisle moderncv? That hideous thing with no documentation?
moderncv That thing with the warning that confuses new (and experienced) users for months?
 
yo'
10:35 PM
@JosephWright reminded me I shall do a backup :)
 
@JosephWright: is it possible to make my giveaway thread to appear in the hot meta site bulletin?
 
@Johannes_B I thought you'd be happy to see it being used as a template for class construction
 
Nevermind, it's appearing now. :)
 
10:58 PM
@DavidCarlisle i am preparing for a cake sale.
No templates allowed.
 
@Johannes_B Isn't a baking pan a template? :)
 
@AlanMunn ssssh.... don't provoke Gundar ;-)
 
Anonymous
So there is no off-line school/institute to learn Tex in an advanced way?
 
@VincentVerheyen Not as far as I know. Buy the TeX Book and work through it.
 
Anonymous
11:13 PM
 
@VincentVerheyen The University of TeXas ;-)
 
Anonymous
@ChristianHupfer What does the postfix "as" stand for? :) Advanced Study?
 
@VincentVerheyen All Simple ;-)
 

« first day (2035 days earlier)      last day (2891 days later) »