TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have got a long list of bib-files

\bibliography{../mybib/bibA,../mybib/bibB,../mybib/bibC, and so on }

My problem is two-fold:

(i) First, it seems that the argument of \bibliography must not contain linebreaks, so I really have to write a huge list of bibfiles in one single line. This does not make the code more readable, so is there a way work around this?

(ii) Second, I use Texmaker 3.2 on my system. However, it seems the editor component of Texmaker doesn't let me edit my code beyond a certain column position, although it still shows my code. I regard this as very annoying and I would like to know whether this can be corrected somehow?

share|improve this question
up vote 2 down vote accepted

In relation to problem i)

The following works for me in TexStudio


The % at the end of each line fixes the problem which you describe.

Not sure about problem ii)

share|improve this answer
Strange enough for me, this seems to solve the first problem. Is there any logical reason why this works? – shuhalo Jan 23 '13 at 13:45
When LaTeX encounters a % character while processing an input file, it ignores the rest of the current line, the line break, and all whitespace at the beginning of the next line. This can be used to write notes into the input file, which will not show up in the printed version. – Nicholas Hamilton Jan 23 '13 at 16:25

Your Answer


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.