Modul:Citation: Unterschied zwischen den Versionen
chapter -> bookitem
(urn/doi/hdl) |
(chapter -> bookitem) |
||
| Zeile 77: | Zeile 77: | ||
if cu.isSet( args.title ) then | if cu.isSet( args.title ) then | ||
args.title = args.title:gsub( '%s*%.+$', '' ) | args.title = args.title:gsub( '%s*%.+$', '' ) | ||
end | |||
if args.type == 'book' and not cu.isSet( args.collection ) and cu.isSet( args.chapter ) then | |||
args.type = 'bookitem' | |||
args.collection = args.title | |||
args.title = args.chapter | |||
args.chapter = '' | |||
end | end | ||