C++ (Qt)core::tag_extractor tags;if (tags.load_tex("text.tex")) { int i = 0; for (auto tag : tags) { std::cout << ++i << " " << tag << std::endl; }}
C++ (Qt)core::bib_parser parser("bibliography.bib");if (parser.is_load()) { core::bib_entry entry; if (parser.find_bib_entry("tag", entry)) { for (auto field : entry) { std::cout << field.first << " = " << field.second << std::endl; } }}
C++ (Qt)core::authors authors("Abrikosov, A. A. and Gorkov, L. P.");for (auto author : authors) { std::cout << author.family_name() << " " << author.first_name_initial() << "."; for (auto mn : author.middle_names_initials()) { std::cout << mn << "."; // middle_names - может быть несколько. } }