question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Various Biblatex files aren't marked as LaTeX style files.

See original GitHub issue

Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version

Dump of about page:

IntelliJ IDEA 2020.3.2 (Ultimate Edition)
Build #IU-203.7148.57, built on January 25, 2021
Licensed to Will Free
Subscription is active until November 26, 2021.
For educational use only.
Runtime version: 11.0.9.1+11-b1145.77 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.11.2-arch1-1
GC: ParNew, ConcurrentMarkSweep
Memory: 2988M
Cores: 12
Registry: ide.balloon.shadow.size=0
Non-Bundled Plugins: Batch Scripts Support, CMD Support, Key Promoter X, Statistic, com.floobits.unique.plugin.id, com.fwdekker.randomness, com.github.b3er.idea.plugins.arc.browser, com.intellij.ideolog, com.intellij.plugins.kdekeymap, com.ultrahob.zerolength.plugin, com.wakatime.intellij.plugin, io.github.fatihbozik.intellij-license-generator, net.codestats.plugin.atom.intellij, net.seesharpsoft.intellij.plugins.csv, one.util.ideaplugin.screenshoter, org.antlr.intellij.plugin, com.almightyalpaca.intellij.plugins.discord, mobi.hsz.idea.gitignore, Builder Generator, CheckStyle-IDEA, EclipseCodeFormatter, com.ripstech.intellij, String Manipulation, com.godwin.json.parser, net.javaru.idea.frc, org.github.otanikotani.checks-plugin, com.jetbrains.codeWithMe, org.sonarlint.idea, com.demonwav.minecraft-dev, com.hotswap.agent.plugin, org.jetbrains.kotlin, com.github.shiraji.yaemoji, zielu.gittoolbox, com.intellij.lang.jsgraphql, izhangzhihao.rainbow.brackets, nl.rubensten.texifyidea, com.jetbrains.plugins.ini4idea, com.jetbrains.nim
Current Desktop: KDE

Operating System

Arch Linux x86_64 5.11.2-arch1-1

TeXiFy IDEA version

I’m currently running 0.7.3, but I made sure to search through the repo and could not find anything with the queries biblatex-dm.cfg or cbx, so they haven’t been added in new updates.

What I did (steps to reproduce)

  1. Create file biblatex-dm.cfg.
  2. Open file in intellij.
  3. It is not detected as a LaTeX style file.

Minimal example to reproduce the problem

Just make a file called biblatex-dm.cfg and past in some garbage data (garbage because it doesn’t really matter) like this:

% Declare romanised and english fields
\DeclareDatamodelFields[type=field, datatype=literal]{author_romanised}
\DeclareDatamodelFields[type=field, datatype=literal]{series_romanised}
\DeclareDatamodelFields[type=field, datatype=literal]{title_romanised}
\DeclareDatamodelFields[type=field, datatype=literal]{author_english}
\DeclareDatamodelFields[type=field, datatype=literal]{series_english}
\DeclareDatamodelFields[type=field, datatype=literal]{title_english}

%Fields should be now assigned relevant entry types, but it seems not to be actually needed...
%I'm putting it there anyways.
\DeclareDatamodelEntryfields{author_romanised, series_romanised, title_romanised}
\DeclareDatamodelEntryfields{author_english, series_english, title_english}

When opening this file in intellij, it will not be detected as a LaTeX style file.

In addition, make a .cbx file and put stuff in it (again, doesn’t matter what. Just make it a valid citation style file for biblatex.

Expected behavior

biblatex-dm.cfg should be marked as a LaTeX style file, along with any *.cbx files.

Actual behavior

They’re not marked, even though biblatex.cfg is marked.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
PHPiratescommented, Mar 10, 2021

I’m pretty sure I have missed some more extensions, but I still haven’t yet completely read through the whole LaTeX Companion to find them 😆 Fortunately we have some helpful users like you to find those.

0reactions
solonovamaxcommented, Mar 10, 2021

I’m pretty sure I have missed some more extensions, but I still haven’t yet completely read through the whole LaTeX Companion to find them 😆

I should probably read through that at some point…

I was just hacking away at some shit because I need to cite an anime in an english paper and I want to print the english and the Japanese names, while still using the romanised (english) names.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BibTeX isn't working; my \cite are showing up as question ...
An online LaTeX editor that's easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.
Read more >
Cite not working, showing question mark - TeX
you need to tell LaTeX, where your .bib file is, compile the .bib file with bibtex and then compile the .tex file twice...
Read more >
The biblatex-chicago package: Style files for biblatex - CTAN
and if they aren't biblatex-chicago does it for you. ... In all styles, punctuation is placed within quotation marks when needed, and.
Read more >
Latex submission guidelines - AGU
Run BibTeX on your LaTeX file. 3. Open the newly created .bbl file containing the reference list and copy all of the contents...
Read more >
Using BibTeX: a short guide - Toronto: Economics
BibTeX automates most of the work involved in managing references for use in LaTeX files. You need to type each reference only once,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found