[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any objection to releasing LedgerSMB 1.3.28tomorrow?



 
 Hi,
 

In my system the new xedemo templates broken due to the new font, or due to that, I have the recent debian wheezy system (upgraded today, 13th of Jan.), including several *tex* related packages. I got the error below. Workaround at the end. I installed all packages named liberation before, so, I am sure, the font is ok.

Error!

latex error - pdflatex exited with errors:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "Liberation" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H .
!...............................................
l.5 \setmainfont[]{Liberation}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "Liberation" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H .
!...............................................
l.5 \setmainfont[]{Liberation}
! Font EU1/Liberation(0)/m/n/10=Liberation: at 10.0pt not loadable: Metric (TFM
l.5 \setmainfont[]{Liberation}
! Font EU1/Liberation(0)/m/n/10.95=Liberation: at 10.95pt not loadable: Metric
l.10 \begin{document}
! Font EU1/Liberation(0)/m/n/6=Liberation: at 6.0pt not loadable: Metric (TFM)
l.25 }
! Font EU1/Liberation(0)/m/n/8=Liberation: at 8.0pt not loadable: Metric (TFM)
l.25 }
! Font EU1/Liberation(0)/bx/n/10.95=Liberation: at 10.95pt not loadable: Metric
l.101 }

--------------------------------------

I got it work in the following way:

Here is the tex code snippet:

<?lsmb FILTER latex -?>
\documentclass{scrartcl}
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{fontspec} \setmainfont[]{LiberationSerif-Regular.ttf}
\usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
\usepackage{graphicx}
\setlength\LTleft{0pt}
\setlength\LTright{0pt}
\begin{document}

Best regards,

István