Comments (6)
The latexcodec
documentation states that it isn't complete. I suppose all we can do is identify the problems and add them to the replacement dictionary manually, or report them to the package developers.
I will add these two, and check a few others of similar type.
from novelwriter.
I've found a workaround. If the intention is to export to LaTeX then the writer can simply insert the LaTeX code for the symbols they want. So:
- PI can be presented as
$\pi$ - RIGHTARROW can be represented as
$\rightarrow$
novelWriter already passes the LaTeX codes directly into the LaTeX output file where it will present correctly when converted to PDF. I'm a Gummi fan and this worked for me.
from novelwriter.
Yes, the latexcodec
package leaves already correct LaTeX formatted text alone.
Only paragraphs and heading text is encoded with this package though, but this is certainly a workable solution if LaTeX is the only export used. I will add it to the documentation.
from novelwriter.
Comment.
Writers that include LaTeX in their novels are probably a rare breed and will know how to handle problems they encounter using it in novelWriter.
For example. I created a LaTeX math formula that contained subscripts like this:
$$f(x)=a_{0}+a_{1}x$$
but on exporting this with novelWriter the subscript character _
found itself escaped as \_
in the .tex
export file. The workaround is to instead use the \sb
LaTeX syntax:
$$f(x)=a\sb{0}+a\sb{1}x$$
from novelwriter.
Yeah, that's far beyond what is intended usage of novelWriter. It's for writing plain text. The LaTeX export is only intended for generating PDFs of plain text quickly.
from novelwriter.
LaTeX export will not be included in the new Project Build Tool, and the current Export tool will be removed. This issue will therefore not be addressed. Closing it.
from novelwriter.
Related Issues (20)
- Tag description feature
- Add "summary" to the insert menu
- Add importance flag value to the viewer panel
- Auto-select word under cursor doesn't work for apostrophe
- Edit and View buttons in the References widget HOT 4
- Labels should toggle their button HOT 3
- Format menu options should respect Markdown/Shortcodes mode HOT 2
- Visually separate the Markdown/Shortcodes toggle button HOT 1
- AltGr inputs for the top number row don't work in EU keyboards HOT 4
- novelWritter 2.1.1 doesn't work on a MacBook Pro with 10.6.8 HOT 10
- Upgrade from 2.1 to 2.2 using Deb package doesn't seem to work properly. HOT 4
- Events. @event, or a @goal keyword HOT 12
- Unexpectedly switching to Novel Tree View after adding a new root folder HOT 3
- Flatpak
- Filter out tags from inactive notes in tags and references panel
- Drop novel title setting
- Word and character counts for Chinese HOT 29
- Input method candidate box obscures text HOT 4
- Add option to centre chapter headers HOT 1
- Preferences Issue - "Highlight Text Wrapped In Quotes" and "Add Highlight Color To EmphaisizedText] Not highlighting text
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from novelwriter.