Module:Citation/CS1: Difference between revisions

    m>Trappist the monk
    (Undid revision 723906674 by Trappist the monk (talk))
    m>Trappist the monk
    (try again; vauthors generational suffix fix;)
    Line 918: 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 generaltional suffix in the Vancouver format because Roman numerals look like, and can be mistaken for, initials.
    This code only accepts and understands generational 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,541: 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
    suffix = ''; -- unset so we don't add this suffix to all subsequent names
    end
    end
    else
    else