
나는 사용하고있다라텍스 액션GitHub Actions를 사용하여 라텍스로 작성된 코드를 PDF로 빌드합니다.
문제는 한국어가 어렵다는 것입니다.
날 도와 줄수 있습니까?
한국어.tex
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage[latin1]{inputenc}
\title{Getting started}
\author{Korean}
\begin{document}
\maketitle
ㄱㄴㄷㄹ
안녕하세요
\end{document}
name: Build PDF from LaTeX Korean
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: ./latex/Korean.tex
- name: Upload PDF artifact
uses: actions/upload-artifact@v2
with:
name: output
path: '*.pdf' # Update with the path to your PDF file
오류:
./latex/Korean.tex:14: Package inputenc Error: Keyboard character used is undef
ined
(inputenc) in inputencoding `latin1'.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.14 �
�ㄴㄷㄹ
./latex/Korean.tex:14: ==> Fatal error occurred, no output PDF file produced!
Transcript written on Korean.log.
Latexmk: Sometimes, the -f option can be used to get latexmk
Latexmk: Getting log file 'Korean.log'
to try to force complete processing.
But normally, you will need to correct the file(s) that caused the
error, and then rerun latexmk.
In some cases, it is best to clean out generated files before rerunning
latexmk after you've corrected the files.
Latexmk: Examining 'Korean.fls'
Latexmk: Examining 'Korean.log'
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
pdflatex: Command for 'pdflatex' gave return code 1
Refer to 'Korean.log' and/or above output for details