Thanks! I'm going to take a careful look at your recommendations later. Since you find that hard to read (it is, undoubtedly, but... that's how I managed to do the concatenations), I guess you'll find my "icons" column rule unimaginably chaotic:
Spoiler:
program:
def add_icon(icon, val):
if ! val then return icon fi;
if icon == '' then
icon = val
else
icon = icon & ':' & val
fi;
return icon
fed;
icon = '';
if 'EPUB' in $#f then icon = add_icon(icon, 'formats_epub.png') fi;
if 'AZW3' in $#f then icon = add_icon(icon, 'formats_azw3.png') fi;
if 'AZW2' in $#f then icon = add_icon(icon, 'formats_azw2.png') fi;
if 'BMP' in $#f then icon = add_icon(icon, 'formats_bmp.png') fi;
if 'CBR' in $#f then icon = add_icon(icon, 'formats_cbr.png') fi;
if 'CBZ' in $#f then icon = add_icon(icon, 'formats_cbz.png') fi;
if 'COMPUTER' in $#f then icon = add_icon(icon, 'formats_computer.png') fi;
if 'DIR' in $#f then icon = add_icon(icon, 'formats_dir.png') fi;
if 'DJVU' in $#f then icon = add_icon(icon, 'formats_djvu.png') fi;
if 'DOCX' in $#f then icon = add_icon(icon, 'formats_docx.png') fi;
if 'FB2' in $#f then icon = add_icon(icon, 'formats_fb2.png') fi;
if 'GIF' in $#f then icon = add_icon(icon, 'formats_gif.png') fi;
if 'HTML' in $#f then icon = add_icon(icon, 'formats_html.png') fi;
if 'JPEG' in $#f then icon = add_icon(icon, 'formats_jpeg.png') fi;
if 'KFX' in $#f then icon = add_icon(icon, 'formats_kfx.png') fi;
if 'LIT' in $#f then icon = add_icon(icon, 'formats_lit.png') fi;
if 'LRF' in $#f then icon = add_icon(icon, 'formats_lrf.png') fi;
if 'LRX' in $#f then icon = add_icon(icon, 'formats_lrx.png') fi;
if 'MOBI' in $#f then icon = add_icon(icon, 'formats_mobi.png') fi;
if 'ODF' in $#f then icon = add_icon(icon, 'formats_odf.png') fi;
if 'ODT' in $#f then icon = add_icon(icon, 'formats_odt.png') fi;
if 'OPML' in $#f then icon = add_icon(icon, 'formats_opml.png') fi;
if 'PNG' in $#f then icon = add_icon(icon, 'formats_png.png') fi;
if 'RAR' in $#f then icon = add_icon(icon, 'formats_rar.png') fi;
if 'RTF' in $#f then icon = add_icon(icon, 'formats_rtf.png') fi;
if 'SNB' in $#f then icon = add_icon(icon, 'formats_snb.png') fi;
if 'SVG' in $#f then icon = add_icon(icon, 'formats_svg.png') fi;
if 'TPZ' in $#f then icon = add_icon(icon, 'formats_tpz.png') fi;
if 'TXT' in $#f then icon = add_icon(icon, 'formats_txt.png') fi;
if 'UNKNOWN' in $#f then icon = add_icon(icon, 'formats_unknown.png') fi;
if 'XPS' in $#f then icon = add_icon(icon, 'formats_xps.png') fi;
if 'ZERO' in $#f then icon = add_icon(icon, 'formats_zero.png') fi;
if 'ZIP' in $#f then icon = add_icon(icon, 'formats_zip.png') fi;
if 'PDF' in $#f then
icon = add_icon(
icon,
if list_count($#f, ',') == 1
then 'formats_pdf_only.png'
else 'formats_pdf.png'
fi
)
fi;
if 'eng' in $languages then icon = add_icon(icon, 'lang-eng.png') fi;
if 'por' in $languages then icon = add_icon(icon, 'lang-port.png') fi;
if 'deu' in $languages then icon = add_icon(icon, 'lang-deu.png') fi;
if 'nl' in $languages then icon = add_icon(icon, 'lang-nl.png') fi;
if 'it' in $languages then icon = add_icon(icon, 'lang-it.png') fi;
if 'spa' in $languages then icon = add_icon(icon, 'lang-spa.png') fi;
if 'fra' in $languages then icon = add_icon(icon, 'lang-fra.png') fi;
if 'rus' in $languages then icon = add_icon(icon, 'lang-rus.png') fi;
if $comments != '' then
icon = add_icon(icon, 'has_comments.png')
fi;
if $#ac != '' then
icon = add_icon(icon, 'has_highlights.png')
fi;
if 'translated' in $tags then
icon = add_icon(
icon,
if list_count($#f, ',') == 1
then 'translate_icon.png'
fi
)
fi;
if $$#fav == 'true' then
icon = add_icon(icon, 'star.png')
fi;
if $$#rg_status == 'Reading' then icon = add_icon(icon, 'status_reading.png') fi;
if $$#rg_status == 'Read' then icon = add_icon(icon, 'status_read.png') fi;
return icon