Latest ReText 3.1.0 not installable via ppa on Mint 12

Asked by ChM on 2012-07-03

I'm using ReText 3.0.4 on Mint 12.

I converted a markdown document to pdf and unfortunately a text line in the document is horizontally split over two pages. I guess it's Qt's fault.

I checked and saw that there is a more recent version of ReText but I can't install it on Mint 12 (Ubuntu oneric) via the ppa server. Though, from the source forge documentation I had the impression that the 3.1.0 version was available via ppa. Is this an OS issue or is the latest ReText version not yet available via ppa ?

Is there any chance this latest version could solve my problem ? If text lines get horizontally split over two pages, the pdf export is not very usefull.

Question information

Language:
English Edit question
Status:
Solved
For:
ReText Edit question
Assignee:
Dmitry Shachnev Edit question
Solved by:
Dmitry Shachnev
Solved:
2012-07-03
Last query:
2012-07-03
Last reply:
2012-07-03
Dmitry Shachnev (mitya57) said : #1

I've copied 3.1.0 to all supported ppa series, so you should get an update now.

Regarding your first problem, can you please attach a file that triggers the line split and a screenshot of the "print preview" dialog? I can't reproduce it here…

ChM (christophe-meessen) said : #2

Thank you very much for the ppa update. I now could get version 3.1.0 with a apt-get upgrade.

With this version the problem is not showing up anymore with the file. I noticed that the font changed from a serif font to a sans serif font with the version change from 3.0.4 to 3.1.0.

Best Dmitry Shachnev (mitya57) said : #3

> … the font changed from a serif font to a sans serif font

That was a planned change. Do you have anything against that? This affects only WebKit engine, BTW.

ChM (christophe-meessen) said : #4

Thanks Dmitry Shachnev, that solved my question.

Dmitry Shachnev (mitya57) said : #5

Ah, I've understood what you mean by "horizontally split line".

When you print a page with WebKit enabled, ReText just cuts the page horizontally, so I strictly recommend to *disable* WebKit when printing pages that don't really require it.

ChM (christophe-meessen) said : #6

I have nothing against it since it matches my needs and also common design guidelines ;)

Though, for some types of texts, with many lines per paragraph a serif font is preferable because it helps to follow lines (i.e. books). For text with short paragraphs, a sans serif font is preferable to ease character recognition.

I would thus say that in general the font choice depends on the use case. A default set to this sans serif font is the best choice since it covers the most frequent use cases. Making it possible to change the font with the html style tag would solve the other use case. I don't know if this is possible with markdown.

ReText is an excellent program. Congratulation for your excellent work and the very responsive support.
On Windows I use MarkdownPad but it's not as good as ReText. I miss the export functionalities, especially to pdf.

Dmitry Shachnev (mitya57) said : #7

It's already possible to change the default font for default (non-WebKit) engine (Edit -> Change default font), I'm going to make it support WebKit in ReText 4.0.

ChM (christophe-meessen) said : #8

Regarding webkit use, I don't understand what you refer to.

The functionality I used was to export the file in pdf. I didn't see any mention of webkit in this process. I simply give the location and file name, and that's it. I didn't use printing to generate the pdf.

Dmitry Shachnev (mitya57) said : #9

> Regarding webkit use, I don't understand what you refer to.

Uncheck "Edit -> Use WebKit renderer", and then perform the export.

Dmitry Shachnev (mitya57) said : #10

> It's already possible to change the default font for default (non-WebKit) engine (Edit -> Change default font), I'm going to make it support WebKit in ReText 4.0.

Added support for changing default font to Webkit in r263 of lp:retext.

ChM (christophe-meessen) said : #11

Le 23/07/2012 13:56, Dmitry Shachnev a écrit :
> Your question #202126 on ReText changed:
> https://answers.launchpad.net/retext/+question/202126
>
> Dmitry Shachnev posted a new comment:
>> It's already possible to change the default font for default (non-
> WebKit) engine (Edit -> Change default font), I'm going to make it
> support WebKit in ReText 4.0.
>
> Added support for changing default font to Webkit in r263 of lp:retext.
>
Sorry for the delay. I was on vacation. I solved the problem by
replacing Mint 12 with Ubuntu 12.04.
It works fine with nvidia drivers.