Latex za izvoze: IZVOZ-73: Pri PDF izpisu ne deluje data piping: ureditev pravilnega izpisa odgovora pri praznem vprasalniku
This commit is contained in:
parent
b1d8c18dd0
commit
617e70a6a6
@ -906,7 +906,12 @@ class LatexSurveyElement{
|
|||||||
//$text = str_replace('{','\{',$text);
|
//$text = str_replace('{','\{',$text);
|
||||||
//$text = str_replace('}','\}',$text);
|
//$text = str_replace('}','\}',$text);
|
||||||
$text = str_replace('$','\$ ',$text);
|
$text = str_replace('$','\$ ',$text);
|
||||||
$text = str_replace('#','\# ',$text);
|
|
||||||
|
if(substr_count($text, '#')){ //ce je stevilo # vecje od 1
|
||||||
|
$text = str_replace('#','\#',$text);
|
||||||
|
}else{
|
||||||
|
$text = str_replace('#','\# ',$text);
|
||||||
|
}
|
||||||
$text = str_replace('%','\% ',$text);
|
$text = str_replace('%','\% ',$text);
|
||||||
$text = str_replace('€','\euro',$text);
|
$text = str_replace('€','\euro',$text);
|
||||||
$text = str_replace('^','\textasciicircum{} ',$text);
|
$text = str_replace('^','\textasciicircum{} ',$text);
|
||||||
@ -923,7 +928,7 @@ class LatexSurveyElement{
|
|||||||
//$text = str_replace('>','\textgreater ',$text);
|
//$text = str_replace('>','\textgreater ',$text);
|
||||||
$text = str_replace('>',' \textgreater ',$text);
|
$text = str_replace('>',' \textgreater ',$text);
|
||||||
//ureditev posebnih karakterjev za Latex - konec
|
//ureditev posebnih karakterjev za Latex - konec
|
||||||
|
|
||||||
//ureditev grskih crk
|
//ureditev grskih crk
|
||||||
$text = str_replace('α','\textalpha ',$text);
|
$text = str_replace('α','\textalpha ',$text);
|
||||||
$text = str_replace('β','\textbeta ',$text);
|
$text = str_replace('β','\textbeta ',$text);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user