"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Data/Convert/Tex/metadata-springer.cpp" between
TeXmacs-1.99.4-src.tar.gz and TeXmacs-1.99.5-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

metadata-springer.cpp  (TeXmacs-1.99.4-src):metadata-springer.cpp  (TeXmacs-1.99.5-src)
skipping to change at line 199 skipping to change at line 199
} }
if (N(author_data) > 1) { if (N(author_data) > 1) {
r << author_data; r << author_data;
author_data= tree (APPLY, "\\author-data"); author_data= tree (APPLY, "\\author-data");
} }
return r; return r;
} }
static array<tree> static array<tree>
get_llncs_affiliation_datas (tree t, bool llncs=false) { get_llncs_affiliation_datas (tree t, bool llncs=false) {
(void) llncs;
return get_springer_author_datas (t, "affiliation"); return get_springer_author_datas (t, "affiliation");
} }
static array<tree> static array<tree>
get_springer_affiliation_datas (tree t, bool llncs=false) { get_springer_affiliation_datas (tree t, bool llncs=false) {
(void) llncs;
int i, n=N(t); int i, n=N(t);
array<tree> r, author_datas, author_affiliation; array<tree> r, author_datas, author_affiliation;
tree tmp (CONCAT); tree tmp (CONCAT);
for (i=0; i<n; i++) { for (i=0; i<n; i++) {
while (i<n && !is_tuple (t[i], "\\at")) tmp << t[i++]; while (i<n && !is_tuple (t[i], "\\at")) tmp << t[i++];
author_datas= get_springer_author_datas (tmp, "name"); author_datas= get_springer_author_datas (tmp, "name");
tmp= concat (); tmp= concat ();
if (is_tuple (t[i], "\\at")) { if (is_tuple (t[i], "\\at")) {
i++; i++;
while (i<n && !is_tuple (t[i], "\\and")) tmp << t[i++]; while (i<n && !is_tuple (t[i], "\\and")) tmp << t[i++];
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS