Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emojis not being replaced when changing language from default to es-ES #9964

Open
hyunlee1o opened this issue Jul 9, 2024 · 1 comment
Open
Labels

Comments

@hyunlee1o
Copy link

hyunlee1o commented Jul 9, 2024

☑️ Checked about no similar issues.

Explain the problem.

I am using the typical preamble.tex in my pandoc pipeline to make use emojis get replaced.

\usepackage{fontspec}
\directlua{luaotfload.add_fallback
   ("emojifallback",
    {
      "NotoColorEmoji:mode=harf;"
    }
   )}

\setmainfont{Atkinson Hyperlegible}[
  RawFeature={fallback=emojifallback}
]

\setmonofont{Hack}[
  RawFeature={fallback=emojifallback}
]

This is my pandoc command

 pandoc --verbose -C --embed-resources --number-sections --listings -H /home/user/Documentos/infinity/makepdf/preamble.tex -s --pdf-engine=lualatex --metadata-file=/home/user/Documentos/infinity/makepdf/metadata/guia-de-autodiagnostico-metadata.yaml --from markdown_mmd+emoji -o /home/user/Documentos/infinity/docs/downloads/guia-de-autodiagnóstico/guia-de-autodiagnóstico.pdf /home/user/Documentos/infinity/docs/guia-de-autodiagnóstico.markdown

This started happening when i added the language property to my metadata file:
language: es-ES

Log

pandoc.log

Pandoc version

Edit: Same happened with 3.2.1 latest

$ pandoc --version                                                                                                
pandoc 3.1.3
Features: -server +lua
Scripting engine: Lua 5.4
User data directory: /home/jssanchez/.local/share/pandoc
Copyright (C) 2006-2023 John MacFarlane. Web: https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.

@hyunlee1o hyunlee1o added the bug label Jul 9, 2024
@jgm
Copy link
Owner

jgm commented Jul 10, 2024

This is really a tex issue, I think, and you need to diagnose it at that level.
Generate a standalone tex file using pandoc, and remove things til you get a minimal repro. Then maybe someone in a tex forum can diagnose it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants