« first day (769 days earlier)      last day (4173 days later) » 
00:00 - 19:0019:00 - 00:00

7:03 PM
yup, thanks#
is ^^I the char for [TAB]?
 
@Mohan yes I is 73 and 64 less than that is 9 which is tab
 
thank you.
I added

\catcode`&\active
\lccode`&=`\^^I
...
\def&{\qquad}

to try to preserve tabs in the source
 
@Mohan You could just enter a tab directly but then if the code goes through any kind of editor white space normalisation the tab my get changed to a space
@Mohan % at end of line:-)
 
Sorry, which line? You/egreg don't have a % after any of your corresponding lines for \n
oh, i see... you mean in the material being passed in
No, it wasn't that -- I had forgotten to write
\catcode`\^^I\active
 
@Mohan after qquad}
 
7:11 PM
although I don't understand why I needed that -- surely the whole point of the lccode trick was to give me a way of getting hold of an active ^^I without actually writing ^^I.
%: sorry, I'm being dense: should I write
\def&{\qquad}%
?
why does it matter?
 
@Mohan by the way I think the idea of the cw is that you make the answer but an answer rather than part of the question (not sure really how these things work, @JosephWright ?)
 
Oh -- sure, I'll move it.
 
@Mohan the lccode stuff lets you define the behaviour of an active tab at the point of definition but separately in \begin{vb}you need to make tab active otherwise teh definition you made would not beused
 
ah -- thank you.
 
@Mohan without it it puts a space into the definition which produces a space in the output if it is in horizontal mode. In fact I think \vb has already done \par so you are in vertical mode so it will not affect the output just use up a pointless byte of memory, but if you don't get in the habit of putting % there you will get bad spacing. I got about half my rep by answereing "missing %" to random questions here
 
7:16 PM
ok. egreg didn't put one after '\def!{\par\leavevmode}', and I was too nervous to change t!
 
@Mohan he's an old man, he forgets these things. (Or if you want to show more respect you could say that he can be trusted to use a % when needed and not when not)
 
yes, I didn't mean to be critical of him!
it was literally just that I didn't have the confidence to deviate from his answer.
 
@Mohan It's Ok he's not here
 
From what you've said, I infer that the category codes for the material inside the \newcommand are determined at the time the code is first encountered, not the time the the \newcommand is processed. (Otherwise one could write
\catcode`\^^M\active
\def\^^M{\par\leavevmode}
and the catcode change would make the def work.)
is that right?
re egreg: nevertheless!
 
@DavidCarlisle @egreg @egreg @egreg @egreg @egreg. You are welcome, David. <3
 
7:20 PM
@PauloCereda snitch
 
:)
 
@DavidCarlisle I had to look at the dictionary. :)
 
@Mohan yes (thats why \verb doesn't work in the argument to another command) catcode affect the conversion of input characters to character tokens but taht is a once only parse stage what are passed around by macros are token lists but token keep their codes they are never re-tokenised (unless explicitly by the etex scantokens primitive)
 
got it. thank you so much for all of the patient explanations!
 
@PauloCereda playground slang, usually used of someone who reports things to teachers that could have gone unreported...
 
7:31 PM
@DavidCarlisle oh!
 
8:26 PM
@PauloCereda Hey, let me have my dinner! :)
 
8:41 PM
@PauloCereda Poke.
0
Q: Results that need LaTex

Althous InterWhat are the concrete effects that can only be reached with LaTex systems? I am not asking if some LaTex systems are more userfriendly, or if you can work faster with wysiwy*m* systems, once you learned them. It's about a comparison between results using LaTex (with Kile, for example) and using ...

 
@AlanMunn Saw that one: ultimately 'none', I guess
 
Is this a good question? It seems too broad and/or contentious to be useful.
 
@AlanMunn I agree. Also, as you can hand-craft a PDF, there is nothing that cannot be done some other way
 
@JosephWright Right. You could hand kern every letter. :)
 
@AlanMunn Quite. Or you could write a custom system for some limited special case, or you could write Patoline :-)
@AlanMunn Certainly Quark or InDesign can do any arbitrary positioning
 
8:52 PM
@JosephWright So should we suggest closing?
 
@AlanMunn Some reasoning needed, of course
Time for a result on the TUG vote?
 
@JosephWright Well non-constructive? Calls for discussion etc. seems a reasonable reason.
 
@AlanMunn Fine with me
Anyone else?
 
9:04 PM
@JosephWright Voted
 
@JosephWright There are nine names and 8 slots. So as I see it, you have to choose between me and Patrick to boot out, since we were the most explicit existing membership holders who said we would bow out to new people. Since Patrick got more votes than me, boot me out. :)
 
@AlanMunn Oh, this is like the moment when the main character unwillingly gives the grenades to the wounded sidekick and walks away with the main girl...
Just go, I'll stall them....
 
Final score:
34
Q: TUG Membership: Names for 2013

Joseph WrightLast year StackExchange became a member of TUG. With that come eight individual memberships, that were given out to some members of the community. The time has come to select our representatives for 2013. Following the model from last year, I'd like to ask people to put themselves forward. 'High...

 
9:30 PM
@percusse Apparently it didn't work. The grenade was a dud.
 
@AlanMunn Well @tohecz had already pulled out once, and had to be talked back into actually making a vote, and he did then come ninth, so it seemed reasonable
 
active ` ` and active `` are by default defined to just produce a space and a backslash, right?
grr... there was meant to be a backslash in the 2nd of those.
 
@Mohan Really hard to see what you mean ;-) \ produces a space and \\ is a newline.
 
@Mohan The active space is defined as \space, while the active backslash has no default definition.
 
@egreg Isn't an undefined active character automatically equal to \string itself?
 
9:46 PM
I was trying to make sense of these two lines in the verbatim invariant @David Carlisle and you recently made;


\catcode`\ \active
\catcode`\\\active

I've just that realise that the second one is actually aliased to lowercase ~, so I shouldn't have asked about that. But the first line was clearly referencing some sort of ' active space' that already existed.
 
@StephanLehmke No.
 
how'd you all get that 'reply' character to show up in chat?
 
@egreg Ah, ok. Thanks.
 
@Mohan As I said you don't need to assign a meaning to the active space; but you do need for the backslash, which is done with \let~\scanendvb
 
yes, just spotted that!
 
9:49 PM
@Mohan You "reply" by clicking on the arrow at the far right of the line you want to reply to, which is visible when you hover above it with the mouse pointer.
 
@egreg thanks
am I asking you all too many questions in chat? I don't want to hassle you.
 
@percusse What I meant is
\newenvironment{checklist}
  {\renewcommand\labelitemi{$\Box$}\begin{itemize}}
  {\end{itemize}}
@Mohan Don't worry. Sometimes we like to talk about TeX. The big cricket match is in pause.
 
thanks!
Is the #1#2#3#4#5#6#7 thing in yr verbatim variant related to tex.stackexchange.com/questions/7703/… ?
(i.e. to the use of multiple expandafters?)
(7 seems like a rather arbitrary number)
 
@Mohan No, just to the fact that end{vb} consists of seven tokens; so if the active backslash finds exactly end{vb} it terminates the environment.
 
@egreg I got that but then checklist doesn't need a definition it's just an itemize.
 
9:56 PM
Wow. it never occurred to me that you were matching macro arguments against characters.
 
@Mohan The standard verbatim environment absorbs one line at a time and then checks to see whether it starts with \end{verbatim} (all characters). Here the job is slightly different.
@percusse Maybe the OP wants something else and that's a stripped down version.
 
yup, you're checking every time you see a backslash, rihgt?
 
@Mohan Yes.
 
[gah, keep forgetting to use reply!]
@egreg And if it's equal to end{vb}, you execute \@firstoftwo, which is \end{vb}; if not you execute \@secondoftwo to put the seven characters back in the input. Is that right?
 
@egreg Well maybe I meant his unstripped case by my stripped case via posting my stripped case to emphasize the stripped case so I hope when he reads my stri...... wooo I think I got high....
:)
 
10:00 PM
@Mohan Yes.
@Mohan Notice that the \end{vb} that's inserted is five token long: here the backslash is the normal one! :)
 
I think that the only thing I don't understand (after all the help) is


\let\do\@makeother\dospecials
\let\@xobeysp\ %

In the first line, you are defining \do but not using it anywhere else in the macro. That suggests it's a standard command, but I can't find it in http://www.tug.org/utilities/plain/cseq.html#d-ai
 
@Mohan Not a primitive
 
@Mohan You have to look in source2e.pdf; \dospecials is a collection of the special character in the form \do\\\do\#...; executing \dospecials uses the current definition of \do, thus \@makeother\`, \@makeother\#` and so on are performed.
 
@egreg Grr, trying to get hold of source2e is making my browser crash. I'll leave it till tomorrow. Thank you again for all the help!
 
10:31 PM
@Mohan less of a strain is just put latex.ltx into your text editor (I always have a copy there) latex.ltx is the stripped version removed of comments that is the source of teh latex format (source2e is the typeset documented form of the same thing)
@Mohan The reason for using an active space let back to a normal one is related to the 7 param command that checks for the end, spaces are not seen by delimited arguments 1 2 3 4 5 6 7 would be eaten by #1#2#3#4#5#6#7 discarding the spaces so as they are not end{vb} they would be put back but teh inter word spaces would be gone. As is they are seen and put back
 
11:04 PM
@DavidCarlisle thanks! I think I'm going to have to think about that to grok it...
 
11:18 PM
@JosephWright Ok, seems that I should order an individual membership then ;)
 
@tohecz Yup
 
11:49 PM
@JosephWright Fine with me. I'd be happy to give my membership to @tohecz though.
 
@AlanMunn I'm planning to become a member anyways, so I'll only miss the connection of my membership to TeX.SX. It is up to you.
@Joseph as for the thing with the downvotes I recieved, don't take it probably too seriously.
 
00:00 - 19:0019:00 - 00:00

« first day (769 days earlier)      last day (4173 days later) »