From fc1feb446fd742ad78eec457da797795a95ab165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20F=C3=B6rster?= Date: Sun, 1 May 2022 11:34:13 +0200 Subject: [PATCH] Switch back to structure without mod.rs --- src/{citation/mod.rs => citation.rs} | 2 +- src/{diagnostics/mod.rs => diagnostics.rs} | 0 src/{distro/mod.rs => distro.rs} | 0 src/{features/mod.rs => features.rs} | 0 src/features/{completion/mod.rs => completion.rs} | 0 src/features/{definition/mod.rs => definition.rs} | 0 src/features/{formatting/mod.rs => formatting.rs} | 0 src/features/{highlight/mod.rs => highlight.rs} | 0 src/features/{hover/mod.rs => hover.rs} | 0 src/features/{reference/mod.rs => reference.rs} | 0 src/features/{rename/mod.rs => rename.rs} | 0 src/features/{symbol/mod.rs => symbol.rs} | 0 .../texlab__citation__tests__biblatex_examples_001.snap | 2 +- .../texlab__citation__tests__biblatex_examples_002.snap | 2 +- .../texlab__citation__tests__biblatex_examples_003.snap | 2 +- .../texlab__citation__tests__biblatex_examples_004.snap | 2 +- .../texlab__citation__tests__biblatex_examples_005.snap | 2 +- .../texlab__citation__tests__biblatex_examples_006.snap | 2 +- .../texlab__citation__tests__biblatex_examples_007.snap | 2 +- .../texlab__citation__tests__biblatex_examples_008.snap | 2 +- .../texlab__citation__tests__biblatex_examples_009.snap | 2 +- .../texlab__citation__tests__biblatex_examples_010.snap | 2 +- .../texlab__citation__tests__biblatex_examples_011.snap | 2 +- .../texlab__citation__tests__biblatex_examples_012.snap | 2 +- .../texlab__citation__tests__biblatex_examples_013.snap | 2 +- .../texlab__citation__tests__biblatex_examples_014.snap | 2 +- .../texlab__citation__tests__biblatex_examples_015.snap | 2 +- .../texlab__citation__tests__biblatex_examples_016.snap | 2 +- src/{syntax/mod.rs => syntax.rs} | 0 src/syntax/{bibtex/mod.rs => bibtex.rs} | 0 src/syntax/{latex/mod.rs => latex.rs} | 0 src/syntax/latex/{analysis/mod.rs => analysis.rs} | 0 32 files changed, 17 insertions(+), 17 deletions(-) rename src/{citation/mod.rs => citation.rs} (99%) rename src/{diagnostics/mod.rs => diagnostics.rs} (100%) rename src/{distro/mod.rs => distro.rs} (100%) rename src/{features/mod.rs => features.rs} (100%) rename src/features/{completion/mod.rs => completion.rs} (100%) rename src/features/{definition/mod.rs => definition.rs} (100%) rename src/features/{formatting/mod.rs => formatting.rs} (100%) rename src/features/{highlight/mod.rs => highlight.rs} (100%) rename src/features/{hover/mod.rs => hover.rs} (100%) rename src/features/{reference/mod.rs => reference.rs} (100%) rename src/features/{rename/mod.rs => rename.rs} (100%) rename src/features/{symbol/mod.rs => symbol.rs} (100%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_001.snap (98%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_002.snap (97%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_003.snap (96%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_004.snap (97%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_005.snap (96%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_006.snap (96%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_007.snap (96%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_008.snap (93%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_009.snap (96%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_010.snap (99%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_011.snap (98%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_012.snap (97%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_013.snap (96%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_014.snap (96%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_015.snap (98%) rename src/{citation => }/snapshots/texlab__citation__tests__biblatex_examples_016.snap (97%) rename src/{syntax/mod.rs => syntax.rs} (100%) rename src/syntax/{bibtex/mod.rs => bibtex.rs} (100%) rename src/syntax/{latex/mod.rs => latex.rs} (100%) rename src/syntax/latex/{analysis/mod.rs => analysis.rs} (100%) diff --git a/src/citation/mod.rs b/src/citation.rs similarity index 99% rename from src/citation/mod.rs rename to src/citation.rs index 3f1b53b2..f6d741c7 100644 --- a/src/citation/mod.rs +++ b/src/citation.rs @@ -18,7 +18,7 @@ use self::{ ris::{RisLibrary, RisReference}, }; -static APA_STYLE: &str = include_str!("apa.csl"); +static APA_STYLE: &str = include_str!("citation/apa.csl"); static DOI_URL_PATTERN: &str = r#"https://doi.org/\[.*\]\(.*\)"#; diff --git a/src/diagnostics/mod.rs b/src/diagnostics.rs similarity index 100% rename from src/diagnostics/mod.rs rename to src/diagnostics.rs diff --git a/src/distro/mod.rs b/src/distro.rs similarity index 100% rename from src/distro/mod.rs rename to src/distro.rs diff --git a/src/features/mod.rs b/src/features.rs similarity index 100% rename from src/features/mod.rs rename to src/features.rs diff --git a/src/features/completion/mod.rs b/src/features/completion.rs similarity index 100% rename from src/features/completion/mod.rs rename to src/features/completion.rs diff --git a/src/features/definition/mod.rs b/src/features/definition.rs similarity index 100% rename from src/features/definition/mod.rs rename to src/features/definition.rs diff --git a/src/features/formatting/mod.rs b/src/features/formatting.rs similarity index 100% rename from src/features/formatting/mod.rs rename to src/features/formatting.rs diff --git a/src/features/highlight/mod.rs b/src/features/highlight.rs similarity index 100% rename from src/features/highlight/mod.rs rename to src/features/highlight.rs diff --git a/src/features/hover/mod.rs b/src/features/hover.rs similarity index 100% rename from src/features/hover/mod.rs rename to src/features/hover.rs diff --git a/src/features/reference/mod.rs b/src/features/reference.rs similarity index 100% rename from src/features/reference/mod.rs rename to src/features/reference.rs diff --git a/src/features/rename/mod.rs b/src/features/rename.rs similarity index 100% rename from src/features/rename/mod.rs rename to src/features/rename.rs diff --git a/src/features/symbol/mod.rs b/src/features/symbol.rs similarity index 100% rename from src/features/symbol/mod.rs rename to src/features/symbol.rs diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_001.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_001.snap similarity index 98% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_001.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_001.snap index fb8cfe49..40b6a6ad 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_001.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_001.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 133 expression: "render_simple(r#\"\n@incollection{westfahl:space,\n author = {Westfahl, Gary},\n title = {The True Frontier},\n subtitle = {Confronting and Avoiding the Realities of Space in {American}\n Science Fiction Films},\n pages = {55-65},\n crossref = {westfahl:frontier},\n langid = {english},\n langidopts = {variant=american},\n indextitle = {True Frontier, The},\n annotation = {A cross-referenced article from a \\texttt{collection}. This is\n an \\texttt{incollection} entry with a \\texttt{crossref}\n field. Note the \\texttt{subtitle} and \\texttt{indextitle}\n fields},\n}\n\n% booktitle and booksubtitle are only needed for BibTeX's less sophisticated\n% inheritance set-up to make sure westfahl:space shows correctly.\n% With Biber they are not needed.\n@collection{westfahl:frontier,\n editor = {Westfahl, Gary},\n title = {Space and Beyond},\n date = 2000,\n subtitle = {The Frontier Theme in Science Fiction},\n publisher = {Greenwood},\n location = {Westport, Conn. and London},\n langid = {english},\n langidopts = {variant=american},\n booktitle = {Space and Beyond},\n booksubtitle = {The Frontier Theme in Science Fiction},\n annotation = {This is a \\texttt{collection} entry. Note the format of the\n \\texttt{location} field as well as the \\texttt{subtitle}\n field},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_002.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_002.snap similarity index 97% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_002.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_002.snap index 5d0d5944..ed55dc0b 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_002.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_002.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 174 expression: "render_simple(r#\"\n@string{jomch = {J.~Organomet. Chem.}}\n\n@article{aksin,\n author = {Aks{\\i}n, {\\\"O}zge and T{\\\"u}rkmen, Hayati and Artok, Levent\n and {\\c{C}}etinkaya, Bekir and Ni, Chaoying and\n B{\\\"u}y{\\\"u}kg{\\\"u}ng{\\\"o}r, Orhan and {\\\"O}zkal, Erhan},\n title = {Effect of immobilization on catalytic characteristics of\n saturated {Pd-N}-heterocyclic carbenes in {Mizoroki-Heck}\n reactions},\n journaltitle = jomch,\n date = 2006,\n volume = 691,\n number = 13,\n pages = {3027-3036},\n indextitle = {Effect of immobilization on catalytic characteristics},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_003.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_003.snap similarity index 96% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_003.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_003.snap index 22230a08..a6455425 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_003.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_003.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 197 expression: "render_simple(r#\"\n@article{angenendt,\n author = {Angenendt, Arnold},\n title = {In Honore Salvatoris~-- Vom Sinn und Unsinn der\n Patrozinienkunde},\n journaltitle = {Revue d'Histoire Eccl{\\'e}siastique},\n date = 2002,\n volume = 97,\n pages = {431--456, 791--823},\n langid = {german},\n indextitle = {In Honore Salvatoris},\n shorttitle = {In Honore Salvatoris},\n annotation = {A German article in a French journal. Apart from that, a\n typical \\texttt{article} entry. Note the \\texttt{indextitle}\n field},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_004.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_004.snap similarity index 97% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_004.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_004.snap index 6674cf8e..acf616c4 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_004.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_004.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 219 expression: "render_simple(r#\"\n@article{baez/article,\n author = {Baez, John C. and Lauda, Aaron D.},\n title = {Higher-Dimensional Algebra {V}: 2-Groups},\n journaltitle = {Theory and Applications of Categories},\n date = 2004,\n volume = 12,\n pages = {423-491},\n version = 3,\n eprint = {math/0307200v3},\n eprinttype = {arxiv},\n langid = {english},\n langidopts = {variant=american},\n annotation = {An \\texttt{article} with \\texttt{eprint} and\n \\texttt{eprinttype} fields. Note that the arXiv reference is\n transformed into a clickable link if \\texttt{hyperref} support\n has been enabled. Compare \\texttt{baez\\slash online}, which\n is the same item given as an \\texttt{online} entry},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_005.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_005.snap similarity index 96% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_005.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_005.snap index 5b496666..0b6fc6a6 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_005.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_005.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 244 expression: "render_simple(r#\"\n@string{jams = {J.~Amer. Math. Soc.}}\n\n@article{bertram,\n author = {Bertram, Aaron and Wentworth, Richard},\n title = {Gromov invariants for holomorphic maps on {Riemann} surfaces},\n journaltitle = jams,\n date = 1996,\n volume = 9,\n number = 2,\n pages = {529-571},\n langid = {english},\n langidopts = {variant=american},\n shorttitle = {Gromov invariants},\n annotation = {An \\texttt{article} entry with a \\texttt{volume} and a\n \\texttt{number} field},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_006.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_006.snap similarity index 96% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_006.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_006.snap index cfa848bd..cf382433 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_006.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_006.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 267 expression: "render_simple(r#\"\n@article{doody,\n author = {Doody, Terrence},\n title = {Hemingway's Style and {Jake's} Narration},\n year = 1974,\n volume = 4,\n number = 3,\n pages = {212-225},\n langid = {english},\n langidopts = {variant=american},\n related = {matuz:doody},\n relatedstring= {\\autocap{e}xcerpt in},\n journal = {The Journal of Narrative Technique},\n annotation = {An \\texttt{article} entry cited as an excerpt from a\n \\texttt{collection} entry. Note the format of the\n \\texttt{related} and \\texttt{relatedstring} fields},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_007.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_007.snap similarity index 96% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_007.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_007.snap index 819c64d5..7ad25152 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_007.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_007.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 290 expression: "render_simple(r#\"\n@article{gillies,\n author = {Gillies, Alexander},\n title = {Herder and the Preparation of {Goethe's} Idea of World\n Literature},\n journaltitle = {Publications of the English Goethe Society},\n date = 1933,\n series = {newseries},\n volume = 9,\n pages = {46-67},\n langid = {english},\n langidopts = {variant=british},\n annotation = {An \\texttt{article} entry with a \\texttt{series} and a\n \\texttt{volume} field. Note that format of the \\texttt{series}\n field in the database file},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_008.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_008.snap similarity index 93% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_008.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_008.snap index 21743d58..1d99cc8d 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_008.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_008.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 312 expression: "render_simple(r#\"\n@article{glashow,\n author = {Glashow, Sheldon},\n title = {Partial Symmetries of Weak Interactions},\n journaltitle = {Nucl.~Phys.},\n date = 1961,\n volume = 22,\n pages = {579-588},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_009.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_009.snap similarity index 96% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_009.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_009.snap index c82d818e..8bd943fa 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_009.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_009.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 327 expression: "render_simple(r#\"\n@string{anch-ie = {Angew.~Chem. Int.~Ed.}}\n\n@article{herrmann,\n author = {Herrmann, Wolfgang A. and {\\\"O}fele, Karl and Schneider,\n Sabine K. and Herdtweck, Eberhardt and Hoffmann, Stephan D.},\n title = {A carbocyclic carbene as an efficient catalyst ligand for {C--C}\n coupling reactions},\n journaltitle = anch-ie,\n date = 2006,\n volume = 45,\n number = 23,\n pages = {3859-3862},\n indextitle = {Carbocyclic carbene as an efficient catalyst, A},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_010.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_010.snap similarity index 99% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_010.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_010.snap index d4ba0ea9..09e341c7 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_010.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_010.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 348 expression: "render_simple(r#\"\n@string{jchph = {J.~Chem. Phys.}}\n\n@article{kastenholz,\n author = {Kastenholz, M. A. and H{\\\"u}nenberger, Philippe H.},\n title = {Computation of methodology\\hyphen independent ionic solvation\n free energies from molecular simulations},\n journaltitle = jchph,\n date = 2006,\n subtitle = {{I}. {The} electrostatic potential in molecular liquids},\n volume = 124,\n eid = 124106,\n doi = {10.1063/1.2172593},\n langid = {english},\n langidopts = {variant=american},\n indextitle = {Computation of ionic solvation free energies},\n annotation = {An \\texttt{article} entry with an \\texttt{eid} and a\n \\texttt{doi} field. Note that the \\textsc{doi} is transformed\n into a clickable link if \\texttt{hyperref} support has been\n enabled},\n abstract = {The computation of ionic solvation free energies from\n atomistic simulations is a surprisingly difficult problem that\n has found no satisfactory solution for more than 15 years. The\n reason is that the charging free energies evaluated from such\n simulations are affected by very large errors. One of these is\n related to the choice of a specific convention for summing up\n the contributions of solvent charges to the electrostatic\n potential in the ionic cavity, namely, on the basis of point\n charges within entire solvent molecules (M scheme) or on the\n basis of individual point charges (P scheme). The use of an\n inappropriate convention may lead to a charge-independent\n offset in the calculated potential, which depends on the\n details of the summation scheme, on the quadrupole-moment\n trace of the solvent molecule, and on the approximate form\n used to represent electrostatic interactions in the\n system. However, whether the M or P scheme (if any) represents\n the appropriate convention is still a matter of on-going\n debate. The goal of the present article is to settle this\n long-standing controversy by carefully analyzing (both\n analytically and numerically) the properties of the\n electrostatic potential in molecular liquids (and inside\n cavities within them).}, \n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_011.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_011.snap similarity index 98% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_011.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_011.snap index ff9da027..cb07b2f7 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_011.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_011.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 397 expression: "render_simple(r#\"\n@article{murray,\n author = {Hostetler, Michael J. and Wingate, Julia E. and Zhong,\n Chuan-Jian and Harris, Jay E. and Vachet, Richard W. and\n Clark, Michael R. and Londono, J. David and Green, Stephen\n J. and Stokes, Jennifer J. and Wignall, George D. and Glish,\n Gary L. and Porter, Marc D. and Evans, Neal D. and Murray,\n Royce W.},\n title = {Alkanethiolate gold cluster molecules with core diameters from\n 1.5 to 5.2~{nm}},\n journaltitle = {Langmuir},\n date = 1998,\n subtitle = {Core and monolayer properties as a function of core size},\n volume = 14,\n number = 1,\n pages = {17-30},\n langid = {english},\n langidopts = {variant=american},\n indextitle = {Alkanethiolate gold cluster molecules},\n shorttitle = {Alkanethiolate gold cluster molecules},\n annotation = {An \\texttt{article} entry with \\arabic{author} authors. By\n default, long author and editor lists are automatically\n truncated. This is configurable},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_012.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_012.snap similarity index 97% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_012.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_012.snap index 40a95a9f..a99fa01b 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_012.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_012.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 427 expression: "render_simple(r#\"\n@article{reese,\n author = {Reese, Trevor R.},\n title = {Georgia in {Anglo-Spanish} Diplomacy, 1736--1739},\n journaltitle = {William and Mary Quarterly},\n date = 1958,\n series = 3,\n volume = 15,\n pages = {168-190},\n langid = {english},\n langidopts = {variant=american},\n annotation = {An \\texttt{article} entry with a \\texttt{series} and a\n \\texttt{volume} field. Note the format of the series. If the\n value of the \\texttt{series} field is an integer, this number\n is printed as an ordinal and the string \\enquote*{series} is\n appended automatically},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_013.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_013.snap similarity index 96% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_013.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_013.snap index 99fa9b7a..cdca99c3 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_013.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_013.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 450 expression: "render_simple(r#\"\n@article{sarfraz,\n author = {M. Sarfraz and M. F. A. Razzak},\n title = {Technical section: {An} algorithm for automatic capturing of\n the font outlines},\n year = 2002,\n volume = 26,\n number = 5,\n pages = {795-804},\n issn = {0097-8493},\n journal = {Computers and Graphics},\n annotation = {An \\texttt{article} entry with an \\texttt{issn} field},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_014.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_014.snap similarity index 96% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_014.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_014.snap index dccef920..436d4fcb 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_014.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_014.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 469 expression: "render_simple(r#\"\n@article{shore,\n author = {Shore, Bradd},\n title = {Twice-Born, Once Conceived},\n journaltitle = {American Anthropologist},\n date = {1991-03},\n subtitle = {Meaning Construction and Cultural Cognition},\n series = {newseries},\n volume = 93,\n number = 1,\n pages = {9-27},\n annotation = {An \\texttt{article} entry with \\texttt{series},\n \\texttt{volume}, and \\texttt{number} fields. Note the format\n of the \\texttt{series} which is a localization key},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_015.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_015.snap similarity index 98% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_015.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_015.snap index d5de6219..4d787a62 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_015.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_015.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 490 expression: "render_simple(r#\"\n@article{sigfridsson,\n author = {Sigfridsson, Emma and Ryde, Ulf},\n title = {Comparison of methods for deriving atomic charges from the\n electrostatic potential and moments},\n journaltitle = {Journal of Computational Chemistry},\n date = 1998,\n volume = 19,\n number = 4,\n pages = {377-395},\n doi = {10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P},\n langid = {english},\n langidopts = {variant=american},\n indextitle = {Methods for deriving atomic charges},\n annotation = {An \\texttt{article} entry with \\texttt{volume},\n \\texttt{number}, and \\texttt{doi} fields. Note that the\n \\textsc{doi} is transformed into a clickable link if\n \\texttt{hyperref} support has been enabled},\n abstract = {Four methods for deriving partial atomic charges from the\n quantum chemical electrostatic potential (CHELP, CHELPG,\n Merz-Kollman, and RESP) have been compared and critically\n evaluated. It is shown that charges strongly depend on how and\n where the potential points are selected. Two alternative\n methods are suggested to avoid the arbitrariness in the\n point-selection schemes and van der Waals exclusion radii:\n CHELP-BOW, which also estimates the charges from the\n electrostatic potential, but with potential points that are\n Boltzmann-weighted after their occurrence in actual\n simulations using the energy function of the program in which\n the charges will be used, and CHELMO, which estimates the\n charges directly from the electrostatic multipole\n moments. Different criteria for the quality of the charges are\n discussed.},\n}\"#)" --- diff --git a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_016.snap b/src/snapshots/texlab__citation__tests__biblatex_examples_016.snap similarity index 97% rename from src/citation/snapshots/texlab__citation__tests__biblatex_examples_016.snap rename to src/snapshots/texlab__citation__tests__biblatex_examples_016.snap index 39d7695b..1d08417a 100644 --- a/src/citation/snapshots/texlab__citation__tests__biblatex_examples_016.snap +++ b/src/snapshots/texlab__citation__tests__biblatex_examples_016.snap @@ -1,5 +1,5 @@ --- -source: src/citation/mod.rs +source: src/citation.rs assertion_line: 530 expression: "render_simple(r#\"\n@article{spiegelberg,\n author = {Spiegelberg, Herbert},\n title = {\\mkbibquote{Intention} und \\mkbibquote{Intentionalit{\\\"a}t} in\n der Scholastik, bei Brentano und Husserl},\n journaltitle = {Studia Philosophica},\n date = 1969,\n volume = 29,\n pages = {189-216},\n langid = {german},\n sorttitle = {Intention und Intentionalitat in der Scholastik, bei Brentano\n und Husserl},\n indexsorttitle= {Intention und Intentionalitat in der Scholastik, bei Brentano\n und Husserl},\n shorttitle = {Intention und Intentionalit{\\\"a}t},\n annotation = {An \\texttt{article} entry. Note the \\texttt{sorttitle} and\n \\texttt{indexsorttitle} fields and the markup of the quotes in\n the database file},\n}\"#)" --- diff --git a/src/syntax/mod.rs b/src/syntax.rs similarity index 100% rename from src/syntax/mod.rs rename to src/syntax.rs diff --git a/src/syntax/bibtex/mod.rs b/src/syntax/bibtex.rs similarity index 100% rename from src/syntax/bibtex/mod.rs rename to src/syntax/bibtex.rs diff --git a/src/syntax/latex/mod.rs b/src/syntax/latex.rs similarity index 100% rename from src/syntax/latex/mod.rs rename to src/syntax/latex.rs diff --git a/src/syntax/latex/analysis/mod.rs b/src/syntax/latex/analysis.rs similarity index 100% rename from src/syntax/latex/analysis/mod.rs rename to src/syntax/latex/analysis.rs