| Summary: | Latex doesn't work | ||
|---|---|---|---|
| Product: | [Applications] LabPlot2 | Reporter: | rogier.delporte |
| Component: | frontend | Assignee: | Alexander Semke <alexander.semke> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | latest | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
text box goes red, no tex font selector is available
DontPushTexButton_YesFontSelector PushTexButton_noFontSelector |
||
I had the same problem on openSUSE. The root cause was the restrictive ImageMagic's policy.xml (s.a. https://stackoverflow.com/questions/42928765/convertnot-authorized-aaaa-error-constitute-c-readimage-453). Can you please check whether adding WRITE privilege for ps and eps files solves the problem for you? I don't think that's the problem, since I can easily execute the following command:
convert a.tif a.pdf
Also, there is nothing in my /etc/ImageMagick-6/policy.xml file about PDF's.
When I start LabPlot 2 from terminal and do the steps above, the last thing that pops onto my console is:
"0 instead of 1 arguments to message {%1: set label text} supplied before conversion."
teXRenderSuccessful =0
Also, when I start up the program, I get the following messages on my terminal:
AppDataLocation paths = ("/home/rtdlport/.local/share/labplot2", "/usr/share/ubuntu/labplot2", "/usr/local/share/labplot2", "/usr/share/labplot2", "/var/lib/snapd/desktop/labplot2")
Icon theme search paths = ("/usr/share/icons", ":/icons")
Invalid Context= "Apps" line for icon theme: "/usr/share/icons/Yaru/256x256@2x/apps/"
Invalid Context= "Mimetypes" line for icon theme: "/usr/share/icons/Yaru/256x256@2x/mimetypes/"
Invalid Context= "Mimetypes" line for icon theme: "/usr/share/icons/Yaru/scalable/mimetypes
I also checked all those paths mentioned at the start and only "usr/share/labplot2" exists. I have no idea whether or not this has anything to do with it.
Also note in my screenshot that the font selector disappears when I push the TeX button. I tried the same steps on my laptop at home and it wasn't a problem there and the font selector also did not disappear. I think that somehow LaTeX doesn't get handed a font and hence fails.
I have also tried adding the following lines to /etc/ImageMagick-6/policy.xml: <policy domain="coder" rights="read|write" pattern="PDF" /> <policy domain="coder" rights="read|write" pattern="LABEL" /> and then rebooted and it still made zero difference. (In reply to rogier.delporte from comment #3) > I have also tried adding the following lines to > /etc/ImageMagick-6/policy.xml: > > <policy domain="coder" rights="read|write" pattern="PDF" /> > <policy domain="coder" rights="read|write" pattern="LABEL" /> > > and then rebooted and it still made zero difference. Do you ask LabPlot to use latex or pdflatex? This is a configuration parameter in LabPlot's settings dialog. In case you use latex, the rendering path is like tex->dvi->eps->png->show in LabPlot. Can you please add write for EPS, too? Or alternatively switch to pdflatex to check the root cause? The messages you see on startup can be ignored. The output about AppDataLocation is for debug purposes. The message about the invalid context are coming from the icon engine - there seem to be an issues with the Yuru iconset you're using. But this doesn't affect anything. Created attachment 118706 [details]
DontPushTexButton_YesFontSelector
Created attachment 118707 [details]
PushTexButton_noFontSelector
I tried adding the EPS-line to /etc/ImageMagick-6/policy.xml, so the end of the file looks like: <policy domain="coder" rights="read|write" pattern="PDF" /> <policy domain="coder" rights="read|write" pattern="EPS" /> <policy domain="coder" rights="read|write" pattern="LABEL" /> And it still made no difference. I've also tried switching to pdflatex and lualatex and it makes no difference. I'm quite certain that the font selector vanishing (see screenshots) has something to do with the problem. I've messed around with my Qt settings and icons, deleted ~/.config/labplot2rc, installed cantor and uninstalled libqtexengine1 and then I reinstalled labplot and now the font selector does appear, but the problem with latex still persists, so it might still be the imagemagick issue after all. (In reply to rogier.delporte from comment #8) > I've messed around with my Qt settings and icons, deleted > ~/.config/labplot2rc, installed cantor and uninstalled libqtexengine1 and > then I reinstalled labplot and now the font selector does appear, but the > problem with latex still persists, so it might still be the imagemagick > issue after all. correction: the font selector only appears when I set the typesetting engine to lualatex, which came about by deleting the ~/.config/labplot2rc file. I've found the location of the LaTeX log files, LuaLaTeX gives the following log file:
This is LuaTeX, Version 1.07.0 (TeX Live 2019/dev/Debian) (format=lualatex 2019.1.14) 11 MAR 2019 14:05
restricted system commands enabled.
**/dev/shm/labplot_DKssaL.tex
(/dev/shm/labplot_DKssaL.tex
LaTeX2e <2018-04-01> patch level 5
Lua module: luaotfload-main 2017/01/29 2.80001 OpenType layout system.
Lua module: lualibs 2017-02-01 2.5 ConTeXt Lua standard libraries.
Lua module: lualibs-extended 2017-02-01 2.5 ConTeXt Lua libraries -- extended co
llection.(using write cache: /home/rtdlport/.texlive2018/texmf-var/luatex-cache/
generic)(using read cache: /var/lib/texmf/luatex-cache/generic /home/rtdlport/.t
exlive2018/texmf-var/luatex-cache/generic)
luaotfload | conf : Root cache directory is /home/rtdlport/.texlive2018/texmf-va
r/luatex-cache/generic/names.
luaotfload | init : Loading fontloader “fontloader-2017-02-11.lua” from kpse
-resolved path “/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/fontloader
-2017-02-11.lua”.
Lua-only attribute luaotfload@state = 1
Lua-only attribute luaotfload@noligature = 2
Lua-only attribute luaotfload@syllabe = 3
luaotfload | init : Context OpenType loader version “3.027”
Inserting `luaotfload.node_processor' at position 1 in `pre_linebreak_filter'.
Inserting `luaotfload.node_processor' at position 1 in `hpack_filter'.
Inserting `luaotfload.define_font' at position 1 in `define_font'.
Lua-only attribute luaotfload_color_attribute = 4
luaotfload | conf : Root cache directory is /home/rtdlport/.texlive2018/texmf-va
r/luatex-cache/generic/names.
Inserting `luaotfload.aux.set_sscale_dimens' at position 1 in `luaotfload.patch_
font'.
Inserting `luaotfload.aux.patch_cambria_domh' at position 2 in `luaotfload.patch
_font'.
Inserting `luaotfload.aux.fixup_fontdata' at position 1 in `luaotfload.patch_fon
t_unsafe'.
Inserting `luaotfload.aux.set_capheight' at position 3 in `luaotfload.patch_font
'.
Inserting `luaotfload.rewrite_fontname' at position 4 in `luaotfload.patch_font'
.
luaotfload | main : initialization completed in 0.104 seconds (/usr/share/texli
ve/texmf-dist/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) (/usr/share/texlive/texmf-dist/tex/latex/xltxtra/xltxtra.sty
Package: xltxtra 2016/01/21 v0.6 Improvements for the "XeLaTeX" format
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX detected.
)
Package xltxtra Warning:
XLTXTRA IS TO BE USED ONLY UNDER XETEX. LOAD FONTSPEC DIRECTLY, INSTEAD.
ABORTING LOADING.
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty (/usr/share/texl
ive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty (/usr/share/texlive/texmf
-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2018-06-14 L3 programming layer (loader)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3-code.tex
Package: expl3 2018-06-14 L3 programming layer (code)
\ucharcat@table=\catcodetable5
\c_max_int=\count80
\l_tmpa_int=\count81
\l_tmpb_int=\count82
\g_tmpa_int=\count83
\g_tmpb_int=\count84
\g__kernel_prg_map_int=\count85
\c_log_iow=\count86
\l_iow_line_count_int=\count87
\l__iow_line_target_int=\count88
\l__iow_one_indent_int=\count89
\l__iow_indent_int=\count90
\c_zero_dim=\dimen102
\c_max_dim=\dimen103
\l_tmpa_dim=\dimen104
\l_tmpb_dim=\dimen105
\g_tmpa_dim=\dimen106
\g_tmpb_dim=\dimen107
\c_zero_skip=\skip41
\c_max_skip=\skip42
\l_tmpa_skip=\skip43
\l_tmpb_skip=\skip44
\g_tmpa_skip=\skip45
\g_tmpb_skip=\skip46
\c_zero_muskip=\muskip10
\c_max_muskip=\muskip11
\l_tmpa_muskip=\muskip12
\l_tmpb_muskip=\muskip13
\g_tmpa_muskip=\muskip14
\g_tmpb_muskip=\muskip15
\l_keys_choice_int=\count91
\l__intarray_loop_int=\count92
\c__intarray_sp_dim=\dimen108
\g__intarray_font_int=\count93
\c__fp_leading_shift_int=\count94
\c__fp_middle_shift_int=\count95
\c__fp_trailing_shift_int=\count96
\c__fp_big_leading_shift_int=\count97
\c__fp_big_middle_shift_int=\count98
\c__fp_big_trailing_shift_int=\count99
\c__fp_Bigg_leading_shift_int=\count100
\c__fp_Bigg_middle_shift_int=\count101
\c__fp_Bigg_trailing_shift_int=\count102
\g__fp_array_int=\count103
\l__fp_array_loop_int=\count104
\l__sort_length_int=\count105
\l__sort_min_int=\count106
\l__sort_top_int=\count107
\l__sort_max_int=\count108
\l__sort_true_max_int=\count109
\l__sort_block_int=\count110
\l__sort_begin_int=\count111
\l__sort_end_int=\count112
\l__sort_A_int=\count113
\l__sort_B_int=\count114
\l__sort_C_int=\count115
\l__tl_analysis_normal_int=\count116
\l__tl_analysis_index_int=\count117
\l__tl_analysis_nesting_int=\count118
\l__tl_analysis_type_int=\count119
\l__regex_internal_a_int=\count120
\l__regex_internal_b_int=\count121
\l__regex_internal_c_int=\count122
\l__regex_balance_int=\count123
\l__regex_group_level_int=\count124
\l__regex_mode_int=\count125
\c__regex_cs_in_class_mode_int=\count126
\c__regex_cs_mode_int=\count127
\l__regex_catcodes_int=\count128
\l__regex_default_catcodes_int=\count129
\c__regex_catcode_L_int=\count130
\c__regex_catcode_O_int=\count131
\c__regex_catcode_A_int=\count132
\c__regex_all_catcodes_int=\count133
\l__regex_show_lines_int=\count134
\l__regex_min_state_int=\count135
\l__regex_max_state_int=\count136
\l__regex_left_state_int=\count137
\l__regex_right_state_int=\count138
\l__regex_capturing_group_int=\count139
\l__regex_min_pos_int=\count140
\l__regex_max_pos_int=\count141
\l__regex_curr_pos_int=\count142
\l__regex_start_pos_int=\count143
\l__regex_success_pos_int=\count144
\l__regex_curr_char_int=\count145
\l__regex_curr_catcode_int=\count146
\l__regex_last_char_int=\count147
\l__regex_case_changed_char_int=\count148
\l__regex_curr_state_int=\count149
\l__regex_step_int=\count150
\l__regex_min_active_int=\count151
\l__regex_max_active_int=\count152
\l__regex_replacement_csnames_int=\count153
\l__regex_match_count_int=\count154
\l__regex_min_submatch_int=\count155
\l__regex_submatch_int=\count156
\l__regex_zeroth_submatch_int=\count157
\g__regex_trace_regex_int=\count158
\c_empty_box=\box26
\l_tmpa_box=\box27
\l_tmpb_box=\box28
\g_tmpa_box=\box29
\g_tmpb_box=\box30
\l__box_top_dim=\dimen109
\l__box_bottom_dim=\dimen110
\l__box_left_dim=\dimen111
\l__box_right_dim=\dimen112
\l__box_top_new_dim=\dimen113
\l__box_bottom_new_dim=\dimen114
\l__box_left_new_dim=\dimen115
\l__box_right_new_dim=\dimen116
\l__box_internal_box=\box31
\l__coffin_internal_box=\box32
\l__coffin_internal_dim=\dimen117
\l__coffin_offset_x_dim=\dimen118
\l__coffin_offset_y_dim=\dimen119
\l__coffin_x_dim=\dimen120
\l__coffin_y_dim=\dimen121
\l__coffin_x_prime_dim=\dimen122
\l__coffin_y_prime_dim=\dimen123
\c_empty_coffin=\box33
\l__coffin_aligned_coffin=\box34
\l__coffin_aligned_internal_coffin=\box35
\l_tmpa_coffin=\box36
\l_tmpb_coffin=\box37
\l__coffin_display_coffin=\box38
\l__coffin_display_coord_coffin=\box39
\l__coffin_display_pole_coffin=\box40
\l__coffin_display_offset_dim=\dimen124
\l__coffin_display_x_dim=\dimen125
\l__coffin_display_y_dim=\dimen126
\g__file_internal_ior=\read1
\l__coffin_bounding_shift_dim=\dimen127
\l__coffin_left_corner_dim=\dimen128
\l__coffin_right_corner_dim=\dimen129
\l__coffin_bottom_corner_dim=\dimen130
\l__coffin_top_corner_dim=\dimen131
\l__coffin_scaled_total_height_dim=\dimen132
\l__coffin_scaled_width_dim=\dimen133
\l__seq_internal_a_int=\count159
\l__seq_internal_b_int=\count160
) (/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3pdfmode.def
File: l3pdfmode.def 2018-06-14 v L3 Experimental driver: PDF mode
\l__driver_color_stack_int=\count161
))
Package: xparse 2018-05-12 L3 Experimental document command parser
\l__xparse_current_arg_int=\count162
\g__xparse_grabber_int=\count163
\l__xparse_m_args_int=\count164
\l__xparse_mandatory_args_int=\count165
\l__xparse_v_nesting_int=\count166
)
Package: fontspec 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaTeX
Lua module: fontspec 2018/07/30 v2.6h Font selection for XeLaTeX and LuaLaTeX (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
Package: fontspec-luatex 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaT
eX
\l__fontspec_script_int=\count167
\l__fontspec_language_int=\count168
\l__fontspec_strnum_int=\count169
\l__fontspec_tmp_int=\count170
\l__fontspec_em_int=\count171
\l__fontspec_emdef_int=\count172
\l__fontspec_strong_int=\count173
\l__fontspec_strongdef_int=\count174
\l__fontspec_tmpa_dim=\dimen134
\l__fontspec_tmpb_dim=\dimen135
\l__fontspec_tmpc_dim=\dimen136
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2017/04/05 v2.0i Standard LaTeX package
(/usr/share/texlive/texmf-dist/tex/latex/base/tuenc.def
File: tuenc.def 2017/04/05 v2.0i Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding TU on input line 82.
)
luaotfload | db : Font names database loaded from /home/rtdlport/.texlive2018/te
xmf-var/luatex-cache/generic/names/luaotfload-names.luc(load luc: /home/rtdlport
/.texlive2018/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-regular.luc))
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \fontspec with sig. 'O{}mO{}' on line 564.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setmainfont with sig. 'O{}mO{}' on line 569.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setsansfont with sig. 'O{}mO{}' on line 574.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setmonofont with sig. 'O{}mO{}' on line 579.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setmathrm with sig. 'O{}mO{}' on line 583.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setboldmathrm with sig. 'O{}mO{}' on line 587.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setmathsf with sig. 'O{}mO{}' on line 591.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setmathtt with sig. 'O{}mO{}' on line 595.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setromanfont with sig. 'O{}mO{}' on line 599.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newfontfamily with sig. 'mO{}mO{}' on line 603.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \renewfontfamily with sig. 'mO{}mO{}' on line 607.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \setfontfamily with sig. 'mO{}mO{}' on line 611.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newfontface with sig. 'mO{}mO{}' on line 615.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \defaultfontfeatures with sig. 't+om' on line 622.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \addfontfeatures with sig. 'm' on line 626.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \addfontfeature with sig. 'm' on line 630.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newfontfeature with sig. 'mm' on line 634.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newAATfeature with sig. 'mmmm' on line 638.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newopentypefeature with sig. 'mmm' on line 642.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newICUfeature with sig. 'mmm' on line 646.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \aliasfontfeature with sig. 'mm' on line 650.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \aliasfontfeatureoption with sig. 'mmm' on line 654.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newfontscript with sig. 'mm' on line 658.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \newfontlanguage with sig. 'mm' on line 662.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \DeclareFontExtensions with sig. 'm' on line 666.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \IfFontFeatureActiveTF with sig. 'mmm' on line 670.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \EncodingCommand with sig. 'mO{}m' on line 3389.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \EncodingAccent with sig. 'mm' on line 3395.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \EncodingSymbol with sig. 'mm' on line 3401.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \EncodingComposite with sig. 'mmm' on line 3407.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \EncodingCompositeCommand with sig. 'mmm' on line 3413.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \DeclareUnicodeEncoding with sig. 'mm' on line 3438.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \UndeclareSymbol with sig. 'm' on line 3444.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \UndeclareAccent with sig. 'm' on line 3450.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \UndeclareCommand with sig. 'm' on line 3456.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \UndeclareComposite with sig. 'mm' on line 3463.
.................................................
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)
LaTeX Info: Redefining \itshape on input line 3644.
LaTeX Info: Redefining \slshape on input line 3649.
LaTeX Info: Redefining \scshape on input line 3654.
LaTeX Info: Redefining \upshape on input line 3659.
LaTeX Info: Redefining \em on input line 3689.
LaTeX Info: Redefining \emph on input line 3714.
(load luc: /home/rtdlport/.texlive2018/texmf-var/luatex-cache/generic/fonts/otl/
lmroman10-bold.luc)(load luc: /home/rtdlport/.texlive2018/texmf-var/luatex-cache
/generic/fonts/otl/lmroman10-italic.luc)
LaTeX Info: Redefining \- on input line 3768.
.................................................
. LaTeX info: "xparse/redefine-command"
.
. Redefining command \oldstylenums with sig. 'm' on line 3863.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining command \liningnums with sig. 'm' on line 3867.
.................................................
)))
luaotfload | cache : Lookup cache loaded from /home/rtdlport/.texlive2018/texmf-
var/luatex-cache/generic/names/luaotfload-lookup-cache.luc.
luaotfload | db : Reload initiated (formats: otf,ttf,ttc); reason: "Font Compute
rModern not found.".
luaotfload | resolve : sequence of 3 lookups yielded nothing appropriate.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "ComputerModern" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.1 ...Mapping=tex-text]{Computer Modern}\usepackage
{color}\usepackage[active,...
|'''''''''''''''''''''''''''''''''''''''''''''''
| A font might not be found for many reasons.
| Check the spelling, where the font is installed etc. etc.
|
| When in doubt, ask someone for help!
|...............................................
luaotfload | resolve : sequence of 3 lookups yielded nothing appropriate.
luaotfload | aux : no font with id 0
.................................................
. fontspec info: "no-scripts"
.
. Font "ComputerModern" does not contain any OpenType `Script' information.
.................................................
*************************************************
* fontspec warning: "no-mapping-ligtex"
*
* Input mapping not (yet?) supported in LuaTeX.
* Use "Ligatures=TeX" instead of "Mapping=tex-text".
*************************************************
luaotfload | resolve : sequence of 3 lookups yielded nothing appropriate.
luaotfload | resolve : sequence of 3 lookups yielded nothing appropriate.
.................................................
. fontspec info: "no-font-shape"
.
. Could not resolve font "ComputerModern/BI" (it probably doesn't exist).
.................................................
luaotfload | resolve : sequence of 3 lookups yielded nothing appropriate.
luaotfload | resolve : sequence of 3 lookups yielded nothing appropriate.
.................................................
. fontspec info: "no-font-shape"
.
. Could not resolve font "ComputerModern/B" (it probably doesn't exist).
.................................................
luaotfload | resolve : sequence of 3 lookups yielded nothing appropriate.
luaotfload | resolve : sequence of 3 lookups yielded nothing appropriate.
.................................................
. fontspec info: "no-font-shape"
.
. Could not resolve font "ComputerModern/I" (it probably doesn't exist).
.................................................
luaotfload | resolve : sequence of 3 lookups yielded nothing appropriate.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "ComputerModern" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.1 ...Mapping=tex-text]{Computer Modern}\usepackage
{color}\usepackage[active,...
|'''''''''''''''''''''''''''''''''''''''''''''''
| A font might not be found for many reasons.
| Check the spelling, where the font is installed etc. etc.
|
| When in doubt, ask someone for help!
|...............................................
luaotfload | resolve : sequence of 3 lookups yielded nothing appropriate.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "ComputerModern" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.1 ...Mapping=tex-text]{Computer Modern}\usepackage
{color}\usepackage[active,...
|'''''''''''''''''''''''''''''''''''''''''''''''
| A font might not be found for many reasons.
| Check the spelling, where the font is installed etc. etc.
|
| When in doubt, ask someone for help!
|...............................................
luaotfload | aux : no font with id 0
.................................................
. fontspec info: "defining-font"
.
. Font family 'ComputerModern(0)' created for font 'Computer Modern' with
. options [Ligatures=TeX,Ligatures=TeX,Mapping=tex-text].
.
. This font family consists of the following NFSS series/shapes:
.
. - 'normal' (m/n) with NFSS spec.: <->"ComputerModern:mode=node;+tlig;"
. - 'small caps' (m/sc) with NFSS spec.:
.................................................
LaTeX Info: Redefining \rmfamily on input line 1.
luaotfload | resolve : sequence of 3 lookups yielded nothing appropriate.
! Font \TU/ComputerModern(0)/m/n/10=ComputerModern:mode=node;+tlig; at 10pt not
loadable: metric data not found or bad.
<to be read again>
relax
l.1 ...Mapping=tex-text]{Computer Modern}\usepackage
{color}\usepackage[active,...
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
Package: color 2016/07/10 v1.1e Standard LaTeX Color (DPC)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package color Info: Driver file: luatex.def on input line 147.
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/luatex.def
File: luatex.def 2018/01/08 v1.0l Graphics/color driver for luatex
))
! LaTeX Error: File `preview.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.1 ...isplaymath,textmath,tightpage]{preview}\begin
{document}\begin{preview}\...
*** (cannot \read from terminal in nonstop modes)
Here is how much of LuaTeX's memory you used:
10883 strings out of 494412
100000,383344 words of node,token memory allocated 310 words of node memory still in use:
2 hlist, 1 rule, 1 dir, 2 attribute, 41 glue_spec, 2 attribute_list nodes
avail lists: 2:10,3:3,4:1,5:5,8:1,9:1
15018 multiletter control sequences out of 65536+600000
27 fonts using 5816383 bytes
54i,0n,80p,699b,443s stack positions out of 5000i,500n,10000p,200000b,100000s
! ==> Fatal error occurred, no output PDF file produced!
I finally found the problem: the preview tex package was not installed, I only had the apt package texlive-basic installed. Fixed it by: sudo apt install texlive-latex-extra Which has the package preview-latex-style as a dependant. (In reply to rogier.delporte from comment #11) > I finally found the problem: the preview tex package was not installed, I > only had the apt package texlive-basic installed. > > Fixed it by: > > sudo apt install texlive-latex-extra > > Which has the package preview-latex-style as a dependant. Maybe add these packages to the recommended/suggested packages? (In reply to rogier.delporte from comment #12) > Maybe add these packages to the recommended/suggested packages? Thanks. I just added the information about the required packages to our INSTALL file: https://cgit.kde.org/labplot.git/commit/?id=893cd8d84404948a6be94ee2fdccd157805f0ff4 |
Created attachment 118625 [details] text box goes red, no tex font selector is available SUMMARY I cannot add a LaTeX formatted text to a text label, nor to a title. All the textbox does is go red STEPS TO REPRODUCE 1. Create new file 2. Create new worksheet 3. Right click on the worksheet in the project explorer, add new text label 4. Click on the button marked "TeX". OBSERVED RESULT The text box goes red and no text label is visible anymore. (see screenshot) EXPECTED RESULT I expect to be able to add some LaTeX code e.g. \frac{60}{40}. SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma: Ubuntu 18.10, Gnome 3.30.1 (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION I tried setting the typesetting engine to pdflatex, latex and lualatex and it all gives the same result. I even uninstalled the apt package and compiled labplot2 from scratch and the problem still persists.