image seems to be missing
txs needs to know where the bibliography is, probably the \bibliography{filename} is missing or put in a subdocument which not loaded. (or the filename uses other unexpected paths)
by the way, there is usually no need to change the autocomplete options as txs automatically detectes \usepackage commands.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since multiline arguments are working in TexMaker and TeXstudio claims to be a fork from TexMaker and also multiline arguments are just a basic function i see this as a bug and not as a feature.
I'm using multiline arguments everywhere... just because it's totally normal.
So for starters, it would be very good to fix that bug in TeXstudio or add this missing basic funtionality.
Last edit: Sebastian Penhouet 2016-01-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There seems to be a fundamental misunderstanding of the concept of a fork
In software engineering, a project fork happens when developers take a copy of source code from one software package and start independent development on it, creating a distinct and separate piece of software.
There's no connection between TXS and Texmaker, except that TXS still contains some of the Texmaker code from 2009.
Apart from that, I don't think that "multiline arguments are working in TexMaker". Texmaker just does not interpret them. In particular for \usepackage it statically assumes that \addbibresource is a known command which indicates a bib file. As explained by Jan, you can achieve the same effect in TXS by statically activating biblatex.cwl in options/completion.
There's been already some internal progress in that direction, but as trivial as it might seem from the outside, it requires substantial changes of the internal structure. This is a long term project!
Last edit: Tim Hoffmann 2016-01-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As software developer i do know the concept of a fork and i do know that it's possible to keep the fork up to date. But you are right, i didn't know that TeXstudio is a separate project since 2009. I did switch to TeXstudio because colleagues told me that TeXstudio is on the same level as TexMaker but only advanced.
I also didn't know the specifics how this does work in TexMaker.
All that does sound reasonable. Thanks for the kind reply and the provided information Tim. Had a bad day yesterday, sorry for my stroppy message.
I would also be intressted in the feature request that your parser can read multilines.
But i see that the last feature request (549) is older than 2 years, so i don't have much hope that this will get implemented.
The feature request 549 is not really clear about this problem (multiline parsing), should i submit a new feature request?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But i see that the last feature request (549) is older than 2 years, so i don't have much hope that this will get implemented.
The feature request 549 is not really clear about this problem (multiline parsing), should i submit a new feature request?
I don't think that it would make a difference. We are well aware of the situation. For example, most highlighting is purely regexp matching on a per-line basis. The semantic interpretation of the commands (and some more complicated context-dependent highlighting) is done by a different parser. Originally that was line-based as well, but Jan has recently made a significant effort and rewritten it completely to be more powerful and less line-dependent at the same time. So, while it may not be obvious, some things are going on here. That said, it's still along term project.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
image seems to be missing
txs needs to know where the bibliography is, probably the \bibliography{filename} is missing or put in a subdocument which not loaded. (or the filename uses other unexpected paths)
by the way, there is usually no need to change the autocomplete options as txs automatically detectes \usepackage commands.
Eventually this is the same problem as:
http://tex.stackexchange.com/questions/288193/why-doesnt-texstudio-suggest-any-bib-items-for-citation?noredirect=1#comment699108_288193
Please provide a minimal example so that we can reproduce it here.
I can provide a minimal example for my problem, not the ops problem.
The problem seems to be when the options of biblatex are written in multiple lines. For example:
In the template i use, the options are written as followed:
If i delete all line breaks, TeXstudio does recognize the bib file.
Minimal example:
document.tex:
bibliographie.bib:
Last edit: Sebastian Penhouet 2016-01-26
for starters, txs does not (yet) support several multiline arguments.
is not recognized as \usepackage{biblatex}, hence the addlib-command is ignored
Avoid the use of multiline arguments ( \usepackage[backend=biber]{biblatex} worsk fine)
or activate biblatex.cwl in options/completion
Last edit: Jan Sundermeyer 2016-01-26
Since multiline arguments are working in TexMaker and TeXstudio claims to be a fork from TexMaker and also multiline arguments are just a basic function i see this as a bug and not as a feature.
I'm using multiline arguments everywhere... just because it's totally normal.
So for starters, it would be very good to fix that bug in TeXstudio or add this missing basic funtionality.
Last edit: Sebastian Penhouet 2016-01-26
There seems to be a fundamental misunderstanding of the concept of a fork
There's no connection between TXS and Texmaker, except that TXS still contains some of the Texmaker code from 2009.
Apart from that, I don't think that "multiline arguments are working in TexMaker". Texmaker just does not interpret them. In particular for
\usepackageit statically assumes that\addbibresourceis a known command which indicates a bib file. As explained by Jan, you can achieve the same effect in TXS by statically activating biblatex.cwl in options/completion.Now, disregarding Texmaker, the request for multiline arguments has been discussed and is a known limitation in TXS:
https://sourceforge.net/p/texstudio/bugs/809/
https://sourceforge.net/p/texstudio/feature-requests/549/
There's been already some internal progress in that direction, but as trivial as it might seem from the outside, it requires substantial changes of the internal structure. This is a long term project!
Last edit: Tim Hoffmann 2016-01-26
As software developer i do know the concept of a fork and i do know that it's possible to keep the fork up to date. But you are right, i didn't know that TeXstudio is a separate project since 2009. I did switch to TeXstudio because colleagues told me that TeXstudio is on the same level as TexMaker but only advanced.
I also didn't know the specifics how this does work in TexMaker.
All that does sound reasonable. Thanks for the kind reply and the provided information Tim. Had a bad day yesterday, sorry for my stroppy message.
I would also be intressted in the feature request that your parser can read multilines.
But i see that the last feature request (549) is older than 2 years, so i don't have much hope that this will get implemented.
The feature request 549 is not really clear about this problem (multiline parsing), should i submit a new feature request?
I don't think that it would make a difference. We are well aware of the situation. For example, most highlighting is purely regexp matching on a per-line basis. The semantic interpretation of the commands (and some more complicated context-dependent highlighting) is done by a different parser. Originally that was line-based as well, but Jan has recently made a significant effort and rewritten it completely to be more powerful and less line-dependent at the same time. So, while it may not be obvious, some things are going on here. That said, it's still along term project.
Okay :) Good to hear.
you got to be kidding me