« first day (280 days earlier)      last day (4654 days later) » 

11:32 AM
The datatool package is very interesting, I never saw it before.
3
 
@PauloCereda Yes, Nicola Talbot's done a great job with it
@MartinScharrer How did you do the schedule thing?
 
12:42 PM
@JosephWright Click on 'room' at the top right corner of the chat room window. Then on 'schedule event'.
 
1:11 PM
@MartinScharrer Ah, I see
 
@FaheemMitha You are surprised at the votes for my non-letter class solution, but it is a solution. I think many people feel like me. (This also may be a N. American vs. European thing. I don't think letters are so codified here in N. America, so there isn't the same sense that there is much to be gained by letter-specific markup.)
 
@AlanMunn I've always just built 'on to' of the letter class for letters. I've never needed floats or the like: for me, a letter is usually pretty short. As you say, using article for anything more non-standard is usually a good approach.
 
@JosephWright I think the issue here is the usefulness of semantic markup for a document like a letter. There seems to be an idea that since the semantics is different, the class must be different, but that implies that there's a lot of class specific markup required for letters. Personally, I don't find that to be true, and mail merging is trivially handled by datatool.
I think the mail merge functionality was probably one of the initial motivations for the various letter classes, but with datatool it's not clear that their solutions are actually the best given current capabilities.
 
@AlanMunn I can certainly see your point, but then classes are also about design. For a letter, you need the semantic 'addressee' and the design 'place for address to post to'.
So for me there is some merit in a letter class
 
1:28 PM
@JosephWright I agree that you can identify such elements, but the question is what do you gain by doing so if you're not doing mail merge (other than satisfying one's inner "everything must be semantic" voice. :-))
 
@AlanMunn As I said, for me there is the design element (basically, I like the fact that with my hacked-up letter class the addresses come out in the right place)
 
@AlanMunn I usually use the letter format for "formal" style letters, for people who don't use email, communicating with official channels like the govt, journals etc. It seems to me that the formatting requirements in these cases would need to be reinvented.
@AlanMunn: I do find that I am writing more of these here in India. I think in the US the formal letter form is becoming obsolete, except perhaps for communicating with the IRS or some such.
@AlanMunn: By "mail merge" you mean en.wikipedia.org/wiki/Mail_merge, right?
As @JosephWright says, there are some formatting requirements to a letter. You've got to put the "to" address here, the "from" address here, you have the greeting and the signoff, you might have some cc stuff... Wouldn't you have to place this all manually otherwise?
As for the table/float thing, this is for a response letter to some referee comments. They asked about some minor additional results. So I decided to provide it in the letter rather than putting it in the paper. Reasonable, IMO.
 
2:05 PM
@FaheemMitha Well my 'from' address is part of the my letterhead package (which is independently needed since it conforms to the rigid design standards of the university). The 'to' address and the closing just go on the top and bottom at the left, respectively, so I don't find much need to give them a semantics.
I'm not trying to convert anyone here :-) But for me (and I seem to recall similar opinions expressed on c.t.t when this topic comes up) the semantics don't buy me much (which is different in the regular document classes where there are all sorts of numbering issues that depend on the semantics.) Nothing depends on having your closing marked as \closing{}, for example, in the way that lots depends on your sections being marked \section{}. That's my main point.
 
2:25 PM
 
@PauloCereda imdb.com/title/tt0040369 ;-) Not sure this is what you want...
 
@AlanMunn I'm scared of John Wayne! =P Actually, I was thinking of one of these: i.imgur.com/oPYfN.jpg
 
 
2 hours later…
4:08 PM
@PauloCereda: The North Pole isn't located in Alaska.
Though maybe Americans think it is.
 
@FaheemMitha I just googled "Santa Claus address" and a page with that address came out.
 
@PauloCereda: Oh. Yes, probably an American.
 
@StefanKottwitz, @MartinScharrer, @JosephWright: Could someone please reinstate the 'answer the unanswerd' banner.
 
4:25 PM
@FaheemMitha Although "the" North Pole is (currently) in Canada, there is, in fact, an actual place in Alaska, called North Pole, which is where Paulo's letter would end up.
 
@Caramdir Done
@FaheemMitha In Lapland, no?
 
@AlanMunn Very cool! I searched on Maps and it's there! Christmas is saved! And I'll get my Fort Apache. =)
 
(or am I just being European?)
 
@JosephWright (I never actually saw snow. South americans. =P )
 
@PauloCereda You have high ground - the Andes are pretty snowy
 
4:34 PM
@JosephWright Well I'm Canadian/British but I think it's actually in Canada. There's some issue about magentic vs. geomagnetic. According to the Wikipedia article the latter that is off the coast of Greenland; I don't think either have ever been in Lapland in recent memory.
 
@AlanMunn Not the North Pole, I'd agree, but the Santa Claus business is hard-fought over by northern European tourist boards!
 
@JosephWright Too far ~2500km, and I'm lazy. =P I'll probably visit the brazilian south as @AlanMunn suggested me. =)
So you guys are telling me I won't win my Fort Apache? (/me is very sad)
 
@JosephWright Oh, I have no opinion on Santa Claus. Lapland certainly has a good supply of reindeer; we (Canadians) do too, but we call them caribou.
 
5:21 PM
I've got an odd problem (article class) where page numbers run from 1 to 7 then reset to 0 and then go forward to the end of the article (20 pages total). Any suggestions what might be causing this or how to go about debugging it?
 
 
3 hours later…
7:55 PM
'Answer the unanswered' session starts in one hour.
 
@PauloCereda: can anyone just hop into the room?
once it starts
 
@FaheemMitha Hm I really don't know.
I guess so. The schedule seems to be just a friendly reminder.
 
what is the register button for?
 
@FaheemMitha I'm not sure. Perhaps a reminder.
 
@PauloCereda Ok, thanks.
 
8:14 PM
@FaheemMitha I guess just a way to let others know that you intend to come. And it sends out an email 3 hours before the event.
 
8:37 PM
@Caramdir: Ok. I see.
 
Windows users: does anyone know if ctanify works in Windows (if you have Perl installed I would guess)? See tex.stackexchange.com/questions/25116/…
 
I'm going to try it under Cygwin, but not for a couple of days
 
@BrentLongborough Ok. If it does work, feel free to delete the comment about Windows in my answer and add that it works with all three platforms. Is cygwin required to run any Perl script on Windows? (I know nothing about Windows.)
 
@AlanMunn You can actually have an independent Perl interpreter, like ActiveState Perl.
 
No, there's at least one perl distribution (ask the Google for ActiveState Perl) that is "native", but I use Cygwin 'cos of all the other ^nix treasure
 
8:48 PM
@BrentLongborough I see. Well it's beyond my capabilities to add Windows support in my answer, :-) but I certainly don't want to exclude Windows unnecessarily.
 
@AlanMunn No, Alan, that's fine.
@AlanMunn Just tried it under Cygwin; appears to work wonderfully well.
 
@BrentLongborough Great, I'll fix the answer to that effect. Thanks. If someone else verifies that it works with ActiveStatePerl too, they can do so in the comments, I suspect.
 
@FaheemMitha this room? Or another?
 
9:03 PM
@StefanKottwitz : The upcoming talk room
 
@FaheemMitha I thought that was here...
 
@BrentLongborough : Maybe it is.
 
@BrentLongborough Same for me.
 
'Answer the unanswered' session currently running, ends in 2 hours.
 
Makes sense to just stay here.
 
9:05 PM
So welcome!
 
There are currently 205 unanswered questions on 14 pages.
 
Btw. I'm travelling in a train with occasional UMTS connections, so I will loose connection frequently. :-|
 
Procedural question: How to ensure that we don't flood the front page?
 
If somebody posts an answer, it's perfectly fine that it lands on the front page.
I vote up good answers to old unanswered questions. I encourage you doing the same, honoring the work answering those questions hopefully with a Necromancer badge.
 
Are we going to focus on specific pages (as suggested on meta)?
 
9:09 PM
If a question has been answered, but hasn't been accepted as such, then what?
 
@MikeRenfro: Upvote the answer if it is good. That makes it go off the unanswered list.
 
@MikeRenfro I don't think there's much to be done about unaccepted answers. If they have votes, the question will get removed from the unanswered list, I think.
 
@MikeRenfro You could vote up a good answer.
 
@AlanMunn Indeed.
 
user19161
And one upvote is enough?
 
9:10 PM
Got it.
 
Correction to my status above: 252 unanswered questions (on the other list).
1
Q: What is the status of latex2html?

PatrickDoes anyone know the status of latex2html? I know that there are similar programs for that task, but I ask specifically about this one. The CTAN dir lists a revision from 2002 and 2008, the http://latex2html.org website has broken links. Is the 2008 release the one to be used? Is there any devel...

Has an answer in a comment.
 
Also, you could point to questions which could be closes as a duplicate, not a real question or too localized, for example.
 
Looks like upvoting works. #24759 from August 3 went off the unanswered list, as far as I can tell.
 
1
Q: Beamer compilation error, ps error

dingo_dI have a presentation in beamer and I've used the trick with overlays, the one I asked about here. And in other presentation everything worked. I compiled the document, first to dvi, and then to ps, but when I want to create pdf from ps (either via ps2pdf or Adobe distiller) I get the error: %%...

Could be closed as too localized, see the last comment by the OP.
 
@StefanKottwitz I voted for closing it.
Stupid question: How does one add a "visual" link to a question like Caramdir and Stefan did?
 
9:20 PM
@lockstep I just learned this yesterday: put the link as a chat line all by itself.
 
@lockstep Just post the link in a single line
 
@Caramdir I posted a comment to ask Herbert to post it as an answer
 
1
Q: biblatex: how to add a key with authoyear style

Mathieu DuboisI use biblatex on Ubuntu 11.04 (TeXLive 2009, biblatex 0.9, no biber). The style is authoyear. In the bibliography, I would like to add a key [AuthorYear] in front of the citation (like the apalike style in bibtex). I think it's possible without updating everything but I don't understand the nu...

 
Yay!
 
Hurray! Ahem ... I think it is a duplicate.
 
9:25 PM
@lockstep There OP asked something about putting the key in a column of its own.
:1558285 link?
 
@lockstep In the last comment the OP asks for something more than in the linked question.
 
I see ... that was after I voted for closing it.
 
@MartinScharrer If that's easy to do (and for @lockstep all biblatex is apparently trivial :-) ) then he could add it to the linked answer and still close as a duplicate.
 
8
Q: Vim: Get Rainbow Parenthesis work with Latexsuite?

LagerbaerI'm using the text editor vim (or MacVim) together with the LatexSuite plugin. It works good, so far, but there is one thing that annoys me: There is an awesome plugin, Rainbow Parenthesis, that will color matching parenthesis in different colors, which makes spotting unbalanced parentheses very ...

This one appears to be a vim plugin issue.
 
@AlanMunn Thanks, but two-column bibliographies are special beasts. :-) So this question should stay open for now.
And a new (and unanswered) question from xport ...
 
9:31 PM
@lockstep Uh oh. =P
 
1
Q: paper edition of my university facebook

DorianI'm trying to make the paper edition of the face-book of my university. I got some constraints; for example, I have to do very small margins. \documentclass[a5paper,twoside]{book} \usepackage[french]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[in...

Working on this one. Think it's just got extra spaces in it.
 
0
Q: Adding a BibTeX entry to the database which is not referenced in the tex-file will lead to fatal compiling errors if nocite{*} is used

Martin T.If a corresponding reference in the tex-file is added, everything works fine. Also compiling works if the \nocite{*} command is not used. There are many more non-referenced entries in the BibTeX database which don't trouble at all. But apparently I just can't add any new entries which are not ref...

Only three weeks old (so maybe not old enough to be closed), but a good example of "not a real question".
Okay, I voted to close it.
0
Q: RefTex won't detect my .bib file

DrorI'm using emacs+AUCTeX+RefTeX and I have a problem with C-c [, namely, it doesn't open a list of matches from my .bib file. In more details, I have the following in my preamble: \usepackage[style=alphabetic,sorting=debug]{biblatex} \bibliography{ref} %ref.bib is my bibtex file And then, at th...

"Too localized" ... see last comment of OP ("Now it works").
 
If I can comment on
1
Q: Customizing pdfLaTeX for a particular file with AUCTeX?

Faheem MithaI'm trying to use the TikZ 'external' library, available as of PGF 2.10. This requires running pdfLaTeX with the option -shell-escape. I usually run pdfLaTeX from AUCTeX with the option (TeX-PDF-mode t) So C-c C-c runs pdfLaTeX. Can I add a line to my LaTeX file so that AUCTeX will know to ru...

I now think the answers given are correct, but it doesn't work because of an auctex bug, plus the Debian auctex maintainer is useless, so the bug gets no attention. I've been meaning to follow up on it.
If anyone is interested in seeing the bug I can hunt it up.
Ok, I think it is bugs.debian.org/598120
The bug reporter is even using the same example as in my question (shell-escape).
 
9:48 PM
0
Q: Biblatex bibliography no longer shows up

drozzyI don't know what is going on, but I've moved computers and my biblatex bibliography no longer gets printed. I do the usual: \addbibresource{references.bib} \nocite{*} ... \printbibliography \end{document} I am using TeXworks and click on the play button with the "pdfLaTex" selected. But ther...

Another "too localized" one.
 
Anyway, I can't check this for myself, so have been holding off. What should I do if anything?
 
@lockstep I'd wait a bit on this one, maybe the op follows up.
 
@Caramdir You're right.
 
0
Q: XeTeX in Linux doesn't work.

cyberscientistI'm a newbie, and I'm trying to use xetex in Fedora15. I'm using TeXworks as my editor. but it throws back the error: /usr/bin/xetex: unrecognized option '-synctex=1' This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6) %&-line parsing enabled. entering extended mode (./cvinn.tex...

I think this is definitely a 'too localized' close candidate.
 
@AlanMunn +1. He should update (and has been told so).
 
9:59 PM
@MartinSchröder I agree - closed.
 
0
Q: Memoir's Custom Pagestyle

zucchininjaWhen I try the example from http://www.tug.org/pracjourn/2008-2/madsen/madsen.pdf to create my own 'ruled' pagestyle Here is the code \documentclass{memoir} \makepagestyle{myruled} \makeheadrule {myruled}{\textwidth}{\normalrulethickness} \makefootrule {myruled}{\textwidth}{\normalrulethicknes...

 
7
Q: using \input and pygmentize together: trying to get line numbers to show

NikitaI am using pygments to highlight the code I insert in my lyx document. The external file gets inserted in my document like this: {\small \input{listings/blah.tex} } And I use this command to generate the blah.tex file: pygmentize -f latex -O linenos=true -l xml blah.xml > blah.tex I can...

 
One month old and an example of "works for me". Voted for closing as "too localized".
 
7
Q: LaTeX minted package: numbering lines does not work

I'm having a problem with the minted package. When I try to add line numbering to the minted command, I get the following error: ! Package keyval Error: stepnumber undefined. See the keyval package documentation for explanation. Type H <return> for immediate help. ... l.1 ...,numbers=lef...

both related and some months old. close?
@lockstep +1
 
0
Q: Drawing using LaTeX commands

JELANCan anyone explain to me how to draw using LaTeX? (Since new users are not allowed to post an image, I'll try to explain in words what I want.) I want to draw the following relationships but I don't know how. I'm sorry, I know this question of mine is confusing, but help me if you can figure out ...

Should this be closed as not-a-question?
Or does anyone want to write a general overview of the LaTeX drawing packages.
 
10:12 PM
@Caramdir It seems I have already voted to close this one. My vote has expired, but I'm not allowed to vote again?!
 
@lockstep Same for me.
 
@Caramdir Not a question, I think.
 
2
Q: How to suppress references to appear in top navigation bar?

berkayIn my beamer template, I cannot see the references section in the table of contents, but it automatically inserts that element in the top bar, with the command \insertsectionnavigationhorizontal. As shown it does not fit to the top bar so I just want to suppress it. I use natbib package and m...

Too localized, methinks. (Already voted to close it, vote expired. Sigh.)
 
0
Q: How to remove unwanted number floating on List of Tables

charmendersI am perplexed as how the number 10 showed up on my list of tables, as I have yet to locate it anywhere in the input. Please see the photo: At Alan's request, the code is pasted below. I see now that there is a conflict of page numbering styles - but I was trying to start the page number "1" ...

too localized?
(it seems I already voted on this one too.)
 
10:28 PM
@Caramdir Indeed, but my vote expired.
Okay, the "unanswered" list is down to 240. :-)
 
@Caramdir +1.
 
It seems most people already left...
 
3
Q: BibTeX, citing a podcast

Ben VBWhat's the best way to cite a podcast using BibTeX, to match the Chicago Manual of Style? My guesses are: online, misc, audio, music. It's a recorded lecture, if that matters.

I converted the OP's comment into an answer. (OP didn't show up since June 17.)
 
@MartinScharrer, @StefanKottwitz, @JosephWright: Could one of you go through the close votes list in the 10k tools afterwards and close any partially closed question.
 
10:46 PM
@Caramdir it's closed now
I meant
0
Q: Why does doing \\ in LaTeX causes Undefined control sequence error

I have a weird LaTeX error here. It seems as if the newline (\\) command is the culprit of a compilation error. The error shows up at the ending line of the .tex document: the \end{document} line, stating that this line has the undefined control sequence. This code, though, is actually what caus...

 
0
Q: TOC Appendix text alignment

Vicent MartiI've got a TOC that lists the appendixes in my document. The resulting output is something like this: Appendix I: Blah blah Appendix II: Bleh bleh Appendix III: Blah blah Is there any way to align the names of the appendixes so they all start at the same place? The TOC is obviously autogenerat...

This could be a good question if the OP ever returned to show what he did, but otherwise it requires a crystal ball. What to do with this sort of question? Close as not a question?
 
@AlanMunn +1 for "nor a real question".
 
@Caramdir regarding the undesired number in the LOT: also closed as too localized, because no further information has been given and the cause is still hidden in the OP's personal code
 
0
Q: Page numbering in Latex TOC (using memoir class)

The issue that I am having is that the page numbers appearing in my TOC do not correspond with the actual pages on which the section/chapter is found. The problem occurs in the mainmatter, as well as in the backmatter. It gets progressively less accurate the further you go. At the end, it is off ...

Only one vote needed. ;-)
 
@lockstep done
 
11:00 PM
If anyone is looking for an interesting unanswered question (I don't know how this could be solved easily):
1
Q: How to put section number into the right side of section title in LaTeX?

I am a novice for LaTeX, so need you guy's help. I am wondering how to change section style in order to put the section number into the right side of section title in LaTeX, especially memoir class. So, I want it to show like [chapter number] section title [section number] For example, let a ch...

 
@AlanMunn I also voted and closed, since the OP did not complete the question and wasn't here since months, online just those 3 days in may. OP's code details are hidden, I closed as too localized, though not a real question would be ok as well
@AlanMunn referring to TOC Appendix text alignment
 
@StefanKottwitz Fine by me.
3
Q: Appendix with own toc

H3llGhostI want to have two table of contents in my document. The first (main) shall only contains "Appendix A: ...", "Appendix B: ..." and so on with page numbers. In the appendix I want another table of contents which tells me, what sections are available and on which page. I have searched in the inter...

Here's another interesting question, I think. I don't quite know from the comments if @lockstep has actually solved it with the linked question, but the solution I posted (based apparently on a misunderstanding of the question) isn't so easy to modify to get sections on chapters but not appendices in the main TOC and sections in the chapter TOC for the appedices themselves.
 
@AlanMunn I may take a second look at that question. Definitely nothing to close right now.
 
@Caramdir If Lars Madsen says it can't be done easily, I would bet not!
 
Think I finally have an answer to 11249, but it involves memoir. Doesn't exactly answer the question, but it definitely takes care of his really small margin requirements.
 
11:07 PM
@lockstep No, absolutely not, I was just commenting that it's really a trickier problem than it looks.
 
0
Q: Problems with xltxtra and footnote

Kuang-Li HuangI use fontspec to load the local fonts (ITC Esprit Std Book). Everything is fine (the only main problem may be, \/ doesn't work correctly, so I need to add extra space after \textit or others when the words end with f). However, when using footnotes, there is another problem, that is, the footno...

 
(come to think of it, fighting geometry to get dead-accurate margins is one of the reasons I started using memoir)
 
Based on the OP's update, I'd say "too localized".
 
@lockstep This seems to depend on the font. See Joseph's linked question for a partial solution.
 
1
Q: LaTeX vs pdflatex on \neq

justin cressUsing LaTeX for .dvi output produces unexpected result for \neq, instead of the \neq, it's displaying = though pdflatex provides the correct symbol. Am I doing something wrong? I'm using flashcard.cls \begin{flashcard}{Weak Axiom} \begin{itemize} \item In words: A consumer faces $(p,w)$ ...

Too localized?
 
11:11 PM
@lockstep It's kind of localized in the sense that the problem is font-dependent, but it's not localized to the extent that anyone else with the same font would likely encounter the same problem (and perhaps other fonts too). Maybe @JosephWright could copy his answer from the linked one. (I still don't like just linking the two as duplicates directly.)
 
0
Q: Natbib Harvard Style

Dachande663I have a bibligraphy file like so: @techreport{boxofficePerformanceSocMed, Author = {Sitaram Asur and Bernardo Huberman}, Date-Added = {2010-10-29 13:00:57 +0100}, Date-Modified = {2010-10-29 13:40:50 +0100}, Institution = {HP Labs}, Title = {Predicting the Future With Social Media}, Year = {201...

 
1
Q: paper edition of my university facebook

DorianI'm trying to make the paper edition of the face-book of my university. I got some constraints; for example, I have to do very small margins. \documentclass[a5paper,twoside]{book} \usepackage[french]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[in...

 
Not a real question.
 
Upvote if possible, or if someone has a simpler answer, please add.
 
11:17 PM
@lockstep ok, Memoir's Custom Pagestyle is closed. I tested it on two different systems and the code worked, there's no further information by the OP.
 
@lockstep it seems I already voted on that one
 
is there any simple way in latex to generate n lines of text with a simple command? i don't care which n lines of text. it can be gibberish
 
@FaheemMitha Does it have to be exactly n lines?
 
@Caramdir No.
 
Then the lipsum package is your friend.
 
11:21 PM
@Caramdir Ok. Will look
I had in mind more of a programming type solution. ie generate n*50 chars, and separate them with \ns. that sort of thing.
 
0
Q: Bibtex wrong reference

Benjaminas I'm almost completing my master's thesis, I have encountered some problems with Bibtex. In preamble: \bibliographystyle{is-unsrt} %plain \bibliography{bibliografie} Some entries in my bibliografie.bib file @INBOOK{tweevijf_verlichtingssterkte, author ={Grondzik W. T. Kwok A. G. Stein B. ...

 
each line being 50 chars
 
My last one for today -- "too localized".
 
This is trivial to do in python for example, but i'm not sure if latex/tex has anything like string support.
is this worth asking as a question?
 
@Caramdir Is it not possible to generate a working link to an .ods file with hyperref? If so, it's at least a real question. If it is generally possible, then it's an OS dependent problem.
@lockstep One imagines that the OP has actually finished his thesis by now anyway!
 
11:28 PM
@AlanMunn Ok, I think I misunderstood the question.
 
OK, goodbye everyone!
 
@lockstep bye lockstep!
@lockstep I checked that and answered to it tex.stackexchange.com/questions/16456/latex-vs-pdflatex-on-neq
 
@AlanMunn Just linking to an .ods of course works, unless the pdf viewer is blocking this. I added an answer to that extend.
And we are at 232 questions :)
 
0
A: Highlight language keywords in a paragraph?

Mike RenfroIs this what you're looking for? \documentclass{article} \usepackage{listings} \lstset{language=C++,morekeywords={foo}} \begin{document} Highlighting a C++ keyword \lstinline|public| in a sentence. Not highlighting (correctly) an unknown word \lstinline|blarg| in a sentence. Highlighting (c...

 
@Caramdir Good. I've upvoted it, so it should be off the list now.
 
11:41 PM
Got an answer, unless I totally misread the poster.
 
@MikeRenfro I think the op wanted to have that done automatically, i.e. without having to write \lstinline every time.
 
Oh. Think I saw something about that, too, but will have to check.
 
@MikeRenfro +1, I think you've understood it. (Although given that the OP hasn't been seen since April, we may never find out.) If it's @Caramdir's interpretation, maybe suggesting creating a bunch of macros for such words, (\FOO \BAR etc.) or a single macro that wraps the \listinline command.
 
Already supported in listings. Updating momentarily.
 
I thought I'd have a stab at actually showing how to use MacVim with TeXShop as the previewer, but now I'm encountering the "new Vim user=random character generator" problem...
 
11:48 PM
@AlanMunn [esc] :q! <enter> :)
 
@Caramdir Thanks. That one I think I remember. I just wanted to enter text into a file to begin with.
 
@AlanMunn i
 
[esc][esc]i for insert. [esc][esc]a for append.
 
why two [esc]?
 
Technically, you can get away with less, but that's the safest way for people who won't touch vi on a regular basis.
Because the second one can't hurt, and I seem to recall a few cases where the first one doesn't get you all the way out. But I'm not a regular user, and modern vi's may have fixed those cases.
 
11:51 PM
@MikeRenfro Ah, it's all starting to come horribly back to me now. :-) This was what turned me into an emacs user in the first place (although I'm not one habitually any more.) Thanks.
 
dd for delete this line. That's enough to get you functional.
2
A: Highlight language keywords in a paragraph?

Mike RenfroIs this what you're looking for? \documentclass{article} \usepackage{listings} \lstset{language=C++,morekeywords={foo}} \begin{document} Highlighting a C++ keyword \lstinline|public| in a sentence. Not highlighting (correctly) an unknown word \lstinline|blarg| in a sentence. Highlighting (c...

Fixed for second interpretation.
 
@MikeRenfro :w (for write the file) is also useful...
 
Oh, yeah. Critical, actually.
 

« first day (280 days earlier)      last day (4654 days later) »