Re: LyX 2.2.3, Windows 10 and showing SVG in the editor
On Sun, Jun 25, 2017 at 04:54:52PM -0400, Cris Fuhrman wrote: > On Sun, Jun 25, 2017 at 4:24 PM, Scott Kostyshakwrote: > > > Qt has > > problems with some (valid) SVG files and only supports a certain > > implementation of the SVG fileformat. > > > > Can you confirm that Qt is overriding the SVG -> PNG conversion in LyX > 2.2.3? This seems like a bug to me, for reasons that I pointed out here. > Not the end of the world, but 2.2.3 is a small step back for me if this is > something new. I'm not sure exactly what happens and if there is platform-specific behavior. To see the discussion I was referencing, see: https://www.lyx.org/trac/ticket/9778 Scott signature.asc Description: PGP signature
Re: LyX 2.2.3, Windows 10 and showing SVG in the editor
On Sun, Jun 25, 2017 at 4:24 PM, Scott Kostyshakwrote: > Qt has > problems with some (valid) SVG files and only supports a certain > implementation of the SVG fileformat. > Can you confirm that Qt is overriding the SVG -> PNG conversion in LyX 2.2.3? This seems like a bug to me, for reasons that I pointed out here. Not the end of the world, but 2.2.3 is a small step back for me if this is something new.
Re: LyX 2.2.3, Windows 10 and showing SVG in the editor
On Thu, Jun 22, 2017 at 05:24:42PM -0400, Paul A. Rubin wrote: > So apparently there's something "off" about the SVG files that caused LyX to > spit up the error messages, and maybe there is similarly something different > about Cris's images. Or it could be that the SVG files are different SVG versions. Qt has problems with some (valid) SVG files and only supports a certain implementation of the SVG fileformat. Scott
Re: How to avoid breaking an item of enumerate?
On 06/25/2017 03:25 PM, Paul Smith wrote: On Sun, Jun 25, 2017 at 7:09 PM, Paul A. Rubinwrote: You can manually force page breaks (after the document is "finalized") by inserting formatting instructions. See section 3.5.5 of the LyX User Guide. You might also try the enumitem module (see section 3.6 of the PDF documentation for the enumitem package), but I've struggled to get that to work. I am looking for a simple and automatic way. But thanks, Paul! Paul Fully automatic (not to mention simple) may not be feasible. What if you have a zillion subitems under one main item (or a few really long subitems)? Theoretically, you could put LaTeX in a position where your subitem list exceeds a page length but it's not allowed to break up the list. So, while I'm not a LaTeX guru, my guess is that the best you'll be able to do with an "automatic" approach is to encourage, rather than force, LaTeX to break after a sublist rather than during (or at the start) of one. I believe that's what the penalty options in the enumitem package are intended to do, and I believe that you can set global values for those penalties. So, if I'm right, you should just need to make two tweaks to the document. Add the enumitem module in the document modules list, and add a line of LaTeX code in the preamble setting your penalties. IF I'm right (and IF you can get it to work). Good luck with it, Paul
Re: How to avoid breaking an item of enumerate?
On Sun, Jun 25, 2017 at 7:09 PM, Paul A. Rubinwrote: >> >> Dear All, >> >> Suppose one has the following: >> >> 1. blablabla >> a) blablabla >> b) blablabla >> 2. blablabla >> a) blablabla >> b) blablabla >> >> How to automatically avoid breaking the page in the middle of the >> inner items? For instance: >> >> Page 1 >> >> 1. blablabla >> a) blablabla >> >> Page 2 >> >> b) blablabla >> 2. blablabla >> a) blablabla >> b) blablabla >> >> In this example, the page break should be like the following: >> >> Page 1 >> >> 1. blablabla >> a) blablabla >> b) blablabla >> >> Page 2 >> >> 2. blablabla >> a) blablabla >> b) blablabla >> >> Thanks in advance, >> >> Paul > > You can manually force page breaks (after the document is "finalized") by > inserting formatting instructions. See section 3.5.5 of the LyX User Guide. > You might also try the enumitem module (see section 3.6 of the PDF > documentation for the enumitem package), but I've struggled to get that to > work. I am looking for a simple and automatic way. But thanks, Paul! Paul
Re: How to avoid breaking an item of enumerate?
On 06/25/2017 06:36 AM, Paul Smith wrote: Dear All, Suppose one has the following: 1. blablabla a) blablabla b) blablabla 2. blablabla a) blablabla b) blablabla How to automatically avoid breaking the page in the middle of the inner items? For instance: Page 1 1. blablabla a) blablabla Page 2 b) blablabla 2. blablabla a) blablabla b) blablabla In this example, the page break should be like the following: Page 1 1. blablabla a) blablabla b) blablabla Page 2 2. blablabla a) blablabla b) blablabla Thanks in advance, Paul You can manually force page breaks (after the document is "finalized") by inserting formatting instructions. See section 3.5.5 of the LyX User Guide. You might also try the enumitem module (see section 3.6 of the PDF documentation for the enumitem package), but I've struggled to get that to work. Paul (the original one)
Skim as PDF-file-viewer on Mac
Hello, I would like to use Skim on Mac (10.12.5) as a PDF-file-viewer for LuaTeX-Output, but it does not work for me. • In Lyx LyX Version 2.2.3 I have entered the following: Prefs / Output / General / PDF-Command: /Applications/Skim.app/Skim.app/Contents/SharedSupport/displayline $$n $$o $$t Prefs / File Handling / File formats / PDF (LuaTeX) Viewer setting / Custom / open -a Skim.app $$i i • In Skim1.4.24 (98) I have entered Prefs / Sync / Command: /Applications/LyX.app/Contents/MacOS/lyxeditor Arguments: "%file" %line; /usr/bin/osascript -e 'tell application "LyX" to activate‘ (before I have also tried with »output« / LyX, which also did not work) Does anybody have an idea how I get it working? Thanks Jess
How to avoid breaking an item of enumerate?
Dear All, Suppose one has the following: 1. blablabla a) blablabla b) blablabla 2. blablabla a) blablabla b) blablabla How to automatically avoid breaking the page in the middle of the inner items? For instance: Page 1 1. blablabla a) blablabla Page 2 b) blablabla 2. blablabla a) blablabla b) blablabla In this example, the page break should be like the following: Page 1 1. blablabla a) blablabla b) blablabla Page 2 2. blablabla a) blablabla b) blablabla Thanks in advance, Paul
Re: how to input Chinese in ERT?
Am Samstag, den 24.06.2017, 20:56 + schrieb Guenter Milde: > On 2017-06-24, subaochen wrote: > > > I can not input any Chinese in ERT, but can copy from others, if I > > missing some tricks to handle Chinese in ERT? > > You stumbled about a bug in LyX. For the record, this is http://www.lyx.org/trac/ticket/9258 Jürgen signature.asc Description: This is a digitally signed message part
Re:Re: how to input Chinese in ERT?
At 2017-06-25 05:28:42, "Kornel Benko"wrote: >Am Samstag, 24. Juni 2017 um 20:56:21, schrieb Guenter Milde > >> On 2017-06-24, subaochen wrote: >> >> > I can not input any Chinese in ERT, but can copy from others, if I >> > missing some tricks to handle Chinese in ERT? >> >> You stumbled about a bug in LyX. >> >> In ERT, it prevents you from input of characters that required conversion by >> LyX for LaTeX export (fine). >> >> Unfortunately, LyX is overly cautious here, e.g. with the "latex input >> encoding" (Document>Language>Encoding) set to utf8, there should be no >> restriction --- but I can only input latin1 characters, not the rest of >> Unicode. >> >> Günter > >Maybe some work-around could help you for now. >Insert Chinese as normal text, select it, and change to ERT. This is a perfect work-around:-), Thanks! But, if LyX could fix the bug(As Gunter said), would be better. > > Kornel