« first day (1256 days earlier)      last day (3694 days later) » 

12:01 AM
@MartinScharrer To enhance it: TeX Live for Win does contain a gswin32c.exe, but in MiKTeX it is called mgs.exe (and this is Ghostscript 9.05 in the moment). When I install a separate 64-bit Ghostscript, there are only executables and library files with 64 in their names.
@PauloCereda Didn’t you again get no notification?
yesterday, by Speravir
I hope @PauloCereda will be noticed on next login, @egreg will immedialtely recognize the origin … The creation of cat or so:
 
12:14 AM
Oh, sh*t and sorry to @MartinScharrer tex.stackexchange.com/a/94421/9237
 
12:26 AM
@Speravir It says in the manual to rename convert.exe to imgconvert.exe
 
@Canageek Yes, I meanwhile noticed. :-( Martin also wrote about this in an answer I linked directly above your latest post.
 
 
6 hours later…
6:08 AM
@Canageek I don't understand...
\documentclass{article}
\usepackage{chemformula}
\begin{document}

\ch{Br2 ->[$h\nu$] 2 "\chlewis{0.}{Br}"}

\end{document}
 
6:27 AM
@hugovdberg 1 kg -> the amount of sweat produced by the human body trying to figure out the double bent questions in the TeXbook times two.
But it isn't very robust
 
 
2 hours later…
8:05 AM
Morning everyone
 
@Argo Hello
 
So when using latex, using pdf for graphics gives the best result. However, I find myself spending more and more time manually cutting images generated from software like ChemDraw and GeoGebra. Most of the time I'm just removing the empty space, so I'm curious whether or not a tool, preferebly CLI-based, can do this boring task for me.
 
@Argo Usually you're better exporting without the whitespace
@Argo E.g. ChemDraw's Save As will happily make a 'tight' EPS file
 
@Argo But if there is whitespace, i think pdfcrop can do it for you.
 
Yeah when exporting from ChemDraw it don't add unwanted space to the image, but GeoGebra does
pdfcrop seems exactly what I'm looking for, I'll check it out
 
8:22 AM
@Argo You can choose what to export from GeoGebra. If you click and drag in the axis you get a selection, and when exporting only this rectangle is considered.
 
Somehow I get these margins
 
@Argo Ah yes, I see. GeoGebra does add some additional whitespace as well. Sorry. Well, pdfcrop can take care of that easily.
 
Hmm that seems to work, although I manually have to specify how much I'd like to remove
Isn't it possible to somehow get the script (or something else) to detect where the figure ends and crop the pdf accordingly?
 
@Argo With pdfcrop? No, as long as there is only whitespace on the edges it should figure out on it's own how much to crop.
 
Hmm I tried ./pdfcrop -margin -10 del1.pdf del1_crop.pdf
 
8:33 AM
@Argo What does pdfcrop del1.pdf do then?
 
Ah it was that easy... Awesome
 
9:28 AM
@Argo note you don't have to edit the pdf file, you can just use the options to \includegraphics to clip as needed. so if you go \fbox{\includegraphics[trim= 1 2 3 4 ]{file.pdf}}` you can trim whatever is needed to make the fbox just box the bit you want (then remove the \fbox (or use viewport if you prefer)
 
10:01 AM
Goooooooooooooooooood morning Vietnam!
 
@MarioS.E. It's 5 in the afternoon:-)
 
@DavidCarlisle Not in Portugal hehehehe, we have the same time as the UK
 
@Speravir ooh cute cat! :)
 
that I know of, actually just us have GMT0
In Europe, I mean
 
@MarioS.E. but it's 5pm in Vietnam:-)
 
10:05 AM
There must be some African countries with GMT0
@DavidCarlisle Didn't you see the Robin Williams film in Vietnam?
 
@MarioS.E. yes:-) (but no reason not to misunderstand on purpose when an opportunity arises)
4
 
@DavidCarlisle nice movie, huh?
@DavidCarlisle I'm gonna give you a star just for that :)
Does anyone know if using the appendix package will cause any kind of trouble with KOMA_
?
Specially because `appendix` package's documentation states "It cooper-
ates with the hyperref package1 but may be problematic when used with packages
that change the de nition of the sectioning commands."
 
10:50 AM
Now hope the javascript propagates as well and the clock updates automatically :P
@MarioS.E. haven't had any troubles in the past as far as I remember
@MarioS.E. with scrreport at least, the other KOMA classes I don't use as much
@MarioS.E. I think using a KOMA class is quite safe as they might change the sectioning commands, but always do it before appendix does, while other packages might make it messy
 
@hugovdberg Thanks for the tip!
 
 
1 hour later…
12:05 PM
@hugovdberg AAAARGH! Comic Sans is polluting our chat!
3
 
Quickly, make it in TikZ and find a proper typeface!
 
 
1 hour later…
1:10 PM
@egreg: what do we do? comicneue.com
 
@egreg Well that is from a comic, so ...
 
1:25 PM
This never gets old:
2
Mailbox, mailbox, MAILBOX!
 
1:43 PM
@Argo you're going to have to write 144 different pages (not necessarily 144 tikzpictures), if you refresh this page you'll notice the inner part of that clock rotates (that's why I was hoping javascript propagated as well, on the original page it refreshes every 10 minutes)
 
Interesting indeed..
 
2:14 PM
60000 questions…
2
 
@SeanAllred But Word ain't one. :)
 
 
1 hour later…
3:32 PM
Microsoft DreamSpark. You. Gotta. Be. Kidding. Me. Seriously.
 
@PauloCereda Don't worry, it's just a dream. Soon you'll wake up and find everything's okay again.
 
@NicolaTalbot I read "Death Spark" for a minute. :)
Now I can get all Microsoft products for free. Which one should I get? Word? :)
 
@PauloCereda That's what happens when there's an electrical arc on the Death Star :-P
@PauloCereda Eek!
 
@NicolaTalbot ooh I blame Satya Nadella. :)
@NicolaTalbot When I saw Office 2013 installed in a friend's machine, I noticed all menu entries are capitalized. Apparently, SHOUTING IS GOOD. :)
 
@PauloCereda Oh no! I had to turn down the volume to read that! :-)
 
3:40 PM
@NicolaTalbot Oopsie, my bad. :)
 
@PauloCereda LOL :-)
 
4:04 PM
Maybe I should ask on the main site, but is there a way to test if you are in a group. This is in regards to this answer
1
A: Latex compiling out \begin{document} etc

StrongBadOne approach to handing this is to define \documentclass and the document environment to do nothing but gobble their arguments. The document environment needs to be a little tricky because you need to still expand the final \enddocument macro that gets expanded by \end{document}. The following MW...

I am pretty sure I am creating groups, but I am not sure.
 
@StrongBad not really (although I haven't seen the linked question yet) but also uniquely, the document environment body is not in a group.
@StrongBad you are, so you don't need to restore \enddocument (or you could avoid the group as in the usual definition of document by defining \document to be \endgroup and \enddocument to be \begingroup then you would have to restore it by hand as you have, (but the hard part of the approach is dealing with teh preamble of the included document.
 
4:19 PM
@DavidCarlisle For the OP's question it seems there is no preamble since he/she just edits out the lines. I probably should add something about the solution only working because there is no premable.
 
@PeterGrill Let's split the business: you find missing =, I'll go for missing %. ;-)
 
4:57 PM
@egreg when you've done finding % you can find out how to make a bibliography using \includegraphics
Do we have a canonical answer for " run bibtex to get a bibliography?"
 
5:37 PM
@DavidCarlisle :)
 
5:55 PM
@DavidCarlisle Yes, it should be
5
Q: Question marks instead of citation

hendI'm a new user for LaTeX, I'm using svmult for springer, but there sth I can't get it about thebibliography. I use the following packages: \documentclass[10pt]{svmult} % \usepackage{makeidx} \usepackage{graphicx} \usepackage{multicol} \usepackage{amsmath} \usepackage{...

 
Does anybody remember the little hack to hook math-mode bold onto text-mode bold?
Something with g@addto@macro, I think it was, but grep isn't finding it
 
@SeanAllred I'm not sure to understand
 
@egreg I got it off of some question on this site I thought. Consider the scenario where you have a math-mode item in a description list; the list is bolding the items with \bfseries (presumably), but this doesn't affect mathematics.
 
@SeanAllred Oh, doing \boldmath automatically? Well, it's simply the wrong thing to do.
 
Or the equivalent This is some \textbf{content with math $\tau\epsilon\chi$ that I'd like to bold}
 
6:02 PM
@SeanAllred Bold symbols have a meaning distinct from non bold ones.
 
@egreg In most of mathematics, yeah—bold usually indicates a special set or a vector or ……… this is what you mean, yes?
 
@SeanAllred \xapptocmd{\bfseries}{\boldmath}{}{} (with xpatch) might do, but it's wrong.
 
@egreg I definitely understand the feeling… I'm actually trying to 'fix' the paper of a friend of mine. It's the most horrendous LaTeX I've seen personally—all of the manual \\ to start paragraphs, $\indent$ to indent things, etc., etc., etc.!
I'm just trying to clean things up :)
(instead of writing my thesis…)
For the record, \xapptocmd did the trick, thanks :)
 
@SeanAllred :)
 
6:17 PM
@DavidCarlisle you helped me before with this sed command to change the forward tick in verbatim text, in the HTML file, after the tex4ht is finished. For some reason, now tex4ht generates something little different and can't figure how to make it do the translation again. This is the command you gave me:
    sed -ie "s/’/'/g" *.htm
but now (for some reason) tex4ht generates this: (one verbatim example from HTML)
   outPut={’u’,’w’,’q’,’theta’};
and now sed does not change those forward quotes any more. I tried this:
Here is a screen shot from the HTML generated by tex4ht. (I needed to change the tick, so one can copy/paste the code and it will work)
I can't figure how to configure tex4ht not to change the quote tick. Even though this is verbatim, it still changes it.
 
Does anyone have an offhand idea what might be causing this error:

! No room for a new \dimen .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.115 \newdimen\pgftree@lastchildx

It's happening when I use `hyperref` for colored links. If I comment out `hyperref` the problem goes away. The problem is that I don't really have the time to construct an MWE because of a deadline, so I thought I would ask here in case anyone has any intuitions about how to fix this without a complete MWE. I'm using [`baposter`](http://www.latextemplates.com/template/baposter-landscape-poster) as the `\do
 
@Adam Why do you need hyperref for a poster?
 
@TorbjørnT. Ha, that's a fair point. I wanted it for changing the color of inline citations and references to examples, just to add some color and make it more aesthetically pleasing, but I suppose I can do that without hyperref.
 
6:38 PM
@Nasser maybe you use different input or font encoding before? or you used different convert table in tex4ht (if you didn't use unicode before, for example). You should post both mwe and command line options for tex4ht you used, so we can inspect where is the problem
 
@michal.h21 yes. I changed .cfg, now I use mathml+mathjax, and I think before tex4ht used to generate &#8217 for the quote tick. Now it does not. Before I used to use png for math. But now I changed to mathml. I think that is all what I changed. I can easily make a MWE and post it on main board if that is ok.
It is a verbatim (code segment) that uses ' but tex4ht changes this for some reason to the wrong tick in HTML
 
@Adam Use the etex package if you get a ! No room for a new \dimen error.
 
@michal.h21 should I post this here, or make a question on main board so it is easier?
 
7:01 PM
@NicolaTalbot Thanks! That seems to have solved it. Just out of curiosity, is there any place that gives an explanation of why that solves it and/or what's going?
 
@Adam I think the best reference is tex.ac.uk/cgi-bin/texfaq2html?label=noroom
 
@DavidCarlisle @michal.h21  I found the problem and fixed it. When changing to mathml, tex4ht used  &#x2019  instead of ’ as before when not using mathml, UTF-8 stuff.
So I changed David's sed command to be

      sed -ie "s/’/'/g" *.htm

and this fixed the quotes. problem solved.
 
7:17 PM
@Nasser can't remember the problem but x2019=8217 of course (nothing to do with utf-8 which wouldn't use either typically but just have ’
 
@DavidCarlisle  I see. But for some reason  sed -ie "s/’/'/g" *.htm  works and sed -ie "s/’/'/g" *.htm  did not any more. But this is ok now :) thanks.
 
@Nasser see this answer for some overview how tex4ht deals with fonts and characters:
5
A: Redefine output for a specific TS1 code point (=glyph?)

michal.h21What was showed in textminus in tex4ht may be good for small changes, but correct process is different. Because textcomp is basically font selection package, existing tex4ht support is not done by redefining macros in textcomp.4ht file, but a special mapping file for font used by textcomp, tcrm.h...

 
@Adam It takes longer to use up 2^{31} registers than 2^8 registers:-)
@Nasser well of course they are different "strings" they refer to the same character (one is hex the other decimal)
 
@DavidCarlisle I understand. changing to mathml, tex4ht used different encoding for the same char. That is why original sed did not work. I just have now to remember if I changed back to not using mathml, to also change the sed command to the original one you gave me. I wish texh4t just does not change the "'" in first place so this fix is not needed.
 
7:41 PM
@Nasser or use "s/’|’/'/g" so it changes both
 
@DavidCarlisle thanks! this is good idea. I do not use sed at all. Will update my makefile now to do this. This way do not have to remember to change it.
 
 
1 hour later…
8:57 PM
This is weird. Why does biber depend on perl 5.16? This is causing me build problems.
 
9:19 PM
OK, that last sentence was incoherent.
I've backported TeX Live 2013 successfully from Debian unstable. But I've confused about running biblatex.
I have the following line in my file:
\usepackage[maxnames=7, firstinits=true, isbn=false, url=false, doi=false, style=numeric, defernumbers=true, sorting=ydnt]{biblatex}
 
Thanks @NicolaTalbot! And thank you, too, @DavidCarlisle. =]
 
I looks like texlive-bibtex-extra should contain biblatex but it doesn't seem to.
 
 
2 hours later…
10:59 PM
@Werner I am in charge of finding missing %. ;-)
 
11:18 PM
Let's say I am logged in to TeX.sx and for some reason I want to visit our sister site spanish.se; as soon as I go to the site, the system automatically logs me in there. Can that be avoided? I don't like being logged in without my explicit consent :)
 
11:40 PM
@GonzaloMedina in firefox at least I just tested stackoverflow if I use a normal tab/window it logs me in but if I open a private window first then go to stackoverflow it doesnt
 
@DavidCarlisle Just tested it in Firefox and it didn't work. The system stills logs me in. Weird.
 
@GonzaloMedina I give up then,it worked for me:-)
 

« first day (1256 days earlier)      last day (3694 days later) »