Ref. Man. Softs: Are comments into Bibtex (bib) documents possible?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ref. Man. Softs: Are comments into Bibtex (bib) documents possible?
Hello,
Regarding reference manager softwares on linux (i.e. bib), are comments into Bibtex (bib) eventually documents possible and reliable to do?
Code:
/* this is ma comment one */
# this is comment 2
# this comment works too on jabref and bib software managers.
@article{key829734,
title = "linux title of article",
author = "super tux",
}
# bla bla, this comment works too on jabref and bib software managers.
Regarding your initial question, it is reliable to do this within code, the finding and generation of documentation from the comments in code works flawlessly from a technical point of view. I've done it and used it.
The results, I have a very different opinion about.
I apologize for sounding defeatist about this, however over the years I've literally seen dozens of packages for exactly this.
Unless the entire team sells into the concept, it does not work. Usually one person persists in trying to make this, or similar happen, for some period of time until they get too busy to be able to maintain.
The other problem is that while management may be temporarily convinced to mandate that everyone format their file headers a certain way, (1) things will slip though the cracks, (2) those who don't care will put the minimal info into these headers making them ineffective to a degree, (3) over time the information becomes out of date, (4) I've seen "documentation" generated by this tactic and it is not worthwhile - at this point management stops bothering people about formatting their headers in some special way. The real truth is that while the concept was temporarily "sold" that the code can generate it's own documentation, the head proponent of it has their one ideal example which they use to sell the concept. They, their self do not always follow-up when they are with the larger team participating, and instead revert to copying the minimal header with no information. And the other part is that management never really bought into it anyways. For the product documentation, they have a technical writer and that person never stopped doing their job. For interface specifications, they have the design documents and they tell the engineers to write Word or PDF documents to describe the interfaces for external users of the software or library. Plus you cannot easily draw a block diagram in code, or describe the functions of a state machine in code.
What does work instead are:
Clear organization of sub-systems
Consistent file and function naming conventions
Consistent coding styles and manners of declaring all variables, macros, functions, structures, type defines, and doing so the same way for all sub-systems of code
Providing example or test code which results in valid, provable outcomes
Documentation of the code - if it is auto-generated as you're discussing here then it has to be consistent across every file so that it appears consistent and comprehensive to the reader, however auto-generation of a bunch of functions is not the entire picture. Documentation needs to also describe the flow of the architecture, the life of a packet of data, the life of biometric data from subject to graph, or other similar paradigms.
Regarding your initial question, it is reliable to do this within code, the finding and generation of documentation from the comments in code works flawlessly from a technical point of view. I've done it and used it.
The results, I have a very different opinion about.
I apologize for sounding defeatist about this, however over the years I've literally seen dozens of packages for exactly this.
Unless the entire team sells into the concept, it does not work. Usually one person persists in trying to make this, or similar happen, for some period of time until they get too busy to be able to maintain.
The other problem is that while management may be temporarily convinced to mandate that everyone format their file headers a certain way, (1) things will slip though the cracks, (2) those who don't care will put the minimal info into these headers making them ineffective to a degree, (3) over time the information becomes out of date, (4) I've seen "documentation" generated by this tactic and it is not worthwhile - at this point management stops bothering people about formatting their headers in some special way. The real truth is that while the concept was temporarily "sold" that the code can generate it's own documentation, the head proponent of it has their one ideal example which they use to sell the concept. They, their self do not always follow-up when they are with the larger team participating, and instead revert to copying the minimal header with no information. And the other part is that management never really bought into it anyways. For the product documentation, they have a technical writer and that person never stopped doing their job. For interface specifications, they have the design documents and they tell the engineers to write Word or PDF documents to describe the interfaces for external users of the software or library. Plus you cannot easily draw a block diagram in code, or describe the functions of a state machine in code.
What does work instead are:
Clear organization of sub-systems
Consistent file and function naming conventions
Consistent coding styles and manners of declaring all variables, macros, functions, structures, type defines, and doing so the same way for all sub-systems of code
Providing example or test code which results in valid, provable outcomes
Documentation of the code - if it is auto-generated as you're discussing here then it has to be consistent across every file so that it appears consistent and comprehensive to the reader, however auto-generation of a bunch of functions is not the entire picture. Documentation needs to also describe the flow of the architecture, the life of a packet of data, the life of biometric data from subject to graph, or other similar paradigms.
what about hacking the system, to make a sort of format that will be adaptable in the future.
I thought about such a system, herewith, that fixed all those issues. It works for latex, but it may be extended to bib, to do something serious in it. I like "//" or "/* */" to comment out. http://www.linuxquestions.org/questi...mb-4175600629/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.