Ask LibreOffice - RSS feedhttps://ask.libreoffice.org/en/questions/Questions and answers for LibreOfficeenSun, 12 May 2019 17:19:19 +0200Management of figures in LO Writerhttps://ask.libreoffice.org/en/question/193573/management-of-figures-in-lo-writer/I would like to know if it is possible to achieve a management of figure close to what Latex do, I mean, always considering the insertion point as reference:
1. If there is space, figure is moved to the top of the page text area
2. If there is no space on top, figure is moved to the bottom of the text area
3. If still there is no place, figure is moved to the following page
4. If *still* there is no place, figure gets its own page, as close as possible to the insertion pointJoseRSun, 12 May 2019 17:19:19 +0200https://ask.libreoffice.org/en/question/193573/Syntax trees in LibreOffice?https://ask.libreoffice.org/en/question/187580/syntax-trees-in-libreoffice/Hi,
I am contemplating switching my wife from LaTeX to LO for her linguistic work, and the problem are syntax trees. I know about https://youtu.be/Y51oHerAKvs but does anybody know about some macro or something which would generate such tree from some simple text input (in principle similar to equations generated from TeX syntax)?
The ideal standard is the LaTeX package [covington](http://ftp.cvut.cz/tex-archive/macros/latex/contrib/covington/covington.pdf), but I am willing to settle even for something less. Making trees in Draw by hand seems to me however really too much work.mceplWed, 20 Mar 2019 11:28:40 +0100https://ask.libreoffice.org/en/question/187580/Is it possible to use figures exported from LibreOffice draw with pstool in LaTeX documents?https://ask.libreoffice.org/en/question/179852/is-it-possible-to-use-figures-exported-from-libreoffice-draw-with-pstool-in-latex-documents/I have a relatively complex diagram created in LibreOffice Draw (I use that tool, because it has a very nice implementation of connectors automatically adapting to moving objects).
I attach the simplified ODG drawing that shows the problem: [C:\fakepath\trial.odg](/upfiles/15478108707818467.odg)
I need to use it in my LaTeX document, but I also need to replace some text placeholders in the diagram with LaTeX generated text. I wanted, as usual, to use pstool for that task. The minimized LaTeX document showing the problem is as follows:
\documentclass{article}
\usepackage{pstool}
\usepackage{hyperref}
\begin{document}
\psfragfig*{trial}{
\psfrag{sec:b1}{See section ~\ref{sec:bl1}}
\psfrag{sec:b2_long_placeholder}{See section ~\ref{sec:bl2}}
\psfrag{eq1}{{\Huge $y=x^{z^v}$}}
}
Some random text before the section.
\pagebreak
\section{Block 1}
\label{sec:bl1}
Here should be description of the block 1.
\pagebreak
\section{Block 2}
\label{sec:bl2}
Here should be description of the block 2.
\end{document}
When I export the diagram to the EPS file with:
lodraw --headless --convert-to eps trial.odg
I get the EPS file with all the text "dissolved". It seems that the export filter converts all the strings into single characters or even splines.
When I later process it with:
latex --sheel-escape test.tex
latex --sheel-escape test.tex
dvipdf test.dvi
I get the "placeholders" not replaced:
![Incorrectly processed image](/upfiles/15478113679050027.png)
I have managed to partially solve the problem by exporting the diagram first in the SVG format, and then converting it to EPS:
lodraw --headless --convert-to svg trial.odg
inkscape -z -Etrial.eps -f trial.svg
latex --sheel-escape test.tex
latex --sheel-escape test.tex
dvipdf test.dvi
However, that solution is also not foolproof. For example the placeholder "sec:b2_long_placeholder" was converted to "(sec:b2_lon)-3(g_place)-3(holder)" instead of just "(sec:b2_long_placeholder)". It seems that short placeholders are converted correctly, but longer ones are broken:
![Partially correctly processed image](/upfiles/15478114025373285.png)
Is it possible to mark selected strings as "protected" so that they will be passed untouched into EPS file so that they can be used with pstool?WZabFri, 18 Jan 2019 12:38:21 +0100https://ask.libreoffice.org/en/question/179852/Possible to use LaTeX symbol fonts in math formulas?https://ask.libreoffice.org/en/question/71565/possible-to-use-latex-symbol-fonts-in-math-formulas/ Hey All,
I currently have the entire 2015 TeXLive distribution installed on my linux system, along with the libreoffice 5.1 suite. I use libreoffice draw to create figures, some of which contain math formulas. I'd really like to have the math symbols look similar/identical to the rest of the document.
I've been able to access the main formula fonts by symbolic-linking to all the font files in the TeXLive installation under my ~/.fonts directory, then editing the pull-down selections in the Characters->Fonts dialogue widget while in formula mode. It looks pretty darn good for those characters that actually get affected, such as English alphabet characters. Unfortunately, that isn't the case for symbols, such as Greek letters, which continue to default to OpenSymbol.
I did several web searches, with many different search phrases, but have not found the answer anywhere. Is this an font naming or encoding issue? Is there any workaround that will allow me to do what I'm trying to do?
Many thanks!
cheers,
john
jrredhoMon, 13 Jun 2016 19:04:54 +0200https://ask.libreoffice.org/en/question/71565/problem with converting to latexhttps://ask.libreoffice.org/en/question/153887/problem-with-converting-to-latex/I 'm trying to convert a greek document (with mathematics symbols) to latex with **writer2latex**.
As you can see I have installed **writer2latex**.
*https://cl.ly/2k1s0H07200j*
Also **JRE** is OK.
*https://cl.ly/1d0s0D3l3y2u*
But, when I choose to export, a **error** notice appears:
> save of the document *βασικά γεωμετρικά σχήματα (π)*:
> general error
> general error import/export
*https://cl.ly/1P450C1X0Z2s*
**How can I fix it?**
Thank's for your time!Kostas KoudasThu, 03 May 2018 12:14:11 +0200https://ask.libreoffice.org/en/question/153887/How can I import web page content that mixes text with math into Writer?https://ask.libreoffice.org/en/question/149288/how-can-i-import-web-page-content-that-mixes-text-with-math-into-writer/ I frequently wish to copy short snippets or longer passages from web pages that include standard html text interspursed with mathematics, most often in latex rendered by MathJax, but occasionally in mathML. Is there any way to do this without having to separately hand cut out each instance of math and past it into the math editor? In other word, is there any way to get Writer to recognise embedded math and import it directly along with the html? Ideally, I would like math that is rendered latex to be imported as latex, so I could edit it; with MathML editing is such a pain that I don't think that is so important (unless, of course, it could be converted to latex).AHoernerThu, 15 Mar 2018 09:45:25 +0100https://ask.libreoffice.org/en/question/149288/Add images via file links onlyhttps://ask.libreoffice.org/en/question/145340/add-images-via-file-links-only/For the sake of colaboration, I have to convert my `.tex` and `.md` *(Markdown)* reports to `.odt` or `.docx`. And while in both former formats you can (or acutally *must*) use a link to add an image (or table...), I wondered if something like this is possible in LO. So I searched around this forum but couldn't find anything. What I found is that there you can (manually) insert file links and/or file links to images which are not included in the document itself but externally. That's not what I want.
So, is there a way to add an external file just with a link (in plain text) and *without* any gui/manual interaction? If so, I would just replace my `tex`-commands with the appropriate command of LO. If not, does any alternative come to mind? Otherwise, this would be so much work, especially because I have to convert all my `pdf` images to other formats as well :/
*(I guess I don't need to give an example on how this works, since all the answers/questions here are written in `md` as well...)*
I'm currently on `Ubuntu 16.04`, `LO 5.1.6.2` and working with `.odt` / `.docx`.bampheMon, 05 Feb 2018 21:21:53 +0100https://ask.libreoffice.org/en/question/145340/Is it possible to export LibreOffice .odt as Latex?https://ask.libreoffice.org/en/question/92551/is-it-possible-to-export-libreoffice-odt-as-latex/ Hi,
Is it possible to export LibreOffice .odt as .tex format? How do I do it?PistachioTue, 11 Apr 2017 16:33:25 +0200https://ask.libreoffice.org/en/question/92551/Use LaTex syntax in Writer's formula editor?https://ask.libreoffice.org/en/question/58611/use-latex-syntax-in-writers-formula-editor/Dear All.
I have been a happy Writer user (version 5.0.2.2, in Linux Mint 17.1), the formula support is great and beautiful. Just a quick question.
Is there a way I can copy & paste math formula in latex into Writer's formula editor?
Yeah, the reason for this is being lazy, suppose I want to prepare a handout on finite difference method, many formulas on this topic are available on Wikipedia page https://en.wikipedia.org/wiki/Finite_difference, and the format is latex (right click -> inspect element). If Writer can understand them directly, then preparing the document would be much faster!
This does not work by default, as Writer uses a different grammar for formula, but could there be a workaround?TaoziSat, 03 Oct 2015 21:09:31 +0200https://ask.libreoffice.org/en/question/58611/calc - export sheet section as latex tabularhttps://ask.libreoffice.org/en/question/81421/calc-export-sheet-section-as-latex-tabular/Any way to export part of a sheet as a latex tabular? DiesNutsTue, 08 Nov 2016 12:56:27 +0100https://ask.libreoffice.org/en/question/81421/Large Math Intersection or Union Symbols From LaTeXhttps://ask.libreoffice.org/en/question/7167/large-math-intersection-or-union-symbols-from-latex/Does anyone know if there is a feature in LibreOffice Math that enables the symbols to be rendered similar to the following tags used in LaTeX?:
[[math]]<br>
\bigcap_{n=1}^{10}A_{n}<br>
[[/math]]
and
[[math]]<br>
\bigcup_{n=1}^{10}A_{n}<br>
[[/math]]
Thank you!
Robert
p.s. The LaTeX code above should be on three separate lines ... they are merging in this description. Don't know how to avoid that text flow ... sorry. [[ and \ - backslash start new lines.
LaTeX rendered symbols down the page: [ref](http://math201s09.wikidot.com/latex "reference")rhdinahFri, 26 Oct 2012 00:57:26 +0200https://ask.libreoffice.org/en/question/7167/Why does an image in Impress revert its transparency?https://ask.libreoffice.org/en/question/57832/why-does-an-image-in-impress-revert-its-transparency/I'm using the TexMaths plugin for Impress to make nice equations using Latex. The plugin generates an image of the equaiton. The image is generated with a default transparency gradient of "Linear," which is irritating, but can easily be corrected to "None." However, after saving and reopening the file, the images that were created with the TexMaths plugin have their transparencies reverted back to "Linear," which is, well, wrong.
Is it possible to fix this? I don't know if the problem lies with Impress or the plugin or somewhere else.InformationEntropyWed, 16 Sep 2015 14:32:16 +0200https://ask.libreoffice.org/en/question/57832/Can we set up a shortcut for compiling latex in writer?https://ask.libreoffice.org/en/question/39312/can-we-set-up-a-shortcut-for-compiling-latex-in-writer/In using TexMaths in LibreOffice, we have a small screen for us to type in latex codes. And to make it displayed we need to click the button "Latex".
Is there any keyboard shortcut for running latex instead of clicking it by mouse?
Much appreciatedbrianchouThu, 04 Sep 2014 01:19:56 +0200https://ask.libreoffice.org/en/question/39312/Can I use latex formulas to typeset axis labels in Calc charts?https://ask.libreoffice.org/en/question/36874/can-i-use-latex-formulas-to-typeset-axis-labels-in-calc-charts/Is it possible to enter the axis labels in calc diagrams as latex formulas? If so, how to do it?studentSun, 13 Jul 2014 11:10:55 +0200https://ask.libreoffice.org/en/question/36874/How to make the table of contents look beautiful?https://ask.libreoffice.org/en/question/34293/how-to-make-the-table-of-contents-look-beautiful/How do you format your table of contents to get the output of the LaTeX [Classic Thesis package](http://www.ctan.org/tex-archive/macros/latex/contrib/classicthesis/)?
![image description](/upfiles/1400658258484914.png)lonoobWed, 21 May 2014 09:45:48 +0200https://ask.libreoffice.org/en/question/34293/How do you put the Heading number on the right side?https://ask.libreoffice.org/en/question/33179/how-do-you-put-the-heading-number-on-the-right-side/I can't find a way to put a large chapter number on the right side of the heading. Here's a an example from the LaTeX [Classic Thesis package](http://www.ctan.org/tex-archive/macros/latex/contrib/classicthesis/):
![image description](/upfiles/14001398936343827.png)
This is what I am looking for. It **should** be fairly simple...
**Can this be done in Writer without using a hack?**
lonoobSat, 26 Apr 2014 11:12:33 +0200https://ask.libreoffice.org/en/question/33179/Set font size of impress equations out of equation editorhttps://ask.libreoffice.org/en/question/20443/set-font-size-of-impress-equations-out-of-equation-editor/This is more like a suggestion than a question.
As I understand, it's a choice of the developers not to allow us to resize the equations via edge click-and-drag, right? Instead, they want us to open the equation editor and change the font size there.
This makes some sense when one think about consistency, so it is easy to keep all equations with the same font size. However, in practice it is quite annoying. Specially when you are still trying to decide which font size to use for the equations.
So I would like suggest that the font size of the equations should be controlled by the font menu of the main application, and by the font size bar. No need to open equation editor for this!
Also, official Latex support would be awesome!
Best,
GersonGersonJFerreiraThu, 18 Jul 2013 22:26:53 +0200https://ask.libreoffice.org/en/question/20443/shortcut of TexMaths for converting latex equation ?https://ask.libreoffice.org/en/question/21743/shortcut-of-texmaths-for-converting-latex-equation/I am transforming my latex doc into a libreoffice doc (with TexMaths ).
Is there a certain shortcut for converting latex equations ?
I want to avoid moving the cursor all the time.
HongyingFri, 23 Aug 2013 21:13:02 +0200https://ask.libreoffice.org/en/question/21743/Can I export a document to LaTeX?https://ask.libreoffice.org/en/question/395/can-i-export-a-document-to-latex/For the moment I write my documents using mostly Writer and Math. Is it possible to export those documents to the LaTeX format? Or do I have to rewrite everything from scratch in a dedicated program?AgmenorThu, 23 Feb 2012 03:25:27 +0100https://ask.libreoffice.org/en/question/395/