« first day (1269 days earlier)      last day (3668 days later) » 

12:21 AM
Look what I found in my backup:
user image
7
 
12:49 AM
Anyone here who knows about pdfjam?
 
 
1 hour later…
2:10 AM
0
Q: Convincing `pdfbook` to assume letterpaper

Sean AllredI have a small booklet in half-letterpaper size: \documentclass{book} \usepackage[paperheight=8.5in,paperwidth=5.5in]{geometry} \usepackage{mwe} \begin{document} \lipsum[1-13] \end{document} But when I run pdfbook on the resulting PDF, I invariably receive—no matter what the original page siz...

 
 
2 hours later…
3:43 AM
@JosephWright @StefanKottwitz This user account tex.stackexchange.com/users/50311/user49929 seems to have been only created for posting spam.
 
4:35 AM
@egreg Done!
 
 
8 hours later…
12:46 PM
Does anybody have a clue why the gist from this question would compile to give wildly inconsistent linespacing?
I would include it in the question, but it's not terribly relevant.
 
1:09 PM
Hello everyone
I'd like to make a new line after \paragraph, and by using the answer described at http://tex.stackexchange.com/questions/32160/new-line-after-paragraph I'd like to redefine the paragraph command, but latex it giving me the following error:

./syntese/isomerisering/isomerisering.tex:18: TeX capacity exceeded, sorry [input stack size=5000]. [\paragraph{Reaktionsmekanisme}]

I'm using the following in my preamble:

\renewcommand{\paragraph}[1]{\paragraph{#1}\mbox{}\\}
 
@Argo Recursion?
 
Well I'm using subfiles to split my document across 20 or so files since I'm collaborating with someone else
 
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}\\}
You are redefining \paragraph in terms of itself, that's what I meant. :)
Untested code, by the way. :)
 
Hmm that seems to work
However
Strange small indent
 
@Argo You do know that's almost certainly too many subdivisions, I assume
 
1:16 PM
@SeanAllred Had a look. ;-)
 
Subdivisions as in a too deep sectioning?
 
@Argo Yes: apart from legal documents, its almost always best to stop at \subsubsection
 
@SeanAllred I had a look, but the question is very far from being clear. I solved the spacing problem, but rereading the question it doesn't seem the main concern, which I can't understand.
 
@JosephWright Hmm this is a rather long (~80-100 pages) (scientific) paper, I'd like to get a sectioning to paragraph (level 4)
 
@egreg Note that setting \parskip to 0 doesn't cleanly handle long lines:
 
1:21 PM
@PauloCereda You know it's wrong to define \paragraph to be an inline heading followed by \\ rather than define it to be a display heading.......
 
I'll try to edit the question to make it clearer. I may even have an idea on how to solve this problem, at least in sane formats where double \n is a \par.
 
@SeanAllred Probably. I'd be very careful in using any package with a name starting with gm (except gmp, of course).
 
@egreg Why is that? (And gross, ConTeXt :) Although it would seem you have LaTeX examples in there, too…)
 
@PauloCereda hmm seems like I have said that before:-) vvvvv
7
A: How could make the topic of \paragraph not bold?

David CarlisleDon't do \paragraph{Topic}\mbox{}\\ In article class \paragraph is defined as an inline heading. If you want a display heading you should adjust the definition rather than put \mbox{}\\ after every heading (which looks horrible in the source and breaks LaTeX's attempts to control page breakin...

@Argo ^^^^^
 
@SeanAllred Too many tricks with category codes.
 
1:25 PM
@DavidCarlisle Hey don't blame me. :) I only fixed one thing. :)
 
@PauloCereda You posted just as I joined, so you get the blame:-)
 
@egreg Ah… Well, I can get rid of it. gmverse was a convenience for not having to end each line with a \\, but there is probably a cleaner/leaner way of doing this. I'm going to mess around with the \ior_ functions (particularly _get_str: and _if_eof:) to see if I can draw something up.
 
@DavidCarlisle Not fair. :P
I was helping a fellow user. :P
 
@Argo Why not just use the kernel mechanism to redefine \paragraph?
\documentclass{article}
\makeatletter
\setcounter{secnumdepth}{4}
\show\paragraph
\renewcommand{\paragraph}{%
\@startsection {paragraph}{4}{\z@}
  {-3.25ex\@plus -1ex \@minus -.2ex}
  {1.5ex \@plus .2ex}
  {\normalfont \normalsize \bfseries }
}
\makeatother
\begin{document}

\section{Top}

\subsection{Second}

\subsubsection{Third}

\paragraph{Bottom}

Text

\end{document}
(copying settings from \subsubsection)
Indeed, what @DavidCarlisle said :-)
 
@David: Joseph is eviler. ^^ :)
 
1:27 PM
I love you @JosephWright
 
@JosephWright Do I still get the blame? :)
 
@PauloCereda yes
 
And it adds the correct vertical space, perfect
 
@DavidCarlisle oy
:)
There are two questions in meta about spam. We should flag them as spam for teh lolz.
4
 
 
1 hour later…
2:46 PM
bom dia paulo!
 
3:13 PM
@user42634 Bom dia! :)
 
3:35 PM
@PauloCereda This place is full of Brazilians. ;-)
 
@egreg Crowded. :)
 
@user42634 Buongiorno!
 
Hello to everybody! Does anyone know how to grab argument between two different macros, without delimited arguments? It's impossible, right?
 
@AndrewZabavnikov Do you mean \foo something\baz grabs something?
 
Yes, without \def\foo#1\baz
 
3:38 PM
\documentclass{article}

\usepackage{graphics}

\begin{document}
\includegraphics[50pt,50pt]{zzzz.png}



\end{document}
anyone want to try the above?
 
@AndrewZabavnikov @egreg Where \baz would be defined?
 
In the same style file as \foo.
 
@AndrewZabavnikov You can grab one token at a time, stopping when you find \baz. But why?
 
@DavidCarlisle
ERROR: Undefined control sequence.

--- TeX said ---
<argument> ...@base \Gin@ext  image\GPT@AttrShort
                                                  \ifx \GPT@print \ltx@empty...
l.6 \includegraphics[50pt,50pt]{example-image-a}

--- HELP ---
TeX encountered an unknown command name. You probably misspelled the
name. If this message occurs when a LaTeX command is being processed,
the command is probably in the wrong place---for example, the error
can be produced by an \item command that's not inside a list-making
 
@DavidCarlisle The bloke who wrote the graphics package is awesome.
 
3:41 PM
Heiko where are you!!!!
@PauloCereda but what about the bloke who (re)wrote pdftex.def ? :-)
 
@DavidCarlisle You again? :)
 
@egreg Unfortunately, I'm rather demanding one: I want for \baz to appear in other macro's expansion.
 
@PauloCereda can't be me, the code has a bug (and more to the point I have no idea what \GPT@AttrShort is supposed to be defined to do:-)
 
@DavidCarlisle Using graphicx syntax with graphics? Hmm, quite a bad idea.
@AndrewZabavnikov It's not at all clear what you want to achieve.
 
@egreg no I checked the (brilliant) doc that syntax is supposed to work.
 
3:44 PM
@DavidCarlisle Oh, yes, it should.
 
@egreg What I'm really trying to achieve is to convert macro taking an argument to an environment with opportunity to use it's \begin{} and \end{} in other macros, possibly unpaired inside other macros' definitions, as with \bgroup and \egroup.
 
@AndrewZabavnikov I understand as much as before.
 
@AndrewZabavnikov do you mean like ams alignments (or tabularx) etc that use a \begin{align} \end{align} syntax for something really called as \internalmacro{the body of the environment} ? If so you want the environ package
 
@DavidCarlisle Almost. I also want to be able to \def\startalign{<some work> \begin{align}} \def\stopalign{\end{align} <some work>} to work! And the environ seems to use delimited arguments, which would scan for \end, not \stopalign. (align here is just for example, of course)
Basically, I need TeX to do expansion to some temporary place until some stop signal occurs in the stream of tokens. (It seems to me that this is impossible and not how TeX works, but please explain me that.)
Ah! No, that would not be it.
 
@egreg are you italian egreg?
 
3:58 PM
@DavidCarlisle It seems that \GPT@AttrShort is not initialized.
@user42634 Yes, I am. Where are you from? Did I guess right?
 
i'm brazilian : )
you re right
 
@egreg: we are taking over the world. :)
 
After all, I need contents between two macros. So I need to scan for whatever I defined to contain \end{align}.
 
@AndrewZabavnikov Sounds a bit like what beamer does when not reading a frame in verbatim mode
 
@egreg i don't like soccer, i hate carnival... but i'm still brazilian haha
 
4:06 PM
@user42634 Heretic!
@user42634 But also our beloved @PauloCereda dislikes carnival, particularly when people are noisy next to his bedroom.
 
@egreg I'm still traumatized with this year's carnival, when I had to leave São Paulo during rush hour. :)
 
@PauloCereda but first you have to finish building some football stadiums....
@user42634 That's OK we don't discuss football here, only cricket
 
@egreg it's better to be in italy during the carnival = )
 
@DavidCarlisle Ouch, don't remind me of that. :) I can imagine the wonders the international press is talking about how Brazil is ahead of the schedule in building the stadiums, and to to mention how we are saving money. :)
@DavidCarlisle Which reminds us of
!!/cricket
Psmith, the TeX bot, in fixed font mode: Let's take a look at the last cricket results:

- Derbyshire 393/9 * v Hampshire 328/10
- Durham 308/10 &  152/7 * v Somerset 185/10
- Glamorgan 145/10 &  31/2 * v Gloucestershire 231/10
- Kent 248/5 * v Leicestershire 333/10
- Lancashire 247/10 &  * v Warwickshire 324/10
- Surrey 156/2 * v Essex 306/10
- Yorkshire 459/9  v Northamptonshire 118/2 &  94/10 *
- Mashonaland Eagles 194/10 * v Matabeleland Tuskers 202/8
- Mid West Rhinos 180/10  v Mountaineers 181/3 *
 
@PauloCereda No Unicorns?
 
4:15 PM
@egreg Oh no!
But we do have Northamptonshire. /pokes @Joseph
If that means a thing actually, I understand nothing of cities, counties, states, provinces, kingdoms and ducks of Edinburgh. :)
 
@PauloCereda Loosing to Yorkshire, I see
 
@JosephWright Uh-oh, that's bad.
 
@JosephWright you could have said you were winning and he wouldn't have known the difference.
 
@DavidCarlisle That's true. :)
 
@JosephWright how come there are 50 "open" PR that claim I'm responsible?
 
4:23 PM
david fond cricket as like latex? :D
 
@AndrewZabavnikov It's hard to do that (although not impossible) but really you shouldn't want to, latex tries hard to give things a consistet syntax and in latex that is \begin/\end. other formats (texinfo, context etc might use a \startfoo \stopfoo syntax which is fine as it is consistent with the conventions being used there but in latex but unless you wantt verbatim you can (but shouldn't) go \def\startalign#1\stopalign{some work\begin{align}#1\end{align} some work}
 
!!/fortune
@PauloCereda Psmith, the TeX bot: Here is your fortune: Someone has googled you recently.
 
4:53 PM
@DavidCarlisle Frank's fault?
 
@JosephWright Frank, Chris, Heiko: I'm sure none of then can be my fault:-)
 
5:29 PM
@DavidCarlisle Well, my bad. The thing is not about \start<thing> \stop<thing>, it is about <some work> part of these macros. (I know that these names are chosen in ConTeXt, but did not think that it will misguide someone.)
@DavidCarlisle It seems that after all I need to redefine \ as active character, then get it to record somewhere whatever cs name is following it, then expand it. That's in loop. If then \end is defined to watch for balance and to interrupt on zero balance it would work. But it seems SO much work.
Does anybody know how to translate delimited arguments to token scanner fast?
(I mean the deal breaker in my case is some macro with delimited arguments)
(In my case = in that part that I didn't tell you)
 
5:53 PM
@AndrewZabavnikov in what way does the version I suggested not work in your real case?
 
6:16 PM
The "duplicate" question and its answers are specifically about unicode and fontspec, which isn't the case here. I voted to re-open — David Carlisle 47 secs ago
 
@DavidCarlisle Voted. :)
 
@DavidCarlisle Voted
 
@DavidCarlisle Done
I also paid the reopening tax :)
 
@percusse Now let's cast a close vote. :)
 
@PauloCereda :-)
 
6:55 PM
@PauloCereda precisava de uma ferramenta para gerenciar meus projetos em latex, tem alguma dica?
 
@user42634 Bom, depende o que seria "gerenciar" no seu caso. :) Existem algumas sugestões no Q&A sobre organização de figuras, estrutura hierárquica, etc. Em alguns casos, o seu editor LaTeX pode oferecer algumas funcionalidades, como destaque de seções, rótulos, matemática inline, e outros. Realmente depende de cada caso. Ferramenta em si eu desconheço, depende de como você pretende organizar cada projeto.
 
Evening guys :)
 
@hugovdberg 'lo! :)
 
procurava um editor latex que a estrutura hierarquica do documento fosse como uma lista de tarefas, na qual eu possa marca o status (completa, não completa)...
 
@user42634 Eu realmente desconheço. Talvez algum usuário emacs pode dar alguma dica sobre como conciliar edição de arquivos .tex com Org mode. Mas eu não sou usuário emacs. :)
 
7:03 PM
o mais proximo que eu conseguir chegar foi tentar a integração do redmine (um programa de gerenciamento) com o eclipse (texlipse)
entendi. obrigado
:)
 
@user42634 Particularmente, eu esconjuro TeXlipse, mas aí já é outra história. :) Se for o caso, talvez existam editores que reconheçam algum comentário com padrão % TODO e que possam gerar essa lista de coisas para fazer. Não seria muito complicado implementar até mesmo no TeXworks via Lua scripting, mas de qualquer forma é trabalhoso.
 
!!/eightball what the heck they on about?
 
@DavidCarlisle Zsmith, the traineé bot: Er sir, I think they are talking in Portuguese about editors and stuff. And Paulo apparently recommended emacs, which seems very odd.
 
@PauloCereda No wonder you switched out of English, trying to hide the fact that you are giving emacs advice?
 
@DavidCarlisle I actually did recommended emacs. :)
 
7:15 PM
@DavidCarlisle i'm looking for a tool to manage my tex files : )
 
@DavidCarlisle: I should have said grep. :)
 
@PauloCereda egrep is better; even better is egreg
9
 
@egreg ooh! :)
 
@egreg I am not really familiar with the inner works of imakeidx or with the general procedure for building indices, but would it be possible to make some modification so one could use \printindex before using any \index commands and still get the index? I mean, is it possible to typset an index at the beginning of the document?
 
@DavidCarlisle In the case \stopalign is hidden behind some macro.
 
7:23 PM
@GonzaloMedina You have to add the noautomatic option and run manually MakeIndex
@GonzaloMedina The automatic feature relies on the fact that no \index command appears after \printindex
 
@egreg Ah, thanks!
 
@GonzaloMedina It's simply not possible to do the automatic run of MakeIndex in that case, because the .idx file needs to be closed for running the external program.
 
Then arara can shine for you. :)
 
@DavidCarlisle Actually I formalized my dream. I want for argument to the macro to be substituted into it as stream, lazily. I mean the whole stream of tokens is placed as argument then the macro begins execution which proceeds until some cs like "return" is expanded.
 
I'm using the texlive 2014 pretest, and use a script I can source to prepend the 2014 path, is there anything else I should be aware of that might still use the 2013 version because of other environment variables or something like that?
my current 2014 workflow is: open a new terminal window, source texlive2014.sh (contains just export PATH=/path/to/2014/bin:$PATH) and do compiling from that terminal
 
7:32 PM
@hugovdberg I think you are good to go. :) I usually take a different approach, I always create a directory in /opt which is a symlink to the current TeXlive bin folder, then I add this path. Every time there's a new release, I simply recreate the symlink to point to the correct location. :)
@hugovdberg: if you have the TL TTF/OTF fonts mapped systemwide, you might need to update them as well, I guess.
 
@PauloCereda I have installed both versions in /usr/local/texlive and created /usr/local/texlive/current currently pointing to 2013 as the 'known to be safe' version, and added that to my global path so 'permanently' switching to 2014 should be quite easy, but for now I'd rather just use 2014 as testing only
 
@hugovdberg Ah I see. :)
 
@PauloCereda it probably is relatively safe to use, otherwise it wouldn't be a public testing version I guess, but pretesting still sounds a bit scary (not encountered any problems so far, but still.. :P)
 
@hugovdberg :)
@egreg: @tohecz must be watching the big game. :)
 
@PauloCereda I think to have already seen that trick. ;-)
 
7:44 PM
@egreg You are the one to blame. :) If I had said /opt/texbin, would be too easy. :)
@JosephWright: I suspect there's been a editing spree on the site.
 
@egreg Can I bother you here with another question, or do you prefer that I post a question on the site?
 
@egreg @PauloCereda do you understand dutch speaking? If you do you should really search for the cooperations between Bart Moeyaert and the Nederlands Blazers Ensemble (Dutch Wind Ensemble), they have two lovely stories in which they play a piece of classical music and Bart telling the story (with much humour) in between the parts
a few years ago they did Haydn's 'Die Schöpfung', and more recently 'Die Jahreszeiten' :)
 
@hugovdberg I have no idea. But hey, let me poke @percusse. :)
 
8:02 PM
@egreg Nevermind! I found the problem and solved it.
 
@PauloCereda what?
 
@tohecz Your beloved Chelsea is playing Atlético Madrid
 
@egreg ah ok
 
@AndrewZabavnikov yes but which tokens? If you are not doing expansion you can use a delimited argument. If you are doing expansion you can't really collect tokens you need at some point to start execution (and so collect a horizontal or vertical list) it's not possible to expand an arbitrary token stream to get anything useful (hence the "fragile command in moving argument" problems in latex)
 
I'm not watching, I'm not exactly feeling well tonight, I have some troubles with my scout troop :(
 
8:12 PM
@user42634 I give an in depth analysis of the possibilities here: tex.stackexchange.com/questions/85249/…
 
@tohecz Champions league. :)
 
@PauloCereda ok
 
@tohecz Sorry to hear about the problems with the scout troop. But I'm sure everything is going to be alright soon. :)
 
@PauloCereda I hope. We basically can't find some expensive stuff we have
 
Mods, please: user Ruben is going on an editing spree, bumping old threads to front.
@tohecz Ouch. :(
 
8:22 PM
@PauloCereda we think we'll find it, but we need it by Friday
 
@DavidCarlisle thanks!!
@DavidCarlisle i'll look this post
@DavidCarlisle here, i was thinking something like TI guys
@DavidCarlisle Continous Integration, using redmine, jenkins, git, eclipse (with mylyn and texlipse)
 
@user42634 you haven't looked yet I guess:-)
 
@DavidCarlisle shh. :)
 
i'm reding the post : )
reading **
 
Apple guys: does anybody here have Apple TV?
 
8:36 PM
@DavidCarlisle Lol, just looked at the revision history, didn't know the system only counts characters at creation of a new post :P (and a minimum number of changed characters for an edit)
 
@jfbu It happens; only DPC's packages are bug free, they only have undocumented features. ;-)egreg 18 secs ago
 
@hugovdberg No it also counts characters after the edit it has to be more than 30 or whatever it is. I
@egreg hmph
 
@egreg Does imakeidx use .ist files to format the entries?
 
@user42634 you can edit the history (like this) (for a few minutes)
 
@GonzaloMedina Yes, if you want to; but this makes sense only with the automatic feature. You pass it as an option to \makeindex
 
8:48 PM
@PauloCereda I need to get glasses, I thought you said does anyone have an Apple II :-)
 
@egreg I see. So, what do I have to change if I want to modify the entries format when using noautomatic?
 
@DavidCarlisle Oopsie. :)
 
@GonzaloMedina Run MakeIndex with the required option makeindex -s <filename>.ist
 
@egreg Or "charming features", if I recall correctly how Nicola referred to them (speaking about her own packages, I believe) :)
 
Hey, % arara: makeindex: { style: foo } :)
 
8:50 PM
@GonzaloMedina Easter eggs
 
@PauloCereda You shall not tempt me :)
 
@GonzaloMedina Wait for v6, you'll fall for it. :) There will be a predictive interface. :)
 
@PauloCereda So I just think the kind of document I want to typeset and arara does the rest?
 
@PauloCereda iArara (ding!)
 
@GonzaloMedina Actually, it won't be that predictive. :)
@egreg LOL we need to make money out of it. :)
 
8:58 PM
@GonzaloMedina you are covertly using the pretesting version, aren't you? you just wrote what I was thinking :P
 
@hugovdberg It just works. :)
 
@GonzaloMedina also new, \documentclass{shoppinglist}\begin{document}\printshoppinglist\end{document}, that's all arara will need to predict what you'll need to buy at the supermarket tomorrow :P
 
@hugovdberg There'll be purchases inside the app. :)
 
@PauloCereda will it also include the eightball and fortune directives? :P
 
Oh boy, I need to find one of those bluetooth refrigerators. Now my crazy sense is tingling.
@hugovdberg Also russian roulette and karma mode. :)
 
9:06 PM
@PauloCereda karma mode = the more you procrastinate the more random bugs are introduced? :P
 
@hugovdberg It's a mode heavily inspired on chickenize. :)
 
@PauloCereda you might appreciate this article on The Daily WTF on artificial intelligence gone hilariously wrong
 
@hugovdberg LOL the generated sentence is priceless. But no quack. :)
 
9:23 PM
@hugovdberg kantlipsum is way more intelligent. :P
 
@PauloCereda :)
 
@DavidCarlisle What I said: several funny features.
 
@DavidCarlisle What an honour, you have your name in a dropdown list. :)
 
@DavidCarlisle If one changes to "anyone", the result is the same, so no bugs at all :)
 
10:04 PM
@DavidCarlisle Soon we will move to the epic L3 Bloodhound system. :)
 
@GonzaloMedina but not if you re-hit search, unfortunately:-)
@PauloCereda that can have a shorter dropdown blame menu, with just @JosephWright
 
@DavidCarlisle Pretty much it. :) Or we can create groups, so the group leader is the escapegoat responsible. :)
 
@DavidCarlisle Why would I do that? It's better without re-hitting search :)
 
That looks like Safari for iOS.
 
@PauloCereda she says so in a comment (note the lowercase pronoun).
 
10:16 PM
@egreg oh I missed that. :)
 
10:30 PM
in Earth Science, 8 mins ago, by Neo
MathJax is similar to Latex right ?
meant that one, with the following response
in Earth Science, 9 mins ago, by hichris123
Yeah, it's pretty much the same thing.
 
@hugovdberg Anathema!
 
@egreg Mother Earth might sound familiar to those people.
 
@egreg it's like it but better! ??
 
@DavidCarlisle Of course!
 
@egreg I've only introduced one feature in to mathjax so far.
 
10:38 PM
@DavidCarlisle Documented or not? ;-)
 
@egreg xslt code is self evident, so it doesn't need extra documentation...
 
Aug 20 '13 at 15:28, by Paulo Cereda
@JosephWright I thought David was Don Knuth in disguise. :)
 
@PauloCereda Gaia :P (or Daisyworld ;))
 
@hugovdberg Oopsie, my bad. :) Gaia was my Gnome shell theme, so I can relate to that. :)
 
@PauloCereda :)
well guys, it's been a pleasure, but my alarmclock rings at 5, so I've really got to get some sleep while I still can :P
see you soon :)
good night!
 
10:42 PM
@hugovdberg Good night, buddy! :)
 A Brief, Incomplete, and Mostly Wrong History of Programming Languages

1801 - Joseph Marie Jacquard uses punch cards to instruct a loom to weave "hello, world" into a tapestry. Redditers of the time are not impressed due to the lack of tail call recursion, concurrency, or proper capitalization.

1842 - Ada Lovelace writes the first program. She is hampered in her efforts by the minor inconvenience that she doesn't have any actual computers to run her code. Enterprise architects will later relearn her techniques in order to program in UML.
 
... there's a reason why I don't have an account here. :P
Or do I?
Fact of the matter is: I have no clue about TeX. :P
 
@hichris123 Neither do we, but the key here is to play cool. :)
@hichris123: allow me to introduce you to the two big guys hanging out here: @DavidCarlisle: Half of LaTeX's stuff is signed by him, and during leisure time he parses XML with TeX. @egreg: After ten minutes Knuth created TeX, he already had a production-ready package. :)
 
Parses XML with TeX? :P
obligatory:
4430
A: RegEx match open tags except XHTML self-contained tags

bobinceYou can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool th...

 
@hichris123 Oh we do love that one. :)
 
@hichris123 yes but tex isn't regex, it is turing complete
 
10:51 PM
@DavidCarlisle and it does infinite loops in 5 seconds, so I heard. :)
 
@DavidCarlisle Really? Huh, didn't know that.
 
@hichris123 well of course that isn't saying much more than the fact that you can increment an integer counter. but anyway xmltex imlements every production in the xml and xml namespace grammar, the only known non conformance is that its end of line handling strips some white space at ends of lines that shouldn't be stripped.
 
Huh, cool.
I'll have to look into TeX.
 
@hichris123 Go for LaTeX, actually. :)
 
So is @PauloCereda here the meme poster? :P
 
10:55 PM
@hichris123 I'm here for the ducks. :)
 
@hichris123 well i thought it was a joke and a couple of weekends play when I made it then 10 years later I found that people were (are) making a living using it commercially. scary:-)
 
@PauloCereda So what exactly is the difference between LaTeX and TeX?
 
@hichris123 latex is written in tex
 
48
Q: What are TeX and LaTeX?

Robert S CiaccioI'm surprised no one else has asked this question. It's not explained very well in the FAQ or site descriptions either. I know many of you will think "LMGTFY", "RTFM", or "ask wikipedia", but I'd rather get the answer straight from the experts. I'm so green I don't even know what to tag th...

:)
 
@egreg and @PauloCereda If you have time, could anyone of you please check this answer tex.stackexchange.com/a/172913/3954? I would like to know whether the processing of the document can be simplified (the instructions are at the bottom of the answer).
 
10:56 PM
Thanks. :P
 
@hichris123 "La" :)
 
@GonzaloMedina Levenshtein distance of 2. :P
 
So that's what the weekly newsletter is for! Questions/Answers mentioned there receive additional up-votes when the newsletter is sent.
 
11:14 PM
@GonzaloMedina: or you could use arara in a very hackish way:
% arara: pdflatex
% arara: pdflatex
% arara: makeindex: { style: myright, files: [ add.idx, mul.idx ] }
% arara: pdflatex
% arara: clean: { files: [ add.idx, add.ilg, add.ind, mul.idx, mul.ilg, mul.ind ] }

\begin{filecontents*}{myright.ist}
% MakeIndex style file; page numbers flushed right and dot leaders
% between entries and page numbers
delim_0  "\\dotfill "
delim_1  "\\dotfill "
delim_2  "\\dotfill "
\end{filecontents*}

\documentclass{article}
\usepackage{amsthm}
\usepackage[noautomatic]{imakeidx}
The last directive could be shortened to only remove the .ind files. :)
 
@GonzaloMedina I'm not sure about "commenting/uncommenting". Isn't running MakeIndex easier?
 
@egreg I tried but surely I did something wrong and it didn't work so I had to use the ugly procedure described there :(
@PauloCereda I will end up using arara...
 
@GonzaloMedina :)
@GonzaloMedina: copy/paste this code and run arara file.tex in a prompt. See if it works. :)
@Gonzalo: Note that I changed your code to include \IfFileExists so I could fool the proccess. :)
 
@egreg I run makeindex -s myright.ist add.idx and makeindex -s myright.ist mul.idx, but the indices were not generated. Was I running the wrong commands?
 
@GonzaloMedina Surely you need \if\relax\detokenize{#1}\relax and not \ifx\detokenize#1\relax, that compares \detokenize with the first token in #1 (which will always be false, I guess).
 
11:21 PM
@egreg Ah, yes. I'll change it. Thanks.
 
@egreg: I'm trying to convert Gonzalo to use arara, but he's strong. :)
 
@GonzaloMedina One needs a fix to imakeidx. :(
I have Claudio to blame, though.
 
@egreg Oh no!
 
@egreg we blame you
 
@egreg How come?
@DavidCarlisle LOL.
 
11:35 PM
@GonzaloMedina Forgot to add a conditional around \immediate\closeout. :(
 
@egreg Only for TL'14 now. :(
 
@PauloCereda Has Tex Live2013 been frozen already?
 
@GonzaloMedina Yes, a couple of days ago. :(
 
@GonzaloMedina Add this after loading imakeidx
\makeatletter
\xpatchcmd{\imki@putindex}
  {\immediate\closeout}
  {\ifimki@disableautomatic\else\immediate\closeout}
  {}{}
\xpatchcmd{\imki@putindex}
  {\endcsname}
  {\endcsname\fi}
  {}{}
\makeatother
 
@PauloCereda ¡Chispas!
 
11:39 PM
@David: actually, those bugs are deliberate. See, egreg has already a fix. :)
 
@egreg I'll do the addition and testing later; now I have to help my daughter with her homework. Thank you very much!
Bye, everyone!
 
@GonzaloMedina Chao, Gonzalo! :)
@egreg: cool! With your patch, Gonzalo only needs this header:
% arara: pdflatex
% arara: makeindex: { style: myright, files: [ add.idx, mul.idx ] }
% arara: pdflatex
:)
 

« first day (1269 days earlier)      last day (3668 days later) »