biblatex 完整引文中缺少 $ 插入错误

biblatex 完整引文中缺少 $ 插入错误

如果我向这个特定的参考书目条目missing $ inserted引入一个,那么在编译文档时就会出现错误:\fullcite

@article{sadava2019a,
  title = {Should We Routinely Close the Fascial Defect in Laparoscopic Ventral and Incisional Hernia Repair?},
  author = {Sadava, Emmanuel E. and Peña, María E. and Schlottmann, Francisco},
  date = {2019-06},
  journaltitle = {Journal of Laparoendoscopic \& Advanced Surgical Techniques. Part A},
  shortjournal = {J Laparoendosc Adv Surg Tech A},
  volume = {29},
  number = {6},
  eprint = {30900956},
  eprinttype = {pmid},
  pages = {856--859},
  issn = {1557-9034},
  doi = {10.1089/lap.2019.0088},
  abstract = {Introduction: Closure of the hernia defect during laparoscopic ventral hernia repair (LVHR) remains controversial. We aimed to analyze whether closing hernia defects impacts in postoperative morbidity and recurrence rates after LVHR. Materials and Methods: A consecutive series of patients undergoing LVHR from January 2014 to June 2017 with a minimum follow-up of 6 months were included. The sample was divided into two groups: DC, patients with fascial defect closure and NDC, patients without closure of the defect. Postoperative morbidity and recurrence rates were compared between both groups. Results: A total of 100 patients were included, 51 had their defects closed (DC) and the remaining 49 patients had their defects not closed (NDC). There were no significant differences between groups regarding gender, age, smoking, body mass index, or preoperative American Society of Anesthesiologists. Defect area was similar in both groups (DC: 37\,cm2 versus 42\,cm2 NDC, P\,=\,.6). Patients with defect closure had significantly longer operating time (DC: 111 and NDC: 88 minutes, P\,{$<$}\,.01). Patients without defect closure showed higher rates of postoperative seroma (DC: 10\% versus NDC: 18\%) and bulging (DC: 4\% versus NDC: 12.2\%). After a mean follow-up of 24 (6-36) months, recurrence was 6\% in DC and 18\% in NDC (P\,=\,.07). Closure of the defect in midline hernias showed a significant reduction of the recurrence rate (DC: 2/39 [5\%] versus NDC: 5/21 [24\%], P\,=\,.04). Conclusion: Defect closure in LVHR seems to reduce postoperative morbidity and recurrence rates, especially in midline defects. Systematic closure of the hernia defect should be encouraged to improve postoperative outcomes.},
  langid = {english},
  file = {/home/fabio/Zotero/storage/7GDMFDAQ/Sadava et al. - 2019 - Should We Routinely Close the Fascial Defect in La.pdf}
}

\fullcite如果我放置同一书目参考文件的任何其他条目,则不会收到错误。

我在用biblatex

我也尝试删除摘要(那里有一些数学符号),但仍然出现相同的错误

这是包含错误的完整文档

% This file was converted to LaTeX by Writer2LaTeX ver. 1.6.1
% see http://writer2latex.sourceforge.net for more info
\documentclass[a4paper,landscape]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb,amsfonts,textcomp}
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}
\usepackage{color}
\usepackage{array}
\usepackage[style=vancouver,citestyle=numeric-comp,sorting=none,isbn=false,url=false,eprint=false, doi=false]{biblatex}
%\usepackage{bibentry}
\usepackage{hhline}
\usepackage{hyperref}
\hypersetup{pdftex, colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, urlcolor=blue, pdftitle=, pdfauthor=Fabio Cesare Campanile, pdfsubject=, pdfkeywords=}




\title{}
\author{}
\date{2022-01-15}

\addbibresource{LGBiBiblio.bib}

\begin{document}
    \begin{flushleft}
        %   ablefirsthead{}
        %   ablehead{}
        %   abletail{}
        %   ablelasttail{}
        \begin{tabular}{|m{3.6139998cm}|m{7.1060004cm}|m{7.191cm}m{6.9880004cm}|}
            \hline
            \multicolumn{4}{|m{25.498999cm}|}{\textbf{Studio: } \fullcite{sadava2019a}
                %   E Sadava, M Pena, F Schlottmann, Should We
                %Routinely Close the Fascial Defect in Laparoscopic Ventral and Incisional Hernia Repair?
                %2019 Jun;29(6):856-859}
        }\\\hline
        \textbf{Disegno dello studio}
        
        
        \textbf{Livello di evidenza} &
        \textbf{Dettagli dello studio/limitazione} &
        \multicolumn{1}{m{7.191cm}|}{\textbf{Caratteristiche dei pazienti}} &
        \textbf{Interventi}\\\hline
        \textbf{Disegno dello studio:}
        
        osservazionale &
        \textbf{Paesi:} Argentina
        
        \textbf{Centri: }Division of Abdominal Wall surgery, Hospital Aleman of Buenos Aires
        
        \textbf{Setting: }ospedaliero
        
        \textbf{Finanziamento}: non dichiarati
        
        \textbf{Follow-up (mesi): }24 mediano (6-36)
        
        \textbf{Limitazioni}://
        
        ~
        
        ~
        &
        \multicolumn{1}{m{7.191cm}|}{Pazienti affetti da ernia primaria
            
            ~
            
            Da gennaio 2014 a giugno 2017
            
            100 pazienti
            
            51 IPOM+
            
            49 IPOM
            
            ~
            
            \textbf{Criteri di inclusione: }
            
            f-up minimo di 6 mesi, difetti tra 3 e 8 cm
            
            \textbf{Criteri di esclusione:}
            
            ~
        } &
        IPOM vs. IPOM+ \\\hline
        \textbf{Note}: &
        \multicolumn{3}{m{21.685cm}|}{~
        }\\\hline
        \textbf{Obiettivi} &
        {}- Sieroma postoperatorio
        
        {}- migrazione della protesi
        
        {}- Recidiva
        
        {}- Complicanze postoperatorie
        
        ~
        &
        \multicolumn{2}{m{14.379001cm}|}{\textbf{Risultati: IPOM+ vs. IPOM}
            
            {}- Sieroma: 6 (12\%) vs. 9 (18\%) p 0.4
            
            {}- Migrazione protesi: 2 (4\%) vs. 6 (12\%) p 0.1
            
            {}- Recidiva: 3 (6\%) vs. 9 (18\%) p 0.07
            
            {}- Recidiva per ernie mediane: 2 (5\%) vs. 5 (24\%) p 0.04
            
            {}- Recidiva per ernie laterali: 0 vs. 4 (14\%) p 0.3
            
            ~
            
            ~
        }\\\hline
    \end{tabular}
\end{flushleft}


\printbibliography      
        \end{document}

答案1

该示例可以简化为


\documentclass[a4paper,landscape]{article}
\usepackage[latin1]{inputenc}


\begin{document}



Peña

\end{document}

它有一个 UTF-8 ñ 但是 latex 被迫将其解释为 latin-1,这随机导致它扩展为\pm正号或负号并导致数学错误。

! Missing $ inserted.
<inserted text> 
                $
l.10 Peñ
         a
? 

确保所有文件都是 UTF-8 并删除该inputenc行。

答案2

我从扩展中找到了以 UTF-8 格式保存的选项writer-to-latex libreoffice:保存时,您必须在打开的“LaTeX 选项”窗口中选择正确的选项。左侧有一个带有编码选项的菜单。

相关内容