Some details about LaTeX export

41 views
Skip to first unread message

Danijela Popović

unread,
Feb 4, 2021, 6:07:20 PM2/4/21
to ywr...@googlegroups.com
Hi all, 
I've created a header file for my LaTeX export, but there's a little problem. I must edit the file every time before creating a PDF, since the author and title are added after the last command in my header file and that causes a problem. 
So, the last lines in my A4.txt are as this: 

\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\selectlanguage{spanish}

The problem: my name is displayed wrongly if the \selectlanguage{} command appears before it, since it contains non-spanish characters.

Is it any way to edit the order of those commands in the end .tex file?

Cheers,
Daniela

Simon Haynes

unread,
Feb 5, 2021, 3:17:42 AM2/5/21
to ywr...@googlegroups.com
You'll have to remind me - is the author & title added by the program automatically after the rest of the imported header?  Or is it part of the default header? (Can't open the code window at the moment, I'm away from that PC.)


--
You received this message because you are subscribed to the Google Groups "yWriter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ywriter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ywriter/CA%2BOxMQ_xfm2iyFheCb5%2BGv-2Q5sP0YTPMYbo2rxMjZ6-jkKq_Q%40mail.gmail.com.


--

--
Visit Spacejock Software, the home of yWriter, FCharts and more
Visit spacejock.com.au for my articles on writing and publishing novels.

Danijela Popović

unread,
Feb 5, 2021, 3:47:17 AM2/5/21
to ywr...@googlegroups.com
The author and title are added by the code, they don't appear in my header file.


Simon Haynes

unread,
Feb 5, 2021, 3:58:18 AM2/5/21
to ywr...@googlegroups.com
Okay, I'll make a note to add an option to suppress them. I'll put it under Latex options.

I have some other bugs to work on as well - but in the meantime, before you compile the latex to PDF you can cut those two lines in the code.

Reply all
Reply to author
Forward
0 new messages