Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Basic question (though I haven't found it here):

How do I comment out parts (some lines within an entry which I would like to save for later) of a BibTex file?

Apparently, @ can be used to comment out lines (but not be used within a comment itself), but only outside an entry, you have to move the commented lines out of the entry they belong to). Is there any other way?

share|improve this question
add comment

1 Answer

up vote 49 down vote accepted

You can "comment" whole entries by erasing the @ in front of the type declaration (@book -> book); there are no other ways of commenting parts of entries. However, unknown fields are ignored, so you can say

OPTpages={34--35},

in order to ignore the pages field. Also repeated fields are ignored.

share|improve this answer
2  
Good. Now '//' before a line is treated as commented out. –  Peng Zhang Jan 23 at 21:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.