Generate BibTex citations inside word doc - latex

I'm writing up my thesis which partway through I switched to RMarkdown/Zotero for reference managing. My introduction however was written in word, with the 200+ citations made using the very buggy Mendeley-Citomatic add in.
Does anyone know if it's possible to get these citations within the word doc to convert to BibTex keys? I tried updating the citation style with the add on but that hasn't seemed to converted properly i.e #Johnson-2019
Once I have the keys in word, I can convert the doc to markdown with pandoc. I previously exported BibTex keys from my mendely db to zotero - Rmarkdown. So the editor should in theory be able to read it from there.
Any help, or other approaches would be much appreciated!
Mari

The latest pandoc versions have support for Zotero citations in Word, and I believe that Mendeley uses the same format. It should therefore be possible to generate a Markdown file by running
pandoc --output=intro.md --standalone --from=docx+citations intro.docx
which should make it much easier to work with the document. You can also generate a new BibLaTeX from that with
pandoc --to=biblatex --output=refs.bib intro.md

Related

changing the citation style in LateX

I am very new to LaTex so my question may be really naive. I am writing my PhD thesis using this template. The problem is that I need to change the citation style so that it based on author year not numbers as in the template. I tried many times but it always fails with many error messages due to the macros of the template.
It will be a great help to guide me how to change the style. Unfortunately I have only limited time to finalize the thesis.
Thank you in advance.
I reviewed the documentation of biblatex and found that the answer is very easy. One should make sure that the option style in the package biblatex is set to authoryear as style = authoryear,.
To enable the natbib Compatibility (to use \citep and \citet etc), you have to add natbib=true,.

plantUML in latex?

Is it possible to use plantUML inside a latex document?
One workaround would be to convert plantUML into tikzpicture and integrate it in the latex document. That seems a bit too much effort to me, especially with updates.
I am using overleaf and TeXiFy, the document generation should work on both latex editors.
If a direct integration is possible, I would like to see an example.
thanks

tex programming

can some one help m from where and how i will i learn the tex programming
because i have to make package which i will use in miktex
If you are really determined, the book by the original author of TeX itself is a great source: http://www.ctex.org/documents/shredder/src/texbook.pdf . (I wonder if this is a legal copy but found as the first hit on Google.)
Package writing is generally where the most arcane features of the TeX language are most heavily exercised. Writing a package should not be the first thing you do with (La)TeX!
Writing this in 2018, I would suggest that you start with learning XeLaTeX and the fontspec package. That can save you a whole bunch of grief w.r.t. text encodings and fonts.
If you have specific questions, head over to https://tex.stackexchange.com/.

About latex formulas in doxygen

Every time I need to copy a latex paragraph and put it in my source code as a doxygen documentation, I need to put a \f next to each $ and do other modifications.
Isn't there an easier way to tell doxygen that this whole paragraph contains only latex and thus should be fully interpreted as latex code?
Thanks in advance.
It appears not to be possible to include LaTeX format .tex files directly. Depending on the complexity of the LaTeX files, a possibility would be to write a script which makes the required modifications. Related questions that give further background and suggestions are How to include LaTeX snippets directly in Doxygen comments and Including LaTeX documentation as comments in source code. Please come back and answer if you find a good solution to this problem.

How to integrate Sphinx-generated Latex code in existing Latex documents?

I've used Sphinx to document a Python library. So far this works great, I get nice HTML and LaTeX output. Concerning Latex, Sphinx generates a complete standalone document with lots of special packages and configurations.
But, I would like to integrate the generated Latex files within an already existing Latex project (more precise: in the appendix of a book). In particular I want the Sphinx-generated documentation pages to have the header, footer and section heading styles of the parent document. I guess I could somehow transfer the relevant parts by manually removing unneeded stuff and adjusting various options in the tex files generated by Sphinx. However, probably this is going to be a very tedious fiddling taking too much of my time (thinking of conflicting packages and options I have to detect and fix).
Does Sphinx' Latex-Builder support such a use case? If not, is there a more general approach how to merge independent Latex-documents?
Thanks for any hints!
It seems there is no generally valid answer to this question. I've asked this question on the sphinx mailing list and received an answer which basically says one has to manually extract and partly convert the relevant parts of the latex code generated by sphinx - a less expensive solution does not yet exist.

Resources