SQL-Ledger Homepage

SQL-Ledger User Forum

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Apache 2.4 and latex / PDF Output (General)

posted by Dieter Simader(R), 02.04.2016, 19:20

Hello,

I'm using SQL Ledger since 2008 as we started our company. We are an
Austrian company and so we have to deal with some special Characters like
" " - until last week everything worked perfect with SQL Ledger 3.0.5.
Last week we upgraded apache from 2.2 to 2.4 - in the vhost.conf we added
"AddDefaultCharset On" so that we can see this special Characters in the
webgui of SQL Ledger - but when we print an invoice to PDF these special
characters are gone - instead of them nothing is printed.
Database is UTF8 encoded - on PHPPGADMIN everything shows as it is supposed
to do. Only PDF output seems to be broken.

If we change the tex template header from "\usepackage[utf8]{inputenc}" to
"\usepackage[latin1]{inputenc}" the special characters are displayed
correct, but the fixed text of the template gets destroyed.

How can we correct this behaviour? We do not want to convert all Latex
templates to latin1 as we want to do our work in UTF8.

Any tip or trick? At the moment I'm a bit confused, beccause database is
UTF8 and Latex PDF output will work with latin1...

Maybe an update to SQL Ledger 3.2.0 can solve this problem?

By the way: our fixed texts with special characters in the webfrontend are
also a problem since upgrading apache from 2.2 to 2.4 - maybe SQL Ledger
3.2.0 will fix this also?

Thank you for answering this post and I have to say: SQL Ledger is really
great work.

Andreas

use xelatex instead of pdflatex

Edit Form.pm and change

system("pdflatex --interaction=nonstopmode $self->{tmpfile} > $self->{errfile}");

to

system("xelatex --interaction=nonstopmode $self->{tmpfile} > $self->{errfile}");

 

Complete thread:

Back to the forum
Board view  Mix view
986 Postings in 325 Threads, 327 registered users, 106 users online (0 registered, 106 guests)
SQL-Ledger User Forum | Admin contact
RSS-Feed
powered by my little forum