Skip to content

PDF render with Quarto - unsupported Unicode character #75

@XVilka

Description

@XVilka

Quarto - An open-source scientific and technical publishing system similar to Bookdown

runnning pdflatex - 1
  This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex)
   restricted \write18 enabled.
  entering extended mode
  
updating tlmgr

updating existing packages

compilation failed- error
Package inputenc Error: Unicode character ┌ (U+250C)
(inputenc)                not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.1722 \end{verbatim}

If we use XeTeX or LuaLaTeX engines, we get another error:

runnning lualatex - 1
  This is LuaHBTeX, Version 1.13.0 (TeX Live 2021) 
   restricted system commands enabled.
  
updating tlmgr

updating existing packages

compilation failed- error
Undefined control sequence.
l.5068 string by prepending them with ``\x
                                        '':

This is caused by LaTeX-like sequences like \x:

$ rg -t md "\\\x"                                                                                                                                                                                                             
src/search_bytes/basic_searches.md
44:It is possible to specify hexadecimal escape sequences in the search string by prepending them with "\x":
46:    [0x00000000]> / \x7FELF

src/plugins/dev-bin.md
53:     return (!memcmp (buf, "\x4E\x45\x53\x1A", 4));

src/search_bytes/intro.md
10:| / foo\x00               search for string 'foo\0'
11:| /j foo\x00              search for string 'foo\0' (json output)

src/tools/rz-ax/intro.md
63:  -N      binary number        ;  rz-ax -N 0x1234 # \x34\x12\x00\x00

src/basic_commands/print_modes.md
269:"\x48\x89\xe7\xe8\x68\x39\x00\x00\x49\x89\xc4\x8b\x05\xef\x16\x22\x00\x5a\x48\x8d\x24\xc4\x29\xc2\x52\x48\x89\xd6\x49\x89\xe5\x48\x83\xe4\xf0\x48\x8b\x3d\x06\x1a

src/basic_commands/write.md
40:| ww foobar            write wide string 'f\x00o\x00o\x00b\x00a\x00r\x00'
43:| wz string            write zero terminated string (like w + \x00)

src/first_steps/expressions.md
23:string  "\xfa\xff\xff\xff\xff\xff\xff\xff"
54:string  "\x03"

src/first_steps/commandline_flags.md
14: -0           print \x00 after init and every command

src/crackmes/avatao/01-reverse4/first_steps.md
47:[0x00 avatao]$ "\x01\x00\x00\x00" | ./reverse4

src/crackmes/avatao/01-reverse4/bytecode.md
39:\x90\x00PSAMuAP\x01AMcAP\x01AMhAP\x01AM AP\x01AMVAP\x01AMMAP\x01AM!AP\x01AM AP\x01AMMAP\x01AMuAP\x01AMCAP\x01AMHAP\x01AM AP\x01AMrAP\x01AMeAP\x01AMVAP\x01AM3AP\x01AMrAP\x01AMsAP\x01AMeIPAM!X\x00CAJ\xc1SC\x00DCR*

src/crackmes/ioli/ioli_0x01.md
100:string  "\x9a\x14"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions