« first day (1166 days earlier)      last day (3782 days later) » 

12:38 AM
@DavidCarlisle I added the solution to the OP's "tt" problem following your idea. (And upvoted the answer, of course)
Good night.
 
@egreg thanks for that (I thought I had the font but xetex disagreed:-)
 
 
1 hour later…
1:40 AM
What does \@c do?
Oh, right, I remeber
So #1 is the first argument I passed it, what is ##1?
 
2:35 AM
So, I'm done my first giant LaTeX project and I almost understand all the code (I did understand all of it righhhtttt up till the end, some of the card back stuff is a bit confusing)
Does anyone want to see?
Well, I guess my second, my thesis would be my first
 
 
3 hours later…
5:28 AM
@Canageek ##1 is used in nested definitions. So, in straight TeX, I could say
\def\newerif#1{%
  \expandafter\def\expandafter\csname if#1\endcsname##1{%
    I was made with the argument #1, but you want me to say ##1}}
That should define a macro \newerif{argument} that would define another macro \ifargument{some text} that would expand to I was made with the argument argument, but you want me to say some text.
There's a question on here that goes into detail…
 
@PauloCereda: My yellow new friend has arrived yesterday... :) Thank you so much - he's really adorable :) And thank you for making this community even more friendly (I could not imagine it is possible)!
 
@Dror I still can't believe he gave away a duck.
 
 
2 hours later…
7:56 AM
@SeanAllred: To be honest... neither can I... :) But this what makes it so beuatiful.
 
8:25 AM
@tohecz What is a scoutmaster in this context?
The latex wikibook is quite good. Anyone here either using it or writing it?
 
 
1 hour later…
9:29 AM
@Dror Yay, I'm very happy to hear the duck had a good flight! :) Again, thanks for winning the contest! Take care of the little duck! :)
 
 
1 hour later…
10:33 AM
@FaheemMitha as in other contexts: scouts.org.uk/home
 
@DavidCarlisle Oh scouts! I thought we were talking about scottish! :P
 
15
A: Why do paramaters of \renewcommand need to double up the # within a \foreach

David CarlisleInternally the definition of foreach will be saving the body of the loop in a macro so it is like (if looping over a,b,... ) \def\body{% \renewcommand*{\SomeCommand}[1]{\color{red}#1}% Using ## here eliminates the error. \par\SomeCommand{\x}% }% } \def\x{a}\body \def\x{b}\body ... That in...

 
can someone please tell me why I get bad math char on this code?

$\sum F_{x}=m\ddot{x}$
 
@Dror We want to see a picture of the duck!
 
10:48 AM
Here it is in the editor
I do not know what Bad mathchar (79119) means
I removed the \sum and now it compiles. so changed $\sum F_{x}..$ to $F_{x}...$ and now it compiles. For some reason, tex4ht does not like \sum
 
@Nasser because you have an error in the code you haven't shown \sum is \mathchar "1350 and you have expanded \sum F as \mathchar "1350F so the number is out by a factor of 16 + 15,
@Nasser (hex 1350F is decimal 79119)
@Nasser if you don't want to fix it use \sum\relax F but you should report it as a bug to whoever redefined \sum (unless it was you:-)
 
@DavidCarlisle I am sorry, not following you. When I type \sum F_{x}=... in the direct latex engine, it works. Like here:
 
@Nasser so you have code in a tex4ht only branch that is redefining \sum
 
it is only when I use tex4ht on the file, it complains. not pdflatex. tex4ht does not like \sum
@DavidCarlisle yes, the problem only when I compile the file with tex4ht, not normal pdflatex. I do not know why now.
 
@Nasser as I said, something is redefining sum to use a macro without a proper terminator, use \relax as above and report it to the tex4ht list
 
11:02 AM
@DavidCarlisle ok, will do. thanks.
@DavidCarlisle where do I type this \relax thing? how do I find if tex4ht is defining \sum? sorry, never used \relax
do I type it in the same latex file where the problem is?
 
@Nasser I haven't tested any of the above but I would assume $\sum\relax F_{x}..$ to $F_{x}...$ works in pdflatex and htlatex
 
I see. Ok I understand now. But then I still need to find out where tex4ht is redefining \sum. Ok, got it.
 
@Nasser well you don't necessarily need to find out where the bug is, just send a bug report and see if it gets fixed:-)
 
Sure. Will make a small test program and email the group.
 
11:27 AM
@FaheemMitha I am using it. I have learned whatever I know now from that book.
 
11:58 AM
@PauloCereda Had seen that: one for the staff, really
 
@DavidCarlisle I didn't think @tohecz meant that literally. For one thing, he is not British.
 
@JosephWright Thought so. :)
 
@FaheemMitha Yes I know I posted to the uk site (but that was easier for me to find) but I think he did mean he meant it literally (from previous comments about scouting made here:-)
 
@DavidCarlisle Oh, really? I didn't know scouting was international.
 
@FaheemMitha well Japan seems quite a way from here:-) members.scouts.org.uk/supportresources/4006/…
 
12:03 PM
that's the baden-powell lot, right? Not something else with the same name.
 
@FaheemMitha yes
 
Ok, I've a trivial LaTeX programming question. Shall I ask here? Doesn't seem worth cluttering the site.
 
either ask or don't but don't ask if you can ask
3
 
Function 1:
\newcommand{\PrintDTLTable}[2]{%
% #1 = database to search
% #2 = list of rowIDs
\begin{tabular}{l l l l l l}
& \colhead{Date} & \colhead{From} & \colhead{To} & \colhead{Email} & \colhead{Subject}\\\hline
\DTLforeach[\DTLisSubString{#2}{\RowID}]{#1}{%
\RowID=RowID,%
\Date=Date,%
\From=From,%
\To=To,%
\Email=Email,%
\Subject=Subject%
}{%
\nextnuml{\RowID} & \Date &\From & \To & \Email & \Subject \\
}%
\end{tabular}
}%
Function 2:
\newcommand{\PrintDTLTableDefault}[1]{%
% #1 = database to search
\begin{longtable}{l l l l l l}
& \colhead{Date} & \colhead{From} & \colhead{To} & \colhead{Email} & \colhead{Subject}\\\hline
\DTLforeach[\boolean{true}]
{#1}{%
\RowID=RowID,%
\Date=Date,%
\From=From,%
\To=To,%
\Email=Email,%
\Subject=Subject%
}{%
\nextnuml{\RowID} & \Date &\From & \To & \Email & \Subject \\
}%
\end{longtable}
}%
I'm trying to merge these two together using \ifthenelse, but I get an error.
\newcommand{\PrintDTLTabled}[2][]{%
% #1 = list of rowIDs
% #2 = database to search
\begin{tabular}{l l l l l l}
& \colhead{Date} & \colhead{From} & \colhead{To} & \colhead{Email} & \colhead{Subject}\\\hline
\DTLforeach
%[\DTLisSubString{#1}{\RowID}]
[\ifthenelse{\isempty{#1}}{\boolean{true}}{\DTLisSubString{#1}{\RowID}}]
{#2}{%
\RowID=RowID,%
\Date=Date,%
\From=From,%
\To=To,%
\Email=Email,%
\Subject=Subject%
}{%
\nextnuml{\RowID} & \Date &\From & \To & \Email & \Subject \\
}%
\end{tabular}
}%
 
@DavidCarlisle FYI, I was able to reproduce the \sum bug all the time. Here is the email I send to texht mailing list tug.org/pipermail/tex4ht/2014q1/000905.html
 
12:11 PM
Maybe my usage of \ifthenelse is incorrect.
Is this question suitable for the site? If so, I can add it there.
 
12:25 PM
@Nasser you could have mentioned that (hex 1350F is decimal 79119) to save them the effort of working out what the problem is:-)
@FaheemMitha beginning of a table cell is a fragile and weird place to be and \ifthenelse doesn't take well to being used in delicate ways/ I don't know exactly what datatool is doing, but I'm not surprised it doesn't work
 
12:44 PM
@DavidCarlisle Ok. I'll add it as a question. Thanks.
 
1:22 PM
@PauloCereda Parrot received!
 
@JosephWright Yay! :)
 
1:50 PM
0
Q: How to set two title(main title and subtitle)

TangshutaoRecently,I have been translating a foreign paper that has main title and subtitle. My trial: \documentclass[UTF8]{ctexart} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} \usepackage{epstopdf} \usepackage{inputenc} \usepackage{geometry} \geometry{left=2.5cm,right=2.5cm,top=2.5c...

What kind of class is this? It requires a certain font.
 
2:23 PM
@Nasser problem with your example is that you request mathml and picture math at the same time. I don't think it can work correctly.
 
@PauloCereda It's part of CTeX, for Chinese.
 
@egreg Oh my, that explains it!
 
2:55 PM
Does anyone here play cargo bridge?
 
@Kartik Good old times, I used to.
 
@PauloCereda Did you cross the desert?
I'm still stuck here
 
@Kartik I don't remember, it's like 5 - 6 years ago. :)
 
3:15 PM
0
Q: What would the job title be for someone who reconstructs and creates documents with LaTeX, InDesign, and FineReader Pro?

Phil VollmanI've been looking through the BLS (Bureau of Labor Statistics) site, and I've not been able to find a job that matches up with these duties: Creates accessible documentation and documents (with LaTeX, InDesign, and RoboHelp) Digitizes documents and ensures that they are accessible (Uses FineRea...

Answer: masochist
:)
 
3:39 PM
Off-topic :-)
 
@JosephWright :)
 
 
3 hours later…
6:20 PM
@Werner: Thanks for the reply. Looking at it now.
@egreg thanks for the comments. I'll experiment.
 
@DavidCarlisle Sometimes it is really obvious that LaTeX is old
@PauloCereda Typesetter?
 
@Canageek but not as old as its maintainers
It should perhaps be noted that the latex system is older than the web (and older than the internet being in the UK at least). — David Carlisle 8 hours ago
 
@Canageek I was simply making a joke.
@DavidCarlisle: never saw this, is this error common?
! Arithmetic overflow.
<recently read> \calc@Acount

l.37 ...o the following table. \begin{TabularC}{0}
 
@PauloCereda well possible, I don't know how common it is, what was it calculating?
 
@DavidCarlisle No idea, actually. :) It was raised from a .tex generated by doxygen. :)
 
6:33 PM
@PauloCereda \tracingall
 
@DavidCarlisle I'm scared. Very scared. :)
 
@PauloCereda Smells like division by 0
 
@egreg Indeed.
@DavidCarlisle: vvv
paulo@alexandria latex$ ls -lha refman1.log
-rw-rw-r--. 1 paulo paulo 145M Jan  9 16:36 refman1.log
:)
 
@PauloCereda You have to read for a while.
@PauloCereda One should know what's the definition of TabularC
 
@egreg :)
@egreg I suspect it's doxygen's own .sty.
I'll take a closer look.
 
6:41 PM
@egreg reader declined the exercise but voted for you anyway
@PauloCereda gzip will make the log smaller
 
@DavidCarlisle And more readable, perhaps. ;-)
 
@DavidCarlisle What a relief. :)
 
@PauloCereda the idea is to put \tracingall as close as possible to the source of the error.
 
@DavidCarlisle That's no fun. :)
 
\newenvironment{TabularC}[1]
{
\setlength{\tmplength}
     {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)}
      \par\begin{tabular*}{\linewidth}
             {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|}
}
{\end{tabular*}\par}
@PauloCereda Division by 0, as I said.
 
6:46 PM
@michal.h21 I see. This happened when I was trying different configurations, and had mathml before then I wanted to try html so I added html and did not know I needed to remove mathml from the line also. I have removed mathml since, so this is not a problem for me now. I thought better to let folks know about it, just in case.
 
@egreg Oh my!
 
I'd suggest to load tabularx and change the definition as
\renewenvironment{TabularC}[1]
  {\tabularx{\textwidth}{|*{#1}{X|}}}
  {\endtabularx}
But this doesn't help with \begin{TabularC}{0}, of course.
 
@egreg I'll take a closer look. Sadly, code is automatically generated. :(
 
Better:
\renewenvironment{TabularC}[1]
  {\par\noindent\tabularx{\textwidth}{|*{#1}{X|}}}
  {\endtabularx\par}
 
@egreg ooh close! :)
! Missing # inserted in alignment preamble.
<to be read again>
                   \cr
l.38 \end{TabularC}
 
6:59 PM
@PauloCereda There's still \begin{TabularC}{0}, I guess
@PauloCereda What's the contents of the environment?
 
@egreg I have no idea, it's automatically generated. :) And there's at least 100 .tex files in the folder. :) Don't worry, I have a workaround. :)
 
I sometimes wonder from what source people are learning to use glossaries. Is there some kind of crazy guide to misusing glossaries out there?
 
@NicolaTalbot Yours. :P
Just joking, of course!
 
@egreg lol :-P
 
@egreg Can \ifstrempty{string} be used directly to check for an empty arg?
 
7:10 PM
@FaheemMitha Yes, but note that the <string> is not expanded. If it's just text, there's no problem.
 
@egreg Not expanded mean TeX doesn't apply it's crazy substitution rules to it, and what not?
 
@FaheemMitha If it's a string stored in a macro, then you have to expand it first, say \expandafter\ifstrempty\expandafter{\next}
 
note: substitution rules is probably incorrect terminology
 
@FaheemMitha Yes, \ifstrempty just look if it contains tokens.
 
@egreg: any TeX couse this semester? :)
 
7:13 PM
@PauloCereda Yes, starting in March.
 
@egreg Can I sign in? :)
 
@PauloCereda :) <3
 
@egreg ooh! <3
And one <3 to @Nicola since arara and glossaries are kinda married now. :)
 
@PauloCereda Ahh! Where's the confetti? :-)
 
Anyone got a link, like TeX expansion for dummies?
 
7:16 PM
@NicolaTalbot the cakeeee! :)
 
@FaheemMitha There's also \ifblank that evaluates to true if and only if the string (not expanded) consists only of blank spaces.
 
@PauloCereda Oh definitely! How could I forget that!
 
@egreg Which package is that?
 
@NicolaTalbot Joseph should definitely bake a cake for the UK-TUG meeting, with a big \usepackage{cake} frosting. :)
2
 
7:30 PM
@FaheemMitha \def\TeXExpansionForDummies{\TeXExpansionForDummies}\TeXExpansionForDummies
 
@DavidCarlisle Um. Sorry, I'll need a little more than that.
I'm tempted to ask this as a question - I've been searching the net, and everyone assumes you know the purpose and practice of tex macro expansion. I don't.
 
@FaheemMitha The basic rule is simple, it's the detail that catches people out
The basic principal is 'a macro is replaced by it's definition'
 
@JosephWright Right, so substitution, basically?
 
@FaheemMitha Exactly: you just have to do it stepwise
Also remembering about arguments
 
@egreg Any reason to prefer \ifstrempty vs \ifblank, or vice versa?
 
7:39 PM
@FaheemMitha You expand the non-terminal to the terminal. :)
 
@PauloCereda That's too gnomic for me.
 
@FaheemMitha Sorry. :)
 
I think the issue is that the expansion proceeds from left to right, and you can change definitions as you go, and the definition you use is the one that is valid at that point of time. Something like that? Sounds like a locality nightmare.
 
@FaheemMitha That's exactly right: it's not like some macro preprocessors which have fixed macro definitions for a whole file. TeX is Turing-complete and able to alter definitions on the fly (which is actually essential)
This catches out a lot of 'normal' programmers
 
@JosephWright context-sensitive and worse. :)
 
7:43 PM
@JosephWright Ok. Would it be reasonable to ask a question about that? Or are there already some good tutorials on the net? I don't really understand why this is so critical in practice.
 
@FaheemMitha Certainly reasonable to ask. It's important for TeX programming as it's how TeX works: there are many things that rely on expansion. The expl3 approach mitigates at least some of this.
 
@JosephWright Yes, I was looking at an answer of yours which has a thousand expand tokens (or whatever they are called). You then illustrate how the LaTeX 3 approach does away with most of that.
 
@FaheemMitha Ah, \expandafter hell :-)
There was an even more extreme demo in a talk by (I think) Morten Hoegholm some years ago
 
@JosephWright: in other news, apparently some banks in here can do PayPal, so there's hope for me in the UK-TUG. :)
 
@FaheemMitha The key point there is that \expandafter does exactly one expansion: conversion of a macro to it's definition or execution of an 'expandable' command
@PauloCereda I'd have thought PayPal should work in most places
 
7:50 PM
@JosephWright It does. The question is: I don't want credit cards anymore. :)
 
@PauloCereda Ah. Here in the UK PayPal also works with direct debit, which is how I've got it set up.
 
@JosephWright In here too (quite recently), that's why I'm looknig for my bank. :)
 
@PauloCereda Yay! Your next step is to prepare a talk for the next UK-TUG meeting about duck v1.0 -- the new TeX format with feathers!
 
@NicolaTalbot ooh! :)
Postdoc with Prof. Knuth in Stanford? That will definitely take a while. :) Unless Dr. Wright accepts me as his student. :P
Bonus: I'll be taught how to explode things, yay!
 
@PauloCereda But no exploding ducks!
 
7:55 PM
@NicolaTalbot Heavens no! Although the name would be catchy: the Molotov Duck. :)
 
@NicolaTalbot Can be arranged on the broad ;-)
 
@JosephWright Oh my!
@Joseph: hide that anarchist cookbook you have on your table. :)
 
@PauloCereda Don't need one ;-)
 
@JosephWright LOL teach me!
By the way, we have a tsunami of MetaPost and ConTeXt questions now. :)
 
@davejarvis I see quite a lot of edits ongoing: all good, but bear in mind that too many in one go tend to flood the front page
 
7:58 PM
@PauloCereda SPAM SPAM SPAM SPAM :)
 
@topskip Patrick! <3 Miss ya around, buddy!
 
I miss you guys too!
 
@JosephWright Oh, I should've asked you when I was doing the background research for my book ;-) Google must think I'm an anarchist with the type of searches I've been doing.
 
Yay @Stephan is here too!
Hey we could have a game server for TeX.sx users.
 
Why doesn't TeX want to hyphenate "hedgerow"?
(I know I can use \hyphenation{hedge-row} but I was just wondering why it doesn't do it by default.)
 
8:04 PM
@NicolaTalbot I guess not a common enough set of letter combinations
 
@JosephWright And yet it can hyphenate words like "hedgefund" and "hedgehog". Weird.
 
@NicolaTalbot Talking about hyphenation patterns, a linguist suddenly appears. Coincidence? I think not! :)
Hi @AlanMunn! <3
 
Hi. How are you?
 
@AlanMunn In a hurry, as always. And you? How are things in Michigan? I saw in the news the weather is quite bad. :(
 
@NicolaTalbot for hedgefund there is for example e1f in the hyphenation pattern, that allows a break between e and f. But I can't find a pattern for er for your first case.
 
8:14 PM
@FaheemMitha It depends on what you expect the argument to be; if spaces can sneak in but they're irrelevant, use \ifblank.
 
And for hedgehog there is e1h2 which allows a break between e and h, but not afterwards
 
We had about 40cm of snow and it got very cold ~ -22C but only for a few days. It mainly made me nostalgic for Montréal, where the weather is like that normally. Here people seemed to be a bit more hysterical about it, I guess because those temperatures don't happen too often.
 
@AlanMunn Oh my, I hope the weather gets better soon. The coldest temperature I once faced was a freezing 4°C.
 
@topskip Ah, okay. Thanks. (Now I'm going to spend the rest of the evening trying to think of other words ending in "row".)
 
@NicolaTalbot But don't ask me why its not in there.
 
8:18 PM
@topskip Wasn't the original aim to cover about 600 words, which is what the patterns plus a few exceptions do
 
I must be extremely dumb, but when trying to apply tex.stackexchange.com/a/153212/3406, I'm getting the arguments reversed. I'm trying to put the list of row ids for first arg, the db for second arg, but it wants me to put the db first, which makes no sense.
 
It has already warmed up to -7, so the cold is effectively gone and it's supposed to be above 0 for the next few days. There's even rain predicted for Saturday. To me, that's just not January weather. There's still plenty of snow, although the rain, if it comes, will make a dent in that too. But I don't find this weather bad anyway.
 
@egreg Ok, thanks.
 
@JosephWright Right. From the TeXbook: "The other exception, ‘ta-ble’, is included just to meet the claim that plain TEX fully hyphenates the 700 or so most common words of English."
 
@FaheemMitha Have you checked you're are using square brackets for the first argument?
 
8:22 PM
@topskip Don't have my copy of The TeXbook here :-)
 
@NicolaTalbot I'm not, no.
 
@JosephWright That's just a quote from my memory.
 
@topskip Ah, right
@topskip Somewhere around 600-700 words, then :-)
 
@NicolaTalbot That makes it work, thanks.
I guess I need to go back and look at the \newcommand definition. There are lots of fun potholes in this language, aren't there?
Worse than R, it is.
 
@FaheemMitha You certainly need to be careful
 
8:26 PM
Never occured to me that could be a problem. Not seen it in any other language.
 
@FaheemMitha What?
 
@topskip The 700 more common words are hyphenated fully; the algorithm finds correct hyphenation points in all the words in the list used for finding the patterns, but not all of them.
 
TeX can't hyphenate "tommyrot" either. Although I admit it's not a particularly common word these days.
 
@egreg My point was 'hedgerow' is probably not in that set :-)
 
@JosephWright Quite possibly.
 
8:32 PM
@JosephWright Special treatment for an argument that can be a default. Most languages make you add it at the end, too.
I guess if it is at the beginning, then you need to treat it specially, otherwise the machine doesn't know what you are referring to.
 
@FaheemMitha Sorry, must be being thick: still don't follow. Example?
 
@JosephWright Neither do I.
 
@JosephWright I was doing \PrintDTLTableCombinedP{Hammer001,Hammer003,Longsword003}{myDB} when it should have been \PrintDTLTableCombined[Hammer001,Hammer003,Longsword003]{myDB} as Nicola pointed out.
 
@FaheemMitha Using square brackets enables LaTeX to identify it as the optional argument, otherwise how does it know the argument's missing?
 
@NicolaTalbot By the number of arguments. :-)
 
8:35 PM
@FaheemMitha ?!
 
@egreg So, speaking of ducks. I had to wait till my son will go to sleep before I could make a photo. @PauloCereda and @egreg, without further introductions... Duck v1.0: dropbox.com/s/dal27dvchkifpzr/2014-01-09%2021.16.05.png
4
 
@Dror awww epic duck! :)
 
@FaheemMitha Arguments don't have to be delimited by braces! E.g. \frac12 is the same as \frac{1}{2}.
 
@PauloCereda If the macro has two arguments, and one optional, then if you give it one, then it should be able to figure out an argument is missing?
@NicolaTalbot Oh, fun.
 
@FaheemMitha How about partial functions? :)
 
8:36 PM
@PauloCereda Dunno what those are.
 
@Dror: I see the duck is in very good hands! :)
 
Frequent traveler... Maybe we should start a tradition, and send the same(!) duck next year to a new winner?
 
@NicolaTalbot Not seen that form before. How does TeX know not to return an error here?
 
I'll try to take good care of him. It might be that my son won't like the idea :)
 
@FaheemMitha Braces are not required for TeX to find arguments: they just allow us to use more than one token in an argument. So if you try leaving 'dangling' options you just end up grabbing 'whatever is next'
 
8:37 PM
@FaheemMitha The name for this is currying. :)
 
@PauloCereda TeX has those?
 
@Dror Did you show him? :)
 
@FaheemMitha There are various bits of low-level TeX trickery that rely on the fact that TeX doesn't parse arguments requiring braces
 
@JosephWright I see.
 
@FaheemMitha What Joseph said. :)
 
8:39 PM
I take it back. It's worse than perl. :-)
 
@FaheemMitha E.g. \def\foo#1bar#2\relax{"#1:#2"}\foo stuff that will bar be parsed \relax not grabbed
@FaheemMitha Remember that xii.tex makes Perl look simple :-)
 
xii.tex ?
 
By own own @DavidCarlisle (plain TeX not LaTeX)
 
@JosephWright I see.
@JosephWright The twelve days of Christmas? Wow, that's quite something.
 
@FaheemMitha Famous for a reason :-)
 
8:46 PM
@FaheemMitha Suppose you have a command called \mytext that contains some text, say, \newcommand{\mytext}{foo}. Now suppose you want to make the first letter uppercase. You can do \expandafter\MakeUppercase\mytext. The \expandafter expands \mytext before applying \MakeUppercase so this is the same as \MakeUppercase foo. The first object following \MakeUppercase is the argument so its the same as \MakeUppercase{f}oo which gives Foo.
This is the basis of all my commands that convert the first letter to uppercase. Like \Gls in glossaries. Otherwise you'd have to define all terms with braces around the first letter, which would be very inconvenient.
 
I am SO sorry about the spam! I completely forgot that changing the title moves the question to the front page. :-(
 
@NicolaTalbot The brackets in \MakeUppercase{f}oo define the function argument?
 
@DaveJarvis No problem
 
@FaheemMitha No, I'm just saying \MakeUppercase foo and \MakeUppercase{f}oo are equivalent, but in the second case its more obvious from the code that the argument is just the letter f.
 
@DaveJarvis The usual advice is to take these things in batches: often needed when retagging, for example
@PauloCereda Parrot popular with colleagues at work :-)
 
8:51 PM
@JosephWright Really? :) That's nice!
Photo required too! :)
 
@NicolaTalbot Ok. The first object following \MakeUppercase is the argument? Amd the object is separated from the \Makeuppercase via a space or a bracket?
 
@FaheemMitha First 'balanced text': either a single token or a brace group
 
@JosephWright Ok
 
@FaheemMitha The space is just needed to indicate the end of the command name, so you can also have \MakeUppercase {f}. It's not needed when the argument is grouped, but if the argument isn't grouped the space is needed otherwise you'd have \MakeUppercasef which isn't defined.
In fact a command with an optional argument, say, \foo[bar] is actually a command that looks to see if the next object is the character [ and then calls an internal command that's been defined with the syntax [#1].
 
@NicolaTalbot I see.
 
8:58 PM
@PauloCereda Or Schönfinkelizing.
 
@AlanMunn That's way cooler than Entscheidungsproblem! :)
 
@PauloCereda If you add an 'e' after "Ent" you get 'duck separation problem' :)
 
@AlanMunn Woohoo!
German is the best language ever.
 
9:21 PM
@PauloCereda See cynic.net/tsac.html
 
9:45 PM
@AlanMunn Oh my!
 
@PauloCereda I think that's right up there with the Finnish prime number shitting bear.
 
10:14 PM
@AlanMunn LOL
 
10:37 PM
@DavidCarlisle: Hilarious...
 
@Werner LOL
 
@egreg +1 for the option, but you said "about 0.5pt" but I said "-0.5426pt" so clearly I should get the tick
 
@DavidCarlisle more precision? :)
 
@PauloCereda of course.
 
10:59 PM
@DavidCarlisle Splitting pts it seems... I think it would be better to split sps.
 
2
Q: Auctex: bug in LaTeX-mark-environment?

daleifBefore I send this on to the developers, I'd like to know if others can confirm this problem. Consider these two environments: \begin{flalign*} sdfsdf \end{flalign*} \begin{flalign*} && A \rightarrow \End_{B}(M) && {; B=\End_{A}(M)} \end{flalign*} If I set the cursor in the first one and...

I thought emacs was a bug in itself. :)
 
@PauloCereda pah. I hope you noticed that the vim user I helped the other day with a regex posted a self answer showing how to apply the regex with... perl
 
@DavidCarlisle LOL
 
@DavidCarlisle You're far more accurate than me.
@DavidCarlisle Perl+Vim! Just reminds me of the forthcoming movie with Stallone and DeNiro.
 
@egreg forthcoming movie? not this one I suspect: thelegomovie.com
 

« first day (1166 days earlier)      last day (3782 days later) »