[KBibTeX] [Bug 457499] No doi or url fields available in Edit Element window, but not allowed to create doi or url fields in Other Fields tab

2022-10-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=457499

--- Comment #5 from neurosh...@hotmail.com ---
This answers all my questions. Thanks for resolving this bug. Looking forward
to 0.10!

-- 
You are receiving this mail because:
You are watching all bug changes.

[KBibTeX] [Bug 457499] No doi or url fields available in Edit Element window, but not allowed to create doi or url fields in Other Fields tab

2022-10-21 Thread Thomas Fischer
https://bugs.kde.org/show_bug.cgi?id=457499

--- Comment #4 from Thomas Fischer  ---
Created attachment 153103
  --> https://bugs.kde.org/attachment.cgi?id=153103=edit
Message widget explain where to put DOI and URL

-- 
You are receiving this mail because:
You are watching all bug changes.

[KBibTeX] [Bug 457499] No doi or url fields available in Edit Element window, but not allowed to create doi or url fields in Other Fields tab

2022-10-21 Thread Thomas Fischer
https://bugs.kde.org/show_bug.cgi?id=457499

Thomas Fischer  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WORKSFORME  |NOT A BUG

--- Comment #3 from Thomas Fischer  ---
> This does solve the problem! I didn't realize that DOIs and URLs should go
> in the External tab, or that simply typing in a DOI or a URL was
> automatically recognized for what it was, and included in the source as doi
> = "..." and url = "...".
You are not the first who had this problem. Starting from KBibTeX 0.10, there
will a message widget explaining where to put URLs and DOIs.

> Is this documented somewhere? Are there other
> formats that External automatically recognizes? Thanks again!
Well, it is documented in code.
- Every field that starts with "postscript", "localfile", "file", "url", "doi",
"ee", or "biburl" goes into the External list.
- Writing back to BibTeX code: src/gui/element/elementwidget.cpp, function
FilesWidget::apply(..). Using regular expressions, it will check if the user's
input looks like a DOI or a URL, respectively, and treat everything else as a
local file's name.

-- 
You are receiving this mail because:
You are watching all bug changes.

[KBibTeX] [Bug 457499] No doi or url fields available in Edit Element window, but not allowed to create doi or url fields in Other Fields tab

2022-10-17 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=457499

--- Comment #2 from neurosh...@hotmail.com ---
(In reply to Thomas Fischer from comment #1)
> > The fact that the +Add button goes gray seems to indicate that KBibTex knows
> > that the doi and url fields are special. But they're not available among all
> > the other fields in the other tabs of the New Element / Edit Element window.
> URLs and DOIs go into the "External" tab, where you add a new line with
> +Add, then enter or paste the DOI or URL you want to have.
> Does this solve your problem?

This does solve the problem! I didn't realize that DOIs and URLs should go in
the External tab, or that simply typing in a DOI or a URL was automatically
recognized for what it was, and included in the source as doi = "..." and url =
"...". Is this documented somewhere? Are there other formats that External
automatically recognizes? Thanks again!

-- 
You are receiving this mail because:
You are watching all bug changes.

[KBibTeX] [Bug 457499] No doi or url fields available in Edit Element window, but not allowed to create doi or url fields in Other Fields tab

2022-10-17 Thread Thomas Fischer
https://bugs.kde.org/show_bug.cgi?id=457499

Thomas Fischer  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WORKSFORME

--- Comment #1 from Thomas Fischer  ---
> The fact that the +Add button goes gray seems to indicate that KBibTex knows
> that the doi and url fields are special. But they're not available among all
> the other fields in the other tabs of the New Element / Edit Element window.
URLs and DOIs go into the "External" tab, where you add a new line with +Add,
then enter or paste the DOI or URL you want to have.
Does this solve your problem?

-- 
You are receiving this mail because:
You are watching all bug changes.