Re: LyX not compiling any more for Beamer and modernCV classes (missing beginDocument, missing Glyphs)

2019-11-25 Thread Jürgen Spitzmüller
Am Montag, den 25.11.2019, 11:22 -0500 schrieb Daniel Gómez Martínez:
> Hello everyone; I'm using Debian and LyX 2.3.3.
> 
> Some time ago I made some presentations with Beamer and my CV with
> modercv class in LyX. LyX used to work just fine with those classes
> (although I think those were working with LyX 2.3.2), but suddenly,
> things stopped working. According to log file, it has something to do
> with the fonts, but I've found no information online to help solve my
> problem, I don't really know what package/config I'm missing now.
> 
> Any help to solve this issue would be greatly appreciated, hereafter
> are the contents of my log file while compiling the Beamer LyX file
> found at "Help -> Specific Manuals -> Beamer", so you can see that
> not even the default Beamer file is compiling for me (I had to save
> that beamer.lyx somewhere else for LyX to actually try to compile it,
> as it seems the default beamer.lyx comes pre-compiled).

I think this has to do with a recent LaTeX update that changes the
handling of path names with non-ASCII characters and spaces. See
https://www.lyx.org/trac/ticket/11146
https://www.lyx.org/trac/ticket/11699

I suppose the documents are in a path that consists of such characters
(maybe your surname?). Does the error go away if you move the document
to a patch with ASCII characters only?

Jürgen

PS. We have a fix for this in the development version, but it is not
tested thoroughly yet.


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


Re: No title elements with XeTeX?

2019-11-21 Thread Jürgen Spitzmüller
Am Do., 21. Nov. 2019 um 12:00 Uhr schrieb Kornel Benko :

> Just checked on a fresh userdir. They are deactivated on default.
> At least with cmake-master-build.
>

The master UI widgets are reversed in logic. Deactivation is correct (this
equals to activation in branch).

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


Re: No title elements with XeTeX?

2019-11-21 Thread Jürgen Spitzmüller
Am Donnerstag, den 21.11.2019, 10:51 +0100 schrieb Jean-Marc
Lasgouttes:
> One day we should take a fresh look at all these weird language
> setting 
> and see which ones are still useful in practice.

It does not strike useful at all with polyglossia.

With babel, it is probably useful for some edge cases, when
packages/classes explicitly set a language and a user wants to override
this.

At least I have tried to give the UI a more sensible name than "Auto
Begin") in master.

Jürgen


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


Re: No title elements with XeTeX?

2019-11-20 Thread Jürgen Spitzmüller
Am Mittwoch, den 20.11.2019, 19:15 +0100 schrieb Jürgen Spitzmüller:
> Can you confirm that you have de-selected "Auto End" in Tools >
> Preferences > Language Settings > Language, and that switching in on
> prevents the crash?

I have diagnosed and fixed a crash that happens with you document if
the above settings are used.

For the time being, please activate "Auto Begin" and "Auto End" (you
shouldn't normally have deactivated anyway).

HTH
Jürgen


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


Re: No title elements with XeTeX?

2019-11-20 Thread Jürgen Spitzmüller
Am Mittwoch, den 20.11.2019, 18:27 +0100 schrieb Axel Dessecker:
> I hope this backtrace might be more useful.

Yes, this looks much more useful.

Can you confirm that you have de-selected "Auto End" in Tools >
Preferences > Language Settings > Language, and that switching in on
prevents the crash?

Jürgen


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


Re: No title elements with XeTeX?

2019-11-20 Thread Jürgen Spitzmüller
Am Mittwoch, den 20.11.2019, 11:21 +0100 schrieb Axel Dessecker:
> Well, it should. The backtrace I posted was the one with the
> debuginfo. Sorry 
> this does not seem to work as expected here.

Maybe you also need the qt5 debugsource packages. Or build LyX
yourselves.

In any case, I have just rebuild LyX 2.3.3 and even installed the Lato
fonts. No crash here.

Jürgen


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


Re: No title elements with XeTeX?

2019-11-20 Thread Jürgen Spitzmüller
Am Dienstag, den 19.11.2019, 17:04 +0100 schrieb Axel Dessecker:
> I installed the lyx-debuginfo package from the Publishing project but
> gdb 
> still complains about missing separate debuginfos.

The backtrace with the debuginfo should nevertheless be much more
useful. Could you please post it?

Jürgen


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


Re: No title elements with XeTeX?

2019-11-19 Thread Jürgen Spitzmüller
Am Dienstag, den 19.11.2019, 16:52 +0100 schrieb Axel Dessecker:
> Backtrace attached.

Thanks. Alas, it does not tell us anything.

Jürgen


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


Re: No title elements with XeTeX?

2019-11-19 Thread Jürgen Spitzmüller
Am Dienstag, den 19.11.2019, 12:40 +0100 schrieb Axel Dessecker:
> My impression is it crashes with any font that needs XeTeX or LuaTeX.

Can you try to generate a backtrace wth gdb?

Jürgen


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


Re: No title elements with XeTeX?

2019-11-19 Thread Jürgen Spitzmüller
Am Montag, den 18.11.2019, 15:13 +0100 schrieb Axel Dessecker:
> This is LyX 2.3.3, Qt 5.9.4, Linux (openSUSE Leap 15.0).
> 
> MWE enclosed. Can anyone reproduce this?

I can't (LyX 2.3.4dev, openSuse Tumbleweed). However, I needed to
switch the font, because I do not have Lato.

Does it also crash for you with a different font?

Jürgen


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


Re: Fwd: Why does lyx add: '\noindent' when generating my .tex file

2019-11-16 Thread Jürgen Spitzmüller
Am Samstag, den 16.11.2019, 09:56 -0700 schrieb Ralph Boland:
> Thanks Jurgen,  your help has added to my insight into the problem.
> Unfortunately it hasn't solved the problem.
> 
> The lines (paragraphs) in question,
> in fact I think every line in the document of my Lyx file,
> have the "Indent Paragraph"  box checked.

I do not understand. In the minimal example file you sent, indent
paragraph was *not* checked, and checking it solved the problem. So
there must be an additional problem in your thesis.

> So I repeat:  is this a Lyx bug?   Is there anything I can do so that
> the "\noindent"
> code is not added by Lyx to the .tex file?

I can only answer this if I see the original file (not converted to the
recent LyX version). It might by a problem in lyx2lyx conversion.

Jürgen



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


Re: Why does lyx add: '\noindent' when generating my .tex file

2019-11-15 Thread Jürgen Spitzmüller
Am Freitag, den 15.11.2019, 17:09 -0700 schrieb Ralph Boland:
> Alas, I do not know why Lyx added the  '\noindent' code.  I did not
> tell it to do so and so
> now I (foolishly?) assume I have found a Lyx bug!

I don't know how it cae there, but the solution is: go to the two
respective lines ((a) if c = d then \,\,return B), open the paragraph
settings dialog, and check "Indent Paragraph".

HTH
Jürgen




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


Re: Improvement for tooltip of "Save as Document Defaults"

2019-10-26 Thread Jürgen Spitzmüller
Am Samstag, den 26.10.2019, 12:04 -0400 schrieb Scott Kostyshak:
>   Save settings as the defaults for new documents

This sounds good IMHO (is it "the defaults" or "defaults" without
article?).

Jürgen


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


Re: Can't manage to get the A template to work properly even having installed aa.cls and aa.layout

2019-09-22 Thread Jürgen Spitzmüller
Am Freitag, den 20.09.2019, 12:31 +0200 schrieb Pedro Osuna:
> Dear Community,
> 
> (OS: MacOS High Sierra 10.13.6
> LyX version: 2.3.3)
> 
> I can’t manage to make the A template work properly. I have
> followed all instructions in the User manual (Customization, section
> 5), I do have the aa.cls file installed, it can be seen by my default
> Tex installation:

Looks like this

> /usr/local/texlive/2016/texmf-dist/tex/latex/lyx

and the following directory structure differ:

> solm07:lyx posuna$ sudo texhash
> texhash: Updating /opt/local/etc/texmf/ls-R... 
> texhash: Updating /opt/local/share/texmf/ls-R... 
> texhash: Updating /opt/local/share/texmf-local/ls-R... 
> texhash: Updating /opt/local/share/texmf-texlive/ls-R... 
> texhash: Updating /opt/local/var/db/texmf/ls-R... 
> texhash: Done.

Issue the following command to find out where your TEXMFHOME directory
is:

kpsewhich -var-value TEXMFHOME

and then put the file into the subdirectory tex/latex/aa/

reconfigure LyX, and then you should be ready to go.

HTH
Jürgen


signature.asc
Description: This is a digitally signed message part


Re: biblatex style format-SOLVED

2019-08-11 Thread Jürgen Spitzmüller
Wolfgang Engelmann  schrieb am So., 11. Aug.
2019, 14:58:

>
> Would it be better to generally set the
> Document>Settings>Language>Encoding in the case of using Biblatex on
> UTF8 as the default?
>

No. You can use any encoding (of bib files) with Biblatex, as long as you
make it clear.

Jürgen


> Wolfgang
>
>
>


Re: biblatex style format-SOLVED

2019-08-10 Thread Jürgen Spitzmüller
Am Samstag, den 10.08.2019, 12:30 +0200 schrieb Wolfgang Engelmann:
> What I did wrong was the Document>Settings>Language>Encoding
> 
> which was on default. Using Other>UTF8 made the difference.

Yes, that's what I meant with "set the encoding of the LyX document to
utf8".

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: biblatex style format

2019-08-10 Thread Jürgen Spitzmüller
Am Samstag, den 10.08.2019, 11:43 +0200 schrieb Wolfgang Engelmann:
> where is this latin9 set in the file?

The example bib files (pub_*.bib) are encoded in latin9. But you don't
need them anyway for your own list.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: biblatex style format

2019-08-10 Thread Jürgen Spitzmüller
Am Samstag, den 10.08.2019, 09:57 +0200 schrieb Wolfgang Engelmann:
> Thanks, Jürgen.
> 
> I include a slightly changed lyx file of your biblatex-publist with
> a 
> citation containing diacritics. My pdf output does not show them 
> correctly. Did I set something wrong (fonts? some additional texlive 
> stuff missing?)

Your bib file is encoded in utf8, the LyX file in latin9. Either recode
the bib file to latin9 or set the encoding of the LyX document to utf8.
Note, though, that the example files of biblatex-publist are latin9, so
you need to remove them in the latter case.

Jürgen 

> 
> Wolfgang
> 


signature.asc
Description: This is a digitally signed message part


Re: biblatex style format

2019-08-10 Thread Jürgen Spitzmüller
Am Samstag, den 10.08.2019, 09:09 +0200 schrieb Wolfgang Engelmann:
> In the biblatex-publist.lyx file the Document-Settings for
> Bibliography 
> is Basic (BibTeX). Why not biblatex? Processor is correctly set for
> biber.

Because this has not yet been updated for LyX 2.3. Done now.

Jürgen

> 
> Wolfgang
> 


signature.asc
Description: This is a digitally signed message part


Re: biblatex.module how to insert in lyx

2019-08-09 Thread Jürgen Spitzmüller
Am Freitag, den 09.08.2019, 16:08 +0200 schrieb Wolfgang Engelmann:
> I use LyX Version 2.3.3.dev
> (not released yet)
> Built from git commit hash 91cfd0b5
> Library directory: /usr/local/share/lyx/
> User directory: ~/.lyx/
> Qt Version (run-time): 4.8.7
> Qt Version (compile-time): 4.8.7
> under LinuxMint and want to use biblatex. 
> I found this for the biblatex.modul > Is this correct?

No, the module is not needed for LyX 2.3. It was only needed for older
versions of LyX.

> #\DeclareLyXModule{Biblatex-citation-styles}
> #DescriptionBegin
> #A prerequisite for using the biblatex package. This module
> #enables the author/year citation styles without actually loading
> natbib.
> #Biblatex itself needs to be loaded manually. Cf.
> #http://wiki.lyx.org/BibTeX/Biblatex
> #DescriptionEnd
> Format 11
> # this is biblatex actually
> Provides natbib1
> 
> And where do I store it so that Lyx finds it? 
> In my .lyx folder all the subfolders are empty 
> and there is none for modules. 

Modules are stored in the subfolder "layouts". But as said, don't use
this one.

Jürgen




signature.asc
Description: This is a digitally signed message part


Re: No possibility for text before or after etc in biblatex citations [SOLVED]

2019-08-09 Thread Jürgen Spitzmüller
Am Freitag, den 09.08.2019, 15:13 +0300 schrieb Niklas Huldén:
> Now I notice that you can't have a footnote citation with a whole 
> bibliography post AND use qualified citation lists. If I change the 
> citation style it works.

Right, there is no \footfullcites command in biblatex.

> I'm sorry, I am writing an article to a historical magazine that
> demands 
> all the sources to be in footnotes with the first mentioning of the 
> source containing the bibliography of this source in whole. I got
> greedy 
> and tried to accomplish too much. It's easier to cite in
> anthropological 
> texts :)

The way to do this is to use a style that supports this, e.g. biblatex-
chicago, biblatex-dw or biblatex-historian. These styles automatically
give the full reference at first mention, and they automatically use
footnotes.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: No possibility for text before or after etc in biblatex citations

2019-08-09 Thread Jürgen Spitzmüller
Am Freitag, den 09.08.2019, 13:52 +0200 schrieb Axel Dessecker:
> True or not, it works under 2.3.3.

But only at a very basic level. And certainly not with qualified
citation lists (what Niklas needs).

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: No possibility for text before or after etc in biblatex citations

2019-08-09 Thread Jürgen Spitzmüller
Am Freitag, den 09.08.2019, 14:47 +0300 schrieb Niklas Huldén:
> So you can insert individual "before and after" text in Lyx:s
> Citation 
> manager?

Yes.

> Well. as I said this is a completely new file. I certainly didn't put
> it 
> there manually. Mysterious!

This is at least the reason it does not work in that file.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: No possibility for text before or after etc in biblatex citations

2019-08-09 Thread Jürgen Spitzmüller
Am Freitag, den 09.08.2019, 13:29 +0200 schrieb Axel Dessecker:
> our testciting file 
> just needed some fine-tuning. You have to load the biblatex-citation-
> styles 
> module, hide the references in the end of your text, add
> \printbibliography as 
> ERT, and add some stuff to the preamble.

This is no longer true as of LyX 2.3.0.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: No possibility for text before or after etc in biblatex citations

2019-08-09 Thread Jürgen Spitzmüller
Am Freitag, den 09.08.2019, 13:30 +0300 schrieb Niklas Huldén:
> Ok, here comes two. "ShorttextNH.lyx" is made from my original file. 

This works for me as expected.

> Textciting.lyx is a new file that acts even weirder. I cant use any 
> Citation styles and it crashes LyX quite regularly trying to set 
> options. 

You have

Input ../citeengines/basic.citeengine

in Document > Settings > Local Layout.

Why?

Jürgen



signature.asc
Description: This is a digitally signed message part


Re: No possibility for text before or after etc in biblatex citations

2019-08-09 Thread Jürgen Spitzmüller
Am Freitag, den 09.08.2019, 13:30 +0300 schrieb Niklas Huldén:
> Ok, here comes two. "ShorttextNH.lyx" is made from my original file. 
> Textciting.lyx is a new file that acts even weirder. I cant use any 
> Citation styles and it crashes LyX quite regularly trying to set 
> options. My installations might be out of order. Will try myself on
> my 
> Mac at home.

Please also send the bib file.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: No possibility for text before or after etc in biblatex citations

2019-08-09 Thread Jürgen Spitzmüller
Am Fr., 9. Aug. 2019 um 11:19 Uhr schrieb Niklas Huldén :

> Hi everyone!
>
> I noticed that I can't use the options for editing text in individual
> citations in the Lyx citation manager using biblatex.
> It is described here https://wiki.lyx.org/LyX/NewInLyX23#biblatex.
> I do not get any of the individual "text before" or "text after"
> alternatives shown in the wiki. No "General text before or after"
> either. Makes no difference which bibliography style or citation style I
> use. Biblatex with biber. I'm using LyX 2.3.3 and MiKTeX: 2.9.7140 on
> Windows 10 Enterprise, 64-bit, build 17134. I have updated MikTeX and
> reconfigured LyX.
>

Please send a minimal example document.

Jürgen


>
> best regards,
> Niklas
>
>


Re: LaTeX Error: Too many math alphabets used in version normal.

2019-08-06 Thread Jürgen Spitzmüller
Am Dienstag, den 06.08.2019, 16:35 +0200 schrieb Patrick Dupre:
> Hello,
> 
> I got the message:
> 
> LaTeX Error: Too many math alphabets used in version normal.
> 
> How can I fix the issue?

See
https://texfaq.org/FAQ-manymathalph

Jürgen

> Thank
> 
> See the log file.
> 
> =
> ==
>  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
> =
> ==


signature.asc
Description: This is a digitally signed message part


Re: Bug in LyX regarding page format and hyperref

2019-08-06 Thread Jürgen Spitzmüller
Am Montag, den 05.08.2019, 16:19 +0200 schrieb Jürgen Spitzmüller:
> But still, if A4 is selected in LyX and memoir outputs US
> letter, that's simply plain wrong. We can do better.

This will be fixed in LyX 2.3.4.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: Bug in LyX regarding page format and hyperref

2019-08-05 Thread Jürgen Spitzmüller
Am Montag, den 05.08.2019, 08:22 -0500 schrieb Les:
> I doubt if accounting for Memoir's idiosyncracies is practical. The
> Memoir class allows fine tuning of numerous parameters that LyX
> doesn't
> even know about.

I know. But still, if A4 is selected in LyX and memoir outputs US
letter, that's simply plain wrong. We can do better.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: Bug in LyX regarding page format and hyperref

2019-08-05 Thread Jürgen Spitzmüller
Am Samstag, den 27.07.2019, 11:06 -0400 schrieb Paul A. Rubin:
> I don't have any experience with book classes, so I do not know the 
> peculiarities of the Memoir class. I suspect this is problem with
> how 
> Memoir reacts to certain combinations of things, rather than a LyX
> bug. 

Yes, memoir overrides geometry (which is used for the custom margins).
However, we could account for that in LyX. See
https://www.lyx.org/trac/ticket/10970

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: Customize change tracking output

2019-07-23 Thread Jürgen Spitzmüller
Am Dienstag, den 23.07.2019, 10:20 -0600 schrieb AC and Leo:
> I'm working on a paper revision with LyX 2.3.1 (Windows 7). The 
> requirement is to resubmit a pdf file that only shows added text
> while 
> the deleted text should not be shown. Is there a way to do that in
> LyX? 

Put this in the Document > Settings > Preamble:

\renewcommand{\lyxdeleted}[3]{}

while having "Show Changes in Output" activated.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: Biblatex or bibtex

2019-07-20 Thread Jürgen Spitzmüller
Am Samstag, den 20.07.2019, 15:41 +0200 schrieb Wolfgang Engelmann:
> example: Biblatex gives me 
> in the setting (were and how do I change it??)
> 
> Leis, Jeffrey M. and Siebeck, Ulrike and Dixson, Danielle L.
> 
> I would, however, like to have it as
> 
> Leis, J. M. and Siebeck, U. and Dixson, D. L.

For this particular case: Add option

giveninits=true

to Document > Setting > Bibliography > Citation Style > Options

Styles can be selected at the same pane of the dialog.

> Do I have to do this in the reference manager?

No.

> could somebody recommend information on biblatex? 

The biblatex manual is comprehensive. For a first start, the LyX user
guide (6.5.2) has some general information. 

> Or should I stay with 
> bitex and battle the diacritics?

Biblatex is worth the learning curve.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: csquotes

2019-07-20 Thread Jürgen Spitzmüller
Am Samstag, den 20.07.2019, 10:57 +0200 schrieb Wolfgang Engelmann:
> I get this warning
> 
> Package biblatex Warning: 'babel/polyglossia' detected but 'csquotes'
> missing.
> (biblatex)Loading 'csquotes' recommended.
> 
> and the pdf output does not work.

The above is only a warning*, so there must be another reason why the
output fails.

* Biblatex works well without csquotes (it provides some fallback
methods), but only csquotes provides quotation marks that adapt to the
document language, while the biblatex fallbacks assume English.

Jürgen



signature.asc
Description: This is a digitally signed message part


Re: Multi-paragraph Description Text Inquiry

2019-07-19 Thread Jürgen Spitzmüller
Am Freitag, den 19.07.2019, 22:54 -0600 schrieb Joel Kulesza:
> Does anyone know how to achieve multi-paragraph descriptions as noted
> here: https://www.contextgarden.net/Description#LaTeX_2. 

Use a standard paragraph and indent it, e.g. via the Tab key.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: pdfoutput user guide error

2019-07-17 Thread Jürgen Spitzmüller
>
> Thanks, Jürgen
>
> My texlive 2019 is in /usr/local/texlive/2019
>
> But if I do
>
> export TEXINPUTS="$HOME/usr/local/texlive/2019"
>
This looks wrong, and setting TEXINPUTS should not be necessary.


> and tex --version
>
> I still get 2015
> TeX 3.14159265 (TeX Live 2015/Debian)
> kpathsea version 6.2.1
>
> What is wrong? I am using Linux Mint 18.3 Sylvia
>

You need to adapt your PATH:

export PATH=/usr/local/texlive/2019/bin/x86_64-linux:$PATH

to have this permanent, create a file named .profile (with the leading dot)
in your home directory (if it does not exist already) and add the above
line there. Log out and re-log in.

HTH
Jürgen


> Wolfgang
>
> Wolfgang
>


Re: pdfoutput user guide error

2019-07-17 Thread Jürgen Spitzmüller
Am Mi., 17. Juli 2019 um 09:56 Uhr schrieb Wolfgang Engelmann <
engelm...@uni-tuebingen.de>:

> If I try to pdflatex the user guide of the help menu, I get this error
> wiith LyX Version 2.3.3dev
>
> ! LaTeX Error: File `footnotehyper.sty' not found.
>

Install the LaTeX package footnotehyper. It's part both of MikTeX and
TeXLive.

Jürgen


> It does not output with
>
> show output anyway
>
> Wolfgang
>
>


Re: citations out of order??

2019-06-21 Thread Jürgen Spitzmüller
Am Freitag, den 21.06.2019, 07:26 -0400 schrieb Neal Becker:
> It's an IEEE conf paper, so ieeetr style.

A minimal example file (including bib) would help to see what you see.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: citations out of order??

2019-06-21 Thread Jürgen Spitzmüller
Am Donnerstag, den 20.06.2019, 15:08 -0400 schrieb Neal Becker:
> I'm writing IEEEtrans (conference) paper.  For some reason, the 1st
> citation 
> is labelled [4].  The following citations are in order starting with
> [1].  
> What's going on?  The latex code just says \cite{whatever}.

Which bst style is this? Normally, the numbering follows the alphabetic
order of the entries in the bibliography, so it is normal that they
appear "unordered" in the text. If you want to number them as they are
cited, use an "unsrt" style.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: The pdflscape package

2019-05-31 Thread Jürgen Spitzmüller
Am Freitag, den 31.05.2019, 07:26 -0700 schrieb Rich Shepard:
> May I send you the whole document's .lyx file off the list? Perhaps
> you can
> identify the difference between it and the mwe that I'm not seeing.

Yes.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: The pdflscape package

2019-05-31 Thread Jürgen Spitzmüller
Am Freitag, den 31.05.2019, 07:16 -0700 schrieb Rich Shepard:
> Am I correct in assuming that when printed the page will be in
> landscape
> mode? 

I suppose this is dependent of your PDF viewer and printer.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: The pdflscape package

2019-05-31 Thread Jürgen Spitzmüller
Am Freitag, den 31.05.2019, 06:30 -0700 schrieb Rich Shepard:
> Viewing the attachement I see the last page still in portrait mode.
> That is,
> the content is horizontal and cut off on the right side rather than
> rotated
> 90 degrees counter-clockwise with vertical text and everything
> visible.

I think this is a misunderstanding. IMHO the output is correct. The
package does not rotate the table, but puts it on a landscape page (at
least here, see attached PDF). The table is cut, right, but the page is
definitely landscape.

Jürgen


mwe.pdf
Description: Adobe PDF document


signature.asc
Description: This is a digitally signed message part


Re: The pdflscape package

2019-05-31 Thread Jürgen Spitzmüller
Am Freitag, den 31.05.2019, 15:30 +0200 schrieb Kornel Benko:
> I don't use this driver, (at least not referenced in lyxrc.defaults
> or preferences)

What I mean is: Is the output with dvipdfmx correct if you use

\usepackage[dvipdfm]{pdflscape}

rather than

\usepackage{pdflscape}

(see pdflscape manual)

Jürgen



signature.asc
Description: This is a digitally signed message part


Re: The pdflscape package

2019-05-31 Thread Jürgen Spitzmüller
Am Freitag, den 31.05.2019, 05:40 -0700 schrieb Rich Shepard:
> Here, dvipdf works as expected on the two-page MWE, but not on the
> whole
> document (15 pages of which the last three need to be rotated).

Hard to say without an example document.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: The pdflscape package

2019-05-31 Thread Jürgen Spitzmüller
Am Freitag, den 31.05.2019, 05:39 -0700 schrieb Rich Shepard:
> LyX is installed here with pdflatex as the default driver, accessed
> via
> Ctrl-x h.

With "driver", I do not mean the latex processor, but the driver file.

You need to pass the driver as a package option, e.g.

\usepackage[pdftex]{pdflscape}

> What I need to learn is why the second page of the MWE does not
> rotate into
> landscape orientation using pdflatex (and neither do the three
> landscape
> oriented pages in the real document.)

As said, your MWE outputs correct with pdflatex here (see attachment),
so I don't know how to help.

Jürgen

> 
> Where do I look for the reason?


mwe.pdf
Description: Adobe PDF document


signature.asc
Description: This is a digitally signed message part


Re: The pdflscape package

2019-05-31 Thread Jürgen Spitzmüller
Kornel Benko:

>
> Yes, right. Should better open my eyes.
>
> What I believe to see:
> With pdflatex the whole page is rotated.
> With dvipdfm the content is rotated.
> But the effect on printed paper is the same.
>

Also if you use the dvipdf driver?

Jürgen


> Kornel
>
>


Re: Booktabs + Longtable + Caption -> Toprule Missing

2019-05-31 Thread Jürgen Spitzmüller
Am Freitag, den 31.05.2019, 10:16 +0200 schrieb Jürgen Spitzmüller:
> Yes, it's a bug in the GUI.

Fixed in master. But please file a report nonetheless (assigned to me),
so we can fix it for 2.3.4 as well.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: Booktabs + Longtable + Caption -> Toprule Missing

2019-05-31 Thread Jürgen Spitzmüller
Am Donnerstag, den 30.05.2019, 10:39 -0600 schrieb Joel Kulesza:
> Colleagues,
> 
> Does anyone have a workaround to include a toprule in a longtable /
> multi-page table with a caption?  

Put the \toprule ERT at the beginning of the first cell _below_ the
caption (see attachment).

> As far as I can tell, the GUI and ERT are both unable to create such
> behavior.  Please see the attached example document and screenshots
> demonstrating the lack of a \toprule.
> 
> Any thoughts on how to overcome this are appreciated.  Also, please
> indicate whether you think this qualifies as a bug-reportable
> behavior and I'll file an issue.

Yes, it's a bug in the GUI.

Jürgen

> 
> Thank you,
> Joel


longtable_booktabs_caption.lyx
Description: application/lyx


signature.asc
Description: This is a digitally signed message part


Re: The pdflscape package

2019-05-31 Thread Jürgen Spitzmüller
Am Freitag, den 31.05.2019, 09:19 +0200 schrieb Kornel Benko:
> Now I see, what you meant. Using dvipdfm the second page is rotated.
> Using pdflatex the second page is not rotated. Neither with lyx2.3
> nor with 2.4.

No, it's the other way round. With pdflatex, the page is rotated (as it
should be), not with the other drivers, as long as you do not pass the
correct driver (dvipdfm or dvips) as a package option to pdflscape.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: The pdflscape package

2019-05-31 Thread Jürgen Spitzmüller
Am Freitag, den 31.05.2019, 00:32 +0200 schrieb Kornel Benko:
> Changing to
> if ((restwidth > 0) && (restcols != 0))
> vcolwidth = restwidth / restcols;
> makes lyx2.4 working again.

Can you please push this fix?

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: bibliography-question

2019-05-30 Thread Jürgen Spitzmüller
Am Mittwoch, den 29.05.2019, 17:11 -0400 schrieb Benedict Holland:
> I want to reiterate the ERT of \nocite{*}

The LyX way of doing this would be to select "all references" in the
BibTeX settings dialog (this automatically puts a \nocite* to the LaTeX
output).

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: bibliography-question

2019-05-30 Thread Jürgen Spitzmüller
Am Montag, den 27.05.2019, 17:15 -0400 schrieb Paul A. Rubin:
> If every entry in the .bib file is cited somewhere (so that you want
> the full contents of the .bib file in each part), you might try the
> following:
> In the Bibliography section, select "Subdivided bibliography" and set
> the "Multiple bibliographies" choice to "per part".
> In the LaTeX preamble, add the following:
> "\renewcommand{\btPrintCited}{\btPrintAll}".

Instead of that, why don't you simply select "All References" in the
BibTeX settings dialog (instead of "all cited references")?

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: Enumerate in Beamer

2019-05-24 Thread Jürgen Spitzmüller
Am Freitag, den 24.05.2019, 11:04 +0200 schrieb Dr Eberhard Lisse:
> Yes I did.
> 
> As I wrote, enumitem does not work in beamer (and the module is not
> available in beamer).
> 
> Convington does not do it either.

Did you see the Resumable Enumeration module, which is particularly
suited to beamer?
https://wiki.lyx.org/Layouts/Modules#toc12

Jürgen



signature.asc
Description: This is a digitally signed message part


Re: tex2lyx 2.3.2 and enumerate-resume

2019-05-13 Thread Jürgen Spitzmüller
Am Montag, den 13.05.2019, 14:09 +0200 schrieb Dr Eberhard Lisse:
> Hi,
> 
> I have run
> 
>   tex2lyx -c scrartcl -m enumitem -f mwe.tex
> 
> and get the enclosed
> 
>   mwe.lyx
> 
> where I have manually removed the ERT (see below) from the line with
> "item 1" and right clicked that and the line with "item 2" to be
> proper
> Enumerate-Resume which produces the enclosed
> 
>   mwe.pdf
> 
> 
> While the PDF is correctly numbered I would rather prefer not to have
> the ERT in the LyX file, as left in the one with "item 3".
> 
> 
> Is this known? 

Yes.

> 
> Would that be a bug? 

It's basically https://www.lyx.org/trac/ticket/11259

It's fixed in 2.4.x. It might get backported to 2.3.4 (but not 2.3.3).

Jürgen

> 
> Can something be done about it? Other than regex'ing it in Perl.
> 
> greetings, el


signature.asc
Description: This is a digitally signed message part


Re: Quicker build

2019-04-22 Thread Jürgen Spitzmüller
Am Montag, den 22.04.2019, 09:49 +0200 schrieb Daniel:
> I am excluding all children except the one I am working on via
> Document 
>  > Settings > Child Documents without maintaining references. 
> Surprisingly, this does not cut down on compile time. It takes 1.5 
> minutes on a 2.2 GHz Core i7 with 16 GB 1600 MHz DDR3 and SSD
> (MacBook 
> Pro). However, this is only a computer I just borrowed. My working 
> machine is much weaker: Intel m3 from 2015 (900 MHz, 4 GB RAM).

Do you have tikz/pgf graphics? This eats much time. If so, see the tikz
manual, section 110 [sic!] ("Externalizing Graphics") for workarounds.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: Beamer manual and examples fail to render

2019-04-19 Thread Jürgen Spitzmüller
Am Freitag, den 19.04.2019, 03:02 -0700 schrieb list_em...@icloud.com:
> The Beamer manual, Help -> Specific Manuals -> Beamer Presentations
> fails to render. I assume that it would render in PDF as a usable
> presentation by which some of its features are shown thus making the
> textual part more relevant. Here is the problem:
> 
> 
> Could not find LaTeX command for character '⌃' (code point 0x2303)

You are on a Mac, right? This is a bug that has already been fixed for
the next version. It is caused by the shortcut insets used in the
beamer manual.

A quick workaround:
switch to utf8 encoding and add this to the preamble:
\DeclareUnicodeCharacter{2303}{\textasciicircum}
HTH
Jürgen


signature.asc
Description: This is a digitally signed message part


Re: What to do with this error: File '/tmp/lyx_tmpdir

2019-04-15 Thread Jürgen Spitzmüller
Am Montag, den 15.04.2019, 20:53 +0200 schrieb Wolfgang Engelmann:
> One more question: Can literal be unchecked globally?

No. But it should be unchecked by default for new document. It is only
checked by default in documents imported from older versions, since
that was the default back then.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: What to do with this error: File '/tmp/lyx_tmpdir

2019-04-15 Thread Jürgen Spitzmüller
Am Montag, den 15.04.2019, 17:27 +0200 schrieb Wolfgang Engelmann:
> Thanks, Jürgen: where is this set/unchecked?

In the nomenclature dialog.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: What to do with this error: File '/tmp/lyx_tmpdir

2019-04-15 Thread Jürgen Spitzmüller
Am Montag, den 15.04.2019, 16:29 +0200 schrieb Wolfgang Engelmann:
> here is the lyx file.

The "Hfl" in the seconf nomencl entry has a ligature "fl", and you have
checked "Literal", so the ligature is passed verbatim to LaTeX, which
fails to deal with it.

Either uncheck "literal" or replace the fl ligature with f and l
characters.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: Biber Biblatex Lyx Jabref

2019-04-04 Thread Jürgen Spitzmüller
Am Do., 4. Apr. 2019 um 10:27 Uhr schrieb Wolfgang Engelmann <
engelm...@uni-tuebingen.de>:

>
> On 03.04.19 16:30, Jürgen Spitzmüller wrote:
> > As with BibTeX, the encoding should ideally match the encoding of he
> > document. If it differs, you can add bibencoding=utf8 to Document >
> > Settings > Bibliography > Citation Style > Options
>
> Thanks, Jürgen. Could you or somebody else kindly try this one, to see
> whether the Umlaute are ok?
>
>
> @Article{Buenning1935,
>author  = {Bünning, E.},
>title   = {Zur {K}enntnis der erblichen {T}agesperiodizität bei den
> {P}rimärblättern von \emph{{P}haseolus multiflorus}},
>journal = {Jb. wiss. Bot.},
>year= {1935},
>volume  = {81},
>pages   = {411--418},
> }
>

We need a real minimal example file (lyx file and bib) in order to help you.

Jürgen


Re: Biber Biblatex Lyx Jabref

2019-04-03 Thread Jürgen Spitzmüller
Am Mi., 3. Apr. 2019 um 16:20 Uhr schrieb Wolfgang Engelmann <
engelm...@uni-tuebingen.de>:

> Is standard coding UTF8 ok?
>

As with BibTeX, the encoding should ideally match the encoding of he
document. If it differs, you can add bibencoding=utf8 to Document >
Settings > Bibliography > Citation Style > Options

Jürgen


Re: Biber Biblatex Lyx Jabref

2019-04-03 Thread Jürgen Spitzmüller
Am Mi., 3. Apr. 2019 um 15:36 Uhr schrieb Wolfgang Engelmann <
engelm...@uni-tuebingen.de>:

> I read this and made the settings, but can't find under
> tools>preferences>output>latex the setting for biber.
>

It should be listed in Bibliography Generation > Processor (given biber is
correctly installed).
But you shouldn't need to set it explicitly. Biber is used if "Automatic"
is set.

> What about jabref? special settings for biblatex?
>
I don't use jabref.

Jürgen


Re: Biber Biblatex Lyx Jabref

2019-04-03 Thread Jürgen Spitzmüller
Am Mi., 3. Apr. 2019 um 15:07 Uhr schrieb Wolfgang Engelmann <
engelm...@uni-tuebingen.de>:

> Where can I get infos re Biber Biblatex Jabref Lyx?
>

UserGuide, 6.5.2.2.

and

https://wiki.lyx.org/BibTeX/Biblatex

Jürgen


Re: Legend separate from image

2019-03-16 Thread Jürgen Spitzmüller
Am Mittwoch, den 13.03.2019, 09:32 +0100 schrieb Wolfgang Engelmann:
> I put this in my preamble 
> %for large figures, Legend separate
> \usepackage[CaptionAfterwards]{fltpage}
> 
> and at the begin of the float figure in the document 
> \begin{FPfigure} in ERT
> and at the end of the float figure in the document 
> \bend{FPfigure} in ERT

I think you need this ERT _instead_ of the figure float.

> but get this error:
> ! LaTeX Error: File `fltpage.sty' not found.

You need to install this package manually. It's not included in TeXLive
(or MikTeX), since it has a non-conforming license.

HTH,
Jürgen



signature.asc
Description: This is a digitally signed message part


Re: Change the Location of Personal *Dictionaries*

2019-03-16 Thread Jürgen Spitzmüller
Am Freitag, den 15.03.2019, 23:26 + schrieb Baris Erkus:
> Hello,
> I thought that I have sent this message, but it does seem it went
> through.
> Is there way to change the location of personal dictionary files
> (e.g. pwl_english.dict)? The default location for windows is:
> C:\Users\**username**\AppData\Roaming\LyX2.3\
> I am guessing that there is a setting file, a text file, that
> configures this location, as many settings of LyX are specified some
> setting file.
> Baris
> Note:
> I found this post: https://latex.org/forum/viewtopic.php?t=26963
> But still, LyX determines the location of personal dictionaries, as
> shown above, not Hunspell, isn't it?

Yes. And it's hardcoded to the user support directory, AFAICS. So you
cannot change it.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: https://wiki.lyx.org/uploads/Modules/soul.module messages

2019-03-14 Thread Jürgen Spitzmüller
Am Do., 14. März 2019 um 09:15 Uhr schrieb Jürgen Spitzmüller :

> Alternatively, try to fix it (or get somebody to fix it) and upload a new
> version to the wiki.
>

Try the attached version.

Jürgen


>
> Jürgen
>


soul.module
Description: Binary data


Re: https://wiki.lyx.org/uploads/Modules/soul.module messages

2019-03-14 Thread Jürgen Spitzmüller
Am Do., 14. März 2019 um 09:07 Uhr schrieb Dr Eberhard Lisse <
nos...@lisse.na>:

> So we need to raise a bug in the tracker?
>

soul.module is a user-contributed module, so you'd need to contact its
author. Alas, there is no contact address given. Alternatively, try to fix
it (or get somebody to fix it) and upload a new version to the wiki.

Jürgen


Re: Legend separate from image

2019-03-12 Thread Jürgen Spitzmüller
Am Dienstag, den 12.03.2019, 09:30 +0100 schrieb Wolfgang Engelmann:
> I have (in a A5 book, Koma script) an image in a float figure which
> is 
> too large to allow the legend underneath. It has furthermore to be 
> presented side wise. Is there a way to have the legend on the
> previous 
> or next page -and preferentially not side-wise?

Here are some possibilities:
https://tex.stackexchange.com/questions/53315/

Jürgen

> 
> Wolfgang
> 


signature.asc
Description: This is a digitally signed message part


Re: using Miede's classicthesis LyX2.3-v4.5 in openSUSE Leap

2019-03-08 Thread Jürgen Spitzmüller
Am Mittwoch, den 06.03.2019, 18:14 +0100 schrieb Michael Berger:
> However, there is one last thing that so far I fail to achieve
> despite 
> extensive search. I still can enter Insert > Marginal Note in the
> Lyx 
> master and all child documents but I see no marginal notes at all in
> the 
> PDF output. That is nothing really essential in my case but it might
> be 
> well for other people.

As always: please provide a _minimal_ example file that demonstrates
the problem (which I cannot reproduce myself).

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: LabelString and Language Question

2019-03-08 Thread Jürgen Spitzmüller
Am Freitag, den 08.03.2019, 08:44 + schrieb Baris Erkus:
> Hello,
> 
> Is there a way to tell LyX not to translate the LabelString (in
> layout 
> item) to the language of the file if it is a LyX keyword?
> 
> I would like to define a LabelString as "ABSTRACT:", but appearantly
> it 
> is a LyX keyword and it converts it to ÖZET:, the Turkish of word 
> -abstract-, when the file's language is Turkish.
> 
> Of Course if I set LabelString to "ABSTRACT: " (with the space added
> at 
> the end), it leaves does not do the conversion. This solves my
> problem, 
> but I still would like to know...
> 
> Any clue?

"ABSTRACT:[[myclass]]"

The [[comment]] will be stripped of for display, but the string still
differs in terms of localization due to the comment.

Jürgen

> 
> Baris
> 
> -- 
> ↓↓
> Please bottom-post. Start your reply here:
> 


signature.asc
Description: This is a digitally signed message part


Re: BibLatex references with de, von etc

2019-03-08 Thread Jürgen Spitzmüller
Am Donnerstag, den 07.03.2019, 19:18 + schrieb F M Salter:
> Finally,
> 
>  author = {{de Boer}, J}
> 
>  author = {{von Hayek}, Friedrich August }

This must be

 author = {de Boer, J}
 
 author = {von Hayek, Friedrich August}

with the extra braces you use, Bib(la)TeX cannot identify the name
prefix.

> Any idea why the citations should have von ... but only Boer.

Make sure to use Biblatex option useprefix=true.

Jürgen

> 
> Regards
> 
> Frank Salter
> 


signature.asc
Description: This is a digitally signed message part


Re: BibDesk / Biblatex

2019-02-19 Thread Jürgen Spitzmüller
Am Mittwoch, den 20.02.2019, 08:02 +0100 schrieb jezZiFeR:
> But I still have found no suction for accents, I still do not know
> e.g. how to enter 
> > símbolos

s\'imbolos

The most comprehensive resource for these kinds of questions is
https://ctan.org/pkg/comprehensive

HTH
Jürgen


signature.asc
Description: This is a digitally signed message part


Re: Screen script becomes smaller and smaller

2019-02-15 Thread Jürgen Spitzmüller
Am Freitag, den 15.02.2019, 15:07 +0100 schrieb Romano Rupp:
> I haven't any clue why but most probably due to pressing
> occasionally 
> the wrong key, the script on my screen became smaller and smaller
> over 
> time.

Probably Alt+-

The inverse direction is Alt-+

>  I always fixed that by tools-> settings>magnification. But now I 
> am at 999% and nothing works anymore. I have no idea how to get
> larger 
> readable scripts. Who can help me?

Open the minibuffer with Alt+x

enter "buffer-zoom" and hit return.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: Beamer and Bibliography > Solved

2019-02-11 Thread Jürgen Spitzmüller
Am Montag, den 11.02.2019, 09:12 +0100 schrieb Wolfgang Engelmann:
> Jürgen, I did not find allowframebreaks in LyX. If I insert this as
> tex 
> in the Lyx file

When in the frame heading: Insert > Frame Options. Enter
"allowframebreaks" there.

HTH
Jürgen


signature.asc
Description: This is a digitally signed message part


Re: Beamer and Bibliography > Solved

2019-02-10 Thread Jürgen Spitzmüller
Am Sonntag, den 10.02.2019, 14:35 +0100 schrieb Wolfgang Engelmann:
> it was quite easy > see attached screenshot. Just the BibTex
> generated Bibliography at the end did it, covering several frames.

No, this does not output frames, but content _outside frames_. You
should rather use the "allowframebreaks" approach, as yours will result
in wrong margins and vertical spacing issues.

Jürgen

> Wolfgang
> 


signature.asc
Description: This is a digitally signed message part


Re: Beamer and Bibliography

2019-02-09 Thread Jürgen Spitzmüller
Am Sa., 9. Feb. 2019, 15:27 hat Rich Shepard geschrieben:

> On Sat, 9 Feb 2019, Wolfgang Engelmann wrote:
>
> > I have a Bib.bib file (using Jabref) and would like to add it in the last
> > beamer frame. I inserted Bibtex generated Bibliography by using Insert >
> > List/Toc > Bib(LA)Tex Bibliography There are about 20 citations in the
> > presentation, which are shown in the frames, but only 5 are shown on the
> > last frame called References. What has to be done to show all of the
> > references? I am using \usetheme[left,width=3.3em]{Berkeley}
>
> Wolfgang,
>
> I have no answer based on similar experiences, yet I suggest that expecting
> to display 20 references on a single frame is unrealistic. I would use a
> series of frames, perhaps four, each containing only five references.
>
> I've done this when I had too much information for a single frame and it's
> worked well. Frane titles might be, References 1, References 2, etc.
>

The best way to achieve this is to add allowframebreaks to the frame
options.

Jürgen


> Regards,
>
> Rich
>


Re: biblatex usepackage location in the preamble

2019-01-30 Thread Jürgen Spitzmüller
>
> https://github.com/plk/biblatex/issues/867
>
> I will keep list posted.
>

Excellent.
Jürgen

BE
>
> --
>
> ↓↓
> Please bottom-post. Start your reply here:
>
>


Re: biblatex usepackage location in the preamble

2019-01-29 Thread Jürgen Spitzmüller
Am Di., 29. Jan. 2019 um 10:53 Uhr schrieb Baris Erkus <
bariser...@hotmail.com>:

> No, it is part of the preamble:
> http://joshua.smcvt.edu/latex2e/_005cAtBeginDocument.html
>
> I couldn't confirm this. See for example this SE answer
> .
> Anyhow, this may be an issue related to the macro as you have said.
>
>
\AtBeginDocument is a somewhat liminal beast. Technically, it is part of
the preamble, but it is also issued at a stage where some things have
already been processed.

A good explanation is given by Philipp Lehman in the etoolbox manual:

"Any \AtBeginDocument code is executed towards the beginning of the
document body, after the main aux file has been read
for the first time. [...] In a way, \AtBeginDocument code is part neither
of the preamble nor the document body but located in-between them since it
gets executed in the middle of the
initialization sequence performed prior to typesetting. It is sometimes
desirable to move code to the end of the preamble because all requested
packages have been
loaded at this point. \AtBeginDocument code, however, is executed too late
if it is required in the aux file. In contrast to that, \AtEndPreamble code
is part of the
preamble."

This might be just the issue here.

> Adding a new localization is quite straightforward and not too much work.
> If you feel like contributing that, it would be a good way to "give back"
> to the community:
>
> https://github.com/plk/biblatex/wiki/Checklist-for-submitting-a-new-localisation-file-(.lbx)
>
> Actually, I have spent couple of hours working on a Turkish lbx file
> yesterday. Indeed, it does not look complicated. Still it requires
> attention from people with expertise in Turkish publishing rules.
>
> I will start a GitHub project on this, and see if I can get help ldx. I
> will fix the parts that I need in the mean time.
>
Great. You could also file a ticket at the biblatex tracker to make people
aware of your effort. This might help attracting other:
https://github.com/plk/biblatex/issues

Jürgen



> Thanks for the help!
> --
>
> ↓↓
> Please bottom-post. Start your reply here:
>
>


Re: biblatex usepackage location in the preamble

2019-01-29 Thread Jürgen Spitzmüller
Am Mo., 28. Jan. 2019 um 19:51 Uhr schrieb Baris Erkus <
bariser...@hotmail.com>:

> Thanks Jürgen. This one I understand. However, this requirement does not
> call for loading babel+biblatex right before the \begin{document}; they can
> still be placed right after other packages loaded after \documentclass. The
> examples on BibLaTeX, I sqw SE or other web pages loads BibLaTeX in the
> block after \documentclass, but late.
>

The loading order of packages is tricky. Some packages need to be loaded
after the user preamble, and babel needs to be loaded after that, and
biblatex after babel. Just because this works in your case in the different
order does not mean it works generally.

The only way around that would be a second user preamble:
https://www.lyx.org/trac/ticket/5366


> It does compiling, but the replacement did not work.
>
> I think, the \AtBeginDocument{...}  macro places the contents right after
> the \begin{document}, but not in the preamble.
>
No, it is part of the preamble:
http://joshua.smcvt.edu/latex2e/_005cAtBeginDocument.html

> However, the \DefineBibliographyStrings{...} and similar BibLaTeX commands
> are placed in the preamble according to Section 3.9 of BibLaTeX manual.
> Maybe this is the reason it does not do the replacement (?).
>
I don't think so. The reason might be that it comes too late for biblatex,
which hooks itself into the document.

Try instead:

\usepackage{etoolbox}
\AtEndPreamble{%
...
}


>
> (TBH, this was not my original problem. I was trying to use BibLaTeX for a
> Turkish document, only to find out BibLaTeX does not have Turkish support
> yet :< )
>
Adding a new localization is quite straightforward and not too much work.
If you feel like contributing that, it would be a good way to "give back"
to the community:
https://github.com/plk/biblatex/wiki/Checklist-for-submitting-a-new-localisation-file-(.lbx)

HTH
Jürgen


> Baris
>
> --
> ↓↓
> Please bottom-post. Start your reply here:
>
>


Re: biblatex usepackage location in the preamble

2019-01-28 Thread Jürgen Spitzmüller
Am Mo., 28. Jan. 2019 um 16:40 Uhr schrieb Baris Erkus <
bariser...@hotmail.com>:

> I observed that if biblatex is selected for the bibliography style, the
> \usepackage[*options*]{biblatex} is placed right before the
> \begin{document}, but not after the \documentclass, where usually packages
> are called.
>
Yes, because biblatex must be loaded after babel (or polyglossia), and
this, in turn, must be loaded late.

> If I want to place some code in the preamble that requires the biblatex
> package, then these codes appear before the
> \usepackage[*options*]{biblatex} line, and they do not work.
>
> For example I wanted to replace "et al.", "and", "Bibliography (title)"
> with their Turkish counterparts by simply placing the following code to the
> preamble:
>
> \DefineBibliographyStrings{english}{%
>   references = {{Kaynaklar}},
>   and = {ve},
>   andothers ={ve diğerleri},
> }
>
> but it does not work.
>
You need to embrace such definitions in \AtBeginDocument{...}. See
https://wiki.lyx.org/BibTeX/Biblatex#toc2

HTH,
Jürgen


Re: kbibtex Issue

2019-01-25 Thread Jürgen Spitzmüller
Am Donnerstag, den 17.01.2019, 09:55 -0500 schrieb Richard Kimberly
Heck:
> I have tried to find some other place to ask questions about kbibtex,
> but have struck out, so if anyone knows
> I've grown frustrated with JabRef, due to display problems on
> different systems, and so am looking for a new bibliography manager.
> I've found kbibtex quite useful, but now I've found a real annoyance:
> It seems to `translate' such LaTeX constucts as --, \'a, etc, to –,
> á, etc, which breaks the compilation of some of my documents (and was
> a total hassle to revert). So far as I can tell, there is no option
> to turn this off, but maybe I'm missing it? It seems a very strange
> thing to do by default.

I think the only way is to use "LaTeX" encoding (in the "File Settings"
widget)

> If there isn't an option to suppress this, I may try to create a
> patch

Good luck with that. I contributed some (biblatex-related) patches to
this project, but it ended in frustration (the project manager
eventually removed all of it again without even discussing with
anybody). Now I have to maintain a fork in order to keep those
features.

Jürgen

> Riki
> 


signature.asc
Description: This is a digitally signed message part


Re: find the characters U+2029 and U+3B1

2019-01-12 Thread Jürgen Spitzmüller
Am Freitag, den 11.01.2019, 10:35 +0100 schrieb Wolfgang Engelmann:
> I am getting errors in a LyX document which I could trace to
> references 
> in the bibliography. It regards the characters U+2029 (paragraph
> end?) 
> and U+3B1 (ß).
> 
> How can I find these in my jabref bib file (or in an editor)?

The most easiest solution is to set an appropriate database encoding in
JabRef's database properties dialog:
http://help.jabref.org/en/DatabaseProperties

The encoding should match the encoding of the LyY document (which is
ISO-8859-15 by default for English and German documents and utf8 if you
use "non-TeX fonts", i.e. XeTeX or LuaTeX).

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: 3.4.2 Automatic Reference Naming

2019-01-06 Thread Jürgen Spitzmüller
Am Sonntag, den 06.01.2019, 07:56 -0700 schrieb Hal Kierstead:
> Now I have tried NOT using refstyle. So far every reference type I
> have tried works (in English) out of the box with no modifications in
> the preamble.

Prettyref (which is the alternative) uses capitalized string by
default, as opposed to refstyle.

Refstyle has some more nifty features which prettyref doesn't. And vice
versa. So it always depends on what you need.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: 3.4.2 Automatic Reference Naming

2019-01-06 Thread Jürgen Spitzmüller
Am Sonntag, den 06.01.2019, 06:40 -0700 schrieb Hal Kierstead:
> > I am attaching a minimal file.

Which reveals you are using refstyle. So add

\def\RSlemtxt{Lemma~}

to the preamble.

Jürgen

> 
Thanks,

Hal



signature.asc
Description: This is a digitally signed message part


Re: 3.4.2 Automatic Reference Naming

2019-01-06 Thread Jürgen Spitzmüller
Am Samstag, den 05.01.2019, 15:11 -0700 schrieb Hal Kierstead:
> All -
> 
> I am trying to use the automatic naming feature for references. It
> seems to work, except that, for example, the name lemma is not
> capitalized. So following the manual I added 
>  
>   \addto\extrasenglish{\renewcommand{\sectionautorefname}{Lemma}}
> 
> to the preamble, but it did not change the output. Am I missing
> something?

wrap it into

\AtBeginDocument{
...
}

Jürgen



signature.asc
Description: This is a digitally signed message part


Re: References

2018-12-30 Thread Jürgen Spitzmüller
Am Samstag, den 29.12.2018, 19:03 +0100 schrieb Patrick Dupre:
> Here it is.

We need a lyx document.

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: I can not insert citations

2018-12-30 Thread Jürgen Spitzmüller
Am Sonntag, den 30.12.2018, 08:49 -0300 schrieb Sergio Celani:
> Thank you so much for the help. 

You're welcome.

> I installed the previous version again. Since I can't find the first
> version of the windows installer, I decided to wait for the next
> version of the installer, which I guess will not take long, since the
> bug is quite serious.

The good news is that we identified the problem, and the fix is rather
straightforward. So yes, I suppose it will not take too long (but then,
it certainly depends on the availability of the fellow who builds the
windows installer, Riki).

Regards
Jürgen




signature.asc
Description: This is a digitally signed message part


Re: I can not insert citations

2018-12-30 Thread Jürgen Spitzmüller
Am Sonntag, den 30.12.2018, 09:55 +0100 schrieb Jürgen Spitzmüller:
> Am Samstag, den 29.12.2018, 21:09 -0300 schrieb Sergio Celani:
> > Dear Lyx users
> > 
> > I have the following problem with the latest version of Lyx in
> > Windows 10.
> > I open a document with several references. When you click on the
> > icon
> > to insert a cite in the document, the window opens but no cite
> > appears. Although several references are included in the document.
> > This does not happen with version 2.3.1
> > Attached two screenshots. In the first one corresponds to Lyx 2.3.2
> > (with the problem) The second one is in Lyx 2.3.1.
> > The problem occurs with all the documents that I have tried
> 
> I am afraid this is a bug. Citing from the bibliography environment
> seems to be broken in 2.3.2 (I am currently investigating). I am
> surprised nobody noticed this before.
> 
> The only advice I gan give you now is to downgrade to LyX 2.3.1.

Further investigation reveals that this bug only concerns the latest
Windows binary (built from lyx-2.3.2-1). It was introduced precisely by
the fix that this build was supposed to provide (slow cut operations
with bibtex).

If you have access to the first windows binary of LyX 2.3.2 (which
seems to have been removed from the download server), you can also
downgrade to that one.

I suppose we will release a new windows binary of 2.3.2 as soon as we
have tackled this issue.

Jürgen

> 
> Jürgen
> 


signature.asc
Description: This is a digitally signed message part


Re: I can not insert citations

2018-12-30 Thread Jürgen Spitzmüller
Am Samstag, den 29.12.2018, 21:09 -0300 schrieb Sergio Celani:
> Dear Lyx users
> 
> I have the following problem with the latest version of Lyx in
> Windows 10.
> I open a document with several references. When you click on the icon
> to insert a cite in the document, the window opens but no cite
> appears. Although several references are included in the document.
> This does not happen with version 2.3.1
> Attached two screenshots. In the first one corresponds to Lyx 2.3.2
> (with the problem) The second one is in Lyx 2.3.1.
> The problem occurs with all the documents that I have tried

I am afraid this is a bug. Citing from the bibliography environment
seems to be broken in 2.3.2 (I am currently investigating). I am
surprised nobody noticed this before.

The only advice I gan give you now is to downgrade to LyX 2.3.1.

Jürgen



signature.asc
Description: This is a digitally signed message part


Re: preview of linguistic trees in LyX

2018-12-28 Thread Jürgen Spitzmüller
Am Freitag, den 28.12.2018, 12:45 +0100 schrieb Michael Berger:
> 
> sorry for not making myself clear enough!
> My Classicthesis Document has five child documents. There is only 
> one tree we are talking about which is in child 2 but it cannot be
> previewed in child 2.
> ( if I put the same tree in the master it behaves and shows
> perfectly)
> - the linguistics module is and must be activated in both Preambles,
> the Master's  AND the Child's; if it is not activated in the Child 's
> Preamble a conversion to PDF  is not possible and the Child cannot be
> previewed
> - the tree can be previewed in the Master only but not in the Child
> (where it was created)
> Hope I could make myself clear now and thanks for your continuing
> help!

OK, this sounds like a bug. Please strip down the master and the
respective child to an absolute minimal example file and post it.

Thanks
Jürgen

> Michael Berger


signature.asc
Description: This is a digitally signed message part


Re: graphic on title page of book

2018-12-28 Thread Jürgen Spitzmüller
Am Freitag, den 28.12.2018, 11:28 +0100 schrieb Wolfgang Engelmann:
> I try to insert a graphic between the subtitle and the author of a
> book (komascript style), but get this:
> You are using at least one layout (Author) intended for the title,
> after using non-title layouts. This could lead to missing or
> incorrect output.
> 
> How could I succeed?

Assure the graphic is in a title layout (try in a second line of the
subtitle layout, after linebreak).

Jürgen

> Wolfgang


signature.asc
Description: This is a digitally signed message part


Re: preview of linguistic trees in LyX

2018-12-26 Thread Jürgen Spitzmüller
Am Mittwoch, den 26.12.2018, 18:00 +0100 schrieb Michael Berger:
> Yes Jürgen, the linguistics module is activated. 

In the CHILD document?

> If it wasn't the 
> document would not convert to PDF;

Now you're talking about the master document, right?

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: preview of linguistic trees in LyX

2018-12-26 Thread Jürgen Spitzmüller
Am Mittwoch, den 26.12.2018, 15:57 +0100 schrieb Michael Berger:
> Dear Jürgen, dear list,
> 
> I am using Miede's classicthesis in Lyx 2.3.0.
> 
> Thanks for implementing this fantastic feature to expand linguistic 
> trees directly in LyX without the need to change to PDF first. This
> is 
> extremely useful when working in large documents.
> 
> Miede's classicthesis is using the master and children structure.
> I found this feature working well in the master only but not at all
> in 
> any of the child documents.
> 
> I experimented around but always ended up with the same result.

Does it work if you activate the linguistics module in the child
documents?

> Thanks and a Happy and Prosperous New Year to all of you!

Likewise, Michael.

Jürgen

> 
> Michael Berger
> 
> 


signature.asc
Description: This is a digitally signed message part


Re: [ANNOUNCE] LyX 2.2.3 Released

2018-12-16 Thread Jürgen Spitzmüller
Am Sonntag, den 16.12.2018, 02:48 +0200 schrieb Dr Eberhard Lisse:
> Thanks,
> 
> but I noticed a real nuisance on Mojave 10.14.1
> 
> When I click on the Text Style button it uses default which I do not
> like (and not the default one :-)-O).  When I manually change them
> and
> click on marked text it makes the change as requested.  When I mark
> some
> other text for the same formatting it resets this again.
> 
> This is a serious change from previous behavioir and not a feature.

It's a serious change and a feature.

See

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

Jürgen

> 
> How can I fix that?
> 
> greetings, el
> 
> 
> On 2018-12-14 17:31 , Richard Kimberly Heck wrote:
> [...] 
> > We are proud to announce the release of LyX 2.3.2. This is the
> > second
> > maintenance release in the 2.3.x series.
> [...] 
> 


signature.asc
Description: This is a digitally signed message part


Re: Bibliography: author-year, not number [FIXED]

2018-12-15 Thread Jürgen Spitzmüller
Am Samstag, den 15.12.2018, 06:29 -0800 schrieb Rich Shepard:
>If the BibTeX setting is the important one because it can vary
> when there
> are non-sigular bibliographies, pre-setting it in the Document menu
> seems
> superfluous. The two need to match, don't they? I use the same
> authordate3
> format for all my documents but that's not the default in the BibTeX
> dialog.

It's not superfluous if you set it before inserting the BibTeX inset,
since then, the BibTeX inset will inherit it.

I think, though, that this entry should be rather in preferences than
in Document Settings.

Jürgen



signature.asc
Description: This is a digitally signed message part


Re: Bibliography: author-year, not number [FIXED]

2018-12-15 Thread Jürgen Spitzmüller
Am Samstag, den 15.12.2018, 05:51 -0800 schrieb Rich Shepard:
>Why is the bibliography style set is two places? Is it not
> sufficient to
> set in Documment -> Settings -> Bibliography while the citation style
> is set
> in only one place? Just curious.

It must be set in the BibTeX dialog since multiple BibTeX insets can
have divergent styles (useful with "subdivided bibliography" or
"multiple bibliographies").

The setting in Document ... is just for convenience (if you always need
the same style and want to have it preset).

Jürgen

> 
> Much appreciated,
> 
> Rich
> 


signature.asc
Description: This is a digitally signed message part


Re: Bibliography: author-year, not number

2018-12-15 Thread Jürgen Spitzmüller
Am Freitag, den 14.12.2018, 14:44 -0800 schrieb Rich Shepard:
> 
>Problem: for a new document the bibliography insists on displaying
> by
> number while I have the settings asking for author-year. I don't see
> what's
> wrong.

You have the bibliography style "plain" in the BibTeX inset settings
dialog (rather than "authordate3", which seems to be the one you want).

Note that the "Default BibTeX Style" in Doccument > Settings >
Bibliography is overwritten by any specific setting in the BibTeX
dialog.

HTH
Jürgen



signature.asc
Description: This is a digitally signed message part


Re: Beamer class frame title symbol

2018-12-01 Thread Jürgen Spitzmüller
Am Freitag, den 30.11.2018, 18:43 + schrieb Baris Erkus:
> 
> Yep! That is it!
> 
> That sign appeared in my documents when I got the new version. I did
> not 
> mind it much because, it did not effect the outputs much.

FWIW if you put the attached file into ~/.lyx/commands/ (or add the
'\define "desep"' line if you already have a default.def file), you can
easily get rid of all these inserted parbreaks by issuing "call desep"
in the minibuffer.

The command does not only remove paragraph breaks, but also changes the
separators to normal separators.

Jürgen


> 
> Baris
> 
> -- 
> ↓↓
> Please bottom-post. Start your reply here:

I prefer adjacent answers :-)
# -*- text -*-

# LyX user command definition file.

# Clean up old separators
\define "desep" "command-sequence inset-forall Separator:parbreak inset-modify 
separator plain ; inset-forall Separator:latexpar char-delete-forward"




signature.asc
Description: This is a digitally signed message part


Re: Beamer class frame title symbol

2018-11-30 Thread Jürgen Spitzmüller
Am Freitag, den 30.11.2018, 13:22 +0100 schrieb Daniel:
> The one from Rich's screenshot marks and creates an extra blank line
> in 
> order to keep the documents as they used to look like with older 
> version. But since the blank line was actually rather a bug it is
> safe 
> to remove the symbol in almost all cases.
> 
> There was an announcement about that in some version but I can't find
> it 
> just now.

https://wiki.lyx.org/LyX/NewInLyX22#parbreak

Jürgen

> 
> Daniel
> 


signature.asc
Description: This is a digitally signed message part


Re: Please help: how do I insert a list of my publications in an otherwise ready thesis?

2018-11-17 Thread Jürgen Spitzmüller
Am Samstag, den 17.11.2018, 01:36 + schrieb Polina Proutskova:
> The publications list should include my publications (I have created
> an extra bib file for it in case that helps), sorted by year, ideally
> something like here: https://wiki.lyx.org/BibTeX/Publist#toc3, in
> other words, completely different to my normal bibliography, using a
> different style. I have created a similar file for myself which works
> fine in itself, but when I include it as a child document I get an
> error that refsection cannot be nested. Apparently when I tell the
> master document that I want multiple bibliographies it creates
> refsections for each unit. 

Biblatex does not allow to mix different styles in a document.

I would suggest that you compile the publication list on your own and
adapt the pagination via \setcounter{page}{}

Jürgen


signature.asc
Description: This is a digitally signed message part


<    1   2   3   4   5   6   7   8   9   10   >