+ texifier = PandocTexifier(args.pandoc or 'pandoc')
+ layout: Layout
+ if args.layout == 'below':
+ layout = BelowIconLayout(texifier)
+ elif args.layout == 'beside':
+ layout = BesideIconLayout(texifier)
+ else:
+ raise ValueError(f'Unknown layout: {args.layout}')
+ log = (lambda _: None) if args.quiet else _print_status
+ with CachingFetcher(args.cache_path, args.timeout, log) as fetcher: