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?

1 Answer 1


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)

  • Strange enough for me, this seems to solve the first problem. Is there any logical reason why this works?
    – shuhalo
    Jan 23, 2013 at 13:45
  • 1
    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. Jan 23, 2013 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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