如何解决随机发生的引文编译错误

如何解决随机发生的引文编译错误

有时,当我编译多章节文档时,它会拒绝编译并说引用中有数学方程式。

如果我注释掉某一章中所有引用的行,然后进行编译,文档就会呈现。然后,如果我取消注释掉所有这些行,它就会编译并呈现。

我相信 .bib 文件中隐藏着一些错误的符号,但我仔细检查并使用了下面的代码解决了我在参考书目中发现的所有错误。

\documentclass{article}
\begin{document}
\nocite{*}
\bibliographystyle{plain}
\bibliography{temp.bib}
\end{document}

我尝试从头开始编译,但问题并未解决。此错误也只发生在引用某一章的内容时。我慢慢取消注释,试图找出导致错误的特定引用,但同样,只有在注释掉并取消注释该章中的所有内容后,它才能正常工作。

引发错误的行看起来像这样,但它出现在文档中大约 5 段引用中。

particularly respiratory illness\cite{krishnamoorthy_prevalence_2021, munywoki_source_2014, scott_risk_2019}

这偶尔会出现在 bibtex 文件中,我刚刚删除了红点,但我无法复制它们,所以我无法搜索它们并且不知道它们叫什么。 错误消息的图片

@article{krishnamoorthy_prevalence_2021,
    title        = {Prevalence and risk factors associated with latent tuberculosis infection among household contacts of smear positive pulmonary tuberculosis patients in {South} {India}},
    author       = {Krishnamoorthy, Yuvaraj and Ezhumalai, Komala and Murali, Sharan and Rajaa, Sathish and Jose, Maria and Sathishkumar, Abilasha and Soundappan, Govindarajan and Horsburgh, Charles and Hochberg, Natasha and Johnson, William Evan and Knudsen, Selby and Salgame, Padmini and Ellner, Jerrold and Prakash Babu, Senbagavalli and Sarkar, Sonali},
    year         = 2021,
    journal      = {Tropical Medicine \& International Health},
    volume       = 26,
    number       = 12,
    pages        = {1645--1651},
    doi          = {10.1111/tmi.13693},
    issn         = {1365-3156},
    url          = {https://onlinelibrary.wiley.com/doi/abs/10.1111/tmi.13693},
    urldate      = {2023-07-01},
    copyright    = {2021 John Wiley \& Sons Ltd},
    note         = {\_eprint: https://onlinelibrary.wiley.com/doi/pdf/10.1111/tmi.13693},
    abstract     = {Objective We aimed to determine the prevalence and find the risk factors associated with latent tuberculosis infection (LTBI) among the household contacts (HHC) of pulmonary TB patients. Methods This cohort study was conducted from 2014 to 2019. Pretested standardised questionnaires and tools were used for data collection. The prevalence of LTBI among HHCs of TB patients was summarised as proportion with 95\% confidence interval (CI). Mixed-effects generalised linear modelling function (meglm) in STATA with family Poisson and log link was performed to find the factors associated with LTBI. Results In total, 1523 HHC of pulmonary TB patients were included in the study. Almost all HHC shared their residence with the index case (IC) for more than a year; 25\% shared the same bed with the IC. The prevalence of LTBI among the HHC of TB patients was 52.6\% (95\% CI: 50.1–55.1\%). In an adjusted model, we found that among HHC belonging to the age group of 19–64 years (aIRR = 1.2; 95\% CI: 1.1–1.3; p-value: 0.02), to the age group 65 years (aIRR = 1.4, 95\% CI: 1.1–1.9, p-value: 0.02) and sharing the same bed with the IC (aIRR = 1.2, 95\% CI: 1.1–1.3, p value: 0.04) were independent determinants of LTBI among the HHC. Conclusion One in two household contacts of TB patients have latent tuberculosis infection. This underscores the need of targeted contact screening strategies, effective contact tracing and testing using standardised methods in high TB burden settings.},
    language     = {en},
    keywords     = {alcohol consumption, latent TB infection, pulmonary tuberculosis, TST}
}
@article{munywoki_source_2014,
    title        = {The {Source} of {Respiratory} {Syncytial} {Virus} {Infection} {In} {Infants}: {A} {Household} {Cohort} {Study} {In} {Rural} {Kenya}},
    shorttitle   = {The {Source} of {Respiratory} {Syncytial} {Virus} {Infection} {In} {Infants}},
    author       = {Munywoki, Patrick K. and Koech, Dorothy C. and Agoti, Charles N. and Lewa, Clement and Cane, Patricia A. and Medley, Graham F. and Nokes, D. J.},
    year         = 2014,
    month        = jun,
    journal      = {J Infect Dis},
    volume       = 209,
    number       = 11,
    pages        = {1685--1692},
    doi          = {10.1093/infdis/jit828},
    issn         = {0022-1899},
    url          = {https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4017365/},
    urldate      = {2023-07-01},
    abstract     = {Background. Respiratory syncytial virus (RSV) vaccine development for direct protection of young infants faces substantial obstacles. Assessing the potential of indirect protection using different strategies, such as targeting older children or mothers, requires knowledge of the source of infection to the infants., Methods. We undertook a prospective study in rural Kenya. Households with a child born after the preceding RSV epidemic and 1 elder sibling were recruited. Nasopharyngeal swab samples were collected every 3–4 days irrespective of symptoms from all household members throughout the RSV season of 2009–2010 and tested for RSV using molecular techniques., Results. From 451 participants in 44 households a total of 15 396 nasopharyngeal swab samples were samples were collected, representing 86\% of planned sampling. RSV was detected in 37 households (84\%) and 173 participants (38\%) and 28 study infants (64\%). The infants acquired infection from within (15 infants; 54\%) or outside (9 infants; 32\%) the household; in 4 households the source of infant infection was inconclusive. Older children were index case patients for 11 (73\%) of the within-household infant infections, and 10 of these 11 children were attending school., Conclusion. We demonstrate that school-going siblings frequently introduce RSV into households, leading to infection in infants.},
    pmid         = 24367040,
    pmcid        = {PMC4017365}
}
@article{scott_risk_2019,
    title        = {Risk factors and patterns of household clusters of respiratory viruses in rural {Nepal}},
    author       = {Scott, E. M. and Magaret, A. and Kuypers, J. and Tielsch, J. M. and Katz, J. and Khatry, S. K. and Stewart, L. and Shrestha, L. and LeClerq, S. C. and Englund, J. A. and Chu, H. Y.},
    year         = 2019,
    month        = oct,
    journal      = {Epidemiol Infect},
    volume       = 147,
    pages        = {e288},
    doi          = {10.1017/S0950268819001754},
    issn         = {0950-2688},
    url          = {https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6805793/},
    urldate      = {2023-07-01},
    abstract     = {Viral pneumonia is an important cause of death and morbidity among infants worldwide. Transmission of non-influenza respiratory viruses in households can inform preventative interventions and has not been well-characterised in South Asia. From April 2011 to April 2012, household members of pregnant women enrolled in a randomised trial of influenza vaccine in rural Nepal were surveyed weekly for respiratory illness until 180 days after birth. Nasal swabs were tested by polymerase chain reaction for respiratory viruses in symptomatic individuals. A transmission event was defined as a secondary case of the same virus within 14 days of initial infection within a household. From 555 households, 825 initial viral illness episodes occurred, resulting in 79 transmission events. The overall incidence of transmission was 1.14 events per 100 person-weeks. Risk of transmission incidence was associated with an index case age 1–4 years (incidence rate ratio (IRR) 2.35; 95\% confidence interval (CI) 1.40–3.96), coinfection as initial infection (IRR 1.94; 95\% CI 1.05–3.61) and no electricity in household (IRR 2.70; 95\% CI 1.41–5.00). Preventive interventions targeting preschool-age children in households in resource-limited settings may decrease the risk of transmission to vulnerable household members, such as young infants.},
    pmid         = 31607271,
    pmcid        = {PMC6805793}
}

相关内容