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.

I recently gave the documentation of my chscite package a facelift for inclusion in CTAN, and was assuming that doing so wouldn't break anything. Unfortunately, I just discovered that the package doesn't work because the .bst file isn't being generated properly, and I can't for the life of me figure out why. I know that this changeset breaks it, but I can't figure out why. The full DTX file is available on CTAN. What could be wrong?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

I had a look on it and found that the .bib file is created if the \endinput is removed from line 659. Note that docstrip adds it anyway by default and it is not really required.

This happened because docstrip explicitly looks for \endinput lines. If you indent it with a space it works as well. I would simply remove it from the DTX file.

share|improve this answer
    
Of course! Thank you. –  You Sep 20 '11 at 10:51
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.