Module:Citation/CS1: Difference between revisions
Undid revision 723906674 by Trappist the monk (talk)
m>Trappist the monk (vauthors generational suffix fix;) |
m>Trappist the monk (Undid revision 723906674 by Trappist the monk (talk)) |
||
Line 1: | Line 1: | ||
local cs1 ={}; | |||
--[[--------------------------< F O R W A R D D E C L A R A T I O N S >-------------------------------------- | --[[--------------------------< F O R W A R D D E C L A R A T I O N S >-------------------------------------- | ||
Line 916: | Line 918: | ||
Vancouver style requires family rank designations (Jr, II, III, etc) to be rendered as Jr, 2nd, 3rd, etc. See http://www.ncbi.nlm.nih.gov/books/NBK7271/box/A35085/. | Vancouver style requires family rank designations (Jr, II, III, etc) to be rendered as Jr, 2nd, 3rd, etc. See http://www.ncbi.nlm.nih.gov/books/NBK7271/box/A35085/. | ||
This code only accepts and understands | This code only accepts and understands generaltional suffix in the Vancouver format because Roman numerals look like, and can be mistaken for, initials. | ||
This function uses ustring functions because firstname initials may be any of the unicode Latin characters accepted by is_good_vanc_name (). | This function uses ustring functions because firstname initials may be any of the unicode Latin characters accepted by is_good_vanc_name (). | ||
Line 1,539: | Line 1,541: | ||
if is_set (suffix) then | if is_set (suffix) then | ||
first = first .. ' ' .. suffix; -- if there was a suffix concatenate with the initials | first = first .. ' ' .. suffix; -- if there was a suffix concatenate with the initials | ||
end | end | ||
else | else |