BibTeXLibraryDotNet 0.1.0
dotnet add package BibTeXLibraryDotNet --version 0.1.0
NuGet\Install-Package BibTeXLibraryDotNet -Version 0.1.0
<PackageReference Include="BibTeXLibraryDotNet" Version="0.1.0" />
paket add BibTeXLibraryDotNet --version 0.1.0
#r "nuget: BibTeXLibraryDotNet, 0.1.0"
// Install BibTeXLibraryDotNet as a Cake Addin #addin nuget:?package=BibTeXLibraryDotNet&version=0.1.0 // Install BibTeXLibraryDotNet as a Cake Tool #tool nuget:?package=BibTeXLibraryDotNet&version=0.1.0
BibTeXLibrary
A utility library for BibTeX files written in C#.
Ancestry
This library is based on the BibTeXLibrary. The library has been heavily modified to correct issues and add additions. The objective of these modifications is to prepare the library for use in an application for maintaining a BibTeX file (see BibTeX Manager). As a result, it is no longer compatible with the original library.
Usage at a glance
- string → BibEntry
var parser = new BibParser(
new StringReader(
"@article{keyword, title = {\"0\"{123}456{789}}, year = 2012, address=\"PingLeYuan\"}"));
var entry = parser.GetAllResult()[0];
- BibEntry
// Get Property
entry.Type; // string: Article
entry.Title; // string: 0{123}456{789}
entry["Title"]; // string: 0{123}456{789}
- BibEntry → string
entry.ToString();
// @Article{keyword,
// title = {0{123}456{789}},
// year = {2012},
// address = {PingLeYuan},
// }
- Local File → BibEntries
var parser = new BibParser(new StreamReader("text.bib", Encoding.Default));
var entries = parser.GetAllResult();
foreach(var entry in entries) { ... }
License
The MIT License (MIT) Copyright (c) 2016 BERef Copyright (c) Lance A. Endres
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- DigitalProductionDotNetLibrary (>= 0.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.0 | 69 | 11/22/2024 |