
Mac OS Catalia 10.15.6의 texmaker 5.0.4에서 라텍스 파일을 컴파일하려고 합니다. 필요한 모든 MacTex 파일이 있고 texmaker의 기본 설정이 올바른지 확인했습니다. 컴파일할 때 항상 두 가지 오류가 발생하고 PDF 파일이 생성되지 않습니다.
- PDF 파일에 데이터를 쓴 후에는 PDF 버전을 변경할 수 없습니다.
- 치명적인 오류가 발생하여 출력 PDF 파일이 생성되지 않았습니다! 서문 시작 부분에 \RequirePackage{pdf14}를 추가하고 Acrobat Reader도 닫아 보았습니다. 아무것도 작동하지 않았습니다. 지난 주에 사용하고 있는 새 Mac의 문제일 뿐입니다. 편집은 texmaker 5.0.3 및 Mac OS Catalia 10.15.6이 설치된 이전 Mac에서 정확히 동일한 설정으로 잘 작동합니다.
어떤 도움이라도 주시면 감사하겠습니다.
내 서문은 다음과 같습니다.
%\RequirePackage{pdf14}
\documentclass[11pt,english]{article} %by Mehmet
%\documentclass[opre,nonblindrev,copyedit]{informs3} %by Han
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[letterpaper]{geometry}
\geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}
\usepackage{color}
\usepackage{array}
\usepackage{float}
\usepackage{multirow}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage[authoryear]{natbib}
%\usepackage{ulem} %%the effect of deleteing words/sentences
\usepackage{graphicx}%for subfigure added by Han
\usepackage{subfigure}%for subfigure added by Han
\usepackage{booktabs}%for table cmidrule command added by Han
\setstretch{1.6}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
\@ifundefined{date}{}{\date{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\setlength{\textwidth}{6.6in}\setlength{\textheight}{9.0in}\setlength{\topmargin}{-0.5in}\usepackage{babel}
\usepackage{babel}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\theoremstyle{plain}
\newtheorem{mypred}{Prediction}
\@ifundefined{showcaptionsetup}{}{%
\PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
\makeatother
\usepackage{babel}
\usepackage{tabu}
\usepackage{url}
\usepackage{array}
\usepackage{multirow}
\usepackage{pdflscape}
\usepackage{enumerate}
\usepackage{mathrsfs}
\usepackage{mathtools}
\usepackage{geometry}
\geometry{verbose,tmargin=2.3cm,bmargin=2.4cm,lmargin=2.2cm,rmargin=2.2cm}
% Natbib setup for author-year style
\usepackage{natbib}
\usepackage[final]{changes}
\definechangesauthor[name=Mehmet, color=purple]{MG}
\definechangesauthor[name=Saibal, color=red]{SR}
\definechangesauthor[name=Han, color=blue]{HZ}
\bibpunct[, ]{(}{)}{,}{a}{}{,}%
\def\bibfont{\small}%
\def\bibsep{\smallskipamount}%
\def\bibhang{24pt}%
\def\newblock{\ }%
\def\ep{\epsilon}%%%added by Han
\def\uep{\underline{\ep}}%%%added by Han
\def\oep{\overline{\epsilon}}%%%added by Han
\def\bc{\bar{c}}%%%added by Han
\def\BIBand{and}%
\pdfminorversion 3
%% Setup of theorem styles. Outcomment only one.
%% Preferred default is the first option.
\usepackage[pagewise]{lineno}
\usepackage{soul}
% Theorem environments
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}{Corollary}
\newtheorem*{main}{Main~Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{proposition}{Proposition}
\newtheorem{assumption}{Assumption}
\newtheorem{example}{Example}
\theoremstyle{definition}
\newtheorem{definition}{Definition}
\newtheorem{observation}{Observation}%%added by Han
\theoremstyle{remark}
\newtheorem*{notation}{Notation}
\numberwithin{equation}{section}
\newtheorem{hypothesis}{Hypothesis}%%%added by Han
\newcommand{\thmref}[1]{Theorem~\ref{#1}}
\newcommand{\secref}[1]{\S\ref{#1}}
\newcommand{\lemref}[1]{Lemma~\ref{#1}}
\newcommand{\bysame}{\mbox{\rule{3em}{.4pt}}\,}
\newcommand{\hlcyan}[1]{{\sethlcolor{cyan}\hl{#1}}}
\newcommand{\hlred}[1]{{\sethlcolor{red}\hl{#1}}}