Re: KOMA-Script report: float numbering [RESOLVED]

2022-07-29 Thread Ricardo Berlasso
El vie, 29 jul 2022 a las 8:18, Udicoudco () escribió:

>
>>>
> ‫בתאריך יום ה׳, 28 ביולי 2022 ב-19:19 מאת ‪Rich Shepard‬‏ <‪
> rshep...@appl-ecosys.com‬‏>:‬
>
>> On Thu, 28 Jul 2022, Ricardo Berlasso wrote:
>>
>> > Try with
>> > \usepackage{chngcntr}
>> > \counterwithout{figure}{section}
>>
>> Ricardo,
>>
>> Boy howdy! That's a new lesson for me, and a valuable one.
>>
>> Works like a charm.
>>
>> Thanks,
>>
>> Rich
>> --
>> lyx-users mailing list
>> lyx-users@lists.lyx.org
>
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
>
>
> Hi Rick,
>
> Please note that since 2018 the "chngcntr" package has been integrated
> into LaTeX2e (see LaTeX2e News Issue 28
> <https://www.latex-project.org/news/latex2e-news/ltnews28.pdf>),
> So, if you are using up to date LaTeX format there is no need to load
> the  chngcntr package.
>

Good to know! Until a month ago I still was with TeXLive 2017, but you're
right, with TeXLive 2021 calling the package is not needed anymore.

Regards,
Ricardo



>
> Regards,
> Udi
>
> --
> 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: KOMA-Script report: float numbering

2022-07-28 Thread Ricardo Berlasso
El jue, 28 jul 2022 a las 17:45, Rich Shepard ()
escribió:

> I'm using unnumbered sections and subsections in a KOMA-Script report.
> Floating figures and tables are numbered 0.n because there is no section
> number.
>

Try with

\usepackage{chngcntr}

\counterwithout{figure}{section}


Regards,

Ricardo



>
> I tried adding to the preamble \setcounter{number}{0} but that didn't work.
> I have a vague recollection of using 'renumber' for something like this but
> cannot find it in my web searches.
>
> A pointer would be very helpful.
>
> Rich
> --
> 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: Add options to begin{enumerate}

2022-07-01 Thread Ricardo Berlasso
El jue, 30 jun 2022 a las 23:23, tush via lyx-users (<
lyx-users@lists.lyx.org>) escribió:

> The enumitem package allows the user to change the layout of the
> enumerate, itemize and description environments.
>
> The change takes effect in the following way:
>
> \begin{enumerate}[⟨key⟩=⟨value⟩ syntax goes here] % <-- NEW
> \item text...
> \item etc.
> \end{enumerate}
>
> I want to insert such ERT code to my lists in LyX.
>
> LyX allows the user to add such argument to each item, but this is not the
> same thing.
>
> As I see it, if I want to introduce such a change to my lists inside LyX,
> I have to make a change to the Styles defined in the file stdlists.inc in
> the layouts directory. Is that correct?
>

Check this article:

https://frommindtotype.wordpress.com/2020/02/27/lyx-another-way-to-change-numbered-lists/

It shows how to change numbered lists both globally (preamble code) and for
particular lists (through local layout and the creation of a new
environment).

Regards,
Ricardo



> --
> 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: Rotate text

2022-06-27 Thread Ricardo Berlasso
El lun, 27 jun 2022 a las 17:09, Carlos Knauer ()
escribió:

> Can I rotate text in LyX ? How do I do ?
>

That depends on what you need. It's quite easy to rotate table cell content
in an arbitrary angle: just go to the table properties. So, if you need to
rotate just short texts, use a table of one cell and no borders. If you
need something else, please describe what you need in more detail.

Regards,
Ricardo


> --
> 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: Exercises at end of sections

2022-05-30 Thread Ricardo Berlasso
El lun, 30 may 2022 a las 12:39, Joseph Hesse ()
escribió:

> Hello,
> I am writing a text book and want to have numbered exercises at the end
> of each section.  Please point me to the docs or packages that will let
> me do this.
> Thank you,
> Joe Hesse
>

I've never used it, but you can try with this package:

https://ctan.org/pkg/exercises

Let us know if it works!

Regards,
Ricardo



>
> --
> 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: LuaTeX vs XeTeX

2021-12-28 Thread Ricardo Berlasso via lyx-users
El lun, 8 nov 2021 a las 8:51, Saša Janiška () escribió:

>
> Hello,
>
> just curious which engine do you recommend to be used with Lyx: LuaTeX
> or XeTeX?
>

As pointed out in this thread, *in principle* you can use both without
trouble... except when you can't. It's a know "issue" (it can be "fixed"
with extra preamble code) that several OpenType features that should be on
by default, such as italic correction in equations and (if I remember
right) contextual ligatures on normal text, are disabled on LuaTeX, but
work without problems in XeTeX.

If you're a Lua geek, then you'll get a powerful tool to implement your own
macros, but most people are not Lua geeks, so, it's worth it? As always, it
depends: LuaTeX offers more options for microtype than XeTeX and it's
implementing support for variable fonts, but in my experience, when you
want to go a step further with OpenType XeTeX is more reliable than LuaTeX.

But as it's often said, your mileage may vary :)

Regards,
Ricardo



>
>
> Sincerely,
> Gour
>
> --
> In the material world, one who is unaffected by whatever good
> or evil he may obtain, neither praising it nor despising it,
> is firmly fixed in perfect knowledge.
>
>
> --
> 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: Graphic file formatsx

2021-12-07 Thread Ricardo Berlasso
El mar, 7 dic 2021 a las 18:34, Rich Shepard ()
escribió:

> Most of the graphics I import into a LyX document are PDFs. When the data
> sets are large they load slowly.
>

Slowly when editing the document or when compiling it? When you insert a
graphic, in the LaTeX options tab it's possible to uncheck the "show in
LyX" option, this will make everything faster (I think)


> When I create a figure float I see that it's converted to a preferred
> format.
>
> Would these figures load more quickly if they were pre-converted? What is
> the preferred format?
>

That depends on the engine you're using: pdflatex, xelatex, lualatex, etc.
See for example here

https://tex.stackexchange.com/questions/1072/which-graphics-formats-can-be-included-in-documents-processed-by-latex-or-pdflat

Regards,
Ricardo



>
> TIA,
>
> Rich
> --
> 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: Trouble changing font family for footnotes

2021-11-14 Thread Ricardo Berlasso
(Top posting with solution)

OK, I finally solved the whole thing by manually defining font size ranges,
so I don't have to mess with defining the font for the footnotes.

% Preamble code for XeTeX

\setmainfont{EB Garamond}[ % Pardo's version of EB Garamond!

Mapping=tex-text, % https://github.com/octaviopardo/EBGaramond12

RawFeature={+ss06}, % Long tail Q

UprightFont = EB Garamond Regular,

BoldFont = EB Garamond SemiBold,

ItalicFont = EB Garamond Italic,

BoldItalicFont = EB Garamond SemiBold Italic,

UprightFeatures = { SizeFeatures = {

{Size = {-9.9}, Font = EB Garamond Medium},

{Size = {10-}, Font = EB Garamond}}},

BoldFeatures = { SizeFeatures = {

{Size = {-9.9}, Font = EB Garamond Bold},

{Size = {10-}, Font = EB Garamond SemiBold}}},

ItalicFeatures = { SizeFeatures = {

{Size = {-9.9}, Font = EB Garamond Medium Italic},

{Size = {10-}, Font = EB Garamond Italic}}},

BoldItalicFeatures = { SizeFeatures = {

{Size = {-9.9}, Font = EB Garamond Bold Italic},

{Size = {10-}, Font = EB Garamond SemiBold Italic}}},

]


\makeatletter

\renewcommand\@makefntext[1]{%

\noindent\makebox[0pt][r]{\@thefnmark.\space}#1}

\makeatother

% End code

Now the footnotes "color" is a better match for the main text color. It
works! For now, at least ;)

Regards,
Ricardo

El lun, 8 nov 2021 a las 17:00, Ricardo Berlasso ()
escribió:

>
>
> El lun, 8 nov 2021 a las 16:52, Axel Dessecker ()
> escribió:
>
>> Am Montag, 8. November 2021, 16:26:00 CET schrieb Ricardo Berlasso:
>> > Hi, LyXiers!
>> >
>> > Here's the situation. I'm using the standard Book documentclass with
>> XeTeX
>> > as engine. I'm also starting to use Octavio Pardo's version of EB
>> Garamond
>> >
>> > https://github.com/octaviopardo/EBGaramond12
>> >
>> > Good thing about this version is that it offers bold, among other
>> things.
>> > Bad thing is that it do not offer optical sizes. But I noticed that the
>> > medium weight is a good replacement for the old EB Garamond 08 so I
>> tried
>> > to change the font used by footnotes with
>> >
>> > \newfontfamily{\ebgm}[RawFeature={+ss06}]{EBGaramond-Medium}
>> >
>> > \usepackage{footmisc}
>> >
>> > \renewcommand*{\footnotelayout}{\footnotesize\ebgm}
>> >
>> >
>> > which works perfectly well in isolation. Problem is, I'm also trying to
>> set
>> > the footnote mark to not be displayed on superscript with
>> >
>> > \makeatletter
>> >
>> > \renewcommand\@makefntext[1]{%
>> >
>> > \noindent\makebox[0pt][r]{\ebgm\@thefnmark.\space}#1}
>> >
>> > \makeatother
>> >
>> >
>> > which also works well in isolation, setting the mark within the margin,
>> > with the desired font, and "at ground level" as I like. Problem is, I
>> > cannot use both blocks of code within the same document at the same
>> time:
>> > no matter in which order I write them, the first one gets ignored.
>> >
>> >
>> > Attached there is a minimal example file (it's in Article documentclass,
>> > but the problem is the same). Notice that you need the right font
>> installed!
>> >
>> >
>> > Any idea? I'm on openSUSE Leap 15.3 with texlive 2017.
>> >
>> >
>> > Thanks!
>>
>> Ricardo,
>>
>> Is this the way you want it?
>>
>
> Yes, but the text in the footnote must be in EB Garamond Medium, while in
> the PDF only the footnote number is in that font. The difference is subtle,
> but it's there.
> [image: Screenshot_footnote.png]
>
>
>
>>
>> Axel
>>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Trouble changing font family for footnotes

2021-11-08 Thread Ricardo Berlasso
El lun, 8 nov 2021 a las 16:52, Axel Dessecker ()
escribió:

> Am Montag, 8. November 2021, 16:26:00 CET schrieb Ricardo Berlasso:
> > Hi, LyXiers!
> >
> > Here's the situation. I'm using the standard Book documentclass with
> XeTeX
> > as engine. I'm also starting to use Octavio Pardo's version of EB
> Garamond
> >
> > https://github.com/octaviopardo/EBGaramond12
> >
> > Good thing about this version is that it offers bold, among other things.
> > Bad thing is that it do not offer optical sizes. But I noticed that the
> > medium weight is a good replacement for the old EB Garamond 08 so I tried
> > to change the font used by footnotes with
> >
> > \newfontfamily{\ebgm}[RawFeature={+ss06}]{EBGaramond-Medium}
> >
> > \usepackage{footmisc}
> >
> > \renewcommand*{\footnotelayout}{\footnotesize\ebgm}
> >
> >
> > which works perfectly well in isolation. Problem is, I'm also trying to
> set
> > the footnote mark to not be displayed on superscript with
> >
> > \makeatletter
> >
> > \renewcommand\@makefntext[1]{%
> >
> > \noindent\makebox[0pt][r]{\ebgm\@thefnmark.\space}#1}
> >
> > \makeatother
> >
> >
> > which also works well in isolation, setting the mark within the margin,
> > with the desired font, and "at ground level" as I like. Problem is, I
> > cannot use both blocks of code within the same document at the same time:
> > no matter in which order I write them, the first one gets ignored.
> >
> >
> > Attached there is a minimal example file (it's in Article documentclass,
> > but the problem is the same). Notice that you need the right font
> installed!
> >
> >
> > Any idea? I'm on openSUSE Leap 15.3 with texlive 2017.
> >
> >
> > Thanks!
>
> Ricardo,
>
> Is this the way you want it?
>

Yes, but the text in the footnote must be in EB Garamond Medium, while in
the PDF only the footnote number is in that font. The difference is subtle,
but it's there.
[image: Screenshot_footnote.png]



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


Trouble changing font family for footnotes

2021-11-08 Thread Ricardo Berlasso
Hi, LyXiers!

Here's the situation. I'm using the standard Book documentclass with XeTeX
as engine. I'm also starting to use Octavio Pardo's version of EB Garamond

https://github.com/octaviopardo/EBGaramond12

Good thing about this version is that it offers bold, among other things.
Bad thing is that it do not offer optical sizes. But I noticed that the
medium weight is a good replacement for the old EB Garamond 08 so I tried
to change the font used by footnotes with

\newfontfamily{\ebgm}[RawFeature={+ss06}]{EBGaramond-Medium}

\usepackage{footmisc}

\renewcommand*{\footnotelayout}{\footnotesize\ebgm}


which works perfectly well in isolation. Problem is, I'm also trying to set
the footnote mark to not be displayed on superscript with

\makeatletter

\renewcommand\@makefntext[1]{%

\noindent\makebox[0pt][r]{\ebgm\@thefnmark.\space}#1}

\makeatother


which also works well in isolation, setting the mark within the margin,
with the desired font, and "at ground level" as I like. Problem is, I
cannot use both blocks of code within the same document at the same time:
no matter in which order I write them, the first one gets ignored.


Attached there is a minimal example file (it's in Article documentclass,
but the problem is the same). Notice that you need the right font installed!


Any idea? I'm on openSUSE Leap 15.3 with texlive 2017.


Thanks!


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


Re: Short titles

2021-10-08 Thread Ricardo Berlasso
El vie, 8 oct 2021 a las 19:35, Rich Shepard ()
escribió:

> I used to find an entry in the Insert menu for short titles. It's not there
> in version 2.6.3.1.
>
> Looking in the Users Guide I see that it should be there.
>
> Has anyone a thought why it's not being presented?
>

It's still there, but only when the cursor is on a heading environment. Put
your cursor on the same paragraph of a title and you'll see the entry under
the Insert menu (the shortcut is Alt-A, then 1).

Regards,
Ricardo





>
> TIA,
>
> Rich
> --
> 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: Setting a permanent default class that is not "Article (Standard Class)

2021-09-18 Thread Ricardo Berlasso
El sáb, 18 sept 2021 a las 18:24, Trevor Jenkins ()
escribió:

> Thanks.
>
> Is that what that wording means‽
>

Yes, the "Save as document default" button does exactly that: everything
you choose in the menu becomes the default for new documents.

Regards,
Ricardo



>
> On 18 Sep 2021, at 16:29, Ricardo Berlasso  wrote:
>
>
> El sáb, 18 sept 2021 a las 17:24, Trevor Jenkins ()
> escribió:
>
>> I create most (all) of my documents in LyX using the "Tufte Handout"
>> class with custom options however new documents start off with the "Article
>> (Standard Class)” class with no custom options.Scouring the menus and
>> documentation I see no way to set my preferred class with its options as
>> the default in LyX. There might be an occasion when I do not want Tufte
>> Handout but that has proven rare over the years and in anywise would not be
>> Article (Standard Class) more likely one of Memoir or Tufte Book.
>>
>> Have I missed something or is LyX fundamentally lacking in this respect?
>>
>
> In the same Document → Settings menu, you have a "Save as document
> default" button: once you selected all your default options, click that
> button before closing the menu.
>
> Regards,
> Ricardo
>
>
>
>>
>> --
>> 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
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Setting a permanent default class that is not "Article (Standard Class)

2021-09-18 Thread Ricardo Berlasso
El sáb, 18 sept 2021 a las 17:24, Trevor Jenkins ()
escribió:

> I create most (all) of my documents in LyX using the "Tufte Handout" class
> with custom options however new documents start off with the "Article
> (Standard Class)” class with no custom options.Scouring the menus and
> documentation I see no way to set my preferred class with its options as
> the default in LyX. There might be an occasion when I do not want Tufte
> Handout but that has proven rare over the years and in anywise would not be
> Article (Standard Class) more likely one of Memoir or Tufte Book.
>
> Have I missed something or is LyX fundamentally lacking in this respect?
>

In the same Document → Settings menu, you have a "Save as document default"
button: once you selected all your default options, click that button
before closing the menu.

Regards,
Ricardo



>
> --
> 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: How to modify text alignment

2021-09-08 Thread Ricardo Berlasso
El mié, 8 sept 2021 a las 11:35, Dr Eberhard Lisse ()
escribió:

> RTFM :-)-O
>

Please, stop this. People come here for help, telling them to help
themselves is not helpful. In fact, RTMF non-answers are stupid, childish,
and their only effect is to scare newcomers. There is already too much
poison in FOSS community boards, let's keep at list this mailing list
clean.



>
> el
>
> On 07/09/2021 18:37, jezZiFeR wrote:
> > Am 7. Sep. 2021, 15:55 +0200 schrieb Axel Dessecker <
> a.dessec...@krimz.de>:
> >
> > Am Dienstag, 7. September 2021, 15:28:41 CEST schrieb jezZiFeR:
> >
> > Hello,
> >
> > in Komascript report, block text is specified as the default for
> the text
> > alignment. How can I change this for the whole document? (LyX
> 2.3.6.2 on
> > OSX 10.14.6). If I try it just by edit/paragraph settings only
> the current
> > paragraph is adjusted
> >
> >
> > Thank you
> > Jess
> >
> >
> > Jess,
> >
> > https://wiki.lyx.org/FAQ/TextAppearance
> >
> > Axel
> >
> >
> >
> > Dear Axel,
> >
> > thanks for your quick answer, this was helpful!
> >
> > All best
> > Jess
> >
>
>
> --
> 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: Paste text with italics

2021-07-04 Thread Ricardo Berlasso
El dom, 4 jul 2021 a las 17:15, <_johnny7_...@web.de> escribió:

> Hello,
>
> is there a way to paste text (from a source such as LibreOffice) into
> LyX and keeping the words in italics emphasized?
> If not, could such an option be implemented?
>

As Scott pointed out, right now it's not possible on a direct way, but you
can use LibreOffice's own tools to "tag" text in italic and then use the
"paste as LaTeX" option on LyX. It goes like this:

- On Writer, make a copy of the document (don't work on the original!)
- Open the search and replace tool (Ctrl-H)
- On the Search box, write the following, complete with parenthesis: (.*)
- With the cursor still on the search box, enable "Regular Expressions"
and, under Format, select Italics (you'll see the word Italic bellow the
search box)
- On the Replace box, write \emph{$1}
- Replace

You'll see that all the italic text will be surrounded with the \emph{·}
tag. Now, you can copy the text to the clipboard and go to LyX → Edit →
Paste Special → Paste as LaTeX.

Of course, for short texts it's not worth doing all that, but for longer
texts, it works pretty well.

Regards,
Ricardo



>
> Thanks.
> --
> 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: LyX says Tex Gyra Schola is not installed, but I installed it

2021-06-17 Thread Ricardo Berlasso
El jue, 17 jun 2021 a las 16:15, Steve Litt ()
escribió:

> Hi all,
>
> The only font readable enough for my books is Century Schoolbook. All
> the rest are too faint. Most Century Schoolbook implementations don't
> work with LyX, or at least I haven't been able to get them to work.
> With one exception...
>
> Tex Gyra Schola is a Century Schoolbook implementation that has been
> working for me for the past 5 years. But now, When I
> Document->Settings->Fonts and select a Serif font, Tex Gyre Schola is
> listed, but the words "(not installed)" are appended, and in fact when
> I compile the document, the font in the PDF is definitely not TeX Gyre
> Schola.
>

While there are metafont versions out there, all TexGyre fonts are
distributed as opentype fonts. In the font settings dialogs, select to use
non-TeX fonts and then you'll see it.



>
> I installed the tex-gyre and tex-gyra-math packages with the following
> command:
>
> tlmgr install tex-gyre
> tlmgr install tex-gyre-math
>
> After those commands, I performed a texhash command. I then terminated
> LyX and did a reconfigure. Still "(not installed)".
>
> The other relevant settings on Document->Settings->Fonts are "Use
> Non-TeX Fonts" is unchecked, LaTeX font encoding is Default.
>

Check it ;)

BTW, you can also try Michael Sharp's ScholaX, which is an extension of
TeXGyre Schola

https://ctan.org/pkg/scholax

This is also an opentype font. I briefly reviewed it in my blog

https://frommindtotype.wordpress.com/2020/07/02/scholax-a-new-version-of-century-schoolbook/

Regards,
Ricardo



>
> What can I do to start to figure out this problem?
>
> 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
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


SSL certificate error

2021-06-07 Thread Ricardo Berlasso
Hi, people,

Today, trying to enter https://www.lyx.org/ I get a SSL certificate error:

SEC_ERROR_EXPIRED_CERTIFICATE

Is it a known problem?

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


Re: Introductory text to index

2021-05-02 Thread Ricardo Berlasso
El dom, 2 may 2021 a las 19:59, Andreas Plihal () escribió:

>
> I inserted the following between the list of figures and the following
> index:
>
> \ addtocontents {toc} {My short paragraph\ Par}
>
>
> This is how I get this error:
>
> ! LaTeX Error: Something's wrong - perhaps a missing \ item.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H  for immediate help. ... l.43 ... numberline subject
> register} {327} {chapter * .20}
>
> toc means the table of contents. But that has nothing to do with my
> business.
>

Sorry, my fault. You're right, toc is for the table of contents. For the
list of figures you need to use lof and for the list of tables lot

\addtocontents{lof}{The content you want to add\par}  % for a list of
figures
\addtocontents{lot}{The content you want to add\par}  % for a list of tables

Regards,
Ricardo



>
> Greetings
> Andreas
>
> *Gesendet:* Sonntag, 02. Mai 2021 um 19:09 Uhr
> *Von:* lyx-users-requ...@lists.lyx.org
> *An:* lyx-users@lists.lyx.org
> *Betreff:* lyx-users Digest, Vol 83, Issue 5
> Send lyx-users mailing list submissions to
> lyx-users@lists.lyx.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.lyx.org/mailman/listinfo/lyx-users
> or, via email, send a message with subject or body 'help' to
> lyx-users-requ...@lists.lyx.org
>
> You can reach the person managing the list at
> lyx-users-ow...@lists.lyx.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lyx-users digest..."
>
>
> Today's Topics:
>
> 1. Solved: capacity exeeded (Andreas Plihal)
> 2. Introductory text to subject index (Andreas Plihal)
> 3. Re: Introductory text to subject index (Ricardo Berlasso)
>
>
> --
>
> Message: 1
> Date: Sun, 2 May 2021 18:45:29 +0200
> From: Andreas Plihal 
> To: lyx-users@lists.lyx.org
> Subject: Solved: capacity exeeded
> Message-ID:
>  >
>
> Content-Type: text/plain; charset="us-ascii"
>
> An HTML attachment was scrubbed...
> URL: <
> http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/eb97622b/attachment-0001.html
> >
>
> --
>
> Message: 2
> Date: Sun, 2 May 2021 18:46:32 +0200
> From: Andreas Plihal 
> To: lyx-users@lists.lyx.org
> Subject: Introductory text to subject index
> Message-ID:
>  >
>
> Content-Type: text/plain; charset="us-ascii"
>
> An HTML attachment was scrubbed...
> URL: <
> http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/62d84350/attachment-0001.html
> >
>
> --
>
> Message: 3
> Date: Sun, 2 May 2021 19:09:17 +0200
> From: Ricardo Berlasso 
> To: LyX Users 
> Subject: Re: Introductory text to subject index
> Message-ID:
> 
> Content-Type: text/plain; charset="utf-8"
>
> El dom, 2 may 2021 a las 18:46, Andreas Plihal ()
> escribi?:
>
> > Hi,
> >
> > for a KOMA book I have created both a list of figures and a subject
> index. However,
> > I would like to add an introductory text to the subject index,
> immediately
> > after the heading.
> > Where and how should I place this introductory text in the LYX file?
> >
>
> If it's just a short paragraph, just bellow the point where you inserted
> the index, introduce a TeX box (Ctrl-L) and type inside it something like
>
> \addtocontents{toc}{The content you want to add\par}
>
> The text will be added between the subject and the index content.
>
> Regards,
> Ricardo
>
>
> >
> > Best regards
> > Andreas
> > --
> > lyx-users mailing list
> > lyx-users@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-users
> >
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/d54d2198/attachment.html
> >
>
> --
>
> Subject: Digest Footer
>
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
>
> --
>
> End of lyx-users Digest, Vol 83, Issue 5
> 
> --
> 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: Introductory text to subject index

2021-05-02 Thread Ricardo Berlasso
El dom, 2 may 2021 a las 18:46, Andreas Plihal () escribió:

> Hi,
>
> for a KOMA book I have created both a list of figures and a subject index. 
> However,
> I would like to add an introductory text to the subject index, immediately
> after the heading.
> Where and how should I place this introductory text in the LYX file?
>

If it's just a short paragraph, just bellow the point where you inserted
the index, introduce a TeX box (Ctrl-L) and type inside it something like

\addtocontents{toc}{The content you want to add\par}

The text will be added between the subject and the index content.

Regards,
Ricardo


>
> Best regards
> Andreas
> --
> 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: tiny vs smallest

2021-04-13 Thread Ricardo Berlasso
El mar, 13 abr 2021 a las 16:04, Patrick Dupre () escribió:

> Hello,
>
> Tiny is too small and smallest is too large (in graphic mode).
> Can I set an intermediary size?
>

You can use \scriptsize or \footnotesize, that are a bit bigger than \tiny,
but not as much as \small.

Regards,
Ricardo




>
> Thanks.
>
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire interdisciplinaire Carnot de Bourgogne
>  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
>  Tel: +33 (0)380395988| | Room# D114A
> ===
>
> --
> 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: add appendix to a chapter

2021-04-12 Thread Ricardo Berlasso
El lun, 12 abr 2021 a las 16:14, Jürgen Spitzmüller ()
escribió:

> Am Mo., 12. Apr. 2021 um 14:47 Uhr schrieb Wolfgang Engelmann <
> engelm...@uni-tuebingen.de>:
>
>> Is there a way to add an additional appendix to one or more chapters in
>> addition to the one at the very end of the document (book)?
>>
>
> https://ctan.org/pkg/appendix
>
> HTH
> Jürgen
>

For a working example on the use of the Appendix package, check

https://github.com/scottkosty/lyx-princeton-diss

Regards,
Ricardo



>
>
>> Wolfgang
>> --
>> 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: lyx-users Digest, Vol 79, Issue 5

2021-04-03 Thread Ricardo Berlasso
El sáb, 3 abr 2021 a las 16:53, Andreas Plihal () escribió:

> Hi Ricardo,
>
> many thanks. Your hint in your blog helped very well!
>

Great!


> I don't understand your addition, though: It sounds like you can see my
> PDF file. I didn't send them to you at all. So maybe your question is
> being sarcastic?
>

Do you refer to my second email? I was answering Wolfgang, who asked about
the source files of my book, maybe you missed his comment.

Regards,
Ricardo


>
> Greetings
> Andreas
>
>
> *Gesendet:* Samstag, 03. April 2021 um 14:00 Uhr
> *Von:* lyx-users-requ...@lists.lyx.org
> *An:* lyx-users@lists.lyx.org
> *Betreff:* lyx-users Digest, Vol 79, Issue 5
> Send lyx-users mailing list submissions to
> lyx-users@lists.lyx.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.lyx.org/mailman/listinfo/lyx-users
> or, via email, send a message with subject or body 'help' to
> lyx-users-requ...@lists.lyx.org
>
> You can reach the person managing the list at
> lyx-users-ow...@lists.lyx.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lyx-users digest..."
>
>
> Today's Topics:
>
> 1. o footnotes in the table of contents (Andreas Plihal)
> 2. Re: o footnotes in the table of contents (Ricardo Berlasso)
> 3. Re: o footnotes in the table of contents (Wolfgang Engelmann)
>
>
> --
>
> Message: 1
> Date: Fri, 2 Apr 2021 15:31:28 +0200
> From: Andreas Plihal 
> To: lyx-users@lists.lyx.org
> Subject: o footnotes in the table of contents
> Message-ID:
>
>  >
>
> Content-Type: text/plain; charset="us-ascii"
>
> An HTML attachment was scrubbed...
> URL: <
> http://lists.lyx.org/pipermail/lyx-users/attachments/20210402/a6eb107b/attachment-0001.html
> >
>
> --
>
> Message: 2
> Date: Fri, 2 Apr 2021 15:47:57 +0200
> From: Ricardo Berlasso 
> To: LyX Users 
> Subject: Re: o footnotes in the table of contents
> Message-ID:
> 
> Content-Type: text/plain; charset="utf-8"
>
> El vie, 2 abr 2021 a las 15:31, Andreas Plihal ()
> escribi?:
>
> > Hi,
> >
> > I'm writing a book in KOMA-Script.
> >
> > I want footnotes from headings not to appear in the table of contents.
> >
>
> I wrote about that in my blog:
>
>
> https://frommindtotype.wordpress.com/2019/04/22/lyx-footnotes-headings-and-the-table-of-contents/
>
> Regards,
> Ricardo
>
>
>
> > Google recommends that I use the footmisc package. So I have entered in
> > the preamble
> >
> > \usepackage[stable]{footmisc}.
> >
> > But that had no effect. What am I doing wrong?
> >
> > Greetings
> > Andreas
> > --
> > lyx-users mailing list
> > lyx-users@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-users
> >
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> http://lists.lyx.org/pipermail/lyx-users/attachments/20210402/4af3fb74/attachment-0001.html
> >
>
> --
>
> Message: 3
> Date: Sat, 3 Apr 2021 08:43:12 +0200
> From: Wolfgang Engelmann 
> To: lyx-users@lists.lyx.org
> Subject: Re: o footnotes in the table of contents
> Message-ID: <3d9b9507-e8f1-3e2c-28c2-a1406b1aa...@uni-tuebingen.de>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
>
>
> Am 02.04.21 um 15:47 schrieb Ricardo Berlasso:
> >
> > El vie, 2 abr 2021 a las 15:31, Andreas Plihal ( > <mailto:a.pli...@gmx.at>>) escribi?:
> >
> > Hi,
> > I'm writing a book in KOMA-Script.
> > I want footnotes from headings not to appear in the table of contents.
> >
> >
> > I wrote about that in my blog:
> >
> >
> https://frommindtotype.wordpress.com/2019/04/22/lyx-footnotes-headings-and-the-table-of-contents/
> > <
> https://frommindtotype.wordpress.com/2019/04/22/lyx-footnotes-headings-and-the-table-of-contents/
> >
> >
> > Regards,
> > Ricardo
> >
> > Google recommends that I use the footmisc package. So I have
> > enteredin the preamble
> > \usepackage[stable]{footmisc}.
> > But that had no effect. What am I doing wrong?
> > Greetings
> > Andreas
> > --
> > 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>
> >
> >
> Ricardo,
> I am impressed by your book on LyX. Is it possible to have also a look
> at the LyX version, not only the pdf file?
> Wolfgang
>
>
> --
>
> Subject: Digest Footer
>
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
>
> --
>
> End of lyx-users Digest, Vol 79, Issue 5
> 
> --
> 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: o footnotes in the table of contents

2021-04-03 Thread Ricardo Berlasso
El sáb, 3 abr 2021 a las 8:43, Wolfgang Engelmann (<
engelm...@uni-tuebingen.de>) escribió:

>
>
> Am 02.04.21 um 15:47 schrieb Ricardo Berlasso:
> >
> > El vie, 2 abr 2021 a las 15:31, Andreas Plihal ( > <mailto:a.pli...@gmx.at>>) escribió:
> >
> > Hi,
> > I'm writing a book in KOMA-Script.
> > I want footnotes from headings not to appear in the table of
> contents.
> >
> >
> > I wrote about that in my blog:
> >
> >
> https://frommindtotype.wordpress.com/2019/04/22/lyx-footnotes-headings-and-the-table-of-contents/
> > <
> https://frommindtotype.wordpress.com/2019/04/22/lyx-footnotes-headings-and-the-table-of-contents/
> >
> >
> > Regards,
> > Ricardo
> >
> > Google recommends that I use the footmisc package. So I have
> > enteredin the preamble
> > \usepackage[stable]{footmisc}.
> > But that had no effect. What am I doing wrong?
> > Greetings
> > Andreas
> > --
> > 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>
> >
> >
> Ricardo,
> I am impressed by your book on LyX. Is it possible to have also a look
> at the LyX version, not only the pdf file?
>

Thanks!

The LyX file is full of notes directed at myself, so a lot of "sanitation"
is needed before sharing it, sorry. Anyway, appendixes B, C and D provide
the full LaTeX preamble, local layout and other formatting used in the
file, so everything is there :) Maybe, after 2.4 is released I'll made a
template from the book to share it.

Regards,
Ricardo



> Wolfgang
> --
> 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: o footnotes in the table of contents

2021-04-02 Thread Ricardo Berlasso
El vie, 2 abr 2021 a las 15:31, Andreas Plihal () escribió:

> Hi,
>
> I'm writing a book in KOMA-Script.
>
> I want footnotes from headings not to appear in the table of contents.
>

I wrote about that in my blog:

https://frommindtotype.wordpress.com/2019/04/22/lyx-footnotes-headings-and-the-table-of-contents/

Regards,
Ricardo



> Google recommends that I use the footmisc package. So I have entered in
> the preamble
>
> \usepackage[stable]{footmisc}.
>
> But that had no effect. What am I doing wrong?
>
> Greetings
> Andreas
> --
> 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: Layout

2021-03-13 Thread Ricardo Berlasso
Layouts are controlled by a "documentclass". Under Document → Settings →
Documentclass it's possible to select any of the documentclasses installed
in your system. There are several "book" documentclasses, the simplest one
being "Standard" and the more powerfull KOMA-Script. All documentclasses
can be modified through code, so which documentclass is the best for you
depends on your needs. For a simple paperback format, probably Standard
will be the right choice.

Regards,
Ricardo


El sáb, 13 mar 2021 a las 10:56, Mario Moles ()
escribió:

> Dear lyx-users
>
> I'm happy to be part of your community. I am new to the Lyx world. I
> would like to know if there is a paperback layout. I haven't found any.
> Do you have any idea?
>
> Thanks so much
>
> Mario Moles
>
> --
> 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: Custom footer and header

2021-03-13 Thread Ricardo Berlasso
I wrote in detail about headers and footers on chapter 12 of "LyX, The
Other Way of Writing"

https://frommindtotype.wordpress.com/lyx-book/

You need to use the fancyhdr package and a bit of preamble code magic.

Regards,
Ricardo



El sáb, 13 mar 2021 a las 14:46, Néstor () escribió:

> Hello!
>
> I have searched for any info about this before asking you, but it's
> all a bit confusing.
>
> I just need to put the page number in the footer, and the current
> chapter title on the header. My document is a Standard Book.
>
> Thank you!
>
> --
> Néstor Amigo
> --
> 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


Error in the release notes for 2.3.6?

2020-12-01 Thread Ricardo Berlasso
Hi, LyXers!

I noticed that the text in the release announcement for 2.3.6 here

https://www.lyx.org/announce/2_3_6.txt

and in the news page got mixed with the 2.3.5 release (it talks about
support for inkscape 1.0, for example, or in the news page it talks about
the "fifth maintenance release") and it's indeed different from the text in
the announcement email, which it seems to me is the right text.

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


Ticket #5636 toolbar icons with dark theme

2020-04-30 Thread Ricardo Berlasso
Hello, LyX community!

I'm using a dark theme in my Plasma desktop, and found myself in the
problem reported in Ticket #5636

https://www.lyx.org/trac/ticket/5636

In short: all icons in the math editor toolbars are dark in dark and
therefore it's really difficult to use them. I know the ticket is quite old
and that there is no solution yet, but anyone have any workaround for it? I
mean, other than switching desktop theme, of course ;)

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


Re: Italic font doesn't working properly

2020-03-08 Thread Ricardo Berlasso
El dom., 8 mar. 2020 a las 17:03, Richard Kimberly Heck ()
escribió:

> On 3/7/20 2:38 PM, Ricardo Berlasso wrote:
>
> El sáb., 7 mar. 2020 a las 16:30, Axel Dessecker ()
> escribió:
>
>> Am Samstag, 7. März 2020, 00:08:53 CET schrieb Stochastic Descent:
>> > Hi all,
>> >
>> > I am using LyX 2.3.4.2 under Arch Linux. It seems Lyx is using regular
>> font
>> > instead of italic one, see picture below.
>> > [image: image.png]
>> >
>> > However, after I disable the regular font and just keep the italic one,
>> it
>> > displays the italic font correctly.
>> > [image: image.png]
>> > However, I still want to be able to use the regular font for normal
>> text.
>> > Is there any way to fix this?
>> >
>> > Thanks in advance,
>> > Ben
>>
>> Ben,
>>
>> I'm not sure your screenshots are showing what you mean. On my screen,
>> everything is looking like italics. And please tell us which fonts you
>> are
>> using for the display.
>>
>
> Not the original poster, but this is something I can also see in my system
> since a number of versions: during document editing, emphasized text is not
> shown with the italic font chosen (in my case, Libertinus Serif), but with
> a fake slanted font build from the roman typeface. This only affects the
> editor, the PDF output works as intended.
>
> I'd suggest filing a bug report on this.
>

Done: Ticket #11776
https://www.lyx.org/trac/ticket/11776


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


Re: Italic font doesn't working properly

2020-03-07 Thread Ricardo Berlasso
El sáb., 7 mar. 2020 a las 16:30, Axel Dessecker ()
escribió:

> Am Samstag, 7. März 2020, 00:08:53 CET schrieb Stochastic Descent:
> > Hi all,
> >
> > I am using LyX 2.3.4.2 under Arch Linux. It seems Lyx is using regular
> font
> > instead of italic one, see picture below.
> > [image: image.png]
> >
> > However, after I disable the regular font and just keep the italic one,
> it
> > displays the italic font correctly.
> > [image: image.png]
> > However, I still want to be able to use the regular font for normal text.
> > Is there any way to fix this?
> >
> > Thanks in advance,
> > Ben
>
> Ben,
>
> I'm not sure your screenshots are showing what you mean. On my screen,
> everything is looking like italics. And please tell us which fonts you are
> using for the display.
>

Not the original poster, but this is something I can also see in my system
since a number of versions: during document editing, emphasized text is not
shown with the italic font chosen (in my case, Libertinus Serif), but with
a fake slanted font build from the roman typeface. This only affects the
editor, the PDF output works as intended.

Regards,
Ricardo



>
> Axel
>
>
>
>
> --
> 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: WYSIWYG aspects of multiple integral limits

2020-01-16 Thread Ricardo Berlasso
El jue., 16 ene. 2020 a las 19:58, Jim Rockford ()
escribió:

> What I wish to do is center a lower multiple integral limit below the
> integrals instead of beside the integrals (the default).  I'm aware from
> the documentation that the following works for double integrals:
>  \iint\limits _S
>
> This successfully produces the pdf output I want, but within the Lyx
> document I still see \limits in red font.  I don't want to see the remnants
> of raw latex within the Lyx window.  What are the keystrokes required to
> WYSIWIG this so that I see the appropriate double integral within the Lyx
> window?
>

With the cursor close to the integral sign, press Alt-M, then L. That will
apply the \limits command, but without showing it in plain code.

Regards,
Ricardo



>
> In case it matters, I'm doing this within an equation array environment.
>
> Much thanks,
> JR
> --
> 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: change text of TOC

2019-12-17 Thread Ricardo Berlasso
El mar., 17 dic. 2019 a las 22:25, Bart Kremers ()
escribió:

> Dear Members,
>
> If i put a table of contents in my document I always get the text
> "contents" above the TOCin my document. I would like to change this to
> something else for instance "table of contents" or whatever. How can I
> do this?
>

You can use Babel for this. For example, if your document is in English, go
to the preamble and write something like this

\usepackage[english]{babel}

\addto\captionsenglish{

\renewcommand{\contentsname}{The New Name}

}

For other languages you just need to change every "english" string for the
needed language. For example, in Spanish

\usepackage[spanish]{babel}

\addto\captionsspanish{
  \renewcommand{\contentsname}{El nuevo título}

}

Regards,
Ricardo


>
> Best regards
>
> Bart
>
> --
> 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: Numbered list - multi-level

2019-10-22 Thread Ricardo Berlasso
El mar., 22 oct. 2019 a las 10:24, Eugénio Costa ()
escribió:

> Hi Ricardo,
>
> Thank you very much for your support!
> I managed to do it, putting a TeX box in the beginning  of the document
> with the code.
> Only problem is that the result only comes in the output, which is great
> and does the job.
>
> But it is not so easy to work on the document without the numbers, as
> there is a need to reference other numbers.
> There is a need to double check which letter or character corresponds to a
> nested number in the output.
> In my opinion this is a simple feature that is essential and could be
> easier to choose within the graphical interface.
>

I think it's possible to change how LyX display things while editing the
document, but I have no experience changing that, maybe other users in the
list can help in that point.

Regards,
Ricardo


>
> I am a general user, not academic or coder and I think that Lyx is a
> powerful tool for productive work.
> But it also requires time to learn and takes in productivity with these
> simple things.
> Great book, thank you, I want to put the time on this to get more
> knowledge about Lyx.
>
> Thank you!!!
> Obrigado ;)
>
> Eugénio
>
>
> On Mon, 21 Oct 2019 at 22:37, Ricardo Berlasso  wrote:
>
>> Hi,
>>
>> El lun., 21 oct. 2019 a las 18:34, Eugénio Costa ()
>> escribió:
>>
>>> Hi Lyx users and developers
>>>
>>> I am using LyX Version 2.3.1 on Fedora Linux.
>>> I need help to get a Multi-level numbered list this style:
>>>
>>> 1.
>>> 1.1
>>> 1.2
>>> 1.2.1
>>> 1.2.2
>>> 2
>>>
>>>
>> Right now, there is no other way than writing some code.
>>
>> I describe the procedure in section 9.2 of my book
>>
>> https://frommindtotype.wordpress.com/lyx-book/
>>
>> At the beginning of the document, in a TeX box you need to write
>> something like this
>>
>> \renewcommand{\theenumi}{\arabic{enumi}}
>> \renewcommand{\labelenumi}{{\theenumi}}
>> \renewcommand{\theenumii}{\arabic{enumii}}
>> \renewcommand{\labelenumii}{{\theenumi}.{\theenumii}}
>> \renewcommand{\theenumiii}{\arabic{enumiii}}
>> \renewcommand{\labelenumiii}{{\theenumi}.{\theenumii}.{\theenumiii}}
>> \renewcommand{\theenumiv}{\arabic{enumiv}}
>>
>> \renewcommand{\labelenumiv}{{\theenumi}.{\theenumii}.{\theenumiii}.{\theenumiv}}
>>
>> This will set the list up to the fourth level, always using numbers.
>>
>> Regards,
>> Ricardo
>>
>>
>>
>>
>>
>>> The default is:
>>> 1.
>>> (a)
>>> (b)
>>> i.
>>> ii.
>>> 2.
>>>
>>> This such simple thing is a pain in the ass
>>> I need to write a law contract/agreement, where the text refers to
>>> previous points, and there is no other way to do it than with numbers.
>>> I did't find a solution to follow.
>>> Would be great to have this option without the need to write code, as a
>>> simple document option, for a newer version.
>>>
>>
>> Thank you in advance for the help!
>>>
>>> Coinegue
>>>
>>> --
>>> 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: Numbered list - multi-level

2019-10-21 Thread Ricardo Berlasso
Hi,

El lun., 21 oct. 2019 a las 18:34, Eugénio Costa ()
escribió:

> Hi Lyx users and developers
>
> I am using LyX Version 2.3.1 on Fedora Linux.
> I need help to get a Multi-level numbered list this style:
>
> 1.
> 1.1
> 1.2
> 1.2.1
> 1.2.2
> 2
>
>
Right now, there is no other way than writing some code.

I describe the procedure in section 9.2 of my book

https://frommindtotype.wordpress.com/lyx-book/

At the beginning of the document, in a TeX box you need to write something
like this

\renewcommand{\theenumi}{\arabic{enumi}}
\renewcommand{\labelenumi}{{\theenumi}}
\renewcommand{\theenumii}{\arabic{enumii}}
\renewcommand{\labelenumii}{{\theenumi}.{\theenumii}}
\renewcommand{\theenumiii}{\arabic{enumiii}}
\renewcommand{\labelenumiii}{{\theenumi}.{\theenumii}.{\theenumiii}}
\renewcommand{\theenumiv}{\arabic{enumiv}}
\renewcommand{\labelenumiv}{{\theenumi}.{\theenumii}.{\theenumiii}.{\theenumiv}}

This will set the list up to the fourth level, always using numbers.

Regards,
Ricardo





> The default is:
> 1.
> (a)
> (b)
> i.
> ii.
> 2.
>
> This such simple thing is a pain in the ass
> I need to write a law contract/agreement, where the text refers to
> previous points, and there is no other way to do it than with numbers.
> I did't find a solution to follow.
> Would be great to have this option without the need to write code, as a
> simple document option, for a newer version.
>

Thank you in advance for the help!
>
> Coinegue
>
> --
> 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: table of contents font size

2019-01-18 Thread Ricardo Berlasso
El vie., 18 ene. 2019 a las 18:42, Phil () escribió:

>
> Hi LyXer's
>
> My TOC font is too small.
>
> I am using the article class with typewriter font.
>
> How can I make the TOC font larger?
>
> I tried to put ERT around the TOC as \being{LARGE} \end{LARGE} but had no
> success.
>
> Any tips?
>

You need to use a package like tocloft

https://ctan.org/pkg/tocloft

See if this example helps (I did not test it)

https://www.kronto.org/thesis/tips/format-toc.html


Re: auto fixing mispelled words

2018-11-05 Thread Ricardo Berlasso
El lun., 5 nov. 2018 a las 0:53, Daniel Kian Mc Kiernan (the best Daniel of
the bunch) () escribió:

> On 11/4/18 5:08 AM, Ricardo Berlasso wrote:
> >
> > Sorry for jumping into the discussion, but I think some people here
> > are missing the real point of the problem
> >
> >> Is that mistake a matter of 'learning'?
> >
> > Yes, unequivocally.
> >
> > Not necessarily. There are several forms of mild dyslexia in which the
> > person swaps letters or even "fingers" (typing an "o" instead of an
> > "a," for example).
>
> Dyslexia is a _learning_ disability.  Further, there is a body of
> research about how to _learn_ to overcome it.  Please have coherent
> foundation before proceeding in the discussion.
>
>
OK, if don't like that part of the discussion, what about the second part
of what I've said? Think of a chemists writing about one of those
substances with kilometric names: a substitution table that changes a few,
carefully chosen characters into the full name could be useful. If then
someone wants to use that feature to also correct typos, it's their choice.
And yes, that can be done with a search & replace, but a substitution table
is something you do only once.

And please, calm down, nobody is mad at you, there is no need for you to be
mad at anyone else that disagree with you.

Regards,
Ricardo


Re: auto fixing mispelled words

2018-11-04 Thread Ricardo Berlasso
Sorry for jumping into the discussion, but I think some people here are
missing the real point of the problem

El dom., 4 nov. 2018 a las 12:47, Daniel Kian Mc Kiernan (the best Daniel
of the bunch) () escribió:

> On 11/4/18 1:18 AM, Pol wrote:
> >
> > Daniel Kian Mc Kiernan (the best Daniel of the bunch) wrote:
> >
> > Yes, a set of specific words to be fixed by rearranging letters.
>
> No.  The computer would not _rearrange_ letters.  It would effect a
> string subsitution, oblivious to whether any of the letters in the
> replacement string appeared in the original string.
>
> > E.g.  writing quickly it often happens to write 'informazioen' rather
> than
> > ' informazione'.
> > Sometimes that word appears correctly on the screen, sometimes it is
> > distorted like that, as an anagram of the right word.
>
> It doesn't just happen.  The screen displays what you entered.
>
> > Is that mistake a matter of 'learning'?
>
> Yes, unequivocally.
>

Not necessarily. There are several forms of mild dyslexia in which the
person swaps letters or even "fingers" (typing an "o" instead of an "a,"
for example). I know this from experience because I have the problem. And
yes, working hard and being attentive solves many (not all, mind you) of
the "accidents," but still... I've been writing in computers almost every
day for the last 30 years and still have many silly "typos:" in my case
it's not a matter of practice.

And that's just a first point. An autocorrect tool can also be useful for
people without those problems: As a matter of fact, LyX actually perform an
autocorrect every time it changes two dashes into an en-dash and three into
an em-dash. Maybe this feature could be generalized. Think of changing the
first character of a phrase into caps, for example, or setting a
substitution pattern to change a couple of characters into a symbol or a
longer text you need to insert several times in the document. It doesn't
need to be something fixed (in fact, it shouldn't!), just a table that any
user can fill at will: first column, what you want to substitute, second
column, the substitution, and then the system perform those changes in real
time. LibreOffice has such tool and yes, most of the elements in their
default table are just a list of stupid emojis, but that does not mean the
feature is stupid.

Just my two cents!

Regards,
Ricardo




>
> > You mean that i should gain a
> > better motor control of my fingers' movements?
>
> Typing is a learned skill, involving multiple processes.  I don't know
> (or much care) which process you've not properly learned.
>
> > My guess is that my mind form the mispelled word, while quickly
> > writing, because  'informazioen' and ' informazione' are the same, in
> > my mind.
>
> In that case, you need to learn otherwise.
>
> > There would be much to say about the meaning of 'learning', but this is
> > not the right place to discuss about that. I do not know which aspects
> > of learning would be involved here, but i am puzzled about how to
> > improve my writing by learning.
>
> If it's truly a matter of your not understanding the difference
> between “informazioen” and “informazione”, then you need to look into
> how better to learn orthography.
>
> > Anyway, that kind of mispelling happens often. Should i spend years to
> > learn, hoping ti improve my typewriting ability?
>
> If necessary.  But most adults wouldn't need years.
>
> > Rather, it would be very convenient to see that kind of mistakes
> > instantly corrected.
>
> I am again very much reminded of Cyril Kornbluth's story.
>
> > Don't you agree?
>
> Obviously I don't agree.  You shouldn't even have asked whether I agree.
>


Re: Section header footnote

2018-10-16 Thread Ricardo Berlasso
El mar., 16 oct. 2018 a las 3:58, Rich Shepard ()
escribió:

> On Mon, 15 Oct 2018, Richard Kimberly Heck wrote:
>
> >>   Is there a LaTeX/LyX-approved way to limiting the footnote to the body
> >> of the text? If not, I suppose that I can begin the sub-section by
> >> defining that term instead of having it as a footnote.
>
> >
> https://tex.stackexchange.com/questions/153329/footnote-in-sub-section-title
>
> Riki,
>
>Thank you. I thought there would be a viable solution and it appears
> that
> the preamble addition provided in the last answer on that page should work.
> I'll give that a try.
>

Another option is to use "short titles:" put the footnote in the normal
title and then add a sort title (Insert → Short Title, or Alt-A, then 1).
The short title without the footnote will be carried to the TOC and the
header marks.

Regards,
Ricardo



>
> Regards,
>
> Rich
>


Re: Re: indent after description list?

2018-10-16 Thread Ricardo Berlasso
El mar., 16 oct. 2018 a las 9:49, subaochen () escribió:

> Sorry, I have forgotten to set language to English, now the attached file
> sample.lyx maybe a minimal example?
>
> This is an issue both on screen and in the PDF.
>

As a quick workaround, insert a TeX box (Ctrl-L) at the beginning of the
paragraph with this code

\par{}

Regards,
Ricardo


>
> At 2018-10-16 15:39:05, "Dr Eberhard Lisse"  wrote:
> >Su,
> >
> >This is not a minimal example.
> >
> >It requires additional files (for Chinese characters I suppose) which
> >were not present on my machine, so I could not try.
> >
> >Is this an issue on screen or in the PDF, or both?
> >
> >el
> >
> >On 16/10/2018 05:34, subaochen wrote:
> >> hi all,
> >>
> >> please refer to sample.lyx in the attachment, I want an indentation to
> >> the paragraph just after the description list, but how?  I have tried
> >> "Alt+P+Return" but failed, any suggestions?  Thanks in advance!
> >>
> >> --
> >> Best regards,
> >>
> >> Su Baochen
>
>
>
>
>


Re: Superscripts in ABNT keyboard: version 2.3.1

2018-10-15 Thread Ricardo Berlasso
El lun., 15 oct. 2018 a las 22:44, Murat Yildizoglu ()
escribió:

> I have the same problem with the French keyboard.
>

Add the Spanish keyboard to the list.

Regards,
Ricardo


>
> Murat Yildizoglu
> Le 15 oct. 2018 à 20:35 +0200, Rudi Gaelzer , a écrit
> :
>
> Ever since LyX was upgraded to v. 2.3.1 the rendering of math superscripts
> changed.
> Using a ABNT (brazilian) keyboard map, which provides accents (acute,
> grave, circumflex, cedilla, etc) as dead keys, up to the previous version
> (2.3.0), whenever I wanted a superscript in math mode I would use the
> circumflex accent key.  That would have the same effect as the key-binding
> Alt+M E, both in LyX math mode and in LaTeX.
> Now, since v. 2.3.1 was installed, if I want to renderize $a^2$, for
> instance, in LyX math, it will display literally a^2.  After exiting math
> mode and with instant preview active, the LaTeX rendition will display the
> correct format.
>
> Subscripts are still rendered either with Alt+M X  or with "_"
> (underscore), as it was always done.
>
> This is not something terribly annoying, but with an ABNT keyboard it is
> much faster to employ the single "^" key than pressing the 3 keys Alt + M +
> E.
>
> --
>
> Rudi Gaelzer
>
> Institute of Physics
>
> Federal University of Rio Grande do Sul
>
> BRAZIL
>
> Registered linux user # 153741
>
>


Re: Keyboard shortcut for inserting custom item while using Beamer

2018-10-06 Thread Ricardo Berlasso
El sáb., 6 oct. 2018 a las 21:29, Shieh, Sanford ()
escribió:

> Hi Riki,
>
>
>
> Attached is an MWE together with the PDF it generates.  Bullet points 2-4
> are not visible on the PDF slides because of the Custom Item insert with
> nothing inside the insert box.
>

When you insert something from menu, look at LyX's status bar: there you'll
see a command (argument-insert item:1). With that code you can now create a
custom keyboard shortcut, just write the code on the Function box (without
the brackets).

You have a list of all "LyX Functions" at Help → LyX Functions.

Regards,
Ricardo




>
>
> Thanks!
>
>
>
> Sanford Shieh
>
> Associate Professor
>
> Department of Philosoph
>
> Wesleyan University
>
> 350 High Street
>
> Middletown, CT 06459
>
> USA
>
> +1 860 685 3646
>
> sanford.sh...@wesleyan.edu
>
> Reviews editor, *Journal of the History of Analytic Philosophy*
> 
>
> Follow me on Academia.edu  and
>
> ResearchGate.net 
>
>
>
> *From:* Richard Kimberly Heck 
> *Sent:* Saturday, October 6, 2018 2:28 PM
> *To:* Shieh, Sanford ; lyx-users@lists.lyx.org
> *Subject:* Re: Keyboard shortcut for inserting custom item while using
> Beamer
>
>
>
> On 10/06/2018 02:15 PM, Shieh, Sanford wrote:
>
> Hi,
>
>
>
> I find myself inserting blank custom items a lot while using Beamer, and
> so would like to have a keyboard shortcut for that.  As far as I can tell,
> there’s no LyX function that does that, so I can’t bind a key sequence to
> it.  Is there some other method that might work?
>
>
> I'm not sure I know what you mean by a 'blank custom item'. Can you post a
> small LyX file that has one in it?
>
> Riki
>


Re: New CC Book about LyX (PDF)

2018-10-04 Thread Ricardo Berlasso
El jue., 4 oct. 2018 a las 13:59, Neal Becker ()
escribió:

> Ricardo Berlasso wrote:
>
> > El jue., 4 oct. 2018 a las 2:21, John Kane ()
> > escribió:
> >
> >> Lovely book. I am up to about page 53 and it has remind me of things I
> >> have forgotten and taught me a number of new things.
> >>
> >> I second Steve Litt's comment about the language. Very easy to read and
> >> does not--at least so far need any English editing. It would be nice if
> >> 90% of the native English speakers I know wrote as well.
> >>
> >
> > Thanks John! I was worried about the language, now I'm starting to feel
> > proud of myself! :)
> >
> > Regards,
> > Ricardo
> >
> >
> >
> >> On Wed, 3 Oct 2018 at 14:54, Steve Litt 
> >> wrote:
> >>
> >>> On Wed, 3 Oct 2018 11:19:05 -0400
> >>> Scott Kostyshak  wrote:
> >>>
> >>> > On Wed, Oct 03, 2018 at 03:59:44AM -0400, Steve Litt wrote:
> >>> >
> >>> > > but LyX' html and xhtml exporters
> >>> > > export pidgeon xhtml and html that requires all sorts of human
> >>> > > intervention and garbage removal.
> >>> >
> >>> > Have you reported bugs for this or are all of the bugs covered by
> >>> > existing reports? LyX HTML export is slowly improving, especially
> when
> >>> > bugs with minimal examples are reported.
> >>>
> >>> I reported them on this list, many, many times, and was shouted down as
> >>> people priortized just-right rendering of Apple Retina Displays over
> >>> any sane way of LyX authoring 21st century flowing text books (ePub,
> >>> for instance) without repeated human intervention.
> >>>
> >>> I was told that the xhtml and html export mechanisms were "just fine"
> >>> for ePub. They use different styles for the first paragraph after a
> >>> heading, for gosh sakes. They almost completely converted styles to
> >>> inline appearance codes so I couldn't customize my ePubs via CSS. The
> >>> HTML they put out wasn't WYSIWYM, it was 100% pure fingerpainting. The
> >>> files were therefore HUGE.
> >>>
> >>> Understanding that xhtml/html exports would never be adequate for ePub,
> >>> I begged for the transition of LyX's language to well-formed XML to be
> >>> completed so I could write my own LyX to ePub converter. No. Too much
> >>> work.
> >>>
> >>> After years of begging and pleading, I created Stylz to author both PDF
> >>> and ePub. I am writing two different books written in Stylz.
> >>> It's not easy for one developer to develop an authoring tool and write
> >>> books at the same time, but I'm doing it. Stylz already renders HTML
> >>> beautifully, does ePub pretty darn well, but its rendering in PDF is
> >>> defective and needs several repairs.
> >>>
> >>> I had given up on LyX, because it's important I be able to have one
> >>> document render both PDF and *high quality* ePub, without human
> >>> intervention. If lwarp can *correctly and semantically* export LyX to
> >>> HTML5 *as XML*, I might write the HTML5 to ePub converter and return to
> >>> the LyX fold.
> >>>
> >>> But if you're asking me to report the inadequacies of LyX' html and
> >>> xhtml exports for the purpose of ePub, I've done my time. And nobody
> >>> cared. And I've moved on.
> >>>
> >>> SteveT
> >>>
> >>> Steve Litt
> >>> September 2018 featured book: Quit Joblessness: Start Your Own Business
> >>> http://www.troubleshooters.com/startbiz
> >>>
> >>
> >>
> >> --
> >> John Kane
> >> Kingston ON Canada
> >>
>
> Enjoyed reading this, thanks!
> 1 minor comment: My procedure for inserting graphics is usually to choose
> scale to 100% columnwidth (or textwidth) for an article.  Usually for
> beamer
> I'll scale to 85% of textheight, unless there's other text on the page, in
> which case I'll choose perhaps 75% textheight.  I've never used scaling to
> fixed dimensions.
>
> Although your procedure to automatically center graphics is more
> automatic,
> I simply choose paragraph setting centered before inserting the graphic
> (and
> if scaled 100% textwidth doesn't matter if it's centered anyway).
>

Thanks for your comments, Neal! I used to do that too, but I'm prone to
forgetting or even mixing the "small steps," so for me it's important to
automate as much as possible! ;)

Regards,
Ricardo


Re: New CC Book about LyX (PDF)

2018-10-04 Thread Ricardo Berlasso
El jue., 4 oct. 2018 a las 2:21, John Kane () escribió:

> Lovely book. I am up to about page 53 and it has remind me of things I
> have forgotten and taught me a number of new things.
>
> I second Steve Litt's comment about the language. Very easy to read and
> does not--at least so far need any English editing. It would be nice if 90%
> of the native English speakers I know wrote as well.
>

Thanks John! I was worried about the language, now I'm starting to feel
proud of myself! :)

Regards,
Ricardo



> On Wed, 3 Oct 2018 at 14:54, Steve Litt  wrote:
>
>> On Wed, 3 Oct 2018 11:19:05 -0400
>> Scott Kostyshak  wrote:
>>
>> > On Wed, Oct 03, 2018 at 03:59:44AM -0400, Steve Litt wrote:
>> >
>> > > but LyX' html and xhtml exporters
>> > > export pidgeon xhtml and html that requires all sorts of human
>> > > intervention and garbage removal.
>> >
>> > Have you reported bugs for this or are all of the bugs covered by
>> > existing reports? LyX HTML export is slowly improving, especially when
>> > bugs with minimal examples are reported.
>>
>> I reported them on this list, many, many times, and was shouted down as
>> people priortized just-right rendering of Apple Retina Displays over
>> any sane way of LyX authoring 21st century flowing text books (ePub,
>> for instance) without repeated human intervention.
>>
>> I was told that the xhtml and html export mechanisms were "just fine"
>> for ePub. They use different styles for the first paragraph after a
>> heading, for gosh sakes. They almost completely converted styles to
>> inline appearance codes so I couldn't customize my ePubs via CSS. The
>> HTML they put out wasn't WYSIWYM, it was 100% pure fingerpainting. The
>> files were therefore HUGE.
>>
>> Understanding that xhtml/html exports would never be adequate for ePub,
>> I begged for the transition of LyX's language to well-formed XML to be
>> completed so I could write my own LyX to ePub converter. No. Too much
>> work.
>>
>> After years of begging and pleading, I created Stylz to author both PDF
>> and ePub. I am writing two different books written in Stylz.
>> It's not easy for one developer to develop an authoring tool and write
>> books at the same time, but I'm doing it. Stylz already renders HTML
>> beautifully, does ePub pretty darn well, but its rendering in PDF is
>> defective and needs several repairs.
>>
>> I had given up on LyX, because it's important I be able to have one
>> document render both PDF and *high quality* ePub, without human
>> intervention. If lwarp can *correctly and semantically* export LyX to
>> HTML5 *as XML*, I might write the HTML5 to ePub converter and return to
>> the LyX fold.
>>
>> But if you're asking me to report the inadequacies of LyX' html and
>> xhtml exports for the purpose of ePub, I've done my time. And nobody
>> cared. And I've moved on.
>>
>> SteveT
>>
>> Steve Litt
>> September 2018 featured book: Quit Joblessness: Start Your Own Business
>> http://www.troubleshooters.com/startbiz
>>
>
>
> --
> John Kane
> Kingston ON Canada
>


Re: New CC Book about LyX (PDF)

2018-10-03 Thread Ricardo Berlasso
El mié., 3 oct. 2018 a las 10:00, Steve Litt ()
escribió:

> On Wed, 3 Oct 2018 08:57:47 +0200
> Ricardo Berlasso  wrote:
>
> > El mié., 3 oct. 2018 a las 1:55, Dr Eberhard Lisse ()
> > escribió:
> >
> > > Ricardo,
> > >
> > > have you tried to use lwarp on this to make a Kindle out of this?
> > >
> >
> > I did not know about that package. Really interesting! Now I need to
> > explore it!
>
> Ricardo,
>
> Please keep us all apprised of your work using lwarp to convert
> LyX-derived LaTeX to ePub (and then to Kindle if required). I don't
> have a whole lot of time but I might be able to help. I once built a
> LyX-derived xhtml to ePub converter, but LyX' html and xhtml exporters
> export pidgeon xhtml and html that requires all sorts of human
> intervention and garbage removal. They convert styles to appearances
> way too early.
>
> I have a fairly complete Stylz to ePub converter that works pretty well.
>
> So if lwarp's special ePub version of HTML is semantically sound, this
> might be a possibility. See chapter 10 of
>
> http://ctan.math.washington.edu/tex-archive/macros/latex/contrib/lwarp/lwarp.pdf


Thanks, Steve! I'll do! But it will take time, something I'm pretty short
of now. The 1000 pages of the lwarp manual are quite intimidating...

Regards,
Ricardo



>
>
>
> SteveT
>
> Steve Litt
> September 2018 featured book: Quit Joblessness: Start Your Own Business
> http://www.troubleshooters.com/startbiz
>


Re: Fwd: New CC Book about LyX (PDF)

2018-10-03 Thread Ricardo Berlasso
El mié., 3 oct. 2018 a las 1:55, Dr Eberhard Lisse ()
escribió:

> Ricardo,
>
> have you tried to use lwarp on this to make a Kindle out of this?
>

I did not know about that package. Really interesting! Now I need to
explore it!


>
> el
>
> On 2018-10-02 22:52 , Ricardo Berlasso wrote:
> >
> > [I forgot to add the list. I'm still in low caffeine levels, it seems]
> > (Top posting)
> >
> > Many thanks, Pavel and Steve! It was a challenge for me to translate the
> > book, and now I'm happy I've done it! Next week I'll have more time to
> > fix those points and update everything. Thank you so much for your kind
> > comments!
> >
> > Regards,
> > Ricardo
> >
> >
> >
> > El mar., 2 oct. 2018 a las 20:24, Steve Litt ( > <mailto:sl...@troubleshooters.com>>) escribió:
> >
> > On Mon, 1 Oct 2018 21:09:24 +0200
> > Ricardo Berlasso mailto:rgb.m...@gmail.com>>
> wrote:
> >
> > > Hi, list!
> > >
> > > I've finally translated my book about LyX, XeTeX and OpenType to
> > > (something similar to) English. I'm not a native English speaker,
> so
> > > be aware that there will be grammar errors! Lots of them!
> > >
> > > If you find something that need correction, please let me know! I
> > > hope you enjoy reading it as much as I enjoyed writing it.
> > >
> > > Announcement:
> > >
> >
> https://frommindtotype.wordpress.com/2018/10/01/announcement-lyx-the-other-way-of-writing/
> > >
> > > Project Page:
> > > https://frommindtotype.wordpress.com/lyx-book/
> >
> > Very, very nice! I wish this book had been available in 2001 --- it
> > would have made my entry into LyX much easier. Today, I know
> > everything, having written 8 books in LyX, so I don't need to read
> your
> > book.
> >
> > Well, except for the entirety of your Chapter 8, which today I know
> > nothing about, but in a few days will be an expert in thanks to your
> > book. And 4.1.4, Math, which will improve my very shaky LyX math
> > skills. And OpenType, which I didn't know existed until skimming your
> > book.
> >
> > The book is aesthetically beautiful, something I usually don't care
> > about. But in the case of your book, it proves you eat your own dog
> > food (American idiom for using what you claim authority over), and do
> > it well.
> >
> > Speaking of American idioms, the fact that you're a non-native
> English
> > speaker was almost impossible to detect. In no place did I find text
> > that was ambiguous, unclear, or not understandable. The very few
> places
> > where your non-English origins showed through made the book more
> > interesting and kept me on my toes, so I didn't start skipping over
> > huge sections of text. I'd recommend you not try to Anglicize the
> book
> > further: It's very readable to a monolingual American, and I'd
> imagine
> > Brits and Aussies and Canadians and New Zealanders and South Africans
> > and Liberians and people from Belize would have the same opinion.
> >
> > The book's layout and organization make it appropriate for those new
> to
> > LyX to read straight through, while LyX cognoscenti can skip around
> to
> > grab what they haven't learned yet.
> >
> > N I C E   B O O K !
> >
> > =
> > NOTE: I give you permission to use any or all parts of this email
> > in the marketing of this book. I have not been given any payment or
> > consideration to write my opinions.
> > =
> >
> > SteveT
> >
> > Steve Litt
> > September 2018 featured book: Quit Joblessness: Start Your Own
> Business
> > http://www.troubleshooters.com/startbiz
> >
>


Fwd: New CC Book about LyX (PDF)

2018-10-02 Thread Ricardo Berlasso
[I forgot to add the list. I'm still in low caffeine levels, it seems]
(Top posting)

Many thanks, Pavel and Steve! It was a challenge for me to translate the
book, and now I'm happy I've done it! Next week I'll have more time to fix
those points and update everything. Thank you so much for your kind
comments!

Regards,
Ricardo



El mar., 2 oct. 2018 a las 20:24, Steve Litt ()
escribió:

> On Mon, 1 Oct 2018 21:09:24 +0200
> Ricardo Berlasso  wrote:
>
> > Hi, list!
> >
> > I've finally translated my book about LyX, XeTeX and OpenType to
> > (something similar to) English. I'm not a native English speaker, so
> > be aware that there will be grammar errors! Lots of them!
> >
> > If you find something that need correction, please let me know! I
> > hope you enjoy reading it as much as I enjoyed writing it.
> >
> > Announcement:
> >
> https://frommindtotype.wordpress.com/2018/10/01/announcement-lyx-the-other-way-of-writing/
> >
> > Project Page:
> > https://frommindtotype.wordpress.com/lyx-book/
>
> Very, very nice! I wish this book had been available in 2001 --- it
> would have made my entry into LyX much easier. Today, I know
> everything, having written 8 books in LyX, so I don't need to read your
> book.
>
> Well, except for the entirety of your Chapter 8, which today I know
> nothing about, but in a few days will be an expert in thanks to your
> book. And 4.1.4, Math, which will improve my very shaky LyX math
> skills. And OpenType, which I didn't know existed until skimming your
> book.
>
> The book is aesthetically beautiful, something I usually don't care
> about. But in the case of your book, it proves you eat your own dog
> food (American idiom for using what you claim authority over), and do
> it well.
>
> Speaking of American idioms, the fact that you're a non-native English
> speaker was almost impossible to detect. In no place did I find text
> that was ambiguous, unclear, or not understandable. The very few places
> where your non-English origins showed through made the book more
> interesting and kept me on my toes, so I didn't start skipping over
> huge sections of text. I'd recommend you not try to Anglicize the book
> further: It's very readable to a monolingual American, and I'd imagine
> Brits and Aussies and Canadians and New Zealanders and South Africans
> and Liberians and people from Belize would have the same opinion.
>
> The book's layout and organization make it appropriate for those new to
> LyX to read straight through, while LyX cognoscenti can skip around to
> grab what they haven't learned yet.
>
> N I C E   B O O K !
>
> =
> NOTE: I give you permission to use any or all parts of this email
> in the marketing of this book. I have not been given any payment or
> consideration to write my opinions.
> =
>
> SteveT
>
> Steve Litt
> September 2018 featured book: Quit Joblessness: Start Your Own Business
> http://www.troubleshooters.com/startbiz
>


Re: New CC Book about LyX (PDF)

2018-10-01 Thread Ricardo Berlasso
El lun., 1 oct. 2018 a las 21:48, Jean-Marc Lasgouttes ()
escribió:

> Le 01/10/2018 à 21:09, Ricardo Berlasso a écrit :
> > Hi, list!
> >
> > I've finally translated my book about LyX, XeTeX and OpenType to
> > (something similar to) English. I'm not a native English speaker, so be
> > aware that there will be grammar errors! Lots of them!
>
> Congratulations!
>
> Now that I have said that, I could not read the book because the link at
> https://frommindtotype.wordpress.com/lyx-book/
> links to your (probably awesome too) book about Libreoffice :)
>

Ups! That's what happens when you are low on caffeine! Fixed!


>
> JMarc
>
>


New CC Book about LyX (PDF)

2018-10-01 Thread Ricardo Berlasso
Hi, list!

I've finally translated my book about LyX, XeTeX and OpenType to (something
similar to) English. I'm not a native English speaker, so be aware that
there will be grammar errors! Lots of them!

If you find something that need correction, please let me know! I hope you
enjoy reading it as much as I enjoyed writing it.

Announcement:
https://frommindtotype.wordpress.com/2018/10/01/announcement-lyx-the-other-way-of-writing/

Project Page:
https://frommindtotype.wordpress.com/lyx-book/

Regards,
Ricardo


Re: Consulta Tapa del informe y Abstrac

2018-09-05 Thread Ricardo Berlasso
Hola, Paula,

Primero que nada decirte que hay una lista en castellano:
lyx...@lists.lyx.org

la agrego en CC para que sigamos la discusión allí. Sobre tus preguntas,
seguimos más abajo


El mié., 5 sept. 2018 a las 1:21, paula cardozo ()
escribió:

> Buenas noches! Soy Paula de Argentina y he decidido descargar el programa
> Lyx para elaborar mi tesis pero también deseo utilizarlos para otros
> trabajos del posgrado. La primera duda que me surge es si el programa tiene
> disponible insertar una tapa a un informe (donde se pueda insertar el
> título con un diseño de color o en forma de gráfico).


Lo más simple que puedes hacer es insertar un quiebre de página (desde
insertar) para dar lugar a las páginas de la «tapa» y del copyright. En uno
de los apéndices cuento cómo realicé la portada de mi libro sobre LyX

https://elpinguinotolkiano.wordpress.com/latexxetexlyx/

Tal vez lo encuentres útil ;)



> La segunda consulta es que cuando inserto el "resumen" la palabra aparece
> en ingles (abstrac) y no puedo seleccionarla para modificar el idioma.


Asegúrate que el idioma del documento está en castellano en el menú de
configuración. Todo eso debería traducirse automáticamente.

Saludos,
Ricardo



> Espero se hayan entendido mis consultas, espero su respuesta, muchas
> gracias.
> Paula
>


Re: Inserting half-column figure in text

2018-09-01 Thread Ricardo Berlasso
El sáb., 1 sept. 2018 a las 0:43, Rich Shepard ()
escribió:

> On Sat, 1 Sep 2018, Kornel Benko wrote:
>
> > What you seem to be after is maybe a wrapped figure, like the attached.
> > (Insert->Float->Figure Wrap Float)
>

Just a general warning: the wrapfig package used by this option is a bit
"unpredictable" with its default options: if the wrapfig figure ends up
near the lower edge of the page, it could disappear from the output without
warning, leaving a "??" for each cross-reference to it and a gap on the
following page. Consider a right click on the inset → Settings → Allow
floating to solve that problem... causing, perhaps, others when there is
not enough text to wrap the wrapfig figure...

Just double check the output each time you use a wrapfig float ;)

Regards,
Ricardo



>
> Kornel,
>
>Well! Shame on me! In the many years I've used LyX I've not noticed that
> menu choice. Mea culpa!
>
> Thanks for pointing out the obvious,
>
> Rich
>


Re: using unicode instead of marvosym symbols

2018-08-30 Thread Ricardo Berlasso
El jue., 30 ago. 2018 a las 18:42, Saša Janiška ()
escribió:

>
> Hello,
>
> I plan to start using LyX for writing my study notes where the content
> requires
> lot of astro symbols. In the past I was using marvosym font/package and
> writing
> e.g. \Sun \Aries etc.
>
> Now I'd like to use Unicode symbols instead of marvosym and wonder what
> would
> be the optimal way to do it *without* the need to type Unicode character's
> hex
> code, iow. via some shortcut like above (\Sun...)?
>

It's possible by using XeTeX, a good font, and a bit of code in the
preamble. But be aware you'll need to find an OpenType font with ALL the
symbols you need, otherwise you'll be dealing with a lot of compilation
errors!

After setting your document to use XeTeX and choosing an appropriate font,
in the Preamble write something like this

\newcommand{\Name}{\symbol{"}}


where  is the corresponding Unicode hex code. Now, on your document
open a TeX box (Ctrl-L) and type \Name in it. That's all.

Regards,
Ricardo



>
>
> Sincerely,
> Gour
>
> --
> A person is said to be established in self-realization and is called a
> yogī [or mystic] when he is fully satisfied by virtue of acquired
> knowledge and realization. Such a person is situated in transcendence
> and is self-controlled. He sees everything — whether it be pebbles,
> stones or gold — as the same.
>


Re: Gothic style fonts in LyX/MikTeX

2018-08-26 Thread Ricardo Berlasso
El dom., 26 ago. 2018 a las 16:58, Cris Fuhrman ()
escribió:

> Hello,
>
> For a project, I wanted to use an old-English/Germanic style font. I found
> some in yfonts, but it's tricky to install/setup with MikTeX (not
> automatic) because it requires a local tex install. There are instructions
> at https://wiki.lyx.org/Tips/InstallType1Fonts and also on StackOverflow
> for Type1 installs. Not impossible, but less easy to reproduce between my
> PC at home and work.
>
> Is there a gothic-like font that will work well with LyX/MikTeX
> automagically?
>

Will that font be used for the whole document or just for particular
paragraphs? If you are willing to use XeTeX instead of plain LaTeX, setting
up a new font-family that uses an Unicode Blackletter typeface such as
UniFraktur(1) is really easy.

(1) http://unifraktur.sourceforge.net/

Regards,
Ricardo


Re: Shortcuts dedicated to math mode

2018-07-29 Thread Ricardo Berlasso
2018-07-27 11:21 GMT+02:00 Daniel :

> On 26/07/2018 15:31, Jean-Marc Lasgouttes wrote:
>
>> Le 26/07/2018 à 09:19, Jürgen Spitzmüller a écrit :
>>
>>> Am Donnerstag, den 26.07.2018, 08:53 +0200 schrieb Daniel:
>>>
 Is it possible to have a keyboard shortcut dedicated to math mode so
 that it only works in matn mode but does something else (or its
 normal
 function) when not in math mode?

>>>
>>> You can use
>>> command-alternatives math-function ; text-function
>>>
>>
>> You can also use autocorrect in math mode. Example: <= gives \leq.
>>
>
> Never heard about it? Where can I set it up?
>

Tools → Preferences → Editing → Input completion: check "autocorrection"
under "In Math"

Regards,
Ricardo



>
> Daniel
>
>
>


Re: Question on header and footer

2018-06-13 Thread Ricardo Berlasso
2018-06-13 16:20 GMT+02:00 Harold Mouras :

> Dears Users,
> thank you for your help regarding a preliminary question on header and
> footer.
> With such a LateX preamble :
>
> \usepackage{fancyhdr}
> \pagestyle{fancy}
> \renewcommand\footrulewidth{0.4pt}
> \fancyfoot[C]{\small Harold Mouras \\ Professor of Neuroscience |
> Editor-in-Chief "Socioaffective Neuroscience & Psychology"
> \\ harold.mou...@u-picardie.fr | +33 (7) 83 62 93 31 \\ University of
> Picardy Jules Verne | Psychology Department | Chemin du Thil | 80 025
> Amiens Cedex 1, France \\ Pathological Neurosciences Laboratory | CURS Rue
> René Laennec | 80054 Amiens Cedex 1, France}
>
> I have want I want but I observe the separation line both in the head and
> the foot of the page. How is that possible to get it only at the foot ?
>

Just add

\renewcommand{\headrulewidth}{0pt}

to the preamble.

Regards,
Ricardo




> Thank you,
> Best,
> Harold


Re: Figure captions

2018-06-09 Thread Ricardo Berlasso
2018-06-09 22:13 GMT+02:00 Steve Litt :

> On Sat, 9 Jun 2018 12:43:47 +0200
> Ricardo Berlasso  wrote:
>
> > 2018-06-09 11:50 GMT+02:00 F M Salter :
> >
> > > Hi
> > >
> > > Is it possible to place captioned figures side by side rather
> > > than vertically?
> >
> >
> > Yes, but you need to use the sidecap package. To integrate it on LyX
> > you can use a "Local format" (Document → Settings → Local format),
> > something like this (I'm using 2.3 here, for 2.2 use "Format 60"
> > instead)
>
> Hi Richard,
>
> How did you know that the sidecap package would do this? It seems like
> every desire anyone has in LaTeX, somebody pops up with a package to do
> it. But how does one discover that package? Is there an algorithm to go
> from a need to solution by package discovery?
>

Unfortunately, no. I'm able to provide a fast answer to some problems only
because I've already asked that question many times in the past and was
able to build an answer. I'm not a LaTeX expert, so each time I solve
something I write down the solution I've found on my personal archive.



>
> Given LaTeX code, I can hammer away at it, do research, and eventually
> modify it to do what I need. I can describe the process pretty much in
> English. But I don't begin to understand how people can hear a need and
> instantly know "you need the XYZ package." That process should be
> articulated so that all of us can do it.
>

I'm using LyX since... 2001? My memory fails. But even with such experience
it took me months to understand how local formats work. In fact, I'm not
able to write code from scratch, I always need to copy/paste from my
archive of solutions, so don't feel amazed for our fast answers, they only
mean that we are good at copy/paste old solutions from our own long list of
solved problems ;)

Even the most wild questions I've ever had were already asked by someone
else on the Internet, so it's only matter of using the right keywords on
the right place. TeX-LaTeX Stack Exchange is usually the right place so
once I find the answer, and of course I understand it (which is not always
granted), it's just a matter of adapting the whole thing to LyX (which may
be some work)

http://tex.stackexchange.com/

If nobody knows the answer to a question there, it's not possible. But
since almost nothing is impossible on LaTeX, the answer is there ;)

Regards,
Ricardo



>
> Thanks,
>
> SteveT
>
> Steve Litt
> June 2018 featured book: Twenty Eight Tales of Troubleshooting
> http://www.troubleshooters.com/28
>
>
>


Re: Figure captions

2018-06-09 Thread Ricardo Berlasso
2018-06-09 11:50 GMT+02:00 F M Salter :

> Hi
>
> Is it possible to place captioned figures side by side rather than
> vertically?


Yes, but you need to use the sidecap package. To integrate it on LyX you
can use a "Local format" (Document → Settings → Local format), something
like this (I'm using 2.3 here, for 2.2 use "Format 60" instead)

Format 66

AddToPreamble

\usepackage{sidecap} % added by sidecap.module

\let\SCfigurename\figurename

EndPreamble

Float

Type SCfigure

GuiName "Figure (side caption)"

Placement tbp

Extension loscf

NumberWithin none

Style plain

ListCommand empty

ListName "List of Figures (side caption): does nothing, use List of Figures
instead"

RefPrefix fig

IsPredefined 1

UsesFloatPkg 0

End

Float

Type SCtable

GuiName "Table (side caption)"

Placement tbp

Extension losct

NumberWithin none

Style plain

ListCommand empty

ListName "List of Tables (side caption): does nothing, use List of Tables
instead"

RefPrefix tab

IsPredefined 1

UsesFloatPkg 0

End


Now, under Insert → Float you'll have "Figure (side caption)" and "Table
(side caption)". The side-captioned figures will integrate with the normal
ones, so just use the normal index of figures to list them (and all the
others).



> It is possible to place graphics, without captions, side
> by side.  Figure captions seem only to be used in floats.  Attempts to
> copy to a  box produces senseless!
>

You can delete the caption box inside the float without problems, resulting
on a floating figure without caption. To insert several figures inside a
float you can just do that, or even insert another float inside the float
to get several "sub-figures", LyX will recognize the situation
automatically.

Regards,
Ricardo



>
> Regards
>
> Frank Salter
>
>
>


Re: 7zip file archiver in Mageia 6

2018-06-05 Thread Ricardo Berlasso
2018-06-05 18:10 GMT+02:00 Michael Berger :

> Dear Lyxers,
> Using Mageia 6 KDE and trying to get familiar with the p7zip compression
> program.
> I find p7zip, version 16.02 installed, just this single file, no GUI.
>

p7zip is a command line utility and Ark, the KDE archiver, can use it if
installed. There is J7Z, which is a front end written in java. It used to
have Dolphin integration, but it's a long time since I tested it: Ark fills
all my needs.


>
> This program is supposed to work from within Dolphin. But I cannot find
> the faintest hint how to use it because there is no menu whatsoever as can
> be found e.g. in Ubuntu
>
> So it seems to me p7zip is not yet available in Mageia & !?
>
> Thanks,
> Michael
>


Re: Increase space for Figure number

2018-05-26 Thread Ricardo Berlasso
2018-05-26 8:33 GMT+02:00 Wolfgang Engelmann <engelm...@uni-tuebingen.de>:

>
>
> Am 25.05.2018 um 22:28 schrieb Ricardo Berlasso:
>
> 2018-05-25 9:34 GMT+02:00 Wolfgang Engelmann <engelm...@uni-tuebingen.de>:
>
>> How to increase the space for Figure number (see attachment)? The text
>> class is sr-vorl (a Springer Publisher Vorlage -layout >
>> https://ctan.org/pkg/sr-vorl?lang=de).
>>
>
> You need to "patch" your index to add space between numbering and content.
> To change the space on the list of figures, add this to the preamble:
>
> \makeatletter
> \renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{3em}}
> \makeatother
>
> Change the 3em value according to your needs. For the list of tables use
> l@table instead of l@figure .
>
> Regards,
> Ricardo
>
>
>
>>
>> Wolfgang
>>
>>
> Thanks, Ricardo.
> What does the first [xx em} stand for?
>

It changes the number positioning: by increasing that parameter, the number
and with it the whole text will move to the right.


> Wolfgang
>


Re: Increase space for Figure number

2018-05-25 Thread Ricardo Berlasso
2018-05-25 9:34 GMT+02:00 Wolfgang Engelmann :

> How to increase the space for Figure number (see attachment)? The text
> class is sr-vorl (a Springer Publisher Vorlage -layout >
> https://ctan.org/pkg/sr-vorl?lang=de).
>

You need to "patch" your index to add space between numbering and content.
To change the space on the list of figures, add this to the preamble:

\makeatletter
\renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{3em}}
\makeatother

Change the 3em value according to your needs. For the list of tables use
l@table instead of l@figure .

Regards,
Ricardo



>
> Wolfgang
>
>


Re: Opening file saved by 2.3 in windows

2018-05-20 Thread Ricardo Berlasso
2018-05-20 17:50 GMT+02:00 Mario D :

>
> I am working on a joint project with a colleague. My colleague has windows
> with Lyx 2.2.3 while I have linux with Lyx 2.3
>
> Now I edited the file but I realized that I used a different Lyx version.
>
> You can guess my questions: will he be able to edit the file I am sending
> to him?
> If I got it right, he won't so the second question is: how can I share the
> work I did with him?
>

File → Export → LyX 2.2.x

That's all :)

Regards,
Ricardo



>
> Thank you.
>
> PS: I know I don't need to add anything to a subject which is quite
> troublesome but I really wish that it will be possible to come soon to a
> solution of the Windows question: having different versions available on
> different OSes  which produce non-compatible document is a serious flaw to
> cooperation.
>


Re: Background color in a paragraph

2018-05-05 Thread Ricardo Berlasso
2018-05-04 13:27 GMT+02:00 Mario D :

> Is there a simple way in lyx to change the background color of some text,
> maybe a paragraph?
>
> I have not been able to find a way to do this natively: the only way I
> could obtain it is by using the "soul" package, then inserting the latex
> code "\hl{" in ERT just before the the text to be highlighted and then a
> closing "}" at its end.
>

If you want a background colour to apply to certain paragraphs, on LyX it's
possible to define a paragraph style that apply the mdframe package. Go to
Document → Settings → Local format and add something like this (I'm using
2.3 here, if you're still on 2.2.x write "Format 60" instead)

Format 66


Style MyQuotation

Category MainText

Margin Static

LatexType Environment

LatexName myquotation

NextNoIndent 1

LeftMargin MMM

RightMargin MMM

ParIndent MM

ParSkip 0

ItemSep 0

TopSep 0.5

BottomSep 0.5

ParSep 0

Align Block

AlignPossible Block, Left, Right, Center

Preamble

\usepackage{mdframed}

\usepackage{xcolor}

\newenvironment{myquotation}

{\begin{mdframed}[

backgroundcolor=lightgray,

linecolor=lightgray

]\quotation}

{\endquotation\end{mdframed}}

EndPreamble

End

Validate, convert to the new format if necessary and now you'll have a new
paragraph environment called "MyQuotation" with some indents and light grey
background and borders.

[Got the idea from here

https://tex.stackexchange.com/questions/6851/create-new-paragraph-style-in-lyx#7471

I'd just converted the example to a Local Format]

Regards,
Ricardo






>
> Thanks
>


Re: LyX key bindings

2018-03-15 Thread Ricardo Berlasso
2018-03-15 9:46 GMT+01:00 mike :

> On 15/03/2018 08:42, mike wrote:
>
>> Hello
>>
>> Can someone help me please?  I would like to bind a key combination to
>> "command-alternatives in-ipa ; ipa-insert".  For the moment at least I want
>> to stick to the default key bindings plus this one additional binding.
>> Again for the moment anyway how do I find out what the default key bindings
>> are so that I don't reset a key binding that already exists?  Is there a
>> way to do this in LyX itself rather than having to mess around with bind
>> files?  I did try to work this out myself but couldn't figure it out.  FWI
>> I use LyX on Win 7 Pro with 32 bit MiKTeX.
>>
>
Keep in mind that I'm translating from Spanish and that I'm using a Linux
system, so check everything!

On Tools → Settings → Edition → Keyboard shortcuts type "ipa" on the filter
box and you'll find the ipa-insert command listed below: select it and
click on Modify to assign a keyboard shortcut to it.

Regards,
Ricardo





>
>> Thanks very much in advance for any help
>>
>> Mike
>>
>> Sorry I forgot to mention that if I can do it in LyX itself I'd like it
> to "stick" in the sense that if I close LyX and start it again I don't have
> to manually set the key binding.
>
>
> Mike
>
> --
> I *AM* a unique and special snowflake
>
>


Re: “Missing Glyphs!” / LinLibertine

2018-01-30 Thread Ricardo Berlasso
2018-01-30 9:42 GMT+01:00 S. Noble :

>
> Yes, we can (and will) do that. But it's getting annoying, to be honest.
> This is the fourth time a new package for libertine is released
> and the old one declared obsolete over the last 5 years. We
> had libertine-type1, which was then declared obsolete by libertine
> (or libertine-legacy), which was then declared obsolete by a new
> libertine-type1. Now libertineRoman declares libertine-type1 obsolete. This
> is just crazy.
>
> Jürgen
>
>
> It’s interesting to hear all that. As nice as the Linux Libertine font is,
> it’s the one that gives me the most issues, such as the one described
> above. I’m sure that the hassles I experience are different from the ones
> you face, but when you say that it’s getting annoying, I fully agree.
>

I simply use the OpenType Libertinus fonts (an actively developed fork of
Linux Libertine and Biolinum) with XeTeX

https://github.com/khaledhosny/libertinus

No problem at all.

[If you don't mind the self promotion, I wrote for my personal blog a quick
introduction to the use of OpenType on XeTeX/LyX. This is the first article
of the "miniseries"

https://frommindtotype.wordpress.com/2018/01/15/using-opentype-on-xetexlyx-short-texts/

The fourth and last one will be published next Monday.]

Regards,
Ricardo





> Again, LyX is fantastic software—keep up the great work!
>
> Seb.
>


Re: LyX-to-LyX pasting from "English" to "English (USA)" annoyances

2018-01-22 Thread Ricardo Berlasso
2018-01-20 23:39 GMT+01:00 Scott Kostyshak :

> I have a paper where I set the language to "English (USA)". I am not
> normally so patriotic, but I do this to get the conventional quoting
> used in USA journals where punctuation in the references are inside the
> quotation marks, e.g., <<"This is a Title.">> instead of <<"This is a
> Title".>>. I could instead set the language of Biblatex directly so the
> following issue would not matter, but I am stubborn.
>
> Most of my other .lyx files use the language "English", and so whenever
> I paste from one of those .lyx files into my "English (USA)" .lyx file,
> the pasted text is (correctly) marked with a blue line because it is a
> different language, "English". I then just need to select the text I
> just pasted in and change it from "English" to "English (USA)." I do
> this maneuver enough times that I find it annoying.
>
> Does anyone else run into this annoyance, e.g., with other forms of
> English, French, German, etc? If not, then I don't think we should
> change anything.
>
> If others do find this annoying, perhaps we can think of an improvement.
> The ideal behavior for me would be that whenever I paste text that is in
> language "mylanguage (x)" into a document that has language "mylanguage
> (y)" and no other language, the text would be pasted as
> "mylanguage (y)". However, thinking about what the LyX behavior should
> be, I don't know what to suggest. On the one hand, I don't think we
> should change the default behavior since it is correct to treat
> "mylanguage (x)" and "mylanguage (y)" as different languages.
> On the other, I don't think this is a big enough issue that we should
> have a preference for it. So I don't know what to suggest.
>
> Thoughts?
>

This remembered me of this ticket

http://www.lyx.org/trac/ticket/9199

LyX tends to do some language assumptions when pasting something ;)

Regards,
Ricardo



>
> Scott
>
>


Re: suppression of footnotes in TOC

2018-01-02 Thread Ricardo Berlasso
2018-01-02 16:57 GMT+01:00 Ekkehart Schlicht :

> Hi,
>
> I have footnotes to section headings (that are necessary because some
> sections are taken from earlier articles, and this is explained in those
> footnotes). In the TOC, these footnotes re-appear. It is quite clumsy to
> repress them in those cases by using \section* instead of \section and add
> \addcontentsline{section}{12 sectionname}. It would be very convenient to
> have footnoes to TOC entries omitted by defaultin the TOC.
>


 The only way I ever found is to define a new "footnote" command and use it
on the heading instead of the normal one. See here:

https://tex.stackexchange.com/a/123762

Basically you add to the Preamble

\makeatletter

\def\myfnt{\ifx\protect\@typeset@protect
\expandafter\footnote\else\expandafter\@gobble\fi}

\makeatother


and then to insert the "footnote" on the heading you use a TeX box (Ctrl-L)
with the command


\myfnt{the heading footnote}


on it. The numbering integrates without problems with normal footnotes,
only on LyX it will look kind of weird. But you can always define a
character style ;)

Regards,
Ricardo





>
> Thanks!
>
> --
> Ekkehart Schlicht
> Hurtenstr. 13
> 
> 82345 Andechs-Frieding
> Tel: +49 (0)8152 9149271
>


Re: caption separate from figure

2018-01-02 Thread Ricardo Berlasso
2018-01-02 17:54 GMT+01:00 Wolfgang Engelmann :

> I have a large figure and would therefore like to have the caption
> separate from the float figure. I did not find infos about it in
> Help>embedded objects. Any idea how to do it?
> Wolfgang
>
>
Never tried myself, but see if this helps you

https://tex.stackexchange.com/questions/53315/how-to-put-large-figure-caption-on-separate-page-from-the-figure

Regards,
Ricardo


Re: Shortcuts for operators/times

2018-01-02 Thread Ricardo Berlasso
2018-01-02 10:33 GMT+01:00 edu Gpl :

> Please how i can create shortcuts for this symbol:
> Operators/times
> It's like x.
>

Each time you perform any action that do not have an associated keyboard
shortcut, on LyX's buffer you'll see a command that can be used to set up
one. In the case of "times" operator (in Math mode) the code is

math-insert \times

With this code, go to Tools → Preferences → Edition → Keyboard shortcuts
where you'll be able to create a new keyboard shortcut: just click on New,
type the code on the Function box, click on the keyboard shortcut button
and perform your preferred shortcut. If by accident you select a shortcut
already in use, LyX will warn you: just pick another one.

But remember that on Math mode you just need to type \times and press the
space bar to get the symbol, so maybe you'll not gain that much by setting
a shortcut for such a short instruction :)

Regards,
Ricardo



>
> Best regards
>


Re: Line breaks in long URL address

2017-12-30 Thread Ricardo Berlasso
2017-12-30 19:22 GMT+01:00 Rich Shepard :

>   Document class is KOMA-Script article; preamble includes:
> \date{}
> \usepackage[hyphens]{url}
> \makeatletter
> \g@addto@macro{\UrlBreaks}{\UrlOrds}
> \makeatother
>
> but this URL runs off the right margin; it will not break at the text
> width:
>
> https://www.epa.gov/pesticide-science-and-assessing-pesticid
> e-risks/evaluation-guideliness-ecological-toxicity-data-open#guidance>
>
>   It is 131 characters long. Neither the [hyphens] option to the url
> package, nor the last three lines in the preamble fix the length.
>
>   I've tried formatting it as Verbatim, Verbatim*, and LyX Code also
> without
> success and my web searches find no other suggestions. I've also tried
> changing the font size to \small and \footnotesize (which was worse than
> small because it ran longer into the right margin.)
>
>   BTW, for a MWE, copy the URL into a KOMA-Script article document.
>
> Help?



Try enabling Hyperref package. On Document → Settings → PDF Properties
enable "Use Hyperref Support" → on "Hyperlinks" tab select "Break links
over lines".

Regards,
Ricardo



>
>
> Rich
>


Re: Fancyhdr

2017-12-23 Thread Ricardo Berlasso
2017-12-23 17:00 GMT+01:00 Rich Shepard :

>   When I select 'Fancy' in the page layout settings is it redundant to add
> \usepackage{fancyhdr} in the preamble?
>

Yes. The "Fancy" option indeed adds that line to the preamble. You can
check what's on the "hidden" preamble by opening the "code pane" (View →
Code Preview Pane) and select the "Only Preamble" option.

Regards,
Ricardo



>
> Rich
>


Re: Help manual correction

2017-12-20 Thread Ricardo Berlasso
2017-12-20 20:51 GMT+01:00 Rich Shepard :

>   I'm not subscribed to lists other than this one so I'll report a
> discrepancy here.
>
>   In the User Guide, Section 3.1.2.5 (properties) is a table of major class
> properties. The table shows the maximum sectioning level for book classes
> as
> 'Chapter' when it should be 'Part.'
>

Technically speaking, that's not wrong (at least, not completely): it's
possible to have a book without "parts", but if you try to write
subsections without sections you'll have problems. "Parts" are optional and
in fact they have "level -1" assigned (chapters are "level 0").

But yes, the table you indicate could be better. Maybe something similar to
the table in

https://en.wikibooks.org/wiki/LaTeX/Document_Structure#Sectioning_commands

but adapted to LyX would be clearer.

Regards,
Ricardo



>
> Happy holidays, all,
>
> Rich
>


Re: LyX math --> svg?

2017-10-25 Thread Ricardo Berlasso
2017-10-24 12:57 GMT+02:00 Bernt Lie :

> I'm using LyX 2.2.2 on Windows 10 (64 bit).
>
> Question:
> * Is there a way to copy some math expression from LyX and paste it into,
> say, Inkscape, as svg?
> * If not, any other way to produce svg files? (I have tried to install
> WriteTeX as an extension in Inkscape, but this doesn't work properly at the
> moment.)
>

It's possible to create cropped PDF files and then convert them to SVG with
external utilities like pdf2svg (it's available on Linux, not sure about
other OSs).

If you go to File → New from template you'll find the PDF-cropped.lyx
template: use it to create your expression and then save the resulting PDF.
Then you can use pdf2svg the following way

pdf2svg input.pdf output.svg

to get the SVG file.

Regards,
Ricardo




>
> Thanks,
> BL
>
>


Re: all-inclusive file format

2017-07-30 Thread Ricardo Berlasso
2017-07-30 19:13 GMT+02:00 Dr Eberhard Lisse :

> Roberto,
>
> If you use dropbox, can't you just put ALL the files there and edit
> from there?
>
> I am using a Mac and I can open and save files from LyX on the dropbox
> directories, including generating the PDF, so I am sure something
> similar will work on Windoze.
>
> I would them use Version Control and make sure your collaborators use
> that when editing their files.
>
> https://wiki.lyx.org/LyX/VersionControlInstallationAndUsage
>
> Now that you mention it, my mother, 23 years ago, at 64, never having
> touched a computer before, figured out how to use UUPC and MicroEmacs
> on DOS, so she could email me in Namibia :-)-O.
>
> For full disclosure I must confess that I wrote her a wrapper script
> (3000 lines BAT :-)-O), bought her the modem (1200/2400 baud and I
> think at that stage still illegal in Germany) and set up her uucp
> neighbor.
>
> To ask for a rewrite because (presumably academic) collaborators, can't
> handle a few clicks makes no sense to me.
>
> "computer-unsavvy" is Latin for lazy, right?
>

It may also mean "people without spare time trying to move on with their
lives".

Seriously, and forgive me for the off-topic here, but it seems that on this
thread is slowly surfacing one of the worst sins of open source
communities: the attitude of "it's easy for me, then it must be easy for
you too, you lazy looser".

Well, usually it's not easy. And people is neither lazy nor lousy nor
anything. For most people on the world computers are just boxes they use to
complete a task they don't even want to do. There is nothing they should be
ashamed of if they don't care about the "superiority of X approach compared
to the evil Y", specially if X requires a long learning process.

You cannot tell a normal person "if you want to write in collaboration,
just use git". You cannot say to anyone, not even to me, someone that's
been using Linux as his main system for the last two decades, to "use
make". That attitude is not only wrong, it is one of the main reasons why
we are still a minority on the consumer market. If your answers are
targeted to computer wise persons, only computer wise person will listen to
you.

As I said, I started to use F(L)OSS almost two decades ago. I'm using LyX
since before it switched to Qt. Back then I compiled every new version by
myself. But even with my experience I would have loved to have an
"everything within the file" file format when, twelve years ago, I was
writing my PhD thesis on LyX: at the time I did not had an internet
connection at home so syncing all the files was a real PITA. Even now, in a
time with automated backup utilities, usb drives and cloud storage I found
the lack of an easy way to work on a "project" instead of "fiddling with
several folders, each with dozens if not hundreds of files" quite
cumbersome.

And another thing: the fact that MS implemented some idea does not means
the idea is bad, saying so it's silly. A lot of F(L)OSS projects use "all
within the file" file formats: ODF, and open source ISO standard, it's just
a bunch of xml files and folders comfortably packed on a zip file. Also,
can you even imagine what would be to work on krita or gimp if those
projects just save all layers and masks on different files?

Please, people, think a bit on real users, not just on yourselves.

Thanks. [end of off-topic]

Regards,
Ricardo



>
> el
>
>
> On 2017-07-29 11:55 , Roberto wrote:
> >
> >>
> >> Make is your friend.
> >
> > I collaborate on dropbox with make-unfriendly computer-unsavvy people,
> > make is not an option - and this is not such an uncommon case I guess!
> > Instead, an _editable_ file format that __guarantees__ you have all is
> > needed to compile the file is a haven for data integrity.
> >
> > All the rest, I am sorry, is too geeky-pretensions-minded in my
> > opinion.  This kind of thinking in my opinion is ultimately the
> > reason of the same attitude that causes some people never get over
> > the learning curve of LaTeX. Do you want to collaborate with just
> > computer skilled people? or you want to collaborate on writing just
> > as effectively with just anybody? if you opt for the second, then LyX
> > is a great solution, but the need to carry around figures is still
> > a burden for some. Is this clear? (I said for some, maybe is not a
> > problem for me, not a problem for you, but is a problem for the other
> > half of the world! try to wear their shoes every now and then!)
> >
> > So, if you wanted to use make, then for most users you can as well
> > suggest to use LaTeX on vi :) is as much difficulty (infinity!)! Going
> > by this token one always ends up saying "my current implementation
> > can do it, just do 1), 2). 3) n) steps, but what effort does it
> > take? Before answering think about your grandma having to do it ...
>
>


Re: issues with lyx document

2017-07-01 Thread Ricardo Berlasso
2017-07-01 12:59 GMT+02:00 Kornel Benko :

> Am Samstag, 1. Juli 2017 um 11:06:49, schrieb Wolfgang Engelmann <
> engelm...@uni-tuebingen.de>
> > However, in the document you have to change parts to math mode on many
> > places and parts of text, which is now in math, into text mode.
> > Wolfgang
>
> The question would be how?
>

A dirty trick that works: open the source code panel, copy the code on the
inset from there but without picking the $ or \[ or \begin{equation} and
paste again on the document. Then you can erase the original inset.

Regards,
Ricardo



>
> I could not find a way to dissolve a single math-inset.
>
> Kornel


Re: Lyx Tables/Figures and Section Question

2017-06-30 Thread Ricardo Berlasso
2017-06-30 18:50 GMT+02:00 Christos Makridis :

> Hey Ricardo,
>
> Fantastic advice! I did the first part easily, but on the appendix part -
> here's a follow up.
>
> The journal I'm submitting to asks for tables and figures to be last. Is
> there any way to put the appendix before the end? If not, is there a way to
> separate out the tables/figures that go with the main text so that they
> come strictly before anything from the appendix? I don't want the
> tables/figures to be mixed together with them.
>

I'd never used it so I cannot tell precisely how (or if) it works and how
it interact with the appendixes, but I think the LaTeX package endfloat can
be used to send all floats to the end of the document on a section of their
own:

http://ctan.org/pkg/endfloat

Maybe someone with more experience can give you more info.

Cheers,
Ricardo



>
> Thank you for taking the time to reply!
>


Re: Lyx Tables/Figures and Section Question

2017-06-30 Thread Ricardo Berlasso
I forgot to add the list, sorry. Sending the message again:

2017-06-30 10:15 GMT+02:00 Ricardo Berlasso <rgb.m...@gmail.com>:

> 2017-06-30 0:55 GMT+02:00 Christos Makridis <cmakr...@stanford.edu>:
>
>> Hey Lyx Community,
>>
>> I've got two simple questions for you all when you have time.
>>
>> First, how do you get tables and figures to give roman numerals, rather
>> than numerics?
>>
>
> On the LaTeX preamble, write the following
>
> \renewcommand{\thefigure}{\Roman{figure}}
>
>
>
>>
>> Second, how do you make it so that when you're referencing a figure or
>> table from the appendix ("\section*{Appendix}"), it actually shows
>> something like "Appendix Figure II" -- so it is restarting the numbering
>> once you get to the appendix.
>>
>
> You don't need to use the \section* to insert appendixes: if you use any
> of the "book" documentclasses just do, at the end of the document, Document
> → Start appendix here and then use the "chapter" environment for
> appendixes, the "section" environment for sub appendixes and so on. This
> way the numbering should restart automatically.
>
> Regards,
> Ricardo
>
>
>
>>
>> There's some useful material in the link below, but nothing that
>> completely answered my question.
>> https://wiki.lyx.org/FAQ/Numbering#fig-by-sections
>>
>> Thank you for your time!
>>
>> --
>> Christos Makridis
>> Ph.D. Candidate, Stanford University
>> Department of Management Science & Engineering
>> Department of Economics
>> www.christosmakridis.com
>>
>
>