View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007644 | Scribus | Plug-ins | public | 2008-12-08 23:40 | 2008-12-15 17:32 |
Reporter | mhanski | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Product Version | 1.3.5svn | ||||
Summary | 0007644: Latex Frames: Possible error with utf8 characters | ||||
Description | Latex is installed and works fine in Latex frames (see screenshot 1), but if you try to insert a character outside of latin1 (IS08859-1), it stops working with "RENDER FRAME: updateImage(): "Running the external application failed!", Latex error says sth about "Command \k unavailable in encoding OT1." (see screenshot 2). I'm also attaching a Polish sample text to play with while testing latex frames. | ||||
Additional Information | I'm very impressed by render frames, this one could be a killer feature of Scribus:) | ||||
Tags | No tags attached. | ||||
Patch | |||||
child of | 0007647 | acknowledged | Metabug: Render Frames (LaTeX, GnuPlot, LilyPond, GraphViz, etc.) |
2008-12-08 23:40
|
|
2008-12-08 23:40
|
|
2008-12-08 23:41
|
|
|
Encoding selection is in no way automatic in latex. You generally have to explicitly specify which encoding your latex source is using. Eg: \usepackage{ucs} \usepackage[utf8]{inputenc} |
|
I'd tried before using \usepackage[utf8]{inputenc} under "Font/Headers", and I tried using your usepackage statements, but it won't work. Neither with \usepackage[utf8x]{inputenc}. I'm attaching a scribus document containing a one-word latex frame , could you try to get it working? |
2008-12-09 00:39
|
|
|
\usepackage[utf8]{inputenc} placed under "Font/Headers" should be enough to get most of the characters working, i do not even need that additional package here, but that depends much of the latex distro used. I managed to output some cyrillic characters too. Looks more like a basic problem of latex use than anything. |
|
Sample of latex code that works (to run without preamble): \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \begin{document} Polish: ? ? \end{document} |
|
I've tried the last latex sample (without preamble), it works with latin1, but as soon as I enter a Polish word (see the attached Polish text sample), I get the "Running the external application failed!" error. Could you check if the sample latext code works for you with current svn135? |
2008-12-09 08:06
|
|
|
I attached a sample of polish text which works perfectly here. As i said the problem appears only when specific characters are used. That's why I wrote that issue looks more like a basic problem of latex use than anything. |
|
the latex code with one polish word w/o preamble from your scribus document worked on my system too (the preview wasn't ok, but it didn't at least end with an error). But you are right, as soon, as I use other polish characters like aogonek 0x0105 it stops working. Please do not close yet, I'm going to seek assistance among non-latin1 Scribus users on the mailing list. BTW, see the error I get on loading your document -- is the path to the latex config file really meant to be stored within the scribus document? |
2008-12-09 20:59
|
|
|
I think you should better look for assistance amongst non-latin1 *latex* users! After having read some page about latex encoding handling, it looks like it's far from easy as users may have to change some font encoding parameters too. |
2008-12-14 23:10
|
|
2008-12-14 23:12
|
|
|
I've found someone with both Scribus 1.3.5 _and_ LaTeX experience:) either: 1. Enter this latex code into Font/Headers tab of a LaTex frame, the option "MeX" can be omitted: \usepackage[utf8]{inputenc} \usepackage[MeX]{polski} or: 2. This sample should work without preamble: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{polski} \begin{document} enter some weird Polish characters here \end{document} Tested, works, see the attached screenshot and sample Scribus doc. Please don't close yet, since I'd like to wait for verification (there was something about package babel not working). |
|
Babel is not related to scribus. If it's not working for you, this is a latex distro problem, not a scribus problem. |
|
verified, closing. Jean and Mariusz, thank you for your patience, all hints will go into this article: http://wiki.scribus.net/index.php/Get_Started_with_Render_Frames_in_Scribus |
|
closing. btw, jghali, could you send a new mantis password to mslonina (the user monitoring this issue)? He lost his mantis account data. |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-12-08 23:40 | mhanski | New Issue | |
2008-12-08 23:40 | mhanski | File Added: render_frame_latex_correct.png | |
2008-12-08 23:40 | mhanski | File Added: latex_frame_error.png | |
2008-12-08 23:41 | mhanski | File Added: polish_sample_text_utf8.txt | |
2008-12-08 23:50 | mhanski | Additional Information Updated | |
2008-12-08 23:50 | mhanski | Additional Information Updated | |
2008-12-09 00:00 | jghali | Note Added: 0020746 | |
2008-12-09 00:01 | jghali | Note Edited: 0020746 | |
2008-12-09 00:38 | mhanski | Note Added: 0020747 | |
2008-12-09 00:39 | mhanski | File Added: latexframe_test.sla | |
2008-12-09 01:14 | jghali | Note Added: 0020748 | |
2008-12-09 01:31 | jghali | Note Added: 0020749 | |
2008-12-09 07:00 | mhanski | Note Added: 0020750 | |
2008-12-09 08:06 | jghali | File Added: latexframe_test_2.sla | |
2008-12-09 08:11 | jghali | Note Added: 0020751 | |
2008-12-09 20:59 | mhanski | Note Added: 0020752 | |
2008-12-09 20:59 | mhanski | File Added: render_frame_latex_config_error.png | |
2008-12-09 21:03 | mhanski | Note Edited: 0020752 | |
2008-12-09 21:19 | jghali | Note Added: 0020753 | |
2008-12-10 16:28 | mhanski | Relationship added | child of 0007647 |
2008-12-14 23:10 | mhanski | File Added: render_frame_with_polish_text.png | |
2008-12-14 23:12 | mhanski | File Added: latexframe_with_polish_text.sla | |
2008-12-14 23:28 | mhanski | Note Added: 0020784 | |
2008-12-14 23:40 | jghali | Note Added: 0020785 | |
2008-12-15 07:46 | jghali | Status | new => feedback |
2008-12-15 16:43 | mhanski | Note Added: 0020790 | |
2008-12-15 16:43 | mhanski | Status | feedback => resolved |
2008-12-15 16:43 | mhanski | Resolution | open => no change required |
2008-12-15 17:32 | mhanski | Note Added: 0020791 | |
2008-12-15 17:32 | mhanski | Status | resolved => closed |