Inkscape Presentation at Phoenix LUG 1/13/2022

2022-01-12 Thread Steve Litt via lyx-users
Hi all,

Many of you have various graphics and diagrams in your books, papers,
magazines, etc. If you've ever wondered about using Inkscape to make
them, I'm giving an Beginning and Intermediate Inkscape online (Jitsi)
presentation at the monthly Phoenix (Arizona USA) LUG (PLUG) meeting
1/13/2022 at 7pm **Mountain Time** (Phoenix, Denver, and Salt Lake City
USA time).

You can see details at http://troubleshooters.com/lugs/phoenixlug/

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: Program Listings

2022-01-12 Thread Joseph Hesse via lyx-users

On 1/12/22 15:00, Herbert Voss via lyx-users wrote:



Am 12.01.22 um 13:22 schrieb Joseph Hesse via lyx-users:
I am writing a programing book and want to have programs that have 
been prepared with a text editor included in the book.  This is what 
I have done so far.


Insert->File->Child Document

File: CodeListings/Test.cpp
Include Type: Program Listing
Caption: My Caption
Label: First Program

More Parameters: numbers=left, frame=tb, caption=b, float

It sort of works but I need assistance.
The caption I have set above does not appear on the bottom as 
"caption=b" would suggest.

The label I have set above does not appear anywhere.

I would like the text of the inserted program to have "typewriter" 
font and be colored green.  How do I do this.


Am I on the right track, is the above the correct way of doing what I 
want?


Use /Insert -> Program Listing/ option.

Herbert


I tried what you suggested.  I right clicked on the inset and could not 
find an option where I could specify where my code listing are located.

Thank you,
Joe

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


Re: Graphics clipping in LyX 2.3.6

2022-01-12 Thread Stephan Witt via lyx-users
Am 12.01.2022 um 21:23 schrieb Stephen Buonopane via lyx-users 
:
> 
> Ever since I upgraded to LyX 2.3.6.2 (on Mac OS X 10.15.7) I have been having 
> issues when I use “clip to coordinates” in the LyX: Graphics window. 
> The bounding box of the on-screen LyX preview is different than the pdf 
> output (using pdflatex). This worked fine when I was in LyX 2.3.5.2
> 
> I am using an external pdf file which gets converted to on-screen PNG with 
> the following command in the converters for PDF (graphics) -> PNG
> sips --resampleWidth 600 --setProperty format png $$i --out $$o
> 
> Below are two snippets from the Code Preview Pane for the exact same LyX file 
> opened in each version.The same clipping coordinates are being converted to 
> different values of the viewport parameter by the two different versions of 
> LyX
> 
> LyX 2.3.6.2 Does NOT output correct pdf file 
> \begin{enumerate*}
> \item \textbf{Shear and Moment Diagrams}\\
> For the simply-supported beam shown below: \\
> \includegraphics[viewport=0bp 340bp 200bp 440bp,clip]{images/hw1_2022}
> \end{enumerate*}
> 
> LyX 2.3.5.2 DOES output correct pdf file 
> \begin{enumerate*}
> \item \textbf{Shear and Moment Diagrams}\\
> For the simply-supported beam shown below: \\
> \includegraphics[viewport=0bp 316.965bp 186.bp 
> 410.19bp,clip]{images/hw1_2022}
> \end{enumerate*}
> 
> I looked at the release notes for 2.3.6 and the only possibly related item I 
> could find was 
> "- Fix clipping of vector images and when exporting from command line  
> (follow-up to bug 11180).”
> but I could not find bug 11180 in the bug tracker, so not sure if this is 
> related.
> 
> Any ideas? 

No idea ATM. But a link to the bug:
https://www.lyx.org/trac/ticket/11180

BR,
Stephan

> For now I will revert to LyX 2.3.5.2.
> 
> Thanks,
> Steve

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


Graphics clipping in LyX 2.3.6

2022-01-12 Thread Stephen Buonopane via lyx-users
Ever since I upgraded to LyX 2.3.6.2 (on Mac OS X 10.15.7) I have been having 
issues when I use “clip to coordinates” in the LyX: Graphics window. 
The bounding box of the on-screen LyX preview is different than the pdf output 
(using pdflatex). This worked fine when I was in LyX 2.3.5.2

I am using an external pdf file which gets converted to on-screen PNG with the 
following command in the converters for PDF (graphics) -> PNG
sips --resampleWidth 600 --setProperty format png $$i --out $$o

Below are two snippets from the Code Preview Pane for the exact same LyX file 
opened in each version.The same clipping coordinates are being converted to 
different values of the viewport parameter by the two different versions of LyX

LyX 2.3.6.2 Does NOT output correct pdf file 
\begin{enumerate*}
\item \textbf{Shear and Moment Diagrams}\\
For the simply-supported beam shown below: \\
\includegraphics[viewport=0bp 340bp 200bp 440bp,clip]{images/hw1_2022}
\end{enumerate*}

LyX 2.3.5.2 DOES output correct pdf file 
\begin{enumerate*}
\item \textbf{Shear and Moment Diagrams}\\
For the simply-supported beam shown below: \\
\includegraphics[viewport=0bp 316.965bp 186.bp 
410.19bp,clip]{images/hw1_2022}
\end{enumerate*}

I looked at the release notes for 2.3.6 and the only possibly related item I 
could find was 
"- Fix clipping of vector images and when exporting from command line  
(follow-up to bug 11180).”
but I could not find bug 11180 in the bug tracker, so not sure if this is 
related.

Any ideas? 
For now I will revert to LyX 2.3.5.2.

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


Re: Program Listings

2022-01-12 Thread Herbert Voss via lyx-users



Am 12.01.22 um 13:22 schrieb Joseph Hesse via lyx-users:
I am writing a programing book and want to have programs that have 
been prepared with a text editor included in the book.  This is what I 
have done so far.


Insert->File->Child Document

File: CodeListings/Test.cpp
Include Type: Program Listing
Caption: My Caption
Label: First Program

More Parameters: numbers=left, frame=tb, caption=b, float

It sort of works but I need assistance.
The caption I have set above does not appear on the bottom as 
"caption=b" would suggest.

The label I have set above does not appear anywhere.

I would like the text of the inserted program to have "typewriter" 
font and be colored green.  How do I do this.


Am I on the right track, is the above the correct way of doing what I 
want?


Use /Insert -> Program Listing/ option.

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


Program Listings

2022-01-12 Thread Joseph Hesse via lyx-users
I am writing a programing book and want to have programs that have been 
prepared with a text editor included in the book.  This is what I have 
done so far.


Insert->File->Child Document

File: CodeListings/Test.cpp
Include Type: Program Listing
Caption: My Caption
Label: First Program

More Parameters: numbers=left, frame=tb, caption=b, float

It sort of works but I need assistance.
The caption I have set above does not appear on the bottom as 
"caption=b" would suggest.

The label I have set above does not appear anywhere.

I would like the text of the inserted program to have "typewriter" font 
and be colored green.  How do I do this.


Am I on the right track, is the above the correct way of doing what I want?

Thank you,
Joe Hesse

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