Re: Fwd: PDF Page Size

2021-10-22 Thread Dr Eberhard W Lisse



Even cooler, thanks more :-)-O

el

On 2021-10-19 19:03 , Jack Lyon wrote:
> Greetings, all.
>
> I'm the creator of LyXBook, and I'd be happy to answer any questions
> you may have about it.
>
> When I first created the LyXBook layouts, I licensed some of them
> based on the purchase of my Microsoft Word add-in LyXConverter, which
> converts Word documents into LyX documents:
>
> https://wiki.lyx.org/Tools/LyXConverter
>
> However, I'm changing those licenses to be the same as that used for
> LyX itself, the GNU General Public License:
>
> https://www.lyx.org/License
>
> That means you can freely use and distribute any of the LyXBook
> layouts (including those that are part of LyXConverter) any way you
> please.  I hope you find them useful.
>
> Thanks to all of you for making LyX such a great piece of software.
>
> Best wishes,
> Jack Lyon
> The Editorium
[...]

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-22 Thread Dr Eberhard W Lisse

Cool, thanks,

el

On 2021-10-19 18:29 , Ken Kopelson wrote:

If anyone has information about LyXBook, here is where I found out about it:

LyX wiki | Layouts / Layouts 

So, the official LyX wiki shows quite a few options when it comes to 
layouts.  Under the section on "book" layouts, you will find this entry:


  * LyXBook  is a
collection of layouts from the Editorium
 designed specifically for typesetting
books in LyX (novels, histories, biographies, and so on).

[...]

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-20 Thread Daniel

On 19/10/2021 16:11, Dr Eberhard Lisse wrote:

If you were to look into the Emoji Handbook you'd find that I am
credited with the stethoscope (25 years or so ago).

The arrows are just pointing...

el


Thanks. For now, I am going to stick to my emotionally poor triad :), 
:(, and ;).


Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-19 Thread Jack Lyon

Thanks for the feedback, Ken. I'll see if I can remedy the problem.

You can get around it by including something like the following under 
Document > Settings > Preamble:


\setstocksize{8.5in}{5.5in}

And, as Daniel pointed out, the layouts depend on the Memoir class, so 
you can use other Memoir commands in the document preamble as well.


Best wishes,
Jack Lyon
The Editorium
http://www.editorium.com


On 10/19/2021 11:21 AM, Ken Kopelson wrote:
I have found your LyXBook layouts to be very good, and I very much 
appreciate the work you did on them.  The one issue I had, which was 
addressed here by Daniel, is the way it didn't respond to changes in 
the page size using the standard page size settings... when using the 
MiKTek system.


Best Regards,
*Ken*



On Tue, Oct 19, 2021 at 10:03 AM Jack Lyon  wrote:

Greetings, all.

I'm the creator of LyXBook, and I'd be happy to answer any
questions you may have about it.

When I first created the LyXBook layouts, I licensed some of them
based on the purchase of my Microsoft Word add-in LyXConverter,
which converts Word documents into LyX documents:

https://wiki.lyx.org/Tools/LyXConverter

However, I'm changing those licenses to be the same as that used
for LyX itself, the GNU General Public License:

https://www.lyx.org/License

That means you can freely use and distribute any of the LyXBook
layouts (including those that are part of LyXConverter) any way
you please. I hope you find them useful.

Thanks to all of you for making LyX such a great piece of software.

Best wishes,
Jack Lyon
The Editorium
http://www.editorium.com



On 10/19/2021 10:29 AM, Ken Kopelson wrote:

If anyone has information about LyXBook, here is where I found
out about it:

LyX wiki | Layouts / Layouts 

So, the official LyX wiki shows quite a few options when it comes
to layouts.  Under the section on "book" layouts, you will find
this entry:

  * LyXBook  is
a collection of layouts from the Editorium
 designed specifically for
typesetting books in LyX (novels, histories, biographies, and
so on).

*
*

On Tue, Oct 19, 2021 at 4:24 AM Daniel  wrote:

On 18/10/2021 01:12, Dr Eberhard Lisse wrote:
>
> On 2021-10-15 16:38 , Daniel wrote:
>> On 15/10/2021 13:07, Dr Eberhard Lisse wrote:
>>> On 15/10/2021 07:57, Ken Kopelson wrote:
> [...]
>>> What is the LyXBook class?  Or if it refers to the
layout, where did
>>> you get it from?
>
> What is the LyXBook class?

As I wrote in my reply, it is derived from memoir.

Daniel

-- 
lyx-users mailing list

lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users




-- 
lyx-users mailing list

lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-19 Thread Ken Kopelson
I have found your LyXBook layouts to be very good, and I very much
appreciate the work you did on them.  The one issue I had, which was
addressed here by Daniel, is the way it didn't respond to changes in the
page size using the standard page size settings... when using the MiKTek
system.

Best Regards,
*Ken*



On Tue, Oct 19, 2021 at 10:03 AM Jack Lyon  wrote:

> Greetings, all.
>
> I'm the creator of LyXBook, and I'd be happy to answer any questions you
> may have about it.
>
> When I first created the LyXBook layouts, I licensed some of them based on
> the purchase of my Microsoft Word add-in LyXConverter, which converts Word
> documents into LyX documents:
>
> https://wiki.lyx.org/Tools/LyXConverter
>
> However, I'm changing those licenses to be the same as that used for LyX
> itself, the GNU General Public License:
>
> https://www.lyx.org/License
>
> That means you can freely use and distribute any of the LyXBook layouts
> (including those that are part of LyXConverter) any way you please. I hope
> you find them useful.
>
> Thanks to all of you for making LyX such a great piece of software.
>
> Best wishes,
> Jack Lyon
> The Editorium
> http://www.editorium.com
>
>
>
> On 10/19/2021 10:29 AM, Ken Kopelson wrote:
>
> If anyone has information about LyXBook, here is where I found out about
> it:
>
> LyX wiki | Layouts / Layouts 
>
> So, the official LyX wiki shows quite a few options when it comes to
> layouts.  Under the section on "book" layouts, you will find this entry:
>
>
>- LyXBook  is a
>collection of layouts from the Editorium  
> designed
>specifically for typesetting books in LyX (novels, histories, biographies,
>and so on).
>
>
>
> On Tue, Oct 19, 2021 at 4:24 AM Daniel  wrote:
>
>> On 18/10/2021 01:12, Dr Eberhard Lisse wrote:
>> >
>> > On 2021-10-15 16:38 , Daniel wrote:
>> >> On 15/10/2021 13:07, Dr Eberhard Lisse wrote:
>> >>> On 15/10/2021 07:57, Ken Kopelson wrote:
>> > [...]
>> >>> What is the LyXBook class?  Or if it refers to the layout, where did
>> >>> you get it from?
>> >
>> > What is the LyXBook class?
>>
>> As I wrote in my reply, it is derived from memoir.
>>
>> Daniel
>>
>> --
>> lyx-users mailing list
>> lyx-users@lists.lyx.org
>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>
>
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-19 Thread Jack Lyon

Greetings, all.

I'm the creator of LyXBook, and I'd be happy to answer any questions you 
may have about it.


When I first created the LyXBook layouts, I licensed some of them based 
on the purchase of my Microsoft Word add-in LyXConverter, which converts 
Word documents into LyX documents:


https://wiki.lyx.org/Tools/LyXConverter

However, I'm changing those licenses to be the same as that used for LyX 
itself, the GNU General Public License:


https://www.lyx.org/License

That means you can freely use and distribute any of the LyXBook layouts 
(including those that are part of LyXConverter) any way you please. I 
hope you find them useful.


Thanks to all of you for making LyX such a great piece of software.

Best wishes,
Jack Lyon
The Editorium
http://www.editorium.com



On 10/19/2021 10:29 AM, Ken Kopelson wrote:
If anyone has information about LyXBook, here is where I found out 
about it:


LyX wiki | Layouts / Layouts 

So, the official LyX wiki shows quite a few options when it comes to 
layouts.  Under the section on "book" layouts, you will find this entry:


  * LyXBook  is a
collection of layouts from the Editorium
 designed specifically for typesetting
books in LyX (novels, histories, biographies, and so on).

*
*

On Tue, Oct 19, 2021 at 4:24 AM Daniel  wrote:

On 18/10/2021 01:12, Dr Eberhard Lisse wrote:
>
> On 2021-10-15 16:38 , Daniel wrote:
>> On 15/10/2021 13:07, Dr Eberhard Lisse wrote:
>>> On 15/10/2021 07:57, Ken Kopelson wrote:
> [...]
>>> What is the LyXBook class?  Or if it refers to the layout,
where did
>>> you get it from?
>
> What is the LyXBook class?

As I wrote in my reply, it is derived from memoir.

Daniel

-- 
lyx-users mailing list

lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-19 Thread Ken Kopelson
If anyone has information about LyXBook, here is where I found out about it:

LyX wiki | Layouts / Layouts 

So, the official LyX wiki shows quite a few options when it comes to
layouts.  Under the section on "book" layouts, you will find this entry:


   - LyXBook  is a
   collection of layouts from the Editorium
 designed
   specifically for typesetting books in LyX (novels, histories, biographies,
   and so on).



On Tue, Oct 19, 2021 at 4:24 AM Daniel  wrote:

> On 18/10/2021 01:12, Dr Eberhard Lisse wrote:
> >
> > On 2021-10-15 16:38 , Daniel wrote:
> >> On 15/10/2021 13:07, Dr Eberhard Lisse wrote:
> >>> On 15/10/2021 07:57, Ken Kopelson wrote:
> > [...]
> >>> What is the LyXBook class?  Or if it refers to the layout, where did
> >>> you get it from?
> >
> > What is the LyXBook class?
>
> As I wrote in my reply, it is derived from memoir.
>
> Daniel
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-19 Thread Dr Eberhard Lisse

If you were to look into the Emoji Handbook you'd find that I am
credited with the stethoscope (25 years or so ago).

The arrows are just pointing...

el



On 19/10/2021 13:56, Daniel wrote:

On 18/10/2021 01:12, Dr Eberhard Lisse wrote:

--> :-)-O <-- stands for I was joking


Never came across that emoji before.  What is it supposed to picture?

The more common, ;-) works quite well in this case too, I think.

Daniel



--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-19 Thread Daniel

On 18/10/2021 01:12, Dr Eberhard Lisse wrote:

--> :-)-O <-- stands for I was joking


Never came across that emoji before. What is it supposed to picture?

The more common, ;-) works quite well in this case too, I think.

Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-19 Thread Daniel

On 18/10/2021 01:12, Dr Eberhard Lisse wrote:


On 2021-10-15 16:38 , Daniel wrote:

On 15/10/2021 13:07, Dr Eberhard Lisse wrote:

On 15/10/2021 07:57, Ken Kopelson wrote:

[...]

What is the LyXBook class?  Or if it refers to the layout, where did
you get it from?


What is the LyXBook class?


As I wrote in my reply, it is derived from memoir.

Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-17 Thread Dr Eberhard Lisse



On 2021-10-15 16:38 , Daniel wrote:

On 15/10/2021 13:07, Dr Eberhard Lisse wrote:

On 15/10/2021 07:57, Ken Kopelson wrote:

[...]

What is the LyXBook class?  Or if it refers to the layout, where did
you get it from?


What is the LyXBook class?


I find Koma Script much better and easier that memoir and have
switched some years ago.  That may be opinion, but try it out :-)-O

el


But you saw the other solution that worked, right?

Daniel


Yes, but that's beside the point (that I wanted to make) :-)-O

greetings, el

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-17 Thread Dr Eberhard Lisse

Ken,

--> :-)-O <-- stands for I was joking

If it works for you it works for you.

However I am not sure that for LyX and LaTeX 64GB RAM makes that much
difference, and we see many queries here caused by the MikReX setup.

I run the latexbench on all machines I can lay my hands on and after
every TeX Update:

http://www.complang.tuwien.ac.at/anton/latex-bench/
https://github.com/Gabriel439/bench

And the age/speed seems to be the determining factor from what I see,
not the RAM.

greetings,

el

On 2021-10-15 17:21 , Ken Kopelson wrote:


Thanks Dr., but honestly, the Windows setup I have kicks butt on the
other TWO Macbook Pros I have, so I'll stick with Windows, thanks :)
(It has 64GB of RAM) In fact, the name of my Windows machine is "BEEFY
BEAST", if that tells you anything...

Also, as I indicated in my final email to Daniel, he nailed the
solution, and I was very thankful and happy for the assistance.

I sent his solution to the list so that others could see how to fix
this problem.  I feel bad that you missed seeing that last email, and
therefore took time to try and help me.  I do thank you for your
efforts, and wish you an excellent day and weekend!

Regards,
-Ken

[...]

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-15 Thread Ken Kopelson
Thanks Dr., but honestly, the Windows setup I have kicks butt on the other
TWO Macbook Pros I have, so I'll stick with Windows, thanks :)  (It has
64GB of RAM) In fact, the name of my Windows machine is "BEEFY BEAST", if
that tells you anything...

Also, as I indicated in my final email to Daniel, he nailed the solution,
and I was very thankful and happy for the assistance.

I sent his solution to the list so that others could see how to fix this
problem.  I feel bad that you missed seeing that last email, and therefore
took time to try and help me.  I do thank you for your efforts, and wish
you an excellent day and weekend!

Regards,
-Ken

On Fri, Oct 15, 2021 at 4:08 AM Dr Eberhard Lisse  wrote:

> Ken,
>
> the answer is obvious, don't use Windows :-)-O
>
>
> But, I don't think it has anything to do with LyX but rather is a LaTeX
> issue, and guessing of setting a default page size installation wide.
>
> The LeX Live Manager app on the Mac has the option
>
> Configure --> Change Paper Size
>
> which is the default for all documents if nothing else is specified, in
> a document, which then overrides.
>
> I have no clue what MikTeX Windows does and whether it allows override.
> Could be set with admin privilege or some other issue.
>
> What is the LyXBook class? Or if it refers to the layout, where did you
> get it from?
>
> I find Koma Script much better and easier that memoir and have switched
> some years ago. That may be opinion, but try it out :-)-O
>
> el
>
>
>
> On 15/10/2021 07:57, Ken Kopelson wrote:
> > FYI
> > -- Forwarded message -----
> > From: *Ken Kopelson* mailto:kenb...@gmail.com>>
> > Date: Thu, Oct 14, 2021 at 10:55 PM
> > Subject: Re: PDF Page Size
> > To: racoon mailto:xraco...@gmx.de>>
> >
> >
> > Thank you SO MUCH Daniel!  Your suggestion fixed the problem for me,
> > and it works beautifully now!
> >
> > Many thanks again,
> > *Ken Kopelson*
> >
> > On Thu, Oct 14, 2021 at 12:20 PM racoon  xraco...@gmx.de>> wrote:
> >
> > It seems that your class is based on the memoir class.  It might
> > be that the settings in Document > Settings > Page Layout which
> > use the geometry package are not working well with that class.
> > Unfortunately, I have never worked with the memoir class.  From a
> > little reading in the memoir class documentation
> > (
> https://ftp.acc.umu.se/mirror/CTAN/macros/latex/contrib/memoir/memman.pdf)
> > I gathered that you might try to add
> >
> > \setstocksize{9in}{6in}
> >
> > in Document > Settings > Preamble. Does that help?
> >
> > Daniel
> >
> >
> > On 2021-10-14 20:24, Ken Kopelson wrote:
> >  > Thanks Daniel.  It seems to have something to do with the
> >  > inserted image.  I'm using the LyXBook class, which I've also
> >  > included with this small test file.  I use the Layout as a
> >  > local in the same directory as the .lyx file.
> >  >
> >  > -Ken
> [...]
>
>
> --
> To email me replace 'nospam' with 'el'
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-15 Thread Daniel

On 15/10/2021 13:07, Dr Eberhard Lisse wrote:

On 15/10/2021 07:57, Ken Kopelson wrote:

FYI
-- Forwarded message -
From: *Ken Kopelson* mailto:kenb...@gmail.com>>
Date: Thu, Oct 14, 2021 at 10:55 PM
Subject: Re: PDF Page Size
To: racoon mailto:xraco...@gmx.de>>


Thank you SO MUCH Daniel!  Your suggestion fixed the problem for me,
and it works beautifully now!

Many thanks again,
*Ken Kopelson*

On Thu, Oct 14, 2021 at 12:20 PM racoon <mailto:xraco...@gmx.de>> wrote:


    It seems that your class is based on the memoir class.  It might
    be that the settings in Document > Settings > Page Layout which
    use the geometry package are not working well with that class.
    Unfortunately, I have never worked with the memoir class.  From a
    little reading in the memoir class documentation

(https://ftp.acc.umu.se/mirror/CTAN/macros/latex/contrib/memoir/memman.pdf) 


    I gathered that you might try to add

    \setstocksize{9in}{6in}

    in Document > Settings > Preamble. Does that help?

    Daniel


    On 2021-10-14 20:24, Ken Kopelson wrote:
 > Thanks Daniel.  It seems to have something to do with the
 > inserted image.  I'm using the LyXBook class, which I've also
 > included with this small test file.  I use the Layout as a
 > local in the same directory as the .lyx file.
 >
 > -Ken

[...]


Ken,

the answer is obvious, don't use Windows :-)-O


But, I don't think it has anything to do with LyX but rather is a LaTeX
issue, and guessing of setting a default page size installation wide.

The LeX Live Manager app on the Mac has the option

Configure --> Change Paper Size

which is the default for all documents if nothing else is specified, in
a document, which then overrides.

I have no clue what MikTeX Windows does and whether it allows override.
Could be set with admin privilege or some other issue.

What is the LyXBook class? Or if it refers to the layout, where did you
get it from?

I find Koma Script much better and easier that memoir and have switched
some years ago. That may be opinion, but try it out :-)-O

el 


But you saw the other solution that worked, right?

Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: PDF Page Size

2021-10-15 Thread Dr Eberhard Lisse

Ken,

the answer is obvious, don't use Windows :-)-O


But, I don't think it has anything to do with LyX but rather is a LaTeX
issue, and guessing of setting a default page size installation wide.

The LeX Live Manager app on the Mac has the option

Configure --> Change Paper Size

which is the default for all documents if nothing else is specified, in
a document, which then overrides.

I have no clue what MikTeX Windows does and whether it allows override.
Could be set with admin privilege or some other issue.

What is the LyXBook class? Or if it refers to the layout, where did you
get it from?

I find Koma Script much better and easier that memoir and have switched
some years ago. That may be opinion, but try it out :-)-O

el



On 15/10/2021 07:57, Ken Kopelson wrote:

FYI
-- Forwarded message -
From: *Ken Kopelson* mailto:kenb...@gmail.com>>
Date: Thu, Oct 14, 2021 at 10:55 PM
Subject: Re: PDF Page Size
To: racoon mailto:xraco...@gmx.de>>


Thank you SO MUCH Daniel!  Your suggestion fixed the problem for me,
and it works beautifully now!

Many thanks again,
*Ken Kopelson*

On Thu, Oct 14, 2021 at 12:20 PM racoon mailto:xraco...@gmx.de>> wrote:

It seems that your class is based on the memoir class.  It might
be that the settings in Document > Settings > Page Layout which
use the geometry package are not working well with that class.
Unfortunately, I have never worked with the memoir class.  From a
little reading in the memoir class documentation
(https://ftp.acc.umu.se/mirror/CTAN/macros/latex/contrib/memoir/memman.pdf)
I gathered that you might try to add

\setstocksize{9in}{6in}

in Document > Settings > Preamble. Does that help?

Daniel


On 2021-10-14 20:24, Ken Kopelson wrote:
 > Thanks Daniel.  It seems to have something to do with the
 > inserted image.  I'm using the LyXBook class, which I've also
 > included with this small test file.  I use the Layout as a
 > local in the same directory as the .lyx file.
 >
 > -Ken

[...]


--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Fwd: PDF Page Size

2021-10-14 Thread Ken Kopelson
FYI
-- Forwarded message -
From: Ken Kopelson 
Date: Thu, Oct 14, 2021 at 10:55 PM
Subject: Re: PDF Page Size
To: racoon 


Thank you SO MUCH Daniel!  Your suggestion fixed the problem for me, and it
works beautifully now!

Many thanks again,
*Ken Kopelson*

On Thu, Oct 14, 2021 at 12:20 PM racoon  wrote:

> It seems that your class is based on the memoir class. It might be that
> the settings in Document > Settings > Page Layout which use the geometry
> package are not working well with that class. Unfortunately, I have
> never worked with the memoir class. From a little reading in the memoir
> class documentation
> (https://ftp.acc.umu.se/mirror/CTAN/macros/latex/contrib/memoir/memman.pdf
> ),
> I gathered that you might try to add
>
> \setstocksize{9in}{6in}
>
> in Document > Settings > Preamble. Does that help?
>
> Daniel
>
>
> On 2021-10-14 20:24, Ken Kopelson wrote:
> > Thanks Daniel.  It seems to have something to do with the inserted
> > image.  I'm using the LyXBook class, which I've also included with this
> > small test file.  I use the Layout as a local in the same directory as
> > the .lyx file.
> >
> > -Ken
> >
> >
> >
> > On Thu, Oct 14, 2021 at 7:04 AM Daniel  > <mailto:xraco...@gmx.de>> wrote:
> >
> > On 13/10/2021 22:37, Ken Kopelson wrote:
> >  > Hello all,
> >  > I am really hoping that one of you brilliant people can answer
> this
> >  > question concerning page size for PDFs.
> >  >
> >  > First, this is concerning the latest LyX (2.3.6.1), along with the
> >  > latest MiKTeK (21.6/7) on Windows 10.  I use LyX on both MacOS,
> > and on
> >  > Windows.  It is the Windows version that fails to do the right
> thing.
> >  >
> >  > When I set a page size using the MacOS LyX, (using the
> >  > document->settings->Page Layout) to something like 9 inches
> > height x 6
> >  > inches width, and then export the document to PDF, it produces a
> >  > document that is the dimensions I requested, and all PDF viewers
> > show it
> >  > correctly.
> >  >
> >  > Then, if I do the exact same thing in the Windows version, and
> > export
> >  > the document to PDF, it produces a document that is Letter Size
> > (8.5" x
> >  > 11"), regardless of the settings in the Page Layout.
> >  >
> >  > This creates quite a problem, and makes it impossible to make an
> > eBook
> >  > PDF.  Am I doing something wrong, or is this a bug that needs to
> > be fixed?
> >  >
> >  > Many thanks for your time in answering my question.
> >  > Ken Kopelson
> >
> > Seems to work fine here on Windows (though I am using TeX Live). Mind
> > sending a document that where it does not work for you?
> >
> > Daniel
> >
> > --
> > lyx-users mailing list
> > lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>
> > http://lists.lyx.org/mailman/listinfo/lyx-users
> > <http://lists.lyx.org/mailman/listinfo/lyx-users>
> >
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF Page Size

2021-10-14 Thread Daniel

On 13/10/2021 22:37, Ken Kopelson wrote:

Hello all,
I am really hoping that one of you brilliant people can answer this 
question concerning page size for PDFs.


First, this is concerning the latest LyX (2.3.6.1), along with the 
latest MiKTeK (21.6/7) on Windows 10.  I use LyX on both MacOS, and on 
Windows.  It is the Windows version that fails to do the right thing.


When I set a page size using the MacOS LyX, (using the 
document->settings->Page Layout) to something like 9 inches height x 6 
inches width, and then export the document to PDF, it produces a 
document that is the dimensions I requested, and all PDF viewers show it 
correctly.


Then, if I do the exact same thing in the Windows version, and export 
the document to PDF, it produces a document that is Letter Size (8.5" x 
11"), regardless of the settings in the Page Layout.


This creates quite a problem, and makes it impossible to make an eBook 
PDF.  Am I doing something wrong, or is this a bug that needs to be fixed?


Many thanks for your time in answering my question.
Ken Kopelson


Seems to work fine here on Windows (though I am using TeX Live). Mind 
sending a document that where it does not work for you?


Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


PDF Page Size

2021-10-13 Thread Ken Kopelson
Hello all,
I am really hoping that one of you brilliant people can answer this
question concerning page size for PDFs.

First, this is concerning the latest LyX (2.3.6.1), along with the latest
MiKTeK (21.6/7) on Windows 10.  I use LyX on both MacOS, and on Windows.
It is the Windows version that fails to do the right thing.

When I set a page size using the MacOS LyX, (using the
document->settings->Page Layout) to something like 9 inches height x 6
inches width, and then export the document to PDF, it produces a document
that is the dimensions I requested, and all PDF viewers show it correctly.

Then, if I do the exact same thing in the Windows version, and export the
document to PDF, it produces a document that is Letter Size (8.5" x 11"),
regardless of the settings in the Page Layout.

This creates quite a problem, and makes it impossible to make an eBook
PDF.  Am I doing something wrong, or is this a bug that needs to be fixed?

Many thanks for your time in answering my question.
Ken Kopelson
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Using chrome as pdf viewer

2021-09-22 Thread Scott Kostyshak
On Wed, Sep 22, 2021 at 08:42:39AM -0400, Neal Becker wrote:
> 1. Wayland is the new thing to replace X11 (eventually)
> 2. Many of us work from home, and need to do presentations
> 
> But sharing screens under wayland doesn't work well.  My usual way to
> present from lyx is to use the view button, which opens a window with
> evince as viewer (or okular will also work).  Then to present from
> chrome, I will have a choice on X11 of sharing screen, a window, or a
> chrome tab.  I would normally choose to share the pdf viewer window.
> 
> This doesn't work on wayland.  Running chrome on wayland shows no
> windows to share.
> 
> But a thought is sharing a chrome  tab might work.  So that brings up
> my question, how can I configure lyx to open a chrome tab as the pdf
> viewer?  From what I can see, chrome seems to be an adequate viewer
> for most presentation purposes (has basics, no fancy features though).
> 
> Thanks,
> Neal

Tools > Preferences > File Handling > File Formats, choose your format (e.g., 
PDF (pdflatex)), and under "Viewer" select "Custom" and put in "chromium" (or 
the Chrome equivalent). Note that I did not test this.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Using chrome as pdf viewer

2021-09-22 Thread Neal Becker
1. Wayland is the new thing to replace X11 (eventually)
2. Many of us work from home, and need to do presentations

But sharing screens under wayland doesn't work well.  My usual way to
present from lyx is to use the view button, which opens a window with
evince as viewer (or okular will also work).  Then to present from
chrome, I will have a choice on X11 of sharing screen, a window, or a
chrome tab.  I would normally choose to share the pdf viewer window.

This doesn't work on wayland.  Running chrome on wayland shows no
windows to share.

But a thought is sharing a chrome  tab might work.  So that brings up
my question, how can I configure lyx to open a chrome tab as the pdf
viewer?  From what I can see, chrome seems to be an adequate viewer
for most presentation purposes (has basics, no fancy features though).

Thanks,
Neal
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Command to put string in both the LyX authoring environment and the finished PDF?

2021-06-22 Thread Steve Litt
Richard Kimberly Heck said on Tue, 22 Jun 2021 11:16:56 -0400


>>
>> I changed the [0] number of arguments in the LaTeX command to [1] in
>> order to consume the argument. Once I did that, whatever I put in the
>> character style does not show up in the PDF.  
>
>There's a long-standing request for non-math macros, which is exactly
>what's needed here. Someday when I have time to work on LyX again, I
>might take that on.

Nice!


SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Command to put string in both the LyX authoring environment and the finished PDF?

2021-06-22 Thread Richard Kimberly Heck
On 6/22/21 10:05 AM, Steve Litt wrote:
> Steve Litt said on Sun, 20 Jun 2021 17:39:52 -0400
>
>> Hi all,
>>
>> I have a local layout, based on Book-extsizes, for my new book. I have
>> no idea what the book's title will be yet, and I sure nuff don't want
>> to have to search all instances of that title and replace them every
>> time I get a better idea for the title.
>>
>> S, what I want to do is put something in my local layout to
>> articulate the title, both in the LyX authoring environment and in the
>> compiled PDF, showing the title in a specific appearance. I tried to do
>> it as a character style, as follows:
>>
>> 
>> \definecolor{titlebodytextcolor}{HTML}{cc}
>>
>> % ### Character style for book title within body text
>> \newcommand{\chartitlebodytextL}[0]{{\color{titlebodytextcolor}My
>> Current Title As Of Today}}%
>>
>> CharStyle CharTitleInBody
>> Font
>>  Series  Bold
>>  Color   Red
>> EndFont
>> LabelFont
>>  Series  Bold
>>  SizeLarger
>>  Color   Red
>> EndLabelFont
>> LatexNamechartitlebodytextL
>> LatexTypeCommand
>> LabelString "My Current Title As Of Today"
>> End
>> 
>>
>> If I apply the character style CharTitleInBody to an empty string in
>> LyX, the exact right thing happens in the PDF, but in the LyX
>> authoring environment the title appears under the character style inset
>> and also under the following text, which is very disturbing if you're
>> trying to copy-edit your book in the LyX environment.
>>
>> Does anybody know what I can do to make the text appear inline, instead
>> of underneath, within the LyX authoring environment?
> My workaround is as follows:
>
> I changed the [0] number of arguments in the LaTeX command to [1] in
> order to consume the argument. Once I did that, whatever I put in the
> character style does not show up in the PDF.

There's a long-standing request for non-math macros, which is exactly
what's needed here. Someday when I have time to work on LyX again, I
might take that on.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Command to put string in both the LyX authoring environment and the finished PDF?

2021-06-22 Thread Steve Litt
Steve Litt said on Sun, 20 Jun 2021 17:39:52 -0400

>Hi all,
>
>I have a local layout, based on Book-extsizes, for my new book. I have
>no idea what the book's title will be yet, and I sure nuff don't want
>to have to search all instances of that title and replace them every
>time I get a better idea for the title.
>
>S, what I want to do is put something in my local layout to
>articulate the title, both in the LyX authoring environment and in the
>compiled PDF, showing the title in a specific appearance. I tried to do
>it as a character style, as follows:
>
>
>\definecolor{titlebodytextcolor}{HTML}{cc}
>
>% ### Character style for book title within body text
>\newcommand{\chartitlebodytextL}[0]{{\color{titlebodytextcolor}My
>Current Title As Of Today}}%
>
>CharStyle CharTitleInBody
>Font
>   Series  Bold
>   Color   Red
>EndFont
>LabelFont
>   Series  Bold
>   SizeLarger
>   Color   Red
>EndLabelFont
>LatexName  chartitlebodytextL
>LatexType  Command
>LabelString "My Current Title As Of Today"
>End
>
>
>If I apply the character style CharTitleInBody to an empty string in
>LyX, the exact right thing happens in the PDF, but in the LyX
>authoring environment the title appears under the character style inset
>and also under the following text, which is very disturbing if you're
>trying to copy-edit your book in the LyX environment.
>
>Does anybody know what I can do to make the text appear inline, instead
>of underneath, within the LyX authoring environment?

My workaround is as follows:

I changed the [0] number of arguments in the LaTeX command to [1] in
order to consume the argument. Once I did that, whatever I put in the
character style does not show up in the PDF.

Next, I changed the LyX label font size from Larger to Small, so it
wouldn't take up as much line length. Finally, I put a bunch of z
characters in the inset, so the inset and the label would be
approximately the same length. What this accomplished is that the title
actually looks reasonable in a line in the LyX authoring environment,
and the correct title shows up in the PDF.

Several of you had excellent ideas, including ERT LaTeX command, a Perl
script, and some other ideas. Thanks for the great ideas. Ultimately, I
decided that my workaround best meets my workflow needs for this
project.

Thanks,

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Command to put string in both the LyX authoring environment and the finished PDF?

2021-06-21 Thread Dr Eberhard Lisse



On 2021-06-21 01:44 , Paul A. Rubin wrote:

On 6/20/21 5:39 PM, Steve Litt wrote:

Hi all,

I have a local layout, based on Book-extsizes, for my new book. I have
no idea what the book's title will be yet, and I sure nuff don't want
to have to search all instances of that title and replace them every
time I get a better idea for the title.

[...]


This is not an answer to your question, but possibly something
simpler.  If you load the 'titling' package in the document preamble,
you can put anything you want in the document's title environment and
then just use \thetitle (or maybe \thetitle{}) in ERT any place you
want to repeat the title.  If you get the hots for a new title later,
you just have to change it in the title environment.  This doesn't
deal directly with the funky formatting of the title, but it does
eliminate the search-and-replace aspect.

Paul



This is not an answer to your question, but I use stuff like $$SURNAME$$
in a number of my LyX templates and then something like

$Surname = 'Doe';
s/\$\$SURNAME\$\$/$Surname/g';

in my Perl script to fill in the variables :-)-O

el

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Command to put string in both the LyX authoring environment and the finished PDF?

2021-06-21 Thread Andrew Parsloe


On 21/06/2021 9:39 am, Steve Litt wrote:

Hi all,

I have a local layout, based on Book-extsizes, for my new book. I have
no idea what the book's title will be yet, and I sure nuff don't want
to have to search all instances of that title and replace them every
time I get a better idea for the title.

S, what I want to do is put something in my local layout to
articulate the title, both in the LyX authoring environment and in the
compiled PDF, showing the title in a specific appearance. I tried to do
it as a character style, as follows:


\definecolor{titlebodytextcolor}{HTML}{cc}

% ### Character style for book title within body text
\newcommand{\chartitlebodytextL}[0]{{\color{titlebodytextcolor}My
Current Title As Of Today}}%

CharStyle CharTitleInBody
Font
Series  Bold
Color   Red
EndFont
LabelFont
Series  Bold
SizeLarger
Color   Red
EndLabelFont
LatexName   chartitlebodytextL
LatexType   Command
LabelString "My Current Title As Of Today"
End


If I apply the character style CharTitleInBody to an empty string in
LyX, the exact right thing happens in the PDF, but in the LyX
authoring environment the title appears under the character style inset
and also under the following text, which is very disturbing if you're
trying to copy-edit your book in the LyX environment.

Does anybody know what I can do to make the text appear inline, instead
of underneath, within the LyX authoring environment?

Thanks,

SteveT


Steve, does adding

Decoration  minimalistic

after CharStyle CharTitleInBody help? Or

Decoration  classic

if you prefer? Your current style uses the CharStyle default decoration  
called conglomerate.


Andrew

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Command to put string in both the LyX authoring environment and the finished PDF?

2021-06-20 Thread Paul A. Rubin

On 6/20/21 5:39 PM, Steve Litt wrote:

Hi all,

I have a local layout, based on Book-extsizes, for my new book. I have
no idea what the book's title will be yet, and I sure nuff don't want
to have to search all instances of that title and replace them every
time I get a better idea for the title.

S, what I want to do is put something in my local layout to
articulate the title, both in the LyX authoring environment and in the
compiled PDF, showing the title in a specific appearance. I tried to do
it as a character style, as follows:


\definecolor{titlebodytextcolor}{HTML}{cc}

% ### Character style for book title within body text
\newcommand{\chartitlebodytextL}[0]{{\color{titlebodytextcolor}My
Current Title As Of Today}}%

CharStyle CharTitleInBody
Font
Series  Bold
Color   Red
EndFont
LabelFont
Series  Bold
SizeLarger
Color   Red
EndLabelFont
LatexName   chartitlebodytextL
LatexType   Command
LabelString "My Current Title As Of Today"
End


If I apply the character style CharTitleInBody to an empty string in
LyX, the exact right thing happens in the PDF, but in the LyX
authoring environment the title appears under the character style inset
and also under the following text, which is very disturbing if you're
trying to copy-edit your book in the LyX environment.

Does anybody know what I can do to make the text appear inline, instead
of underneath, within the LyX authoring environment?

Thanks,

SteveT

Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques

Steve,

This is not an answer to your question, but possibly something simpler. 
If you load the 'titling' package in the document preamble, you can put 
anything you want in the document's title environment and then just use 
\thetitle (or maybe \thetitle{}) in ERT any place you want to repeat the 
title. If you get the hots for a new title later, you just have to 
change it in the title environment. This doesn't deal directly with the 
funky formatting of the title, but it does eliminate the 
search-and-replace aspect.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Command to put string in both the LyX authoring environment and the finished PDF?

2021-06-20 Thread Steve Litt
Hi all,

I have a local layout, based on Book-extsizes, for my new book. I have
no idea what the book's title will be yet, and I sure nuff don't want
to have to search all instances of that title and replace them every
time I get a better idea for the title.

S, what I want to do is put something in my local layout to
articulate the title, both in the LyX authoring environment and in the
compiled PDF, showing the title in a specific appearance. I tried to do
it as a character style, as follows:


\definecolor{titlebodytextcolor}{HTML}{cc}

% ### Character style for book title within body text
\newcommand{\chartitlebodytextL}[0]{{\color{titlebodytextcolor}My
Current Title As Of Today}}%

CharStyle CharTitleInBody
Font
Series  Bold
Color   Red
EndFont
LabelFont
Series  Bold
SizeLarger
Color   Red
EndLabelFont
LatexName   chartitlebodytextL
LatexType   Command
LabelString "My Current Title As Of Today"
End


If I apply the character style CharTitleInBody to an empty string in
LyX, the exact right thing happens in the PDF, but in the LyX
authoring environment the title appears under the character style inset
and also under the following text, which is very disturbing if you're
trying to copy-edit your book in the LyX environment.

Does anybody know what I can do to make the text appear inline, instead
of underneath, within the LyX authoring environment?

Thanks,

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-17 Thread Steve Litt
Dr Eberhard Lisse said on Thu, 17 Jun 2021 13:03:39 +0200


>I wrote a 15 line template file, 

Could you please post the template file, as well as the exact command
you used to implement the template file for conversion?

Thanks,

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-17 Thread Steve Litt
Jean-Marc Lasgouttes said on Thu, 17 Jun 2021 10:24:06 +0200

>Le 17/06/2021 à 03:24, Steve Litt a écrit :
>> What we need, and we've needed for over a decade is a real, style for
>> style, syntactically complete HTML export, or lacking that, finally
>> finish the job, started a decade ago, of making LyX' native language
>> format valid and well formed XML. Do that and I'll make a LyX to
>> (x)HTML converter that drops no styles nor adds styles for silly
>> stuff like not indenting the first paragraph in a sequence of
>> same-styled paragraphs, and is suitable for a high quality ePub and
>> other flowing text eBooks.  
>
>DocBook5 is coming. Does this fit your needs?

Probably not. Nothing depending on Pandoc fits my needs. Also, the LyX
to Pandoc conversion would need to preserve styles.

The proposition is simple. LyX allows any sort of character or
paragraph style (environment). Documents consist of text with styles
applied, NOT text with appearance applied. The styles should be passed
through all the way to the exported format.

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-17 Thread Dr Eberhard Lisse

I had a need of making Beamer presentations out of mind maps.

Found another mind mapper which could import from the first one
and could export MarkDown.

Frome there using a shell script which messes with the Markdown by way
of perl substitutions and does some other stuff and using a self written
template for pandoc) I can generate TeX which more or less translates
flawlessly into LyX.

greetings, el

On 17/06/2021 03:24, Steve Litt wrote:
[...]

What might be more interesting is a Markdown *import*. LyX, equipped
with a Markdown layout file, could easily print Markdown to pdf, or use
it as part of a larger LyX work.

[...]

--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-17 Thread Dr Eberhard Lisse

I was going to write

 What we need in the first instance is to to be able to generate
 flowing formats (ePub and similar).

 pandoc seems to be able to do that from DocBook, so tying this to a
 LyX "Converter" should be possible, but otherwise a Makefile will
 work for most.

If that works I will even pare down our handbook (850 pages, 25 child
documents) which uses a lot of stuff (Makefile of 500 lines) so it
compile to ePub and we can distribute it internally as such.

That said, Steve is not wrong, but this (at least changing LyX's native
format to XML) seems to be a major undertaking.

greetings, el

On 17/06/2021 10:24, Jean-Marc Lasgouttes wrote:

Le 17/06/2021 à 03:24, Steve Litt a écrit :

What we need, and we've needed for over a decade is a real, style for
style, syntactically complete HTML export, or lacking that, finally
finish the job, started a decade ago, of making LyX' native language
format valid and well formed XML. Do that and I'll make a LyX to
(x)HTML converter that drops no styles nor adds styles for silly
stuff like not indenting the first paragraph in a sequence of
same-styled paragraphs, and is suitable for a high quality ePub and
other flowing text eBooks.


DocBook5 is coming. Does this fit your needs?

JMarc


--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-17 Thread Dr Eberhard Lisse

We figured it out off line.

We downloaded the file with wget and that got us pure MarkDown, which
was very amendable to pandoc conversion.

I wrote a 15 line template file, or rather pruned the standard one to
the minimum required to work, ie using Komascript and Listings (plus
Landscape) and that did the trick very well.

10 Minutes of work.

greetings, el

On 16/06/2021 22:47, Paul A. Rubin wrote:

On 6/16/21 4:12 PM, Dr Eberhard Lisse wrote:


Using R is a little overkill in my view, but if it works it works
:-)-O


It's a bit indirect, but for users of the RStudio IDE, you just open
RStudio, open the .md file and click the "Knit to PDF" toolbar button
and you're done (unless you don't like the way the PDF turned out).
In my case, it would save having to look up the command syntax.

Paul




--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-17 Thread Jean-Marc Lasgouttes

Le 17/06/2021 à 03:24, Steve Litt a écrit :

What we need, and we've needed for over a decade is a real, style for
style, syntactically complete HTML export, or lacking that, finally
finish the job, started a decade ago, of making LyX' native language
format valid and well formed XML. Do that and I'll make a LyX to
(x)HTML converter that drops no styles nor adds styles for silly stuff
like not indenting the first paragraph in a sequence of same-styled
paragraphs, and is suitable for a high quality ePub and other flowing
text eBooks.


DocBook5 is coming. Does this fit your needs?

JMarc
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-16 Thread Jack Lyon

Steve Litt wrote:

"What we need, and we've needed for over a decade is a real, style for
style, syntactically complete HTML export, or lacking that, finally
finish the job, started a decade ago, of making LyX' native language
format valid and well formed XML. Do that and I'll make a LyX to
(x)HTML converter that drops no styles nor adds styles for silly stuff
like not indenting the first paragraph in a sequence of same-styled
paragraphs, and is suitable for a high quality ePub and other flowing
text eBooks."

Yes, please! That would be wonderful! Thank you!

Best wishes,
Jack Lyon
The Editorium
http://www.editorium.com


On 6/16/2021 7:24 PM, Steve Litt wrote:

Paul Smith said on Wed, 16 Jun 2021 22:13:15 +0100


On Wed, Jun 16, 2021 at 9:48 PM Paul A. Rubin 
wrote:
  

Using R is a little overkill in my view, but if it works it works
:-)-O

It's a bit indirect, but for users of the RStudio IDE, you just open
RStudio, open the .md file and click the "Knit to PDF" toolbar button
and you're done (unless you don't like the way the PDF turned out).
In my case, it would save having to look up the command syntax.

I believe that a much needed development avenue that LyX could take is
to become able to export to markdown. Something like the following,
but builtin natively:

https://wiki.lyx.org/Tips/ConvertMarkdown

Just understand that you'll lose a lot of styles information in a
conversion of LyX to Markdown. LyX enables you to create and use any
number of arbitrary character and paragraph styles. Markdown allows
only a short list of predefined styles, so the LyX styles must be
shoehorned into Markdown.

What might be more interesting is a Markdown *import*. LyX, equipped
with a Markdown layout file, could easily print Markdown to pdf, or use
it as part of a larger LyX work.

What we need, and we've needed for over a decade is a real, style for
style, syntactically complete HTML export, or lacking that, finally
finish the job, started a decade ago, of making LyX' native language
format valid and well formed XML. Do that and I'll make a LyX to
(x)HTML converter that drops no styles nor adds styles for silly stuff
like not indenting the first paragraph in a sequence of same-styled
paragraphs, and is suitable for a high quality ePub and other flowing
text eBooks.


SteveT

Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-16 Thread Steve Litt
Paul Smith said on Wed, 16 Jun 2021 22:13:15 +0100

>On Wed, Jun 16, 2021 at 9:48 PM Paul A. Rubin 
>wrote:
>>  
>> > Using R is a little overkill in my view, but if it works it works
>> > :-)-O  
>> It's a bit indirect, but for users of the RStudio IDE, you just open
>> RStudio, open the .md file and click the "Knit to PDF" toolbar button
>> and you're done (unless you don't like the way the PDF turned out).
>> In my case, it would save having to look up the command syntax.  
>
>I believe that a much needed development avenue that LyX could take is
>to become able to export to markdown. Something like the following,
>but builtin natively:
>
>https://wiki.lyx.org/Tips/ConvertMarkdown

Just understand that you'll lose a lot of styles information in a
conversion of LyX to Markdown. LyX enables you to create and use any
number of arbitrary character and paragraph styles. Markdown allows
only a short list of predefined styles, so the LyX styles must be
shoehorned into Markdown.

What might be more interesting is a Markdown *import*. LyX, equipped
with a Markdown layout file, could easily print Markdown to pdf, or use
it as part of a larger LyX work.

What we need, and we've needed for over a decade is a real, style for
style, syntactically complete HTML export, or lacking that, finally
finish the job, started a decade ago, of making LyX' native language
format valid and well formed XML. Do that and I'll make a LyX to
(x)HTML converter that drops no styles nor adds styles for silly stuff
like not indenting the first paragraph in a sequence of same-styled
paragraphs, and is suitable for a high quality ePub and other flowing
text eBooks.


SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-16 Thread Paul Smith
On Wed, Jun 16, 2021 at 9:48 PM Paul A. Rubin  wrote:
>
> > Using R is a little overkill in my view, but if it works it works :-)-O
> It's a bit indirect, but for users of the RStudio IDE, you just open
> RStudio, open the .md file and click the "Knit to PDF" toolbar button
> and you're done (unless you don't like the way the PDF turned out). In
> my case, it would save having to look up the command syntax.

I believe that a much needed development avenue that LyX could take is
to become able to export to markdown. Something like the following,
but builtin natively:

https://wiki.lyx.org/Tips/ConvertMarkdown

Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-16 Thread Paul A. Rubin

On 6/16/21 4:12 PM, Dr Eberhard Lisse wrote:


Using R is a little overkill in my view, but if it works it works :-)-O
It's a bit indirect, but for users of the RStudio IDE, you just open 
RStudio, open the .md file and click the "Knit to PDF" toolbar button 
and you're done (unless you don't like the way the PDF turned out). In 
my case, it would save having to look up the command syntax.


Paul


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-16 Thread Dr Eberhard Lisse

Pandoc does Markdown to LaTeX (to PDF) just fine.

I use something like

pandoc --wrap=none -f markdown-auto_identifiers \
-t latex --template=/Users/el/pantemplates/mytemplate.tex \
filename.markdown > filename.tex

where I took one of the LaTeX templates and modified it to my liking.

-t pdf

should also work, but I haven't tried this, so I don't know what
converter it takes.

Using R is a little overkill in my view, but if it works it works :-)-O

greetings, el


On 2021-06-16 19:56 , Paul Smith wrote:

On Wed, Jun 16, 2021 at 5:27 PM Rich Shepard  wrote:


I've an .md file that I want to convert to .pdf.  Using pandoc I get
a .pdf that's all in html.  Can lyx help me convert the .md to a
clean text (with code) .pdf?


You can use R for that, Rich.  Just open your .md file in R and
preview it in PDF. I have just tested this approach and it works.

Paul


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-16 Thread Rich Shepard

On Wed, 16 Jun 2021, Paul Smith wrote:


You can use R for that, Rich. Just open your .md file in R and preview it
in PDF. I have just tested this approach and it works.


Paul,

How interesting! Thanks for the insight.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Converting markdown to PDF

2021-06-16 Thread Paul Smith
On Wed, Jun 16, 2021 at 5:27 PM Rich Shepard  wrote:
>
> I've an .md file that I want to convert to .pdf. Using pandoc I get a .pdf
> that's all in html. Can lyx help me convert the .md to a clean text (with
> code) .pdf?

You can use R for that, Rich. Just open your .md file in R and preview
it in PDF. I have just tested this approach and it works.

Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Converting markdown to PDF

2021-06-16 Thread Rich Shepard

I've an .md file that I want to convert to .pdf. Using pandoc I get a .pdf
that's all in html. Can lyx help me convert the .md to a clean text (with
code) .pdf?

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Bibliography occurs twice in pdf output

2021-04-12 Thread Wolfgang Engelmann
I have a normal Bibliography setting in my Koma script book which is 
correctly shown as such in the pdf output.


I have additionally a
Recommended literature
in the book with a few references
which refers to Section 4 of my Appendix as
Recommended literature.

Strangely, this
Recommended literature
section

is listed in the pdf file also as
bibliography
so that I have
bibliography
listed twice

Strange! What am I doing wrong?

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: error in converting pdf formatted figure

2021-03-30 Thread Wolfgang Engelmann



Am 30.03.21 um 18:06 schrieb Wolfgang Engelmann:



Am 30.03.21 um 17:20 schrieb Yu Jin:
Am Di., 30. März 2021 um 11:50 Uhr schrieb Wolfgang Engelmann 
mailto:engelm...@uni-tuebingen.de>>:


    A colleague of mine is not able to see a graphic in a float 
figure, if

    it is in pdf or eps format. png works. The error message is
    error in converting (or something similar, he has German setting).
    We have tried to compare my and his settings in the document and 
tools

    settings and did not find differences. We guess some converter is
    missing (although in his Tools>preferences>File handling> converters
    everything is set as is in my setting).
    His fig.pdf output works alright in the exported pdf document.
    What might be the cause?


Tell him to reconfigure LyX by Tools > Reconfigure.
--
 Eugene


Thanks a lot! Told him.
Wolfgang


he tried already reconfigure, which did not help. He upgraded to Debian 
10.9 and installed it with KDE-desktop, and it worked. He does not know, 
whether it was the new Debian-version or the KDE-desktop. Anyway, it 
works now.

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: error in converting pdf formatted figure

2021-03-30 Thread Wolfgang Engelmann



Am 30.03.21 um 17:20 schrieb Yu Jin:
Am Di., 30. März 2021 um 11:50 Uhr schrieb Wolfgang Engelmann 
mailto:engelm...@uni-tuebingen.de>>:


A colleague of mine is not able to see a graphic in a float figure, if
it is in pdf or eps format. png works. The error message is
error in converting (or something similar, he has German setting).
We have tried to compare my and his settings in the document and tools
settings and did not find differences. We guess some converter is
missing (although in his Tools>preferences>File handling> converters
everything is set as is in my setting).
His fig.pdf output works alright in the exported pdf document.
What might be the cause?


Tell him to reconfigure LyX by Tools > Reconfigure.
--
     Eugene


Thanks a lot! Told him.
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: error in converting pdf formatted figure

2021-03-30 Thread Doug Martin
On Tue, Mar 30, 2021 at 9:21 AM Yu Jin  wrote:

> Am Di., 30. März 2021 um 11:50 Uhr schrieb Wolfgang Engelmann <
> engelm...@uni-tuebingen.de>:
>
>> A colleague of mine is not able to see a graphic in a float figure, if
>> it is in pdf or eps format. png works. The error message is
>> error in converting (or something similar, he has German setting).
>> We have tried to compare my and his settings in the document and tools
>> settings and did not find differences. We guess some converter is
>> missing (although in his Tools>preferences>File handling> converters
>> everything is set as is in my setting).
>> His fig.pdf output works alright in the exported pdf document.
>> What might be the cause?
>>
>
> Tell him to reconfigure LyX by Tools > Reconfigure.
>

Good to know, thanks.
Does anyone have a list of LYX actions that require the use of Reconfigure?

Doug

> --
> Eugene
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: error in converting pdf formatted figure

2021-03-30 Thread Yu Jin
Am Di., 30. März 2021 um 11:50 Uhr schrieb Wolfgang Engelmann <
engelm...@uni-tuebingen.de>:

> A colleague of mine is not able to see a graphic in a float figure, if
> it is in pdf or eps format. png works. The error message is
> error in converting (or something similar, he has German setting).
> We have tried to compare my and his settings in the document and tools
> settings and did not find differences. We guess some converter is
> missing (although in his Tools>preferences>File handling> converters
> everything is set as is in my setting).
> His fig.pdf output works alright in the exported pdf document.
> What might be the cause?
>

Tell him to reconfigure LyX by Tools > Reconfigure.
-- 
Eugene
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


error in converting pdf formatted figure

2021-03-30 Thread Wolfgang Engelmann
A colleague of mine is not able to see a graphic in a float figure, if 
it is in pdf or eps format. png works. The error message is

error in converting (or something similar, he has German setting).
We have tried to compare my and his settings in the document and tools 
settings and did not find differences. We guess some converter is 
missing (although in his Tools>preferences>File handling> converters 
everything is set as is in my setting).

His fig.pdf output works alright in the exported pdf document.
What might be the cause?
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: blurish pdf figure

2021-03-15 Thread Wolfgang Engelmann




Am 15.03.21 um 16:56 schrieb Paul A. Rubin:

On 3/15/21 6:31 AM, Wolfgang Engelmann wrote:



Am 15.03.21 um 10:38 schrieb Dr Eberhard Lisse:

Wolfgang,

how is this produced?

el
On 12/03/2021 12:01, Wolfgang Engelmann wrote:
If I insert the graphic (appended) in a lyx document, it looks 
blurish, although the original and in the pdf output it is clear. 
Looks like it is rendered to a pixel figure.

What is wrong?
Wolfgang


With pyxplot (similar to gnuplot, but better):
http://www.pyxplot.org.uk/

#Kidd_2015-model
reset
set multiplot
set term pdf
set width 6
set output './Kidd_2015-B.pdf'
set fontsize 0.65
set key top right

set origin 0,0
set xtics ("12" 12, "18" 18, "24" 24,"6" 30)
set xlabel 'circadian time'
set ytics 0,0.2,1.4
set ylabel 'amount of TIM protein'
set label 1 'nuclear translocation' at 16.8,1.12
set label 2 'transcription/translocation' at 11.3,0.2 rotate 50
set label 3 'repression/degradation' at 24.3,1 rotate -52

plot [9:33][0:1.5] './Kidd_2015-Fig2.csv' index 0 title 'lower 
temperature' with lines colour blue, './Kidd_2015-Fig2.csv' index 1 
title 'higher temperature' with lines colour red


set display
refresh

The date file Kidd_2015-Fig2.csv is in the appendix.
I got it by digitizing the plot in the publication by using engauge
http://markummitchell.github.io/engauge-digitizer/

Wolfgang

You might try exporting the plot from pyxplot as SVG rather than PDF. 
Other than that, I suspect you would need to change the converter 
command LyX uses to convert PDF graphics to a format it can display.


Paul


Thanks, Paul and El

unfortunately:
Error encountered whilst using ghostscript to generate svg output

But png output works. (eps not)

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: blurish pdf figure

2021-03-15 Thread Dr Eberhard W Lisse

Maybe, maybe not.

For me it has always worked very well. And for graphs it should
should be ok.

Perhaps try both.

el
On 2021-03-15 19:53 , Neal Becker wrote:
Doesn't rsvg-covert output raster, which would be lower quality than 
inkscape vector output?

[...]

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: blurish pdf figure

2021-03-15 Thread Neal Becker
Doesn't rsvg-covert output raster, which would be lower quality than
inkscape vector output?

On Mon, Mar 15, 2021, 1:44 PM Dr Eberhard W Lisse  wrote:

> That should read SVG of course.
>
> LyX finds rsvg-convert on the Mac when libsvg is installed, which
> has a smaller footprint than inkscape and very good qualitywise.
>
> greetings, el
>
> On 2021-03-15 19:29 , Dr Eberhard W Lisse wrote:
>  > Wolfgang,
>  >
>  > make it export SVGA and use that :-0-O
>  >
>  > el
> [...]
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: blurish pdf figure

2021-03-15 Thread Dr Eberhard W Lisse

That should read SVG of course.

LyX finds rsvg-convert on the Mac when libsvg is installed, which
has a smaller footprint than inkscape and very good qualitywise.

greetings, el

On 2021-03-15 19:29 , Dr Eberhard W Lisse wrote:
> Wolfgang,
>
> make it export SVGA and use that :-0-O
>
> el
[...]

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: blurish pdf figure

2021-03-15 Thread Dr Eberhard W Lisse

Wolfgang,

make it export SVGA and use that :-0-O

el

On 2021-03-15 12:31 , Wolfgang Engelmann wrote:



Am 15.03.21 um 10:38 schrieb Dr Eberhard Lisse:

Wolfgang,

how is this produced?

el
On 12/03/2021 12:01, Wolfgang Engelmann wrote:
If I insert the graphic (appended) in a lyx document, it looks 
blurish, although the original and in the pdf output it is clear. 
Looks like it is rendered to a pixel figure.

What is wrong?
Wolfgang


With pyxplot (similar to gnuplot, but better):
http://www.pyxplot.org.uk/

#Kidd_2015-model
reset
set multiplot
set term pdf
set width 6
set output './Kidd_2015-B.pdf'
set fontsize 0.65
set key top right

set origin 0,0
set xtics ("12" 12, "18" 18, "24" 24,"6" 30)
set xlabel 'circadian time'
set ytics 0,0.2,1.4
set ylabel 'amount of TIM protein'
set label 1 'nuclear translocation' at 16.8,1.12
set label 2 'transcription/translocation' at 11.3,0.2 rotate 50
set label 3 'repression/degradation' at 24.3,1 rotate -52

plot [9:33][0:1.5] './Kidd_2015-Fig2.csv' index 0 title 'lower 
temperature' with lines colour blue, './Kidd_2015-Fig2.csv' index 1 
title 'higher temperature' with lines colour red


set display
refresh

The date file Kidd_2015-Fig2.csv is in the appendix.
I got it by digitizing the plot in the publication by using engauge
http://markummitchell.github.io/engauge-digitizer/

Wolfgang




--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: blurish pdf figure

2021-03-15 Thread Paul A. Rubin

On 3/15/21 6:31 AM, Wolfgang Engelmann wrote:



Am 15.03.21 um 10:38 schrieb Dr Eberhard Lisse:

Wolfgang,

how is this produced?

el
On 12/03/2021 12:01, Wolfgang Engelmann wrote:
If I insert the graphic (appended) in a lyx document, it looks 
blurish, although the original and in the pdf output it is clear. 
Looks like it is rendered to a pixel figure.

What is wrong?
Wolfgang


With pyxplot (similar to gnuplot, but better):
http://www.pyxplot.org.uk/

#Kidd_2015-model
reset
set multiplot
set term pdf
set width 6
set output './Kidd_2015-B.pdf'
set fontsize 0.65
set key top right

set origin 0,0
set xtics ("12" 12, "18" 18, "24" 24,"6" 30)
set xlabel 'circadian time'
set ytics 0,0.2,1.4
set ylabel 'amount of TIM protein'
set label 1 'nuclear translocation' at 16.8,1.12
set label 2 'transcription/translocation' at 11.3,0.2 rotate 50
set label 3 'repression/degradation' at 24.3,1 rotate -52

plot [9:33][0:1.5] './Kidd_2015-Fig2.csv' index 0 title 'lower 
temperature' with lines colour blue, './Kidd_2015-Fig2.csv' index 1 
title 'higher temperature' with lines colour red


set display
refresh

The date file Kidd_2015-Fig2.csv is in the appendix.
I got it by digitizing the plot in the publication by using engauge
http://markummitchell.github.io/engauge-digitizer/

Wolfgang

You might try exporting the plot from pyxplot as SVG rather than PDF. 
Other than that, I suspect you would need to change the converter 
command LyX uses to convert PDF graphics to a format it can display.


Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: blurish pdf figure

2021-03-15 Thread Wolfgang Engelmann



Am 15.03.21 um 10:38 schrieb Dr Eberhard Lisse:

Wolfgang,

how is this produced?

el
On 12/03/2021 12:01, Wolfgang Engelmann wrote:
If I insert the graphic (appended) in a lyx document, it looks 
blurish, although the original and in the pdf output it is clear. 
Looks like it is rendered to a pixel figure.

What is wrong?
Wolfgang


With pyxplot (similar to gnuplot, but better):
http://www.pyxplot.org.uk/

#Kidd_2015-model
reset
set multiplot
set term pdf
set width 6
set output './Kidd_2015-B.pdf'
set fontsize 0.65
set key top right

set origin 0,0
set xtics ("12" 12, "18" 18, "24" 24,"6" 30)
set xlabel 'circadian time'
set ytics 0,0.2,1.4
set ylabel 'amount of TIM protein'
set label 1 'nuclear translocation' at 16.8,1.12
set label 2 'transcription/translocation' at 11.3,0.2 rotate 50
set label 3 'repression/degradation' at 24.3,1 rotate -52

plot [9:33][0:1.5] './Kidd_2015-Fig2.csv' index 0 title 'lower 
temperature' with lines colour blue, './Kidd_2015-Fig2.csv' index 1 
title 'higher temperature' with lines colour red


set display
refresh

The date file Kidd_2015-Fig2.csv is in the appendix.
I got it by digitizing the plot in the publication by using engauge
http://markummitchell.github.io/engauge-digitizer/

Wolfgang
# x, Curve1
9.0881, 0.10204
11.3068, 0.19806
12.4435, 0.29791
13.2983, 0.38819
14.1965, 0.50113
15.0941, 0.61083
15.9121, 0.72381
16.8899, 0.83347
17.9074, 0.93986
18.9622, 1.0268
20.1731, 1.08447
20.9366, 1.09702
22.4151, 1.06382
23.6466, 0.98538
24.7137, 0.87786
25.6604, 0.7704
26.7619, 0.62397
27.6658, 0.49709
28.6117, 0.38316
29.598, 0.27244
30.5876, 0.1844
31.4225, 0.13534
32.379, 0.09594


# x, Curve2
9.2079, 0.09873
16.6243, 0.09797
17.3901, 0.12672
17.961, 0.19447
18.7473, 0.3658
19.4188, 0.57609
19.9239, 0.74433
20.3471, 0.89966
20.554, 0.94492
20.7181, 0.97075
20.9604, 0.98359
21.2793, 0.97045
21.552, 0.91521
22.0541, 0.78207
22.5487, 0.59708
23.0019, 0.40239
23.6196, 0.23678
24.049, 0.15553
24.4853, 0.12289
25.123, 0.09662
32.3785, 0.0927
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: blurish pdf figure

2021-03-15 Thread Dr Eberhard Lisse

Wolfgang,

how is this produced?

el

On 12/03/2021 12:01, Wolfgang Engelmann wrote:

If I insert the graphic (appended) in a lyx document, it looks blurish, 
although the original and in the pdf output it is clear. Looks like it is 
rendered to a pixel figure.
What is wrong?
Wolfgang




--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: blurish pdf figure

2021-03-15 Thread Wolfgang Engelmann




Am 14.03.21 um 17:08 schrieb Paul A. Rubin:

On 3/12/21 5:01 AM, Wolfgang Engelmann wrote:
If I insert the graphic (appended) in a lyx document, it looks 
blurish, although the original and in the pdf output it is clear. 
Looks like it is rendered to a pixel figure.

What is wrong?
Wolfgang

Are you saying that it looks blurry in the LyX editor (but is clear when 
the document being edited is compiled)

yes

, or are you saying that putting
it in a document and compiling that document to PDF results in the 
compiled document containing a blurry image?

no

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: blurish pdf figure

2021-03-14 Thread Paul A. Rubin

On 3/12/21 5:01 AM, Wolfgang Engelmann wrote:
If I insert the graphic (appended) in a lyx document, it looks 
blurish, although the original and in the pdf output it is clear. 
Looks like it is rendered to a pixel figure.

What is wrong?
Wolfgang

Are you saying that it looks blurry in the LyX editor (but is clear when 
the document being edited is compiled), or are you saying that putting 
it in a document and compiling that document to PDF results in the 
compiled document containing a blurry image?


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


blurish pdf figure

2021-03-12 Thread Wolfgang Engelmann
If I insert the graphic (appended) in a lyx document, it looks blurish, 
although the original and in the pdf output it is clear. Looks like it 
is rendered to a pixel figure.

What is wrong?
Wolfgang


Kidd_2015-B.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Default new documents rendering as cropped PDF

2021-01-21 Thread list_email
Hi List,

For some reason when I start a new generic document (File -> New) which is an 
Article (Standard Class), the PDF is rendered as cropped.

The default rendering keyboard shortcut (Command-R on my Mac) shows Document -> 
View [PDF (cropped)] so it’s doing what it is being told when I hit Command-R. 
But when I do Document -> View (Other Formats) -> PDF (pdflatex) it still 
renders the PDF as cropped. Also, the topmost menu item under File -> Export is 
PDF [PDF (cropped)].

In preferences, File Handling -> File Converters -> Default Output Formats -> 
With TeX fonts is set to PDF (pdflatex).

I can open an old file (saved just a couple days ago) and it still renders with 
margins as expected. Also, the top item in File -> Export is then PDF 
(pdflatex). Opening a new file from IEEE template behaves the same way.

I keep a tiny LyX file around called Equation Setter that I use from time to 
time to make equations for pasting into other programs such as graphics 
programs; that file exports cropped PDFs as desired and I used it recently.

Why do new generic Article (Standard Class) documents render as cropped, with 
cropped as the command connected to Command-R, and why do they still render 
cropped when bypassing that menu command to pdflatex?

Jerry
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Default new documents rendering as cropped PDF

2021-01-21 Thread Paul A. Rubin

On 1/21/21 5:53 PM, list_em...@icloud.com wrote:

Hi List,

For some reason when I start a new generic document (File -> New) which is an 
Article (Standard Class), the PDF is rendered as cropped.

The default rendering keyboard shortcut (Command-R on my Mac) shows Document -> View 
[PDF (cropped)] so it’s doing what it is being told when I hit Command-R. But when I do 
Document -> View (Other Formats) -> PDF (pdflatex) it still renders the PDF as 
cropped. Also, the topmost menu item under File -> Export is PDF [PDF (cropped)].

In preferences, File Handling -> File Converters -> Default Output Formats -> 
With TeX fonts is set to PDF (pdflatex).

I can open an old file (saved just a couple days ago) and it still renders with 
margins as expected. Also, the top item in File -> Export is then PDF 
(pdflatex). Opening a new file from IEEE template behaves the same way.

I keep a tiny LyX file around called Equation Setter that I use from time to 
time to make equations for pasting into other programs such as graphics 
programs; that file exports cropped PDFs as desired and I used it recently.

Why do new generic Article (Standard Class) documents render as cropped, with 
cropped as the command connected to Command-R, and why do they still render 
cropped when bypassing that menu command to pdflatex?

Jerry
If you open a new document and go to Document > Settings > Formats > 
Output Format > Default output format, is it set to Default (in which 
case it should use pdflatex, since you have that set a the user default) 
or PDF (cropped)? I'm thinking that at some point you might have saved a 
document with default view cropped as your default file class. That 
would explain cropped being at the top of the export options.


As to why a cropped document renders cropped when you switch the view to 
pdflatex, I think this may be a bug in LyX. I did the following 
experiment with an existing document that rendered normally (my default 
format is pdflatex):


1. change the document default view to cropped and view it (the PDF is
   cropped);
2. with the default still set to cropped, view as pdflatex (the PDF is
   still cropped);
3. make a trivial change (type a space and then delete it) and view as
   pdflatex (the PDF is no longer cropped).

So once you have viewed the document (creating a PDF in the temp buffer 
directory), switching between pdflatex and cropped does not seem to 
trigger recompilation in all cases (at least not when switching from 
cropped back to normal margins).


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


reuse open pdf viewer

2020-12-02 Thread Neal Becker
When I use evince, each view re-uses the existing evince viewer instance.

I'm experimenting with pympress, which seems really nice for beamer
presentation.  Each time I view the pdf, a new pympress window is created.
How is it arranged that evince will reuse the existing window, and how
might I convince pympress to do the same?

Thanks
Neal

-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer presentation PDF resolution [RESOLVED]

2020-06-19 Thread Dr Eberhard Lisse
Thank you also very much for this RTFM!!!

After 10 years of being irritated that the Beamer presentations of mine
leave a black frame in full screen, I now finally found that
aspectratio=1610 removes it.

Tested it with Skim, Acrobat and Preview (and on Zoom) and looks great. 
Need to look at it with a beamer, but nowadays we do our CPD with Zoom 
so I don't have (need) ready access to a beamer anymore. 

On my iPad Mini 5 with sidecar the standard (43?) looks best so I will 
need to try different ratios on the beamer when we go back to F2F. 
Fortunately with Makefile or a for loop it's rather easy to produce a 
PDF in each supported aspect ration and then try every one on the 
beamer and use the one that looks best.

This is great stuff!

greetings, el


On 2020-06-17 23:31 , Rich Shepard wrote:
[...]
> The beamer output is now in 16:9 aspect ratio, and the softwar I use
> to display the PDF for the recorded video tutorials ('impressive') is
> scaled to open in a 860x540 dpi window, half the final resolution.  I
> use ffmpeg to scale it up and it all works fine.
[...]

-- 
If you want to email me, replace nospam with el


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer presentation PDF resolution [RESOLVED]

2020-06-17 Thread Giovanni

  mercoledì 17 giugno 2020, 11:45, Rich Shepard:

> On Wed, 17 Jun 2020, Giovanni wrote:
> 
> > It should go in Class Options -> Custom
> > Without quote, btw.
> > In the source view it should be like this:
> > \documentclass[italian,aspectratio=169]{beamer}  
> 
> Giovanni,
> 
> I must have mis-typed something the first time I tried it as a class
> option (of course no quotes) because this time it worked.
> 
> I searched the Beamer manual (in LyX) for 'aspectratio' and it found
> nothing.

Rich,

glad to know it worked. I've found it a while ago as a stackexchange
question (here:
https://tex.stackexchange.com/questions/14336/latex-beamer-presentation-package-169-aspect-ratio
), but it seems is in the beamer user guide too:
http://tug.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf
in paragraph 8.3

In LyX i think there is lyx/beamer guide, not the complete beamer
manual.

Regards,
  G.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer presentation PDF resolution

2020-06-17 Thread Giovanni

  mercoledì 17 giugno 2020, 11:04, Rich Shepard:

> On Wed, 17 Jun 2020, Giovanni wrote:
> 
> > Use "aspectratio=169" in beamer options  
> 
> Giovanni,
> 
> Where in the Settings should this go? It doesn't work in class
> options -> Custom nor in Locay Layout (cannot be validated.)

It should go in Class Options -> Custom
Without quote, btw.
In the source view it should be like this:
\documentclass[italian,aspectratio=169]{beamer}

Regards,
G.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer presentation PDF resolution

2020-06-17 Thread Giovanni

  mercoledì 17 giugno 2020, 10:21, Rich Shepard:

> I've used LyX (and LaTeX before this) for a very long time to prepare
> the slides (visuals) for presentations. They're always produced in a
> 4:3 resolution ratio and that's how both xpdf and mupdf display them.
> This works fine for in-person presentations projected on a screen by
> an lcd projector.
> 
> However, videos for uploading to YouTube need to be in a 16:9 wide
> screen ratio. How can I set the PDF output to a 16:9 ratio using
> either 1920x1080 or 1280x720 resolution?
> 
> TIA,
> 
> Rich

Use "aspectratio=169" in beamer options

HTH
G.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer presentation PDF resolution [RESOLVED]

2020-06-17 Thread Rich Shepard

On Wed, 17 Jun 2020, Giovanni wrote:


glad to know it worked. I've found it a while ago as a stackexchange
question (here:
https://tex.stackexchange.com/questions/14336/latex-beamer-presentation-package-169-aspect-ratio
), but it seems is in the beamer user guide too:
http://tug.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf in
paragraph 8.3

In LyX i think there is lyx/beamer guide, not the complete beamer manual.


Giovanni,

That explains it.

I'm moving my business marketing/prospecting to use video tutorials on a
YouTube business channel so I need to upload them as 1920x1080 or 1280x720
resolution files.

The beamer output is now in 16:9 aspect ratio, and the softwar I use to
display the PDF for the recorded video tutorials ('impressive') is scaled to
open in a 860x540 dpi window, half the final resolution. I use ffmpeg to
scale it up and it all works fine.

Thanks for adding to my LyX/LaTeX/Beamer knowledge,

Best regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer presentation PDF resolution [RESOLVED]

2020-06-17 Thread Rich Shepard

On Wed, 17 Jun 2020, Giovanni wrote:


It should go in Class Options -> Custom
Without quote, btw.
In the source view it should be like this:
\documentclass[italian,aspectratio=169]{beamer}


Giovanni,

I must have mis-typed something the first time I tried it as a class option
(of course no quotes) because this time it worked.

I searched the Beamer manual (in LyX) for 'aspectratio' and it found
nothing.

Thanks for your help.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer presentation PDF resolution

2020-06-17 Thread Rich Shepard

On Wed, 17 Jun 2020, Giovanni wrote:


Use "aspectratio=169" in beamer options


Giovanni,

Where in the Settings should this go? It doesn't work in class options ->
Custom nor in Locay Layout (cannot be validated.)

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer presentation PDF resolution

2020-06-17 Thread Rich Shepard

On Wed, 17 Jun 2020, Giovanni wrote:


Use "aspectratio=169" in beamer options
HTH


Giovanni,

It certainly does help! Thanks very much.

Stay well,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer presentation PDF resolution [RESOLVED]

2020-06-17 Thread Rich Shepard

On Wed, 17 Jun 2020, Rich Shepard wrote:


However, videos for uploading to YouTube need to be in a 16:9 wide screen
ratio. How can I set the PDF output to a 16:9 ratio using either 1920x1080
or 1280x720 resolution?


I found the tool, now I need to learn the proper command line. Turns out
that ffmpeg, the commplete video/audio toolbox can change ratios and, I
presume, resolutions. So, off I go to figure out ffmpeg.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Beamer presentation PDF resolution

2020-06-17 Thread Rich Shepard

I've used LyX (and LaTeX before this) for a very long time to prepare the
slides (visuals) for presentations. They're always produced in a 4:3
resolution ratio and that's how both xpdf and mupdf display them. This works
fine for in-person presentations projected on a screen by an lcd projector.

However, videos for uploading to YouTube need to be in a 16:9 wide screen
ratio. How can I set the PDF output to a 16:9 ratio using either 1920x1080
or 1280x720 resolution?

TIA,

Rich

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-25 Thread Wolfgang Engelmann



Am 24.03.20 um 20:24 schrieb Jean-Marc Lasgouttes:

Le 24/03/2020 à 20:23, Wolfgang Engelmann a écrit :

What does Help>About>Information on Compilation say? It should tell 
us what options where active when configuring LyX.



LyX Version 2.3.4.2
(Friday, February 7, 2020)

Library directory: /usr/share/lyx/
User directory: ~/.lyx/
Qt Version (run-time): 5.12.5
Qt Version (compile-time): 5.12.5


This is the first tab of the dialog. I am interested by the 4th one.

JMarc


Here it is:
Build Info:
LyX 2.3.4.2 (2020-02-07)
Configuration
  Host type:   x86_64-pc-linux-gnu
  Special build flags:  build=release std-regex warnings use-enchant
  Bundled libraries:   (none)
  C++ Compiler:g++ (9.2.1)
  C++ Compiler flags:   -Wall -Wextra -Wno-deprecated-copy -fPIC 
-O2 -std=c++14
  C++ Compiler user flags:  -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 
-g -O2 -fdebug-prefix-map=/build/lyx-Jf4jAS/lyx-2.3.4.2=. 
-fstack-protector-strong -Wformat -Werror=format-security -fPIC

  Linker flags:
  Linker user flags:   -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro 
-Wl,-z,now

  Qt Frontend:
  Qt version:  5.12.5
  Packaging:   posix
  LyX binary dir:  /usr/bin
  LyX files dir:   /usr/share/lyx

Wolfgang

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Jean-Marc Lasgouttes

Le 24/03/2020 à 20:23, Wolfgang Engelmann a écrit :

What does Help>About>Information on Compilation say? It should tell us 
what options where active when configuring LyX.



LyX Version 2.3.4.2
(Friday, February 7, 2020)

Library directory: /usr/share/lyx/
User directory: ~/.lyx/
Qt Version (run-time): 5.12.5
Qt Version (compile-time): 5.12.5


This is the first tab of the dialog. I am interested by the 4th one.

JMarc

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Wolfgang Engelmann



Am 24.03.20 um 19:59 schrieb Jean-Marc Lasgouttes:

Le 24/03/2020 à 19:41, Wolfgang Engelmann a écrit :



Am 24.03.20 um 19:29 schrieb Pavel Sanda:

On Tue, Mar 24, 2020 at 07:21:27PM +0100, Wolfgang Engelmann wrote:

LyX: Software exception Detected
LyX has caught an exception, it will now attempt to save all unsaved
documents and exit.
Exception: std::exception

Did I understand you correctly, that you did not receive this message?


No, but you might have assertions enabled.


what does assertion mean?


Did you self compile or do you use distribution binary?


no, I used the Debian actualizations


What does Help>About>Information on Compilation say? It should tell us 
what options where active when configuring LyX.


JMarc

LyX Version 2.3.4.2
(Friday, February 7, 2020)

Library directory: /usr/share/lyx/
User directory: ~/.lyx/
Qt Version (run-time): 5.12.5
Qt Version (compile-time): 5.12.5

not sure whether I understood: This is the version I am using now. I 
can't tell what I used when I wrote the 2015 Lyx version.

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Jean-Marc Lasgouttes

Le 24/03/2020 à 19:41, Wolfgang Engelmann a écrit :



Am 24.03.20 um 19:29 schrieb Pavel Sanda:

On Tue, Mar 24, 2020 at 07:21:27PM +0100, Wolfgang Engelmann wrote:

LyX: Software exception Detected
LyX has caught an exception, it will now attempt to save all unsaved
documents and exit.
Exception: std::exception

Did I understand you correctly, that you did not receive this message?


No, but you might have assertions enabled.


what does assertion mean?


Did you self compile or do you use distribution binary?


no, I used the Debian actualizations


What does Help>About>Information on Compilation say? It should tell us 
what options where active when configuring LyX.


JMarc
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Wolfgang Engelmann




Am 24.03.20 um 19:45 schrieb Pavel Sanda:

On Tue, Mar 24, 2020 at 07:41:39PM +0100, Wolfgang Engelmann wrote:

No, but you might have assertions enabled.


what does assertion mean?


These are special conditions in which we let lyx shutdown
and should be enabled only by developers. If you use debian
binaries, you should be safe and need not worry about it.

Pavel


Thanks, Paul, for the explanation.
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Pavel Sanda
On Tue, Mar 24, 2020 at 07:41:39PM +0100, Wolfgang Engelmann wrote:
> > No, but you might have assertions enabled.
> 
> what does assertion mean?

These are special conditions in which we let lyx shutdown
and should be enabled only by developers. If you use debian
binaries, you should be safe and need not worry about it.

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Wolfgang Engelmann



Am 24.03.20 um 19:36 schrieb Jürgen Spitzmüller:

Am Dienstag, den 24.03.2020, 19:28 +0100 schrieb Wolfgang Engelmann:

Yes Jürgen, you are right. I unchecked literal and pdf output is ok.
Can I uncheck all 'literal' in the various nomenclature inserts at
once?


Only if you open the LyX file in a text editor. Search for
literal "true"
and replace it by
literal "false"


good idea, but I checked already all entries and its now working well.
Your help saved me a lot of time and nerves, thanks a lot!
Wolfgang


You should check the output of all nomenclature entries carefully after
that, though.

Jürgen



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Wolfgang Engelmann




Am 24.03.20 um 19:29 schrieb Pavel Sanda:

On Tue, Mar 24, 2020 at 07:21:27PM +0100, Wolfgang Engelmann wrote:

LyX: Software exception Detected
LyX has caught an exception, it will now attempt to save all unsaved
documents and exit.
Exception: std::exception

Did I understand you correctly, that you did not receive this message?


No, but you might have assertions enabled.


what does assertion mean?


Did you self compile or do you use distribution binary?


no, I used the Debian actualizations
Wolfgang



Pavel


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Jürgen Spitzmüller
Am Dienstag, den 24.03.2020, 19:28 +0100 schrieb Wolfgang Engelmann:
> Yes Jürgen, you are right. I unchecked literal and pdf output is ok.
> Can I uncheck all 'literal' in the various nomenclature inserts at
> once?

Only if you open the LyX file in a text editor. Search for 
literal "true"
and replace it by
literal "false"

You should check the output of all nomenclature entries carefully after
that, though.

Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Pavel Sanda
On Tue, Mar 24, 2020 at 07:21:27PM +0100, Wolfgang Engelmann wrote:
> LyX: Software exception Detected
> LyX has caught an exception, it will now attempt to save all unsaved
> documents and exit.
> Exception: std::exception
> 
> Did I understand you correctly, that you did not receive this message?

No, but you might have assertions enabled.
Did you self compile or do you use distribution binary?

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Wolfgang Engelmann



Am 24.03.20 um 19:17 schrieb Jürgen Spitzmüller:

Am Dienstag, den 24.03.2020, 19:08 +0100 schrieb Pavel Sanda:

As we figured out in background, the problem is using ligature 'fl'
as one character instead of normally using two characters. Replacing
them fixes the problem.

Attached is minimal example.

I was not capable to have lyx segfault because of it.

Question, I guess either for Juergen or Guenter, is whether
we should know unicode inside nomenclature and should be fixing
this issue or this kind of use should not be supported.
 From the users point of view we don't report any useful error.


Of course it shouldn't crash but rather report the uncodable character.
Can you file a report wrt this?

However, if you uncheck "Literal" in the nomencl dialog, then the
character is resolved properly (this is the default mode with newer
documents; older documents are converted with Literal=true as this was
the only possibility back then). "Literal" means that you can enter
LaTeX code.

Jürgen


Yes Jürgen, you are right. I unchecked literal and pdf output is ok.
Can I uncheck all 'literal' in the various nomenclature inserts at once?
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Pavel Sanda
On Tue, Mar 24, 2020 at 07:17:16PM +0100, Jürgen Spitzmüller wrote:
> Can you file a report wrt this?

#11797 
P
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Wolfgang Engelmann



Am 24.03.20 um 19:21 schrieb Wolfgang Engelmann:



Am 24.03.20 um 19:08 schrieb Pavel Sanda:

On Fri, Mar 20, 2020 at 09:43:00AM +0100, Wolfgang Engelmann wrote:

Thanks all for suggestions.
The file did compile in 2015.
I tried to remove parts of the original.
It turned out that a nomenclature lead to the error


As we figured out in background, the problem is using ligature 'fl'
as one character instead of normally using two characters. Replacing
them fixes the problem.

Attached is minimal example.

I was not capable to have lyx segfault because of it.

Question, I guess either for Juergen or Guenter, is whether
we should know unicode inside nomenclature and should be fixing
this issue or this kind of use should not be supported.
 From the users point of view we don't report any useful error.

Pavel



Pavel, I ran your mwe-lyx and got
LyX: Software exception Detected
LyX has caught an exception, it will now attempt to save all unsaved 
documents and exit.

Exception: std::exception

Did I understand you correctly, that you did not receive this message?

I am using Debian bullseye and Lyx 2.3.3
Should I upgrade to 2.3.4?
Wolfgang


I am sorry, I just see that I use lyx version 2.3.4.2
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Wolfgang Engelmann




Am 24.03.20 um 19:08 schrieb Pavel Sanda:

On Fri, Mar 20, 2020 at 09:43:00AM +0100, Wolfgang Engelmann wrote:

Thanks all for suggestions.
The file did compile in 2015.
I tried to remove parts of the original.
It turned out that a nomenclature lead to the error


As we figured out in background, the problem is using ligature 'fl'
as one character instead of normally using two characters. Replacing
them fixes the problem.

Attached is minimal example.

I was not capable to have lyx segfault because of it.

Question, I guess either for Juergen or Guenter, is whether
we should know unicode inside nomenclature and should be fixing
this issue or this kind of use should not be supported.
 From the users point of view we don't report any useful error.

Pavel



Pavel, I ran your mwe-lyx and got
LyX: Software exception Detected
LyX has caught an exception, it will now attempt to save all unsaved 
documents and exit.

Exception: std::exception

Did I understand you correctly, that you did not receive this message?

I am using Debian bullseye and Lyx 2.3.3
Should I upgrade to 2.3.4?
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Jürgen Spitzmüller
Am Dienstag, den 24.03.2020, 19:08 +0100 schrieb Pavel Sanda:
> As we figured out in background, the problem is using ligature 'fl'
> as one character instead of normally using two characters. Replacing
> them fixes the problem.
> 
> Attached is minimal example.
> 
> I was not capable to have lyx segfault because of it.
> 
> Question, I guess either for Juergen or Guenter, is whether
> we should know unicode inside nomenclature and should be fixing
> this issue or this kind of use should not be supported.
> From the users point of view we don't report any useful error.

Of course it shouldn't crash but rather report the uncodable character.
Can you file a report wrt this?

However, if you uncheck "Literal" in the nomencl dialog, then the
character is resolved properly (this is the default mode with newer
documents; older documents are converted with Literal=true as this was
the only possibility back then). "Literal" means that you can enter
LaTeX code.

Jürgen

> 
> Pavel


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-24 Thread Pavel Sanda
On Fri, Mar 20, 2020 at 09:43:00AM +0100, Wolfgang Engelmann wrote:
> Thanks all for suggestions.
> The file did compile in 2015.
> I tried to remove parts of the original.
> It turned out that a nomenclature lead to the error

As we figured out in background, the problem is using ligature 'fl'
as one character instead of normally using two characters. Replacing
them fixes the problem.

Attached is minimal example.

I was not capable to have lyx segfault because of it.

Question, I guess either for Juergen or Guenter, is whether
we should know unicode inside nomenclature and should be fixing
this issue or this kind of use should not be supported.
>From the users point of view we don't report any useful error.

Pavel


mwe.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to size of pdf cropped output (Paul A. Rubin)

2020-03-23 Thread Fred Schenkelberg
thanks Paul

I’ll give this a try and explore how to control sizing or resizing in the 
destination app - thanks for the tip

Cheers,

Fred

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-22 Thread Guenter Milde
On 2020-03-20, Wolfgang Engelmann wrote:
> Am 19.03.20 um 22:20 schrieb Guenter Milde:
>> On 2020-03-19, Richard Kimberly Heck wrote:
>>> On 3/19/20 12:20 PM, Paul A. Rubin wrote:
>>>> On 3/19/20 12:03 PM, Wolfgang Engelmann wrote:
>>>>> I am trying to export from a lyx file produced in 2015 a pdf file,
>>>>> but get this error:
>> ...
>>>>> further errors:
>>>>> Error 84 returned from iconv when converting from UCS-4LE to
>>>>> ISO-8859-15: Ungültiges oder unvollständiges Multi-Byte- oder
>>>>> Wide-Zeichen

>> This seems to indicate that there is an invalid utf8 multi-byte character
>> somewhere in the *.lyx file.
...
>> Keep the original file, and from a copy remove parts until it compiles.

..

> I tried to remove parts of the original.
> It turned out that a nomenclature lead to the error

> However, I can't find any mistake in it (and as said before, it compiled 
> in 2015) >
> VVD
> VIVID is a small flavin-binding blue-light photoreceptor and consists of 
> a LOV domain and an N-terminal cap

> I put it in a lyx Note and the part converted.

> Than I found an other nomenclature causing trouble.

> removed it, but now a nomenclature which went through alright before was 
> causing troubles.

This may be due to the error reason beeing at a different place than the
"trigger".

> I gave up after spending hours.

> Questions:
> If I remove the nomenclature after bibtex and index at the end of the 
> document, that does apparently not prevent the nomenclatures in the text 
> to be neglected during compiling, since lyx clashes. This is in contrast 
> to the bibtex produced references, which, if removed, prevents clashes 
> if references are giving troubles. I.e. I have to remove (or put in Lyx 
> notes) the nomenclatures. Perhaps I should work with a latex file, where 
> I could remove the nomenclatures more easily with a text editor (or use 
> the lyx file with an editor).
> For the time being I have to recover - otherwise I might get the corona

Working with the exported LaTeX file may be a good idea, one layer less that
may confuse things.

If you have an old LyX version lying around, you may also try this. Evt.
also export to LaTeX with the old version and re-import into current LyX.

Günter

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to size of pdf cropped output

2020-03-21 Thread Paul A. Rubin

On 3/17/20 6:45 PM, Fred Schenkelberg wrote:

Hi - is there a way or best practice to control the size of exported (pdf 
cropped) equations such that they become a specific or at least consistent font 
height from one pdf to another?

I’m trying to use LyX as an equation editor and embedding the PDFs into 
InDesign and other documents like PowerPoint or Adobe Captivate.

cheers, Fred
I'm not sure this is the best approach, but I would use the LaTeX 
standalone class. It's a bit finicky when it comes to math, and I find 
myself having to set the page width manually (despite it being set to 
automatically crop), but it does seem to work.


Attached are two LyX files, each with one set of equations, and the 
corresponding PDFs. To my eye, the font height looks identical. You'll 
also have to make sure that the program into which they are imported 
does not scale them (or scales them equally).


Paul



newfile1.lyx
Description: application/lyx


newfile1.pdf
Description: Adobe PDF document


newfile2.lyx
Description: application/lyx


newfile2.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-20 Thread Wolfgang Engelmann



Am 19.03.20 um 22:20 schrieb Guenter Milde:

On 2020-03-19, Richard Kimberly Heck wrote:

On 3/19/20 12:20 PM, Paul A. Rubin wrote:

On 3/19/20 12:03 PM, Wolfgang Engelmann wrote:

I am trying to export from a lyx file produced in 2015 a pdf file,
but get this error:


...


further errors:
Error 84 returned from iconv when converting from UCS-4LE to
ISO-8859-15: Ungültiges oder unvollständiges Multi-Byte- oder
Wide-Zeichen


This seems to indicate that there is an invalid utf8 multi-byte character
somewhere in the *.lyx file.


How should I proceed?

The last message (error 84) suggests that there may be a problem with
character encoding. If it is in a preview snipped, that could explain
the preceding message.



You can try to isolate the problematic portion of the document by
bisection. Once you know where the problem is, we may be able to offer
more specific advise.



It's weird that you'd see the problem now and not in 2015.  As Paul
suggests, this is a problem with one of the characters in the document:
We're trying to convert it to the right encoding and that's failing.
LyX should not crash when that happens, but sometimes it does.


It may be due to a lyx2lyx problem, some mistake when converting the
document from an old lyx format to the current one.

Keep the original file, and from a copy remove parts until it compiles.

Günter



Thanks all for suggestions.
The file did compile in 2015.
I tried to remove parts of the original.
It turned out that a nomenclature lead to the error

However, I can't find any mistake in it (and as said before, it compiled 
in 2015) >

VVD
VIVID is a small flavin-binding blue-light photoreceptor and consists of 
a LOV domain and an N-terminal cap


I put it in a lyx Note and the part converted.

Than I found an other nomenclature causing trouble.

removed it, but now a nomenclature which went through alright before was 
causing troubles.


I gave up after spending hours.

Questions:
If I remove the nomenclature after bibtex and index at the end of the 
document, that does apparently not prevent the nomenclatures in the text 
to be neglected during compiling, since lyx clashes. This is in contrast 
to the bibtex produced references, which, if removed, prevents clashes 
if references are giving troubles. I.e. I have to remove (or put in Lyx 
notes) the nomenclatures. Perhaps I should work with a latex file, where 
I could remove the nomenclatures more easily with a text editor (or use 
the lyx file with an editor).

For the time being I have to recover - otherwise I might get the corona
Cheers,
Wolfgng







VVD
VIVID is a small flavin-binding blue-light photoreceptor and consists of 
a LOV domain and an N-terminal cap


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-19 Thread Guenter Milde
On 2020-03-19, Richard Kimberly Heck wrote:
> On 3/19/20 12:20 PM, Paul A. Rubin wrote:
>> On 3/19/20 12:03 PM, Wolfgang Engelmann wrote:
>>> I am trying to export from a lyx file produced in 2015 a pdf file,
>>> but get this error:

...

>>> further errors:
>>> Error 84 returned from iconv when converting from UCS-4LE to
>>> ISO-8859-15: Ungültiges oder unvollständiges Multi-Byte- oder
>>> Wide-Zeichen

This seems to indicate that there is an invalid utf8 multi-byte character
somewhere in the *.lyx file.

>>> How should I proceed?
>> The last message (error 84) suggests that there may be a problem with
>> character encoding. If it is in a preview snipped, that could explain
>> the preceding message.

>> You can try to isolate the problematic portion of the document by
>> bisection. Once you know where the problem is, we may be able to offer
>> more specific advise.

> It's weird that you'd see the problem now and not in 2015.  As Paul
> suggests, this is a problem with one of the characters in the document:
> We're trying to convert it to the right encoding and that's failing.
> LyX should not crash when that happens, but sometimes it does.

It may be due to a lyx2lyx problem, some mistake when converting the
document from an old lyx format to the current one.

Keep the original file, and from a copy remove parts until it compiles.

Günter


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-19 Thread Richard Kimberly Heck
On 3/19/20 12:20 PM, Paul A. Rubin wrote:
> On 3/19/20 12:03 PM, Wolfgang Engelmann wrote:
>> I am trying to export from a lyx file produced in 2015 a pdf file,
>> but get this error:
>>
>> Error: Softwareausnahme erkannt
>> 
>> LyX hat einen Fehler (Exception) entdeckt. Das Programm wird jetzt
>> versuchen, alle ungespeicherten Dateien zu speichern, und dann beendet.
>>
>> Exception: std::exception
>> Buffer.cpp (1601):
>> /home/wolfgang/Dokumente/Photobiology-2015-3/PBR-FINAL--NN.lyx.emergency
>> Buffer.cpp (1601):
>> /home/wolfgang/Dokumente/Photobiology-2015-3/PBR-FINAL-NN.lyx.emergency
>> Abgebrochen
>>
>> what might this mean > Exception: std::exception  ??
>>
>> I started the lyx on a terminal and there it starts with
>>
>> $ lyx PBR-FINAL--NN.lyx
>> kf5.kio.core: "Ordner tags:/ lässt sich nicht öffnen."
>> Warning: Failed to produce 1 preview snippet(s)
>> QXcbClipboard: SelectionRequest too old
>>
>> further errors:
>> Error 84 returned from iconv when converting from UCS-4LE to
>> ISO-8859-15: Ungültiges oder unvollständiges Multi-Byte- oder
>> Wide-Zeichen
>>
>> How should I proceed?
>> Wolfgang
> The last message (error 84) suggests that there may be a problem with
> character encoding. If it is in a preview snipped, that could explain
> the preceding message.
>
> You can try to isolate the problematic portion of the document by
> bisection. Once you know where the problem is, we may be able to offer
> more specific advise.

It's weird that you'd see the problem now and not in 2015. As Paul
suggests, this is a problem with one of the characters in the document:
We're trying to convert it to the right encoding and that's failing. LyX
should not crash when that happens, but sometimes it does.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx file from 2015 not converted to pdf

2020-03-19 Thread Paul A. Rubin

On 3/19/20 12:03 PM, Wolfgang Engelmann wrote:
I am trying to export from a lyx file produced in 2015 a pdf file, but 
get this error:


Error: Softwareausnahme erkannt

LyX hat einen Fehler (Exception) entdeckt. Das Programm wird jetzt 
versuchen, alle ungespeicherten Dateien zu speichern, und dann beendet.


Exception: std::exception
Buffer.cpp (1601): 
/home/wolfgang/Dokumente/Photobiology-2015-3/PBR-FINAL--NN.lyx.emergency
Buffer.cpp (1601): 
/home/wolfgang/Dokumente/Photobiology-2015-3/PBR-FINAL-NN.lyx.emergency

Abgebrochen

what might this mean > Exception: std::exception  ??

I started the lyx on a terminal and there it starts with

$ lyx PBR-FINAL--NN.lyx
kf5.kio.core: "Ordner tags:/ lässt sich nicht öffnen."
Warning: Failed to produce 1 preview snippet(s)
QXcbClipboard: SelectionRequest too old

further errors:
Error 84 returned from iconv when converting from UCS-4LE to 
ISO-8859-15: Ungültiges oder unvollständiges Multi-Byte- oder 
Wide-Zeichen


How should I proceed?
Wolfgang
The last message (error 84) suggests that there may be a problem with 
character encoding. If it is in a preview snipped, that could explain 
the preceding message.


You can try to isolate the problematic portion of the document by 
bisection. Once you know where the problem is, we may be able to offer 
more specific advise.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


lyx file from 2015 not converted to pdf

2020-03-19 Thread Wolfgang Engelmann
I am trying to export from a lyx file produced in 2015 a pdf file, but 
get this error:


Error: Softwareausnahme erkannt

LyX hat einen Fehler (Exception) entdeckt. Das Programm wird jetzt 
versuchen, alle ungespeicherten Dateien zu speichern, und dann beendet.


Exception: std::exception
Buffer.cpp (1601): 
/home/wolfgang/Dokumente/Photobiology-2015-3/PBR-FINAL--NN.lyx.emergency
Buffer.cpp (1601): 
/home/wolfgang/Dokumente/Photobiology-2015-3/PBR-FINAL-NN.lyx.emergency

Abgebrochen

what might this mean > Exception: std::exception  ??

I started the lyx on a terminal and there it starts with

$ lyx PBR-FINAL--NN.lyx
kf5.kio.core: "Ordner tags:/ lässt sich nicht öffnen."
Warning: Failed to produce 1 preview snippet(s)
QXcbClipboard: SelectionRequest too old

further errors:
Error 84 returned from iconv when converting from UCS-4LE to 
ISO-8859-15: Ungültiges oder unvollständiges Multi-Byte- oder Wide-Zeichen


How should I proceed?
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


How to size of pdf cropped output

2020-03-17 Thread Fred Schenkelberg
Hi - is there a way or best practice to control the size of exported (pdf 
cropped) equations such that they become a specific or at least consistent font 
height from one pdf to another?

I’m trying to use LyX as an equation editor and embedding the PDFs into 
InDesign and other documents like PowerPoint or Adobe Captivate.

cheers, Fred
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF output wrong size

2020-03-05 Thread Les
On Thu, 5 Mar 2020 18:56:43 +
Paul Evans  wrote:

> I was struck by your observation that the memoir class ignores the
> LyX page sizes. I have been using memoir as my base for most LyX
> drafting and have happily used either the LyX defaults or minor
> variations specified in the LyX settings eg on margins without any
> apparent need to put anything in the preamble. Is this just because I
> have simple needs (a4, standard margins)? If I needed a greater range
> of sizes would I then find that the LyX settings were ignored? 

Paul,

The problem is that standard LaTeX page definitions do not allow the
precise layout design which is one of memoir's purposes, so the package
does things differently. The default values are ones which are used
very frequently, so new users of memoir often don't notice the
difference. But when you want to move away from the default you have
problems. That's how I found out that memoir does things differently.

Les

-- 
Les Denham
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF output wrong size

2020-03-05 Thread Paul Evans



> On 3 Mar 2020, at 21:30, Les  wrote:
> 
> On Tue, 3 Mar 2020 11:10:42 -0700
> Richard Opheim  wrote:
> 
>> Sorry about that. It's been a while since I posted.
>> I'm running LyX 2.3.4.3 on WIN10. The class is memoir. I specify that
>> the paper format should be 8 x 5, but the program doggedly outputs to
>> 8.5 x 11.
> 
> The memoir class ignores LyX page sizes. You have to define them in
> the  preamble.
> 
> Here is what I have put in the preamble to solve a similar problem:
> 
> \setstocksize{9in}{6in}
> \settrimmedsize{9in}{6in}{*}
> \settrims{0pt}{0pt}
> \settypeblocksize{7.7in}{4.5in}{*}
> \setulmarginsandblock{24mm}{20mm}{*}
> \setheaderspaces{0.625in}{*}{*}
> \setlrmargins{0.75in}{*}{*}
> \setlength{\marginparwidth}{0.0in}
> \setlength{\uppermargin}{0.7in} %Top margin including header
> 
> -- 
> Les Denham
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users

Les

I was struck by your observation that the memoir class ignores the LyX page 
sizes. I have been using memoir as my base for most LyX drafting and have 
happily used either the LyX defaults or minor variations specified in the LyX 
settings eg on margins without any apparent need to put anything in the 
preamble. Is this just because I have simple needs (a4, standard margins)? If I 
needed a greater range of sizes would I then find that the LyX settings were 
ignored? 

I have been using versions of LyX up to the most recent on Mac OSX, currently 
Catalina.

Agree with you about the manual! 

Regards

Paul

Paul Evans

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF output wrong size

2020-03-05 Thread Les
On Thu, 5 Mar 2020 09:53:36 -0800 (PST)
Rich Shepard  wrote:

> There's a tool called pdfjam that allows a pdf document to be resized
> to different paper sizes (among other tweaks.) I learned of it when
> printed web pages were legal rather than letter size. Using pdfjam I
> reformatted the documents to fit letter paper.

Rich,

Thanks for the information. I might have a use for pdfjam sometimes.

The document I gave the example for is a memoir currently in the
process of publication. When the "Books Manager" with the publisher
talked about scraping my text from my 340 page PDF file, in order to
reformat to follow their style, it set off all kinds of alarm bells
when I thought of what they would do with over a hundred figures, a six
page glossary, an 18 page index, and hundreds of cross-references. So I
offered to prepare a final PDF to their detailed specifications. The
trickiest part was getting the page headings exactly as they wanted
them. This would not be possible with KOMA-script (which I have used
extensively, and still do use a lot).

I hope by doing it this way, the publisher will not only get it
"right", but will get it on sale faster, and at lower cost. If
the publisher's costs are lower, they can sell at a lower price, which
will increase the number of sales and (hopefully) increase my royalties.

Les
-- 
Les Denham
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF output wrong size

2020-03-05 Thread Rich Shepard

On Thu, 5 Mar 2020, Les wrote:


Actually, /setstocksize alone does the trick.


Les,

I use the KOMA-Script classes, not memoir, but I offer information related
to PDF page size that applies to existing PDF files, not generated ones in
LyX.

There's a tool called pdfjam that allows a pdf document to be resized to
different paper sizes (among other tweaks.) I learned of it when printed web
pages were legal rather than letter size. Using pdfjam I reformatted the
documents to fit letter paper.

Off topic but perhaps useful.

Carpe weekend,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


  1   2   3   4   5   6   7   8   9   10   >