Re: Donation Problem

2018-04-03 Thread Scott Kostyshak
On Mon, Mar 19, 2018 at 05:57:29AM +, Baris Erkus wrote:
> Hello,
> 
> I tried to make a donation for the new version but PayPal is too complicated 
> and I cannot do donate through it. Any other means for donation?

I do not think there is another way to donate. In any case, just
participating on the list is already a great help!

Thanks,

Scott


signature.asc
Description: PGP signature


Re: Code listings in colored boxes

2018-04-03 Thread Scott Kostyshak
On Sun, Feb 25, 2018 at 12:49:47AM +, Paul A. Rubin wrote:
> On 02/24/2018 02:40 PM, ll...@writersglen.com wrote:
> > 
> > Hello,
> > 
> > I've been struggling to format attractive code listings. The boxes in
> > the attached mini-lyx document show my feeble attempts so far.
> > 
> > Box 2 is close to what I want, but has numerous problems:
> > 
> > 1. Rather than red and white, I'd want black and light gray
> > 
> > 2. I'd like width to be full width of text area of my page
> > 
> > 3. I'd to use \listno\ in header, but get this error message when I try:
> > 
> > File ended while scanning use of \codelist.
> > 
> > <*> listno.tex
> > 
> > *** (job aborted, no legal \end found)
> > 
> > 4. If I try to add a second code listing I get error messages or a
> > broken box depending upon how I try to terminate the first list
> > specification
> > 
> > 5. I'd like to use a monospace font in the code area that has both
> > normal and bold face
> > 
> > Most of all, I'd like to understand how to gain programming control over
> > the appearance of my code list boxes. I've been studying the tcolorbox
> > manual. But when I try to change parameters in the lyx preamble nothing
> > seems to change. So I'm guessing there's a lyx issue I'm ignorant of.
> > 
> > I'd much appreciate any and all tips to help solve these issues.
> > 
> > Many thanks,
> > 
> > Lloyd R. Prentice
> > 
> [I screwed up and replied privately rather than to the list, so I'm
> repeating the reply here.]
> 
> Lloyd,
> 
> There are a couple of problems with your MWE. One is that it won't compile
> due to a typo. In the TeX box after "More code", you have a left parenthesis
> where you need a left brace. The other is that you seem to be using a
> nonstandard document class. It's a good idea to keep MWEs as vanilla as
> possible.
> 
> To make the background for the text in your code box more gray, ratchet up
> the "5" in colback settings. Right now you have gray!5!white, which is a mix
> of 5% gray and 95% white. Try something like 25 rather than 5.
> 
> I believe the specification red!1175!black for the colframe parameter is
> illegal; the xcolor package wants numbers between 0 and 100. Since I'm not
> sure what you're going for here, I can't make a useful suggestion, other
> than to say the closer you get to 0 (100) the more red (black) you get in
> the mix.
> 
> If you want the box header to have a pure black background, add
> "colbacktitle=black" to the definition of the box.
> 
> To get full text width, you may need to use \newtcolorbox rather than
> \newtcbox (which does not seem to like the width option). That will mean
> using \begin{my box name} and \end{my box name} to create the box. The extra
> option you give in the definition of the color box is "width=\textwidth".
> 
> An easier approach, in my opinion, is to use the features of the LyX module
> to define a custom color box. I've attached a hacked copy of your file,
> changing the document type to plain old book, fiddling a bit with your
> preamble (while noting that the color box stuff in the preamble won't be
> needed at all if you use the module features), and demonstrating the custom
> color box feature from the module.
> 
> As for your other questions, it's dinner time here, so you're on your own.
> Hopefully someone else will pick up the thread.
> 
> Paul

I'm CC'ing Lloyd. Since I did not see a reply, I'm guessing that he did
not receive the email.

Scott


signature.asc
Description: PGP signature


Re: LyX 2.3.0 and tables with footnotes

2018-04-03 Thread Paul A. Rubin

On 04/03/2018 12:38 PM, Niklas Huldén wrote:

Den 03-04-2018 kl. 18:51, skrev Paul A. Rubin:

On 04/03/2018 10:55 AM, Niklas Huldén wrote:

Hello all!

I am testing LyX 2.3.0 on windows 10 with MikTex 2.9. I have some 
old tables with footnotes inside them which used to line up fine 
with the table using the "minipage trick" putting the table in a 
minipage (whitout the caption).
In LyX 2.3.0 this results in the footnote becoming an ordinary 
footnote, which makes it hard to keep tables and footnotes on the 
same page. But I understand this is a feature now. Is there any way 
to "emulate" the old behavior? I include a MWF and two screenshots.


Thanks and all the best!
Niklas
You could add \renewcommand{\tablefootnote}{\footnote} to the 
document preamble. (If you do this a lot, you might want to cobble 
together a module for it.)


Paul

Thank you Paul! This works fine and takes me out of immediate danger 
zone. I guess a module would be a good idea in the long run.


A somewhat linked issue is that I get an error message if I use the 
rotate package in a LyX file that uses tablefootnotes: "Package 
tablefootnote Error: Package rotating loaded after tablefootnote."


Hard to find a place to load rotate before the tablefootnote though.

Many thanks again!

Niklas


Niklas,

I've attached a module. Try putting it in your local layouts folder 
(~/.lyx/layouts on most Linux systems), then reconfigure LyX, add it to 
your document (and do /not/ add the \renewcommand line in the preamble), 
then see if you get the desired results (including using the rotate 
package).


Cheers,
Paul

#\DeclareLyXModule{No Table Notes}
#DescriptionBegin
# Avoids use of the tablenotes package and converts forces footnotes in tables
# to use the standard \footnote command (requiring that the table be in a 
minipage).
#DescriptionEnd
#
# Author: Paul Rubin 
#

Format 66

Provides tablefootnote 1

AddToPreamble
  \newcommand{\tablefootnote}{\footnote}
EndPreamble



Re: LyX 2.3.0 and tables with footnotes

2018-04-03 Thread Niklas Huldén

Den 03-04-2018 kl. 18:51, skrev Paul A. Rubin:

On 04/03/2018 10:55 AM, Niklas Huldén wrote:

Hello all!

I am testing LyX 2.3.0 on windows 10 with MikTex 2.9. I have some old 
tables with footnotes inside them which used to line up fine with the 
table using the "minipage trick" putting the table in a minipage 
(whitout the caption).
In LyX 2.3.0 this results in the footnote becoming an ordinary 
footnote, which makes it hard to keep tables and footnotes on the 
same page. But I understand this is a feature now. Is there any way 
to "emulate" the old behavior? I include a MWF and two screenshots.


Thanks and all the best!
Niklas
You could add \renewcommand{\tablefootnote}{\footnote} to the document 
preamble. (If you do this a lot, you might want to cobble together a 
module for it.)


Paul

Thank you Paul! This works fine and takes me out of immediate danger 
zone. I guess a module would be a good idea in the long run.


A somewhat linked issue is that I get an error message if I use the 
rotate package in a LyX file that uses tablefootnotes: "Package 
tablefootnote Error: Package rotating loaded after tablefootnote."


Hard to find a place to load rotate before the tablefootnote though.

Many thanks again!

Niklas



Re: LyX 2.3.0 and tables with footnotes

2018-04-03 Thread Scott Kostyshak
On Tue, Apr 03, 2018 at 02:55:28PM +, Niklas Huldén wrote:
> Hello all!
> 
> I am testing LyX 2.3.0 on windows 10 with MikTex 2.9. I have some old tables
> with footnotes inside them which used to line up fine with the table using
> the "minipage trick" putting the table in a minipage (whitout the caption).
> In LyX 2.3.0 this results in the footnote becoming an ordinary footnote,
> which makes it hard to keep tables and footnotes on the same page. But I
> understand this is a feature now. Is there any way to "emulate" the old
> behavior? I include a MWF and two screenshots.
> 
> Thanks and all the best!

Thanks for this pefect bug report, Niklas! A simple .lyx file in 2.2.x
format, and before and after screenshots--It is always a pleasure to
receive a well-organized bug report. I can reproduce your findings.

By the way, I think there are two questions here: 1. do we want to
change the output of 2.2.x files? and 2. do we want the behavior in new
2.3.x-created files to be different? I would guess the answer to 2. is
yes it is expected. I'm not sure about 1.

Best,

Scott


signature.asc
Description: PGP signature


Re: LyX 2.3.0 and tables with footnotes

2018-04-03 Thread Paul A. Rubin

On 04/03/2018 10:55 AM, Niklas Huldén wrote:

Hello all!

I am testing LyX 2.3.0 on windows 10 with MikTex 2.9. I have some old 
tables with footnotes inside them which used to line up fine with the 
table using the "minipage trick" putting the table in a minipage 
(whitout the caption).
In LyX 2.3.0 this results in the footnote becoming an ordinary 
footnote, which makes it hard to keep tables and footnotes on the same 
page. But I understand this is a feature now. Is there any way to 
"emulate" the old behavior? I include a MWF and two screenshots.


Thanks and all the best!
Niklas
You could add \renewcommand{\tablefootnote}{\footnote} to the document 
preamble. (If you do this a lot, you might want to cobble together a 
module for it.)


Paul



LyX 2.3.0 and tables with footnotes

2018-04-03 Thread Niklas Huldén

Hello all!

I am testing LyX 2.3.0 on windows 10 with MikTex 2.9. I have some old 
tables with footnotes inside them which used to line up fine with the 
table using the "minipage trick" putting the table in a minipage 
(whitout the caption).
In LyX 2.3.0 this results in the footnote becoming an ordinary footnote, 
which makes it hard to keep tables and footnotes on the same page. But I 
understand this is a feature now. Is there any way to "emulate" the old 
behavior? I include a MWF and two screenshots.


Thanks and all the best!
Niklas


tablefoot.lyx
Description: application/lyx


Re: MikTeX problem...

2018-04-03 Thread Cris Fuhrman
Hi Bernt,

I googled the error and found this:
https://tex.stackexchange.com/q/18144/17868

Is it helpful?

C. Fuhrman

On Mon, Apr 2, 2018, 09:52 Bernt Lie  wrote:

> I just updated MikTeX after some problems with LyX lately. (LyX 2.2.3,
> Windows 10, 64 bit).
>
>
>
> When trying to preview a LyX document, I get the following error message:
>
>
>
>
>
> When clicking on “Yes”, the following detail pops up:
>
>
>
>
>
> Anyone got a clue?
>
>
>
> -Bernt
>


Re: How to get rid of indentation in footnote

2018-04-03 Thread jezZiFeR
Dear Jürgen,

thanks, this also works. For me it is not that easy to have a good orientation 
in the manual, but thank you for the hint nonetheless. I hope to get this 
better one day…

Best
Jess






On 3. Apr. 2018, 13:04 +0200, Jürgen Spitzmüller , wrote:
> > 2018-04-03 10:08 GMT+02:00 jezZiFeR :
> > > Hello,
> > >
> > > could somebody please help: how could I get rid of the indentation of 
> > > footnotes in the first line of the footer? I want every footnote to begin 
> > > at the margin without indentation. I use KOMA-script-report in LyX 2.3.0. 
> > > Please let me know if you need a screenshot.
> >
> > \deffootnote{1.5em}{1em}{%
> > \makebox[1.5em][l]{\thefootnotemark}%
> > }
> >
> > See KOMA-Script manual.
> >
> > Jürgen
> >
> >
> > >
> > > Thanks
> > > Jess
> > >
>


Re: How to get rid of indentation in footnote

2018-04-03 Thread jezZiFeR
Dear John,
thank you very much – this works fine!






On 3. Apr. 2018, 13:04 +0200, John Kane , wrote:
> Place
> \usepackage[hang,flushmargin]{footmisc}
> in the LaTeX preamble.
>
> > On 3 April 2018 at 04:08, jezZiFeR  wrote:
> > > Hello,
> > >
> > > could somebody please help: how could I get rid of the indentation of 
> > > footnotes in the first line of the footer? I want every footnote to begin 
> > > at the margin without indentation. I use KOMA-script-report in LyX 2.3.0. 
> > > Please let me know if you need a screenshot.
> > >
> > > Thanks
> > > Jess
> > >
>
>
>
> --
> John Kane
> Kingston ON Canada


Re: How to get rid of indentation in footnote

2018-04-03 Thread Jürgen Spitzmüller
2018-04-03 10:08 GMT+02:00 jezZiFeR :

> Hello,
>
> could somebody please help: how could I get rid of the indentation of
> footnotes in the first line of the footer? I want every footnote to begin
> at the margin without indentation. I use KOMA-script-report in LyX 2.3.0.
> Please let me know if you need a screenshot.
>

\deffootnote{1.5em}{1em}{%

\makebox[1.5em][l]{\thefootnotemark}%

}

See KOMA-Script manual.

Jürgen



>
> Thanks
> Jess
>
>


How to get rid of indentation in footnote

2018-04-03 Thread jezZiFeR
Hello,

could somebody please help: how could I get rid of the indentation of footnotes 
in the first line of the footer? I want every footnote to begin at the margin 
without indentation. I use KOMA-script-report in LyX 2.3.0. Please let me know 
if you need a screenshot.

Thanks
Jess