« first day (949 days earlier)      last day (3988 days later) » 
00:00 - 21:0021:00 - 00:00

12:12 AM
Hi guys
If any of you have a chance, could you please take a look at this question? tex.stackexchange.com/questions/117499/… It has been haunting me for two days now... I don't get anything when I compile it (TeXnicCenter + pdflatex and, of course, MakeIndex)
 
1:06 AM
10k+ guys: behold my stupidity! tex.stackexchange.com/a/117845/3094 :)
 
1:16 AM
My first time with LaTeX3 syntax! tex.stackexchange.com/q/117841/3954 (I hope it's not so bad)
 
1:49 AM
@PauloCereda Why the *&$% did you delete it?
 
@PauloCereda hey Paulo, how's it going? :)
 
 
2 hours later…
3:31 AM
@GonzaloMedina Are you still around?
 
 
4 hours later…
7:31 AM
@stefankottwitz once asked a question about finding out which pages of a document contain color but I can't seem to find it right now. Any pointers?
 
30
Q: Detecting all pages which contain color

Martin ScharrerIn an larger LaTeX document there are often only some pages with color content (mainly figures) and the remaining ones are only black and white. Because printing costs for color pages are much higher than for black and white it would be good to be able to extract all pages with color and print th...

?
 
@topskip Ah, so it was @martinscharrer. Thanks :-)
 
8:28 AM
hi there
any ideas on this?
2
Q: Externalize pgfplotstable with csv file

RicoThis is a direct follow-up question to this: Adding units to pgfplotstable header After fixing the output I tried outsourcing the table. After figuring out that standalone does not work with longtable (thanks to @Jake) I removed that, but even then every time i try to compile with pdfLaTeX I get...

 
 
2 hours later…
10:01 AM
@AlanMunn I will try to improve it today. I have to add those characters too. :)
@cmhughes Hi Chris! Sorry, I was gone when you called me. :(
 
10:46 AM
@topskip: can I ask you a lua question?
 
@cmhughes: Did you notice my two new issues at github?
@egreg: What is \normaljobname
 
Yay: got to ask a question :-)
 
@JosephWright and self answered ;-)
 
I need Lua support. :)
 
@MarcoDaniel Well yes, I did know the answer
I'll hold off on the tick for a while, though
 
11:01 AM
@PauloCereda Call 0800 LUA-support
3
 
@MarcoDaniel <3
You naughty boy.
 
@PauloCereda :-)
@JosephWright it's a great answer. Maybe a new blog post ;-)
 
@MarcoDaniel Perhaps: I've concluded that \scantokens is actually not a great idea (I used to like it, now I don't)
 
@JosephWright I think Bruno commented once in an answer that using it is trickier than it appears
 
@DavidCarlisle Certainly is
@DavidCarlisle Only really useful if you need to do a find-and-replace inside arbitrary brace levels, but then l3regex does that without the issues (at the cost of performance)
 
11:15 AM
Behold, the epic censor!
0
A: Censoring Curse Words with Grawlixes

Paulo CeredaA humble attempt with lualatex: The replacement code is very naive, we would need something more robust. \documentclass{article} \directlua{ % my list of bad words bad_words = { "fish", "cat", "dog", "horse", "alligator" } % the replacement string replacement = "duck" % a replacement functi...

@MarcoDaniel: I won't talk to you anymore. :)
 
iPad users: is there any decent PDF viewer that can be used to display a PDF for a presentation? It must have a per page display (not continuous). Adobe Reader for the iPad only managed to display the first page of my Beamer PDF.
 
@PauloCereda :-)
But you got an upvote
 
@AlanMunn If I recall correctly, Andrew once mentioned a viewer that had that very feature, but I can't remember the name. :(
@MarcoDaniel awww <3
 
@AlanMunn I really like GoodNotes. It displays the PDF with no noticeable transition (possibly a slight blurring as it renders the page). It also has good annotation capabilities but where the tools themselves aren't shown on the second screen.
 
@AndrewStacey Thanks. I'll check it out.
 
11:29 AM
@PauloCereda yes, but I am afraid it's too late now?!?
 
@AlanMunn My original review is at tex.blogoverflow.com/2011/10/i-tex-therefore-ipad I now use GoodNotes exclusively. I don't know how the others have updated.
 
11:43 AM
@MarcoDaniel The same as \jobname but with current category codes; the macros in the answer define it.
 
@egreg I missed this because in the first example \normaljobname was "hard coded` whereby in the second example it's only the optional argument.
 
@MarcoDaniel Since I had to use \NewDocumentCommand, …
 
12:43 PM
@egreg didn't have time to breath before the answer was edited:-)
 
@DavidCarlisle Of course ${\tilde{a}_b}_c$ would break. But I simply don't understand why somebody would want something like this.
 
@egreg I don't think people want it (it's not really readable) but people writing latex generators from other markup or wysiwyg tools want latex to be as composable as possible so you can just recursively generate subterms and add subscripts without knowing what you just generated.
 
@DavidCarlisle Then they won't require good typesetting, so adding \renewcommand{\tilde}[1]{{}\mathaccent...{#1}} is all they need.
 
@egreg They might require good typesetting (or at least as good as possible) bruno's question is basically if they need that would anyone notice if that was the default?
 
@DavidCarlisle An Acc atom is treated as Ord, AFAIR; two Ord atoms in a row shouldn't produce too many side effects.
But amsmath redefines the accent commands …
 
1:29 PM
Hi all!
 
@tohecz Hi!
@tohecz Is water retiring?
 
@egreg yep. My parents went to my sis' place, I couldn't go in the end. They cleaned everything and the house will be just ok in two days.
I gotta go now, later!
 
@tohecz Nice to know!
 
@topskip <3
@tohecz Hi Tom! :)
Epic usernames.
 
1:52 PM
TexLive 2008 ;-)
0
Q: moderncv error: tweaklist.sty

jelleI can't get moderncv to work. I get the error: ! LaTex Error: File 'tweaklist.sty' not found. What I've done so far is manually install moderncv in my texmf tree (/usr/local/texlive/2008/texmf-dist/tex/latex/moderncv) tweaklist.sty is in this directory, but when I run \documentclass{moderncv}...

@DavidCarlisle: From now on you are not longer old school ;-)
 
@MarcoDaniel went to a random linux box here and:
bash-3.2$ ls -l  /usr/bin/pdfetex
-rwxr-xr-x 1 root root 1147416 2008-04-10 11:36 /usr/bin/pdfetex*
 
@DavidCarlisle With vim, hopefully. :)
 
@PauloCereda seems so:(
bash-3.2$ type vim
vim is /usr/bin/vim
 
@DavidCarlisle What? :-) unbelievable.
 
@DavidCarlisle ooh! :)
 
1:57 PM
@DavidCarlisle lrwxrwxrwx 1 root wheel 6 May 24 2010 /usr/local/texlive/2012/bin/x86_64-darwin/pdfetex@ -> pdftex
 
@PauloCereda actually vim seems OK...
bash-3.2$ alias  vim=emacs
bash-3.2$ vim &
 
@DavidCarlisle :-)
 
@DavidCarlisle Hey, that's cheating. :)
 
@DavidCarlisle hmm, still stuck with this one (haven't yet mastered the syntax)
my thesis title is somehow defined as such:
\thesistitle{First line of thesis title\\second line of thesis title}
in the abstract, this seems to work (again, I don't yet understand the syntax):
{\normalsize\bfseries\let\\\space \@title \par} % Thesis title
in the declaration of authorship, I'd like to make use of it again
but this time as part of a block of text (not a separate line and without special formatting)
how ?
 
@nuttyaboutnatty \thesistitle{foo} will just be \newcommand\something{foo} so to reuse the title you just have to use the command \something (You would need to look at the source of your thesis class to see what internal name it uses to save the title, it probably isn't \something )
 
2:04 PM
"You have been selected to preview the next version of 9GAG! Let us know what you think about it!" o.O
 
@nuttyaboutnatty probably just use \@title hard to know without any context
 
\@title just prints title
@DavidCarlisle do I need to put brackets around it ?
{\@title} also only prints title
 
@nuttyaboutnatty as I say you need to check what command \thesistitle uses to store its argument I have no idea: it is a local command defined in the class you are using.
 
@DavidCarlisle \newcommand*{\thesistitle}[1]{\def\ttitle{#1}}
 
@nuttyaboutnatty are you doing it at a point where @ is a letter (otherwise \@title is \@ title But it seems like you want \ttitle anyway
 
2:10 PM
@DavidCarlisle dunno, but {\ttitle} does return the title, but also the line-break...
maybe I'd need sth like renewcommand ?
 
@nuttyaboutnatty well {\let\\\space \ttitle} then as you have above
 
:)
worx now...!
thank you.
 
anyone got a idea why i am not able to use filecontents to create a file?
 
@Rico No. ;-) Is there something about it in the .log file?
 
getting the same error every time:
2
Q: Externalize pgfplotstable with csv file

RicoThis is a direct follow-up question to this: Adding units to pgfplotstable header After fixing the output I tried outsourcing the table. After figuring out that standalone does not work with longtable (thanks to @Jake) I removed that, but even then every time i try to compile with pdfLaTeX I get...

 
2:27 PM
@Rico There is no filecontents
 
@egreg sure, but its the same problem with an existing file
so I am not able include ANY file
 
@Rico What should t3.dat contain?
 
\begin{filecontents}{data.dat}
Zeit;100;90;80;70;60;50;40;30;20;10
0;0.195;0.156;0.13;0.155;0.107;0.094;0.074;0.043;0.046;0.030
15;0.219;0.171;0.157;0.147;0.125;0.106;0.096;0.09;0.064;0.045
30;0.237;0.189;0.177;0.168;0.138;0.12;0.113;0.108;0.075;0.057
45;0.265;0.208;0.197;0.192;0.16;0.141;0.132;0.126;0.095;0.074
60;0.296;0.228;0.217;0.221;0.182;0.16;0.151;0.148;0.108;0.082
75;0.317;0.249;0.239;0.248;0.206;0.177;0.171;0.164;0.125;0.095
90;0.344;0.271;0.265;0.271;0.232;0.197;0.192;0.185;0.142;0.108
@egreg works fine with writelatex but not on my machine
 
@Rico What happens if the filecontents environment is the only contents of a file and you run latex over it? Simply add \stop on the line after \end{filecontents}
 
@egreg just \filecontents without documentclass?
 
2:38 PM
@Rico Yes.
 
@egreg you mean without filecontents like so:
Zeit;100;90;80;70;60;50;40;30;20;10
0;0.195;0.156;0.13;0.155;0.107;0.094;0.074;0.043;0.046;0.030
15;0.219;0.171;0.157;0.147;0.125;0.106;0.096;0.09;0.064;0.045
30;0.237;0.189;0.177;0.168;0.138;0.12;0.113;0.108;0.075;0.057
45;0.265;0.208;0.197;0.192;0.16;0.141;0.132;0.126;0.095;0.074
60;0.296;0.228;0.217;0.221;0.182;0.16;0.151;0.148;0.108;0.082
75;0.317;0.249;0.239;0.248;0.206;0.177;0.171;0.164;0.125;0.095
90;0.344;0.271;0.265;0.271;0.232;0.197;0.192;0.185;0.142;0.108
105;0.404;0.293;0.286;0.297;0.259;0.217;0.214;0.206;0.165;0.122
 
@Rico Of course with \begin{filecontents}{name} and \end{filecontents}
 
\begin{filecontents}{data.dat}
Zeit;100;90;80;70;60;50;40;30;20;10
0;0.195;0.156;0.13;0.155;0.107;0.094;0.074;0.043;0.046;0.030
15;0.219;0.171;0.157;0.147;0.125;0.106;0.096;0.09;0.064;0.045
30;0.237;0.189;0.177;0.168;0.138;0.12;0.113;0.108;0.075;0.057
45;0.265;0.208;0.197;0.192;0.16;0.141;0.132;0.126;0.095;0.074
60;0.296;0.228;0.217;0.221;0.182;0.16;0.151;0.148;0.108;0.082
75;0.317;0.249;0.239;0.248;0.206;0.177;0.171;0.164;0.125;0.095
90;0.344;0.271;0.265;0.271;0.232;0.197;0.192;0.185;0.142;0.108
 
@Rico And the result is? Remove any existing data.dat in the directory, before running latex
 
@egreg renamed it to source.dat
! LaTeX Error: Can be used only in preamble.
! You can't use `\end' in internal vertical mode.
 
2:44 PM
@Rico Log file, please.
 
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/W32TeX) (format=latex 2013.5.19) 6 JUN 2013 16:44
entering extended mode
restricted \write18 enabled.
Source specials enabled.
%&-line parsing enabled.
**Protokoll2.tex
(./Protokoll2.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
@egreg compiled with LaTeX normally I use pdfLaTeX
 
@Rico That's simply impossible if the file doesn't contain anything apart the filecontents environment. Are you using a precompiled different format?
 
@egreg it is a semicolon separated csv file, created with excel
 
@Rico Please, if I ask you something, why do you do something completely different?
@Rico You can't add \usepackage{filecontents} after \begin{document} (which is what appear from that log file. Check the real first error, before reporting the last one. LaTeX or PDFLaTeX is immaterial.
 
@egreg maybe I did not really understand what you ment o.O
 
2:52 PM
@Rico A file starting with \begin{filecontents}{data.dat}, some arbitrary lines, \end{filecontents} and \stop. Just that. Run LaTeX (in any form) on it.
 
@egreg thats all I compiled!!
 
@Rico Can't be: according to your log lots of packages got loaded, starting with nag
 
@Rico Where the nag and scrartcl and so on come from? That's impossible.
@Rico Unless you use some different format compiled with mylatexfmt or what it's called.
 
@egreg Im so sorry but i cant tell where its from just a sec I'll take a screenshot
 
@Rico Yes, but is this all of the file that you are actually typesetting? For example, at the command line could you try more Protokoll2.tex (if you are on Windows, less Protokoll2.tex otherwise)
@Rico I wonder if you are typesetting a different file to the one you are editing
 
2:58 PM
@Rico You probably are using some precompiled format with Texify. I can't help you if you don't run vanilla (PDF)LaTeX. Since the filecontents environment can't go after \begin{document}, but your format already issues \begin{document}, it's clear that you can't go on.
 
@JosephWright I am trying to include this standalone tablefile in my protokoll2.tex but this file isn't even open
 
@Rico Are you using latexmk? Or Texify?
 
@Rico I'm confused: @egreg suggested you run LaTeX on the file you've just posted a screenshot of. Is that called protokoll2.tex?
 
@JosephWright this file is called exp2.tex
 
@Rico Ah, that's why the logs don't match
@Rico Try running pdfLaTeX on exp2.tex
 
3:01 PM
@JosephWright yeah but normally it is a standalone tex file
 
@Rico That's for experimenting if you can write files.
 
@egreg I tried pure latex on this file again and it worked now
@egreg the file source.dat is now in my directory
 
@Rico So you can write files with filecontents. Now put the filecontents environment at the very beginning of your complete file and run pdflatex on it (remove the just created data.dat file).
 
Mac users: can I download mactex-2013.pkg? :)
 
@PauloCereda Yes, I certainly have done
@PauloCereda From the pretest servers
 
3:08 PM
@JosephWright Thanks. :)
@JosephWright Yes, I found it, that's why I was curious. :)
 
@PauloCereda Not yet from the official repositories, only from the pretest ones.
 
@egreg think it works now, do I have to delete the file every time I compile my document?
 
@egreg I'll try it. :)
 
@DavidCarlisle hello
 
@egreg works now
 
3:12 PM
@Rico No, that was for testing
 
J G
hi @JosephWright!
 
@JG Hello
 
@JosephWright still confused it works some times, some times not
 
@Rico What changes between runs?
 
@JosephWright i changend \pgfplotsinvokeforeach{100,90,...,10}{ to \pgfplotsinvokeforeach{50,40,30,20,10}{ to only print 5 columns
 
3:25 PM
@Joseph: Does TL2013 come with the new TeXworks? :)
 
@Rico What happens if you use \pgfplotsinvokeforeach{100,90,80,70,60,50,40,20,10}?
@PauloCereda Not at my Mac: not sure
 
@JosephWright I'll take a look.
 
@JosephWright no it tells me that it can't write the file again, even if i choose another name
 
@Rico Now this is strange: the file writing should take place before this code is read
@Rico Do you see the problem if you do two runs with no changes at all?
 
@JosephWright it still looks like texstudio tries to compile the main file even if this isn't open
did it again, now it works crazy shit o.O
 
3:30 PM
@Rico That should affect things, unless there is some business with the PDF not being writeable. Could you past in the exact error?
 
@JosephWright It looks like there is a difference between "compile & show" and only "translate" even though these are the same commands
 
@user4035 hello
 
@Rico Do you perhaps have a PDF open in Adobe Reader at some times?
 
@JosephWright nope, no output open, even closed the embedded viewer of texstudio
 
@Rico OK, back to 'can we see the exact error message' then :-)
 
3:35 PM
@JosephWright I'm still trying to reproduce it :D :D
 
@AndrewStacey I'll see if I can make that beamer change later today: I'm due a CTAN update soon
 
@JosephWright Okay! That sounds like a great conclusion to the matter.
 
@JosephWright I think there's a policy of not answering legal qns isn't there? tex.stackexchange.com/questions/117948/pdftops-and-copyright
 
@DavidCarlisle Already voted as OT
 
@DavidCarlisle It does depend, but anything that looks like 'legal advice' is OT (as we are TeX, not legal, experts)
I've used the mod hammer: clear case
 
3:49 PM
@JosephWright ok thi isnt the exact same error but its strange,too :D but it looks like i fixed it :D
 
@JosephWright what about if I edit it to ask more about what happens to an image as it is processed pdftops--> epstopdf --> xelatex -->?
 
@DanielE.Shub That would be on topic, I guess: technical rather than legal. Edit and flag, and I'll see about reopening.
 
@egreg @JosephWright It works now, not pretty sure i understand why but there is still one strange thing, i get some empty space at the lefthand side thats why it looks very weird after inserting it to the main file
 
@DavidCarlisle You use Emacs?
 
4:05 PM
@user4035 sometimes
 
good
@DavidCarlisle I made a code, facilitating latex compilation
(defun latex-sentinel (process event)
      (message event)
      (when (string-match-p "finished" event)
            (message "pdflatex done")
            (latex-close-compile-window)))


(defun latex-kill-async-pdflatex ()
      (interactive)
      (latex-close-compile-window)
)

(defun latex-close-compile-window ()
      ""
      (kill-buffer "*async pdflatex*")
      (delete-other-windows)
      )

(defun latex-compile ()
      "Runs pdflatex on current file"
      (interactive)
      (let* ((file-name (shell-quote-argument (buffer-file-name)))
@DavidCarlisle When I click F2 it compiles the current file, using pdflatex and kills the process
if there is an error, it stops and I can see the error in the 2-nd bottom buffer
then clicking any button will kill pdflatex and the buffer
How do you compile your latex?
 
@user4035 usually on the command line:-) But when I did latex a lot I used auctex (I still use auctex for editing)
 
@user4035 In his head: he has the format there :-)
 
@user4035 auctex has extensive facilities for running whatever command needs running, stepping through errors etc
 
@DavidCarlisle Can you see error immediately with it?
 
4:10 PM
@user4035 I never made errors:-)
 
@JosephWright Sweet Jesus, I thought the very same! :)
 
@user4035 Yes as I say it runs in scroll mode then you can step through the error messages and source file together
@user4035 It also has (or had) extended error help messages from the latex book for the most common messages.
 
yes, it's good
 
!!/cricket
 
When egreg and David compile a malformed .tex file, TeX apologizes for the errors and fix them automatically.
6
 
4:12 PM
@DavidCarlisle I just never could understand it well
 
@tohecz Oh Psmith is sleeping right now.
 
and wrote my own code
 
@user4035 no harm in that:-)
 
@PauloCereda ok
 
/Ennio Morricone's soundtrack on/ My "The Good, the Bad and the Ugly" answer has been accepted. ;-)
6
A: How could I do big intersection with single $s?

egregThe "canonical" way to get the limit under the operator, in this case \bigcap, is to use \limits: $\bigcap\limits_{n} J_{n}$ This has a drawback, though. Consider the following example, where the definitions of \1, \2 and \3 are just to make up some text around the symbol. Note that the first ...

 
4:32 PM
@egreg oooh!
 
@PauloCereda Just a little over one month. ;-) One of my favorite answers, anyway.
 
Hi all, I just spent two days hunting mysterious bug in my package, finally I found that I used end{document} (without backslash) in my testing file :o
 
Almost finished downloading the system update. Wlll be back in a few minutes.
 
@egreg It's a great answer. :)
@egreg ML 10.8.4? :)
@michal.h21 Oh no! :)
 
@PauloCereda Yes. Very slow download.
 
4:36 PM
@michal.h21: I see there's a nice new project of yours, Jekyll for TeX2HT? :)
 
@PauloCereda it is not new project, I just put it on github, I made sample post on github pages more than year ago: michal-h21.github.io/2012/02/14/Blogujeme-s-LaTeXem.html
 
@michal.h21 oopsie, my bad. :) I found it very interesting. :)
 
In an on topic sense, are pdftops and epstopdf considered related software?
 
Back with a shiny new 10.8.4. :)
 
@DanielE.Shub related to tex? only just, I'd say. that is you'd need to get some tex angle into a pdftops question otherwise it's a straight pdf ro ps conversion question not really on topic.
 
4:43 PM
@egreg New Safari. :)
 
@PauloCereda I can't see many differences. :)
 
@egreg Just think how much happier you'd be now if you'd installed windows instead.
 
@egreg Neither can I. :) Just a new version number. :)
 
are mathjax related questions allowed on Tex board? I see a tag there for Mathjax. thanks.
 
@Nasser Limited
 
4:45 PM
@Nasser mostly no. They get closed anyway there is a very active google forum for mathjax so you are better asking there.
 
@Nasser MathJax doesn't use TeX
 
I tried the google forum groups.google.com/group/mathjax-users and wrote a question there, and after hitting submit, it said it is closed for discussion.
 
@Nasser oops.
 
@PauloCereda :) I need to write some documentation and make it ready to be used with other static site generators (hakyll, nanoc, etc). I will also write some supporting script like tex4ebook
 
I'll try to find a mailing list for MathJax.
 
4:48 PM
@Nasser mathjax-users@googlegroups.com
but it is supposed to be same as the google groups interface.
 
@DavidCarlisle thanks. I do not know why the closed the google group above for discussion. I see no new post there since June 1.
 
@Nasser Probably Google
(rather than anything the people who use it do)
 
@Nasser yes that's about right on the mailing list there have been a couple of spam since then but last real message was 31st may by the look of it
 
@DavidCarlisle, yes. That what shows on google also. May 31 was last message.
 
@Nasser so that's OK I just tried making a new post using the google group web interface and it let me generate a message (I didn't actually post) so it all seems OK. (I'm logged in to google though not sure if that makes any difference)
 
4:57 PM
@DavidCarlisle, yes, I am logged to google also, I have same email. It did let me open the '+new post' and write the mssage, but when clicking the 'POST' button, I get the message the group is closed for discussion. So, you can write the message, but can't post it
So, I lost the message.
IT was not that important. I was just wondering if MathJax will be faster if I install it locally at the server, vs, using the CDN server from Mathjax. It is a little slow.
 
@Nasser CDN should be faster. Mathjax is slow normally
 
One thing I do not like about all these dynamic tools, is that it requires one be connected to the internet now all the time. i.e. when I write something on my PC, using Mathejax loaded from CDN server as recommended, now I have to on-line to read my own web page on my own PC !
if not connected, the math will render as mathml, which looks much different than when I am connected to the internet and MathJax does it magic on it.
 
@Nasser yes that's a show stopper for me in some applications (our clients are developers in secure areas with no internet access often) That's why I set things up to use firefox native on firefox and mathjax otherwise so if you use firefox at least you need no internet access. Or you can install mathjax locally (which is easy but it's a bit big) or you can install jqmath locally trivial and small and fast but doesn't look as pretty
@Nasser should make very little difference after the first time, as your browser should cache everything locally anyway
 
@DavidCarlisle, good point about the caching. Yes, I noticed that. Only when I restart firefox will it need internet access.
 
@Nasser Depends on your settings you can keep your cache between sessions (that's the default)
 
5:11 PM
@michal.h21, if you are still here. I got your email on htlatex , thanks. I copied and pasted when you emailed me. But it does not work as I said in the email. That is what I was asking about :)
 
6:01 PM
can I xdef a command with a number of parameters based on a counter that I'm maintaining? \newcounter{cnt} ... \xdef\foo[cnt]{#1, #2, ...}?
err \xdef\foo#1#2...#cnt{...}
or I suppose my question is that I want to define a macro that reads some, cnt, number of parameters and just outputs them in comma separated form
 
6:16 PM
@Luke It doesn't make much sense: you need to know the counter's value for supplying a suitable replacement text. What's precisely your purpose?
 
@egreg I have infrastructure for typesetting API declarations, where you declaratively set a symbol name, and then some parameters. I'm trying to dynamically define \usedecl{id}{p1}{p2}{p3}{...} for each declared API id to output a "function call."
so something like \begin{decl}{fooid}{FOO}\param{p1}\param{p2}\end{decl} would produce something like \usedecl[3]{\nameof{#1}(#2,#3)}
 
Today I got a support email about one of my packages because of an "unknown error" which happened even in a MWE with only the \usepackage in it.
The first error was:
! Undefined control sequence.
\code #1-> [/utils/exec={\unexpanded
                                     {#1}}]
There are still TeX distributions out there without e-TeX support!
 
Dammit, I come back to TeX after a few months away and I can't get a simple file to compile :(
 
@egreg It's set up so that, in the \end{decl} handler, I can determine the number of parameters (their symbols are in a list), and I want to \csxdef{usefooid}#1#2{#1, #2} so that I can implement \usedecl as something like \usedecl[1]{\nameof{#1}(\csuse{#1})} and "eat" the right number of parameters for the call site to be \usedecl{fooid}{p1}{p2}.
I'm ok with looping, so I expect that the way to do this is to reapply a single-parameter macro "cnt" times... I'll google that
 
Hah, found it.
\"{o} is wrong, for some reason. Just \"o.
Now I just need to look up how to modify the achemso package to show DOI numbers, for papers that don't have pagenumbers yet @JosephWright
 
6:38 PM
@Canageek: Hi, how are you? Long time no see, buddy. :)
@egreg: I registered in the GuIT forum. :)
 
@Canageek Happens automatically
@Canageek Use inpress type
 
6:56 PM
@MarcoDaniel sorry I don't understand your comment?
 
@DavidCarlisle I marked the question as duplicated one.
 
@MarcoDaniel that's what I thought you meant but I see no link, perhaps I need to refresh?
 
@DavidCarlisle Perhabs
 
@MarcoDaniel It's sort of a duplicate but he didn't really want verb (despite the title) he wanted a filepath and \url is better than listings at that. no answer at the other qn mentions url
 
@DavidCarlisle Yes.
 
7:00 PM
@cgnieder, @StefanKottwitz: best profile ever: latex-community.org/forum/…
 
@PauloCereda Good. Doing my Masters now, and half my group uses LaTeX (The male half for some reason)
 
@Canageek what do the other half use, Word?
 
@JosephWright Sweet, thanks. Is there any advantage to using the BiBLaTeX citation package? This is for a group meeting, not a paper, so I can use wahtever.
 
@DavidCarlisle Besides those make-up kits, I suppose. :)
 
@DavidCarlisle Yep
 
7:04 PM
@JosephWright I started but I may let you go first (on templates)
 
@DavidCarlisle Oh, go for it
 
@JosephWright Um, for some reason it isn't adding a space between the DOI and the year.
I can send you a screenshot and MWE if you want
 
@Canageek biblatex is a lot more flexible than anything else
@Canageek MWE please
 
@JosephWright Ok I'll keep typing, feel free to post yours first though:-)
 
@JosephWright We could create a meme! :)
 
7:06 PM
92
Q: bibtex vs. biber and biblatex vs. natbib

doncherryI've heard of many different bibliography-related packages/platforms/?. What's the difference between the following, which is good for what tasks, advantages/disadvantages, which one is the most modern, etc.: BibTeX biblatex natbib Biber (If I missed anything important, please just add it here ...

 
@DavidCarlisle Am currently cooking, so you will probably be faster
 
@PauloCereda Welcome!
 
@egreg Thanks! :) Now I'll work on my article for ArsTeXnica. :)
 
@Canageek Oh yes: will have to fix that
 
7:20 PM
So can I just swap a package name if I want to use biblatex-chem or do I have to do fancy things?
The documentation doesn't have a 'type this to use biblatex-chem' :(
 
@JosephWright done:-)
 
@Canageek The demo You need \usepackage[style=chem-acs]{biblatex} plus appropriate citations
 
@JosephWright A great feature would be if there was a way to have it automatically hyperlink the entries to dx.doi.org/<DOI> if there is a DOI entry in the bib file.
 
@Canageek The biblatex version does that, but the achemso doesn't as I avoid any changes there unless the ACS ask for them
@DavidCarlisle I revised the template code quite a bit not so long ago :-)
 
@JosephWright :-)
@JosephWright I did say I hadn't looked...
 
7:28 PM
@JosephWright Cool. I may have to look into how to use biblatex. I recall it is a pain in the butt.
 
@DavidCarlisle Don't you get the SVN-spam?
 
@JosephWright I get lots of mail:-)
 
1
Q: How do I define a custom verbatim command?

hadleyI'm not quite sure how to describe this, but I want to create a custom command that treats its input as verbatim and allows some control of the output. In pseudocode, I want: \newcommand{\code}[1]{\verb{!#1!}} \newcommand{\samp}[1]{{\normalfont\textsl{\verb!#1!}}} (But that obviously doesn't ...

Hasn't this been asked before?
I'm sure there must be one where someone's used xparse
 
@JosephWright Also, one of the ctan documentation links is broken at ctan.org/pkg/biblatex-chem
 
@Canageek I don't set up these things :-)
 
7:45 PM
@egreg: I really need to improve my Italian. :)
 
@MarcoDaniel with Frank and Joseph both promising answers I wouldn't dare say any more:-)
 
@DavidCarlisle :-)
 
is there a simple way to test if a counter is zero?
 
@Luke \ifnum\value{section}=0 yes \else no \fi
 
@DavidCarlisle thank you
 
7:49 PM
@JosephWright Yay, I have biblatex-chem working. Only withbackend=bibtex though, it throws errors if I try biber shrug
 
Oh no, TeXworks 0.4.5 only for ML. I was hoping to install it with SL. :(
 
@Canageek What errors?
 
@JosephWright Let me check
@JosephWright Found it, it was in the way I set up TeXStudio
Not sure why latexmk didn't fix it though
 
8:05 PM
@DavidCarlisle If Frank is going to answer then I'll leave it well alone!
 
@JosephWright chicken
so @egreg runs off with the 15pt, just because he added some words and a picture:-(
 
@DavidCarlisle Need to finish things in my flat: will try!
 
@DavidCarlisle Learn how to add pictures, then. :P
 
@egreg I didn't bother as I thought it just looked like the one the OP posted as desired outcome:-)
!!/battle
 
8:12 PM
@DavidCarlisle oh wait
!!/battle
@PauloCereda Psmith, the TeX bot: The current score is egreg 260 vs. 230 David. So far, egreg is winning.
 
@PauloCereda most unjustified:(
 
@DavidCarlisle Can you try my github version.
 
@DavidCarlisle I think we need to implement a new metrics for this battle. :)
 
@MarcoDaniel I suppose I could do, but I thought pinging you was easier
 
@DavidCarlisle Indeed. For me my github version produces:
 
8:16 PM
@MarcoDaniel well post an answer! (make sure to include that image, or @egreg will post an image version and get the points)
 
@DavidCarlisle :-)
 
7 minutes for my MacTeX 2013! :)
 
@PauloCereda Download or Installation?
 
@MarcoDaniel Installation. :)
 
@DavidCarlisle: Do you know the word "compression riveter"?
 
8:21 PM
@MarcoDaniel yes but why ask?
 
@DavidCarlisle I am looking for the English word of such a tool ;-)
 
Super ;-)
I am writing an application where I have to describe some of my tasks. Therefor I need such a horrible machine ;-). Fortunately the exam will be in German ;-)
 
keming....
it's like beer spilled on my display...
 
@percusse LOL
 
00:00 - 21:0021:00 - 00:00

« first day (949 days earlier)      last day (3988 days later) »