Skip to contents

Print the glossr configuration

Usage

print_config(config_sections = c("format", "pdf", "word", "other"))

Arguments

config_sections

Character vector with the following possible values:

  • format: to show the formatting options (italics / bold / nothing) for the different lines.

  • pdf: to show LaTeX-specific formatting

  • word: to show Word-specific formatting

  • other: to show the current output format, translation quotes and the numbering setting.

Value

Invisibly, a named list with the printed values

Examples

print_config()
#> 
#> ── General line formatting ─────────────────────────────────────────────────────
#> 1. a: i
#> 2. b:
#> 3. c:
#> 4. preamble: b
#> 5. translation:
#> 
#> ── PDF-specific formatting ─────────────────────────────────────────────────────
#> 1. exskip: 2
#> 2. belowglpreambleskip: 0
#> 3. aboveglftskip: 0
#> 4. extraglskip: 0
#> 
#> ── Word-specific formatting ────────────────────────────────────────────────────
#> 1. font_family: Cambria, Times New Roman, and Times New Roman
#> 2. font_size: 12
#> 3. page_width: 1332
#> 
#> ── Other formatting ────────────────────────────────────────────────────────────
#> 1. output: word
#> 2. trans_quotes: '
#> 3. numbering: TRUE
print_config("pdf") # print only pdf-specific configuration
#> 
#> ── PDF-specific formatting ─────────────────────────────────────────────────────
#> 1. exskip: 2
#> 2. belowglpreambleskip: 0
#> 3. aboveglftskip: 0
#> 4. extraglskip: 0