Re: classicthesis-Lyx-v4.2_biblatex_biber

2017-07-28 Thread PhilipPirrip

Philip,
Document > 'LaTex log' is greyed out, so I can't check.



Unless the first line you see there is something like
[0] Config.pm:354> INFO - This is Biber 2.6
you don't have biber installed, or the installation is corrupt.

What happens when you type
biber -v
in a linux terminal window?



Re: classicthesis-Lyx-v4.2_biblatex_biber

2017-07-28 Thread PhilipPirrip

On 07/28/2017 12:07 PM, Jürgen Spitzmüller wrote:

Do to Document > Settings > Bibliography and set the Bibliography
Processor from whatever it is now (probably "Standard") to "biber".


This has already been set to the respective processor in the template. I 
think the user has biber missing from  his installation.




Re: classicthesis-Lyx-v4.2_biblatex_biber

2017-07-28 Thread PhilipPirrip

On 07/27/2017 02:20 PM, Michael Berger wrote:

Bibtex error: I found no \citation commandwhile reading file 
ClassicThesis.aux Bibtex error: I found no \bibdata commandwhile 
reading file ClassicThesis.aux Bibtex error: I found no \bibstyle 
commandwhile reading file ClassicThesis.aux


What's in Document > LaTeX log > Log Type: bibtex?
It's likely that biber is not installed or not working.



Re: lyx-2.3.0alpha1-1 crash

2017-05-26 Thread PhilipPirrip


I think I caught this one too. I was working on a document with a few 
float figures exported from inkscape as pdf, LyX 2.3.0alpha1 crashed 
after updating (saving as pdf) one of the figures.
I was running J. Matos' version from 
https://copr.fedorainfracloud.org/coprs/jamatos/lyx-next/

Will try to reproduce.










On 05/26/2017 04:48 AM, Wolfgang Engelmann wrote:
This might not be of interest to the readers of the lyx-users list, 
perhaps it could be forwarded to the developers, if of importance at all.


I got with lyx-2.3.0alpha1-1 under Debian a crash with the following 
output (see below). What I did, was, that i had changed a figure which 
was already inserted in a figure float. Nothing serious for me, since 
the lyx file was recovered and everything worked fine again.


If this matters: I have started the newly installed lyx-2.3.0alpha1-1 by 
using src/lyx, since I have 2.2.0 running besides.


Wolfgang

(  1) src/lyx: src/lyx() [0x92967a]
(  2) src/lyx: src/lyx() [0x9288c8]
(  3) src/lyx: src/lyx() [0x5b23de]
(  4) /lib/x86_64-linux-gnu/libc.so.6: 
/lib/x86_64-linux-gnu/libc.so.6(+0x350e0) [0x7f34a38b50e0]
(  5) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
QFileInfo::absoluteFilePath() const

(  6) src/lyx: src/lyx() [0xb54099]
(  7) src/lyx: src/lyx() [0xb35108]
(  8) src/lyx: src/lyx() [0xb67baf]
(  9) src/lyx: src/lyx() [0xb67f4d]
( 10) src/lyx: src/lyx() [0xb6642d]
( 11) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)

( 12) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: QObject::event(QEvent*)
( 13) /usr/lib/x86_64-linux-gnu/libQtGui.so.4: 
QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 14) /usr/lib/x86_64-linux-gnu/libQtGui.so.4: 
QApplication::notify(QObject*, QEvent*)

( 15) src/lyx: src/lyx() [0x93d8d6]
( 16) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
QCoreApplication::notifyInternal(QObject*, QEvent*)
( 17) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1b838b) [0x7f34a496038b]
( 18) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1b53f9) [0x7f34a495d3f9]
( 19) /lib/x86_64-linux-gnu/libglib-2.0.so.0: 
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x24d) 
[0x7f34a33b1c5d]
( 20) /lib/x86_64-linux-gnu/libglib-2.0.so.0: 
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x49f48) [0x7f34a33b1f48]
( 21) /lib/x86_64-linux-gnu/libglib-2.0.so.0: 
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) 
[0x7f34a33b1ffc]
( 22) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
QEventDispatcherGlib::processEvents(QFlags)
( 23) /usr/lib/x86_64-linux-gnu/libQtGui.so.4: 
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26bf96) [0x7f34a4f03f96]
( 24) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
QEventLoop::processEvents(QFlags)
( 25) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
QEventLoop::exec(QFlags)

( 26) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: QCoreApplication::exec()
( 27) src/lyx: src/lyx() [0x5ba925]
( 28) src/lyx: src/lyx() [0x44008d]
( 29) /lib/x86_64-linux-gnu/libc.so.6: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f34a38a1b45]

( 30) src/lyx: src/lyx() [0x448eff]







Re: LyX Layout File Problem

2017-05-22 Thread PhilipPirrip

On 05/21/2017 07:59 AM, km22 wrote:



Input stdclass.inc
Format 49


Why don't you try

Format 60
Input stdclass.inc

instead.


Seems that the layout conversion script is failing to start, I don't 
think there's anything wrong with your layout file.




Re: Help needed in the use of LyX

2017-05-10 Thread PhilipPirrip

On 05/10/2017 12:23 PM, Jürgen Spitzmüller wrote:

Which is achieved in LyX by inserting a footnote in the author
paragraph.


Thanks Jürgen, good to know.
But... Why was such an unintuitive, easter-egg-like choice made?



Re: Help needed in the use of LyX

2017-05-10 Thread PhilipPirrip

On 05/10/2017 05:30 AM, Muhammad asif raza wrote:
Recently I was writing my paper for IEEE Transaction using IEEE 
Transaction document class in LyX however, I could not find 
"Acknowledgement" section in the LyX.


From a quick look at the sample files, it seems that you need a 
\thanks{} command in the Author field.
If nothing else works, you can always insert some LaTeX code; thus, 
within the Author field


Ctrl+L
a red box will appear
type in \thanks{whatever you want to be here}

add as many as you want, one after the other



Re: Extra long chapter title causing problems in TOC

2017-04-24 Thread PhilipPirrip

On 04/24/2017 09:09 AM, Kornel Benko wrote:

I noticed. But the question was:
help me with a tip on how to insert a carriage-return/line-break in my 
table of contents, for a very long title?

His try was with LaTeX, but we may want to use lyx if possible.



That's why I started my answer with some doubts. Notice that it's not 
just the title he's writing into the .toc, but also author's name.
Made me think the code he used is what he really needs. We'll see... 
hopefully.




Re: Extra long chapter title causing problems in TOC

2017-04-24 Thread PhilipPirrip

On 04/24/2017 08:33 AM, Kornel Benko wrote:


Wouldn't be easier to insert new line with Ctrl-Return?


Notice that Frederick is using LaTeX code (\addcontentsline, 
\addtocontents) to write directly into the .toc file.






Re: Extra long chapter title causing problems in TOC

2017-04-24 Thread PhilipPirrip
On 04/23/2017 08:14 AM,  Frederick FN Noronha फ्रेड्रिक नोरोन्या 
*فريدريك نورونيا  wrote:

Dear all,

Could you kindly help me with a tip on how to insert a 
carriage-return/line-break in my table of contents, for a very long 
title? I'm using Lyx 2.2.0


The problem text is below (and neither \\ nor \newline works) :

\addcontentsline{toc}{chapter}{How Goan Identity and India's 
Independence \\ Put Britain in a Diplomatic Dilemma}

\addtocontents{toc}{Victor Rangel-Ribeiro \par}


Hi Frederick,
I don't quite understand why you're using these low-level commands 
instead of ordinary sectioning ones, but here's the answer:
in order for \newline to survive writing into the .toc file, you need to 
protect it, thus

\protect\newline should work (not sure how well).




Re: LyX and HiDPI Under Linux

2017-04-22 Thread PhilipPirrip

On 04/22/2017 05:15 AM, Jürgen Spitzmüller wrote:

My point is that Wayland did not read the local profile script last
time I checked. Manually exporting works, but settings in the local
profile scripts were simply ignored.


Got it!
My question was does
"export QT_AUTO_SCREEN_SCALE_FACTOR=true"
as opposed to
"export QT_AUTO_SCREEN_SCALE_FACTOR=1"
make any difference for you at all?
Because the "=true" does nothing for me.



Also, now that I got used to the scaling factor of 2, and after setting 
the icon size back to Normal, I'm wondering how much does LyX comply to 
the new way of setting dimensions, that is, how much of the interface is 
being painted in pixel/point units and not, e.g. by the recommendations 
at http://doc.qt.io/qt-5/highdpi.html?


For, I must say, even though the UI with the scaling of 1 is quite 
usable it feels crumpled and looks a bit ugly, while the scaling of two 
makes it somewhat oversized, but much nicer to look at:

http://wiki.lyx.org/uploads/Playground/LyX230dev-Wayland-scaling_factors_applied-201704.png
(physical size of the screen is 295mm x 160mm)





Re: LyX and HiDPI Under Linux

2017-04-22 Thread PhilipPirrip

On 04/22/2017 01:46 AM, Jürgen Spitzmüller wrote:

export QT_AUTO_SCREEN_SCALE_FACTOR=true

(This is with X. Last time I checked, these kind of things did not work
[yet?] with Wayland)



I'm on Wayland now, and see no difference from Xorg - (99% of the) user 
interface just works, no enviroment options set.
Out of curiosity, I tried "export QT_AUTO_SCREEN_SCALE_FACTOR=true", and 
it made no change. But following an example from 
http://doc.qt.io/qt-5/highdpi.html, "export 
QT_AUTO_SCREEN_SCALE_FACTOR=1" introduced a scaling factor of 2 (thus 
making everything too big). Wondering if that would be the case for you too.




Re: Adding a Local Layout for a \newcommand

2017-04-21 Thread PhilipPirrip

On 04/21/2017 05:13 PM, PhilipPirrip wrote:

On 04/21/2017 01:01 PM, Dr Eberhard Lisse wrote:

How to I create a local layout so that I can enter the LMP like I can
do with the Date in the Text window (instead of the Preamble)?



Adding to the previous answer: if there's no need to save the LMP in a 
variable (you'd need to define it as \newcommand\LMP[1]{#1} in the 
preamble), you'd probably want to use something like


InsetLayout "Flex:EDD"
  LyxTypecustom
  LabelString   "EDD"
  LatexType  command
  LatexName  EDD
  PassThru   true
  CustomPars false
  Decoration Classic
  ContentAsLabel true
End


Then Insert>Custom Inset>EDD, and enter the date in the box

|EDD|2017-01-01|




Re: Adding a Local Layout for a \newcommand

2017-04-21 Thread PhilipPirrip

On 04/21/2017 01:01 PM, Dr Eberhard Lisse wrote:

How to I create a local layout so that I can enter the LMP like I can
do with the Date in the Text window (instead of the Preamble)?


Hi EL,
You can start with something like
InsetLayout "Flex:LMP"
  LyxTypecustom
  LabelString   "LMP date"
  LatexType  command
  LatexName  LMP
  PassThru   false
  CustomPars false
  Decoration Classic
  ContentAsLabel true
End


and adjust it following instructions in LyX>Help>Customization.

This will add a custom inset in LyX>Insert>Custom Insets.





Re: LyX and HiDPI Under Linux

2017-04-21 Thread PhilipPirrip

On 04/20/2017 10:46 PM, Richard Heck wrote:

I'm thinking about buying one of these:

https://system76.com/laptops/galago

But it has HiDPI, and I'm curious what people's experience is using LyX
with HiDPI screens under Linux (KDE, in my case). Help?

Richard



Hi Richard,
Fear not, LyX works fine. I'm using Gnome@Fedora on a DELL XPS 13 
HiDPI/touch. There are only a few places where widget rendering is awry, 
most notably in Document settings > Bullets. Still not sure whether this 
is because of something in LyX or adwaita-qt5 theme. In any case, things 
look much better than in 2015 
(http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg188814.html, 
http://wiki.lyx.org/uploads/Playground/)

KDE? have no idea, should be the same, or better.
And hey - whatever you find not working, we all will have someone with a 
HiDPI screen to fix it.

Go for it!


(that galago looks very much like my XPS 13 Sputnik... except for the 
thick bezel... HDD? you better go with solid state drive!)




Re: How do I copy text from LyX to xterm/rxvt?

2017-04-20 Thread PhilipPirrip

On 04/20/2017 07:41 AM, Helge Hafting wrote:

Fewer transitions between mouse and keyboard is a good thing.


Hi Helge.
Copying from the document Xwindow-style (middle button) does indeed not 
work. Interestingly, it does work from the Source Pane, as does from 
Document Settings.
The use of keyboard can be avoided in yet another way, by using the 
right-click context menus. Both LyX and Gnome terminal let me do this.




Re: feedback on middle-clicking tab behavior

2016-07-22 Thread PhilipPirrip

On 07/21/2016 04:20 PM, Scott Kostyshak wrote:

or
www.lyx.org/trac/ticket/10289


Thanks Scott, it was 10289.
I added a comment to the discussion there.




Re: feedback on middle-clicking tab behavior

2016-07-21 Thread PhilipPirrip

On 07/20/2016 07:50 PM, Scott Kostyshak wrote:

1. close the tab on middle-click


Would you still keep all the [×] buttons?



Re: feedback on middle-clicking tab behavior

2016-07-21 Thread PhilipPirrip



1a. What do you *expect* to happen if you middle-click on a tab?

Nothing



1b. What do you think *should* happen?


Switch to Master document.
PLUS
Left-click on a tab should switch to previously opened tab (switch 
between two documents)




2a. What do you *expect* to happen if you middle-click on the space to the
right of the tabs? I'm referring to the blank space where if you had
more tabs it would take that space up.

Nothing.




2b. What do you think *should* happen?

Nothing.






Re: Biblatex no longer working after upgrade (!?)

2016-07-08 Thread PhilipPirrip

On 07/07/2016 11:30 PM, Marshall Feldman wrote:

Hi,

Yesterday I updated my system to use MacTeX 2016 and LyX 2.2.0. After
doing so, I can no longer use biblatex for a relatively simple document
(title page, abstract page, and 1 page of text). Instead, compiling the
pdf throws an error message: "Error: Found biblatex control file version
2.6, expected version 3.1."

After I installed MacTeX 2016, I used TeX Live to make the new
installation the default LaTeX. I also used it to update all my
installed packages. It shows I have biblatex 3.4 and biber 2.5 (biblatex
3.4). So everything seems fine.

The folks over at MacTeX think the problem may be because LyX does not
use the normal MacTeX search path. How can I troubleshoot and fix this?



Have you tried to reinstall instead of upgrading?
Have you tried to compile the tex document (tex exported from lyx will do),
pdflatex document
biber document
pdflatex document?

I've seen a few reports already where biber and biblatex version did not 
match 
http://latex-community.org/forum/viewtopic.php?f=19=27423=c3b82150de662b9e3fa5ab7995ac4f60



I don't think this has anything to do with LyX.




Re: License on TeX-Gyre-Schola embedded in document??

2016-07-06 Thread PhilipPirrip

On 07/02/2016 06:14 PM, Steve Litt wrote:

Hi all,

I'd like to use TeX-Gyre-Schola, because it's very legible on the
screen, and it *seems* to be allowable to embed it in a PDF without
anyone needing to pay anyone else. Here's the license info I found:

License, which incorporates LaTeX Public License:
https://www.fontsquirrel.com/license/TeX-Gyre-Schola

LaTeX Public License: https://latex-project.org/lppl/lppl-1-3c.txt

Regarding the LPL, I've been unable to find a legal definition of
"Derived Work" that I could understand, so I don't know if my book,
which I will sell as a PDF file, is "derived" from TeX-Gyre-Schola, or
whether it simply includes a copy of TeX-Gyre-Schola. Also, it doesn't
include ALL of TeX-Gyre-Schola, so I don't know whether *that's*
violating the license.

Anyone know whom I could ask regarding these things?



Your work is not "Derived Work" as you're not distributing 
TeX-Steve-Schola (Steve, as in Steve Litt) as a new font derived from 
TeX-Gyre-Schola. Your work if in PDF (that is, computer) format is, at 
most, a "Compiled Work".


Thus
3.  You may distribute a Compiled Work that has been generated from a
complete, unmodified copy of the Work as distributed under Clause 2
above, as long as that Compiled Work is distributed in such a way that
the recipients may install the Compiled Work on their system exactly
as it would have been installed if they generated a Compiled Work
directly from the Work.

Notice, this is *may*, not *must*. That means you don't have to 
distribute your work as a PDF file, but if you choose to, your work 
compiled with TeX-Gyre-Schola should contain the exact copy of 
TeX-Gyre-Schola, not some modified private version with the same name.




If you print the book, you're in no way distributing the font itself 
(font is a computer program, right?), just its version compiled for 
600dpi printer. In that sense:

"Activities other than distribution and/or modification of the Work
are not covered by this license; they are outside its scope.


If unsure, you can ask the authors of the font for their explicit statement.








Re: Croatian diacritics not working in references after upgrading to 2.2

2016-06-16 Thread PhilipPirrip

On 06/16/2016 04:38 AM, Nikola Ivan Leder wrote:

So, apologies to LyX powers that be, I guess I was to blame here,
probably some encoding change in bib file after upgrading other software
that I didn't notice ...   shouldn't use those characters in key fields
anyhow...


No worries, Nikola, događa se svakom i neprestano! ;)
There are layers of software dating 40 years back that don't always work 
together.

Glad you found the error.




Re: LyX 2.2.0-1 on FC23: some math shortcuts not working.

2016-06-16 Thread PhilipPirrip

On 06/11/2016 11:41 AM, Rudi Gaelzer wrote:

For instance: "ALT+M F" did not entered the \frac command; instead it just
will open the dialog window for math spaces.  "ALT+M (", "ALT+M [" and
"ALT+M {", instead of creating the respective math delimiters would simply do
nothing.  Also, exponent generation with the caret "^" works sporadically.


All three work for me: Fedora 24, Dell XPS hiDPI, LyX 2.2, Gnome@xorg, 
US keyboard.




Re: Biblatex in LyX 2.2

2016-06-15 Thread PhilipPirrip


On 06/13/2016 08:58 AM, F M Salter wrote:

Hi
In attempting to follow the biblatex instructions on the wiki, I
have run into two problems.  I would very much appreciate a helping hand.

1.  Using the style authoryear produces the required "References"
section heading on the left.
 There is however on each reference page an extra centred
"/references/" page header for which I have no explanation.

How might this be removed?

2. This style introduces  "In:" after the title for both  journal
name and  book titles in the references.
The editorial style calls for a "," between title and a journal
and for "in:" between title and book title.

How might this be achieved?




Hi Frank,
How about \pagestyle{plain} (inside a TeX code inset, Ctrl+L), insert it 
just before your \printbibliography



And for the other issue, yes, style designers got something wrong and 
this "In:" is being inserted in many unnecessary places. Here's the 
solution:

http://tex.stackexchange.com/questions/10682/suppress-in-biblatex

In short, just add
\renewbibmacro{in:}{}
after
\usepackage[...]{biblatex}



Re: Croatian diacritics not working in references after upgrading to 2.2

2016-06-15 Thread PhilipPirrip

On 06/15/2016 08:46 AM, Nikola Ivan Leder wrote:

Hi,
The subject pretty much sums it up. As
suggested in previous thread I've upgraded
to lyx 2.2.
The new version would not produce a result
when exporting to PDF because of unknown
characters. I've tracked this to Croatian
diacritics from the references bib file.


Nikola,
You shouldn't, in general,have any non-ASCII characters in your bib 
files,it's because of bibtex limitations. You could try with bibtex8 
(Document settings > Bibliography > Processor), or biblatex (with some 
additional work, http://wiki.lyx.org/BibTeX/Biblatex).
It could be though that your bib file encoding and your lyx document 
encoding don't match: what's in your Document settings > Language > 
Encoding?


To help you further, we'll need a minimal LyX file together with a bib 
database showing the error.




Re: ClassicThesis

2016-06-03 Thread PhilipPirrip

On 06/03/2016 02:50 AM, Wolfgang Engelmann wrote:

[166] Utils.pm:147> WARN - *Warning: Found biblatex control file version
2.6, expected version 3.0*
I highlightes the Warning: Could this be the cause of the failure?



It might be better to ask at http://tex.stackexchange.com/, so that 
someone with a similar configuration can test.
Use these two files as minimal working example. Test them yourself, too: 
save in the same directory, then

pdflatex mwe
biber mwe
pdflatex mwe
pdflatex mwe







 file mwe.tex
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{color}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[unicode=true,pdfusetitle,
 bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
 breaklinks=false,pdfborder={0 0 
0},pdfborderstyle={},backref=false,colorlinks=true]

 {hyperref}
\hypersetup{
 citecolor=blue,urlcolor=blue}


\usepackage[style=authoryear,natbib=true,backend=biber]{biblatex}

\addbibresource{mwe-bibliography.bib}

\ExecuteBibliographyOptions{backref=true,doi=true}


\begin{document}
\section{BibLaTeX with biber}
His book \citetitle{Newton1686}, first published in \citeyear{Newton1686},
is regarded as one of the most important works in the history of science
\citep{Newton1686}.

\clearpage{}

\nocite{*}
\printbibliography
\end{document}









 file mwe-bibliography.bib
@Book{Newton1686,
author = {Newton, Isaac},
title = {Philosophi{\ae} Naturalis Principia Mathematica},
publisher = {Jussu Societatis Regiae},
year = {1686},
address = {London}
}

@article{Maxwell1865,
author = {Maxwell, James Clerk},
title = {A dynamical theory of the electromagnetic field},
journal = {Philosophical Transactions of the Royal Society of London},
doi = {10.1098/rstl.1865.0008},
year = {1865},
pages = {459--512}
}

@article{Einstein1905,
author = {Einstein, Albert},
title = {Zur Elektrodynamik bewegter K{\"o}rper},
journal = {Annalen der Physik},
doi = {10.1002/andp.19053221004},
year = {1905},
volume = {17},
pages = {891--921}
}






Re: Is it possible to add a style to the "Insert citation" dialog?

2016-06-03 Thread PhilipPirrip

On 06/02/2016 06:49 PM, Richard Heck wrote:

In principle, yes. The styles are defined in modules, such as
natbib.module, and you could add more styles to that module, say. But
the syntax is not documented outside the code, so you'll have to figure
it out, more or less.



I had no idea this was possible.
Can you help a little more, Richard: is adding more styles only possible 
by extending natbib.module (where should that file be saved?) or is it 
possible to add a totally new module for, say, some other engine. I'm 
thinking of having one for biblatex citation styles, that would be added 
to natbib and jurabib.






Re: ClassicThesis

2016-06-02 Thread PhilipPirrip

On 06/02/2016 04:50 AM, Wolfgang Engelmann wrote:

From Log-File: Package biblatex Info: Trying to load biblatex default
data model...

Package biblatex Info: ... file 'blx-dm.def' found.


This looks like the LaTeX log. Please choose Bibtex log from the 
dropdown menu on top of "Document > Latex log" window.

That log should start with something like

[0] Config.pm:324> INFO - This is Biber 2.1




Re: Icons in Lyx

2016-06-02 Thread PhilipPirrip

On 06/02/2016 09:57 AM, Liviu Andronic wrote:

If the Qt5 version, then it's 5.5.1.


Oh, OK.   Fedora 24 ships it with Qt 5.6.0



Re: Icons in Lyx

2016-06-02 Thread PhilipPirrip

On 06/02/2016 09:23 AM, UD wrote:

I also tried the right-click suggestion made by a previous poster, but
nothing happens when I right click.


That's strange. Are you sure you clicked on an active icon (New Document 
icon is always active)?


Does Help>About LyX say it's been compiled with Qt version 5.6.0?



Re: Icons in Lyx

2016-06-02 Thread PhilipPirrip

On 06/02/2016 05:40 AM, UD wrote:

Is there a way to make the icons in the Lyx tool bar larger?  Mine are
TINY and nearly invisible.
I am using Lyx 2.2 under Lubuntu 16.04 with a Cinnamon 2.8 desktop on a
Yoga 2 Pro with HiDPI (3200X1800 pixels).



Right-click on any of the toolbar icons, then choose Huge or Giant.
Hopefully this will once work without user intervention.



Re: ClassicThesis

2016-06-02 Thread PhilipPirrip

On 06/01/2016 10:30 AM, Wolfgang Engelmann wrote:
> Philipp,
> Could you or somebody else kindly check whether
> classicthesis-LyX-v4.2_biblatex_biber works?

It did when I made it.
Anything suspicious in "Document > LaTeX Log > Log Type: Bibtex"? Does 
biber even get started?


Can you use LyX 2.2.0? There will be an update to classicthesis-LyX for 
LyX 2.2 that will no longer need to use an ugly hack for finding bib 
files (without absolute paths). I could share it with you for some 
testing before I make it public.






Re: LyX problem - I need your help

2016-04-28 Thread PhilipPirrip

On 04/27/2016 12:48 AM, Isam Alobaidi wrote:

I faced a problem with the LyX, I wonder if you can help me with it. I
am writing my thesis by LyX but the university enforce me to
use their temple that written in LaTeX.
I have no idea how I can connect them together and use the temple in LyX
in an other word how to make a given LaTeX template compatible with my
LyX file?


Dear Isam,
Can you show us the template they want you to use? Is there a .cls or 
.sty file in it? Most of the templates are based on some standard 
classes, and this should be as easy as 
http://tex.stackexchange.com/questions/305410/help-installing-document-class-for-lyx-on-mac-unsure-on-where-to-start/305760#305760




Re: log file location - move from temporary directory to .lyx file location

2016-04-22 Thread PhilipPirrip

On 04/22/2016 12:36 PM, Christopher Bilder wrote:


I understand how to see the .log file from within LyX itself (Document >
LaTeX Log), so this request my seem odd! The real reason that I want to
be able to better control this LyX behavior is because I am using a
LaTeX package (StatRep – SAS’s “equivalent” to knitr for R) which
generates some additional files (SAS program) that I need to easily access.



Not sure if the temp folder(s) can be changed, but note that in LyX 2.2 
there will be a button in Document>LaTeX log> to open the random-name 
folder in a file browser.





Re: classicthesis - how to include a chapter

2016-04-21 Thread PhilipPirrip

On 04/21/2016 07:59 AM, Wolfgang Engelmann wrote:

I might have more questions, especially re references (biblatex), since
they do not show up in the pdf output. But will first fiddle around
before asking.



Try the "two simple examples" from http://wiki.lyx.org/BibTeX/Biblatex 
to check whether biber or bibtex8 work for you.
LyX 2.2 will ease the use of biblatex, you might want to give it a try. 
Let us know.




Re: REVTeX 4.1 Class Behavior Inquiry

2016-04-18 Thread PhilipPirrip



 1. The diamond/line separating the references from the remainder of the
document spans both columns when I would expect it to span one.


This seems to be true only for papers prepared for prl, not prb.


 2. The "Electronic Addess" for the author appears in a footnote on the
second (last?) page, not the first.



I don't think this has anything to do with LyX, it's just how revtex 
class behaves. You can see many examples of it on arXiv.
APS, if I remember correctly, uses some other software to produce 
printed papers.






Re: Error using bibtex in Lyx

2016-03-04 Thread PhilipPirrip

On 03/04/2016 06:28 AM, Oktoviano Gandhi wrote:
> 'oberdiek-bundle'


Can you check if the attached document compiles. I used oberdiek-bundle 
and it worked.




oktotest.lyx
Description: application/crossover-lyx


Re: Math preview bug (?) in LyX 2.1.4

2016-03-01 Thread PhilipPirrip
In addition to what Scott said: can you share the document that's 
causing you problems, I can test it on Fedora 23 in both LyX 2.1.4 and 
LyX 2.2.0dev for you.





On 03/01/2016 04:18 AM, Alexander Stasinski wrote:

(Apologies if this has already been discussed. I searched the archive
and bug reports and did not find anything related. Perhaps I didn't
search well enough.)

I'm using LyX 2.1.4 on Fedora 22 (4.3.4-200.fc22.x86_64) with instant
math preview on. After editing about a page of maths formulae, the
instant preview will start displaying "random" previous formulae
instead of the correct ones. When I go inside the formula, I can edit
the correct one, so LyX has the correct one internally.
The problem goes away if I close the document and reopen it, but after
about another page or so of editing, the problem reoccurs.

I'd be grateful for any advice on how to solve this.

Best wishes,
Alexander






Re: Documentation for compiling LyX on Windows?

2016-02-25 Thread PhilipPirrip

On 02/25/2016 09:28 AM, Samer Afach wrote:

Hello everyone:

Is there any documentation at all for how to compile LyX on Windows? I
was able to compile LyX on Linux myself, but on Windows, it wasn't clear
and I couldn't find any documentation about it.


Hi Samer,
If I remember correctly, these instructions worked pretty well for me 
http://www.lyx.org/trac/browser/lyxgit/INSTALL.Win32


(they are for Visual C++ 2010, some people reported problems with newer 
versions I think)







Re: Compiling a preview ("teaser") document

2016-02-21 Thread PhilipPirrip

On 02/21/2016 05:22 PM, James wrote:

Maybe a question best suited to the developer list?


I'd first ask at http://tex.stackexchange.com/. There are a few guys 
there who can make everything possible.
Once you have the proper set of commands and environments in LaTeX, 
implementing them in LyX should be relatively easy (layouts, modules...)





Re: lyxtype and Format version

2016-02-21 Thread PhilipPirrip

On 02/21/2016 11:05 AM, subaochen wrote:

InsetLayout CharStyle:Function


This should be
InsetLayout Flex:Function


You can read about these in Help>Customization (I must say that's not 
the clearest part of LyX documentation, though... it's actually very 
confusing!)



Also, if you're writing modules, it's a good idea to test them in 
Document Settings > Local Layout. There's even a button to convert the 
layouts to current format.




Re: ulem and amsmath

2016-02-21 Thread PhilipPirrip

On 02/21/2016 09:06 AM, Michael Berger wrote:




a) slanted text of the document appeared now upright but underlined
 However, this could easily be reformatted with 'slanted'


What made the text slanted in the first place?



b) there is quite a number of long URLs in my Bibliography that broke
nicely before thanks to Jürgen's special lines in the preamble. Now they
run into the page margin and out of the page.
 And here I would not know ho to fix that.



You may try adding Juergen's special lines below \usepackage{ulem} in

Provides ulem 1
AddToPreamble
  \usepackage{ulem}
  % Juergen's special lines:

EndPreamble





I am confident you have a clue for that as well!? Maybe your first
proposition (change classicthesis-config.tex) is the better alternative?


Best thing would be to ask the maintainer of ulem to fix the bug... but 
that might only come in a few years, knowing how fast things are 
changing in so-1980 LaTeX world.







ulem and amsmath

2016-02-20 Thread PhilipPirrip

Hi Michael,
It took me a while to isolate the problem: it's displayed math in 
Chapter03 that causes it. This turned out to be a bug in the package ulem:

http://tex.stackexchange.com/questions/125980/problem-with-amsmathfontspeculem
http://tex.stackexchange.com/questions/120024/pdflatex-hangs-with-no-errors


In short, the way ulem defines MakeRobust makes amsmath enter an 
infinite loop.



There are a few fixes, I'll give you two:

- either call fixltx2e in classicthesis-config.tex before the call to 
amsmath (CUT & PASTE ABOVE)


- or add te following to ClassicThesis.lyx (main document), Document 
Settings > Local Layout


Provides ulem 1
AddToPreamble
  \usepackage{ulem}
EndPreamble

(don't forget to Validate before pressing Apply)
to make sure ulem is loaded after amsmath.


Let me know if this worked.


LyX calls the two packages in the right order (intentionally or not). 
Unfortunately, the LyX port of the classic thesis template is a bit 
messy as the author of the latex template insisted on keeping many 
unnecessary calls in classicthesis-config.tex




















Re: anybody using classicthesis-LyX-v4.1 out there ?

2016-02-18 Thread PhilipPirrip



First issue
Underlining text with 'underbar' in the master document (e.g. _Siti)_
enters an endless loop when trying to compile to PDF with the fatal
effects described above.
Funny enough it compiled (sometimes?) before in a child document but did
not when included in the master.
And: I can stop the destruction of files only if I cut the power off
immediately after the loop started!


I see what you mean, and I can reproduce it. I haven't observed any 
files being deleted though. It will take some time to check all this, 
please be patient. There are many packages included with classic thesis 
template and one has to go removing them one by one until everything 
works again.





Second issue
Using Jürgen's nice and useful new modules like csquotes
(context-sensitive quotes) fail to work in classicthesis-LyX-v4.1, i. e.
are not available in full in the Insert > Custom Insets menu and produce
quite a number of errors


I unfortunately cannot even test this as I don't see the module in my 
modules list. But again, clashes are possible, not all (versions of) 
packages work well with one another.





Now there is hope these problems may have been already resolved in the a
bug-fix version of the v4.1 template in the 4.2 bundle which you told
me. I will download the 4.2 version and then see to it.


I don't think the above issues were addressed in 4.2.  I'd rather try to 
remove (or comment out) calls to packages in classicthesis-config.tex 
and see if that helps.
You can have the command "top" running in a terminal window. Once 
pdflatex enters the loop (CPU usage 100%), just kill it with a 'k'










Re: anybody using classicthesis-LyX-v4.1 out there ?

2016-02-17 Thread PhilipPirrip

On 02/17/2016 11:43 AM, Michael Berger wrote:

Hi, it seems that I am a rare exception using André Miede's
'classicthesis-LyX-v4.1'
I came across some issues that I would like to discuss with others.

Anybody out there and interested?



Hi Michael,
Let's discuss it, what's been bothering you?  BTW, you know there's a 
bug-fix version of the v4.1 template in the 4.2 bundle?





LyX 2.2 + Qt 5.5.1 segmentation fault on Fedora 23

2015-11-18 Thread PhilipPirrip
I had a similar issue a month or so ago, what helped was a clean cloning 
of LyX source. Now even that doesn't work, and it's been like that for 2 
or 3 weeks. It might be due to newest Qt libraries that came with Fedora 
23, not sure. Can you read anything from this backtrace?



Reading symbols from ./bin/lyx2.2...done.
(gdb) run
Starting program: /build-lyx-Qt5/bin/lyx2.2
Missing separate debuginfos, use: dnf debuginfo-install 
glibc-2.22-5.fc23.x86_64

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x76305204 in _GLOBAL__sub_I_qprinterinfo.cpp () from 
/lib64/libQtGui.so.4
Missing separate debuginfos, use: dnf debuginfo-install 
aspell-0.60.6.1-12.fc23.x86_64 bzip2-libs-1.0.6-17.fc23.x86_64 
expat-2.1.0-12.fc23.x86_64 fontconfig-2.11.94-4.fc23.x86_64 
freetype-2.6.0-3.fc23.x86_64 glib2-2.46.1-2.fc23.x86_64 
graphite2-1.2.4-5.fc23.x86_64 harfbuzz-1.0.6-1.fc23.x86_64 
libdrm-2.4.65-1.fc23.x86_64 libffi-3.1-8.fc23.x86_64 
libgcc-5.1.1-4.fc23.x86_64 libICE-1.0.9-3.fc23.x86_64 
libicu-54.1-5.fc23.x86_64 libpng-1.6.17-2.fc23.x86_64 
libselinux-2.4-4.fc23.x86_64 libSM-1.2.2-3.fc23.x86_64 
libstdc++-5.1.1-4.fc23.x86_64 libuuid-2.27.1-1.fc23.x86_64 
libX11-1.6.3-2.fc23.x86_64 libXau-1.0.8-5.fc23.x86_64 
libxcb-1.11.1-1.fc23.x86_64 libXcursor-1.1.14-4.fc23.x86_64 
libXdamage-1.1.4-7.fc23.x86_64 libXext-1.3.3-3.fc23.x86_64 
libXfixes-5.0.1-5.fc23.x86_64 libXi-1.7.4-3.fc23.x86_64 
libXinerama-1.1.3-5.fc23.x86_64 libXrandr-1.5.0-2.fc23.x86_64 
libXrender-0.9.9-2.fc23.x86_64 libxshmfence-1.2-2.fc23.x86_64 
libXxf86vm-1.1.4-2.fc23.x86_64 mesa-libGL-11.0.4-1.20151105.fc23.x86_64 
mesa-libglapi-11.0.4-1.20151105.fc23.x86_64 pcre-8.37-5.fc23.x86_64 
qt-4.8.7-3.fc23.x86_64 qt5-qtbase-5.5.1-8.fc23.x86_64 
qt5-qtbase-gui-5.5.1-8.fc23.x86_64 qt5-qtsvg-5.5.1-2.fc23.x86_64 
qt-x11-4.8.7-3.fc23.x86_64 zlib-1.2.8-9.fc23.x86_64

(gdb) bt
#0  0x76305204 in _GLOBAL__sub_I_qprinterinfo.cpp () from 
/lib64/libQtGui.so.4

#1  0x77deb79a in call_init.part () from /lib64/ld-linux-x86-64.so.2
#2  0x77deb8ab in _dl_init () from /lib64/ld-linux-x86-64.so.2
#3  0x77ddccba in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#4  0x0001 in ?? ()
#5  0x7fffe2d5 in ?? ()
#6  0x in ?? ()












here's the run_cmake.sh I used
cmake /xxx/xxx/xxx/lyx  \
 -G"Unix Makefiles"  \
 -DLYX_CPACK=OFF  \
 -DLYX_LOCALVERSIONING=OFF  \
 -DLYX_INSTALL=OFF  \
 -DLYX_NLS=ON  \
 -DLYX_REQUIRE_SPELLCHECK=OFF  \
 -DLYX_ASPELL=OFF  \
 -DLYX_ENCHANT=OFF  \
 -DLYX_HUNSPELL=OFF  \
 -DLYX_DEVEL_VERSION=OFF  \
 -DLYX_RELEASE=OFF  \
 -DLYX_DEBUG=ON  \
 -DLYX_NO_OPTIMIZE=OFF  \
 -DLYX_PACKAGE_SUFFIX=ON  \
 -DLYX_PCH=OFF  \
 -DLYX_MERGE_FILES=OFF  \
 -DLYX_MERGE_REBUILD=OFF  \
 -DLYX_QUIET=OFF  \
 -DLYX_INSTALL_PREFIX=OFF  \
 -DLYX_BUNDLE=OFF  \
 -DLYX_ENABLE_URLTESTS=OFF  \
 -DLYX_ENABLE_EXPORT_TESTS=OFF  \
 -DLYX_ASAN=OFF  \
 -DLYX_USE_QT=QT5  \
 -DLYX_PROFILE=OFF  \
 -DLYX_EXTERNAL_BOOST=OFF  \
 -DLYX_PROGRAM_SUFFIX=ON  \
 -DLYX_DEBUG_GLIBC=OFF  \
 -DLYX_DEBUG_GLIBC_PEDANTIC=OFF  \
 -DLYX_STDLIB_DEBUG=OFF  \
 -DLYX_PROFILE=OFF  \
 -DLYX_ENABLE_CXX11=OFF  \





Same thing even if I go back in time, to some 9/2015 commits I know worked.
Doesn't matter if I set CXX11 to ON or OFF.




Re: thispagestyle empty not working

2015-11-10 Thread PhilipPirrip

On 11/10/2015 03:54 PM, Jacob Bishop wrote:

I am having a problem. I put \thispagestyle{empty} into my LyX preamble,
expecting it to suppress the page number on the first page (as per the
wiki: http://wiki.lyx.org/FAQ/Numbering#noPageNumberOnFirstPage). It
does not. The page number shows up anyway. Attached is a minimal
example. Does anyone have an idea as to what is happening? I am on Linux
Mint 17 64-bit using LyX 2.1.4 (Friday, July 24, 2015).



The command has to go in a LaTeX code inset (so called ERT).  Ctrl+L, 
type the code, compile

This link above has an example in lyx that works.




Re: arxiv pdf generated problem

2015-11-04 Thread PhilipPirrip

On 11/04/2015 11:24 PM, Myriam Abramson wrote:


arxiv.org does not accept my pdf generated through pdflatex from
LyX. Anybody had this problem before?



From https://arxiv.org/help/submit_pdf:
Note: a PDF file created from a TeX/LaTeX file will be rejected. There 
are good reasons why arXiv insists on TeX/LaTeX source if it is 
available. arXiv produces PDF automatically from all TeX submitted source.




This means that in LyX you first have to export your document as LaTeX 
and submit the .tex files.




Re: Have trouble running Lyx 2.1.4 in Win10

2015-10-28 Thread PhilipPirrip

On 10/28/2015 03:28 AM, QIN Peng wrote:

I have installed MikTex 2.9 through ProTex before. Then I installed Lyx
2.1.4 bundle version and during the installing process, it reminded me
to update MikTex's package, and I updated it with MikTeX Package Manager
through the internet.



I don't know about Win10, but several of my attempts to install MikTeX 
and LyX failed until I downloaded the whole MikTeX package, started 
installation from the complete source (but still installing a subset of 
packages, that'll be offered by the installer).

After that I installed LyX and things finally worked.
I have no idea why!



Re: Have trouble running Lyx 2.1.4 in Win10

2015-10-28 Thread PhilipPirrip

On 10/28/2015 05:33 AM, Michael Berger wrote:

You got errors in the first place because some packages were still
missing. By installing the complete content of MiKTeX you got every
single packag needed or not.
Michael


No, I never installed the complete content of MikTeX, I only had it 
downloaded before I started the installation (as I said).





Re: RevTeX 4.1: \onlinecite

2015-10-16 Thread PhilipPirrip

On 10/13/2015 09:16 AM, Rudi Gaelzer wrote:

I'm writing a MS using revtex class, V. 4.1.
How do I insert specific commands for the RevTeX class 4.1, such as
\onlinecite?

I've found this post:
https://www.mail-archive.com/lyx-cvs@lists.lyx.org/msg09818.html
claiming that revtex4-1.layout supports \onlinecite.


Is it in "Insert>Custom insets"? It's just a nicer way of inserting 
\onlinecite without typing the command. It is not the same as 
insert>citation, as LyX lacks support for providing its infrastructure 
(dialog insertion of bib keys in this case) to custom insets.




Re: How to change Contents to Inhaltsverzeichnis in German edition of Komascript book

2015-09-14 Thread PhilipPirrip

On 09/14/2015 10:22 AM, Wolfgang Engelmann wrote:

I got in the German version of a (KomaScript) book Contents instead of
Inhaltsverzeichnis,
List of figures instead of Abbildungsverzeichnis
Bibliography instead of Literaturverzeichnis


I therefore copied the preample stuff from another German book (Koma),
which renders correctly, but do still get the English names

What am I missing?

Wolfgang


Hi Wolfgang,
Here's a minimal example that shows these in German, please check if it 
works for you.

Have you set the language to German in Document>Settings>Language?



German-KOMAbook.lyx
Description: application/crossover-lyx


Re: Windows bundle installer buggy

2015-09-08 Thread PhilipPirrip

On 09/05/2015 11:17 AM, Scott Kostyshak wrote:

1. Install MikTeX. This has nothing to do with LyX. Go to the MikTeX
website.



Just a note: my installation didn't work until I downloaded the whole 
MikTeX source and installed from it. The installation itself doesn't 
have to be for all available packages.

Took me several tries and a few different downloads to realize this.

It'd probably be better to exclude MikTeX partial source from LyX 
package, their installation is annoyingly buggy.





Re: Biblatex not not found by LyX work on new computer / OS 10.10.3

2015-07-18 Thread PhilipPirrip

On 07/18/2015 11:40 AM, jezZiFeR wrote:

I run LyX 2.1.3 on OS 10.10.3. I installed the current bib latex.module, but it 
could not be found by LyX. Could you please tell me, where the biblatex.module 
has to be placed? LyX/about LyX tells me to put it into:
library/application support/LyX-2.1/



You don't even need that module.
If you want to use natbib compatibility mode (a few commands other than 
\cite), you can just enter


provides natbib 1

into Document Settings  Local Layout (that's all what that 'module 
contains anyway).







Re: Biblatex not not found by LyX work on new computer / OS 10.10.3

2015-07-18 Thread PhilipPirrip

On 07/18/2015 11:40 AM, jezZiFeR wrote:

I run LyX 2.1.3 on OS 10.10.3. I installed the current bib latex.module, but it 
could not be found by LyX. Could you please tell me, where the biblatex.module 
has to be placed? LyX/about LyX tells me to put it into:
library/application support/LyX-2.1/



You don't even need that module.
If you want to use natbib compatibility mode (a few commands other than 
\cite), you can just enter


provides natbib 1

into Document Settings  Local Layout (that's all what that 'module 
contains anyway).







Re: Biblatex not not found by LyX work on new computer / OS 10.10.3

2015-07-18 Thread PhilipPirrip

On 07/18/2015 11:40 AM, jezZiFeR wrote:

I run LyX 2.1.3 on OS 10.10.3. I installed the current bib latex.module, but it 
could not be found by LyX. Could you please tell me, where the biblatex.module 
has to be placed? LyX/about LyX tells me to put it into:
library/application support/LyX-2.1/



You don't even need that module.
If you want to use natbib compatibility mode (a few commands other than 
\cite), you can just enter


provides natbib 1

into Document Settings > Local Layout (that's all what that 'module 
contains anyway).







Re: Text size in margin note

2015-07-08 Thread PhilipPirrip

On 07/07/2015 11:47 AM, edu Gpl wrote:

thank you Michael but this difficult, i have 60-80 margin note or margin
table in my book.
i want code for lyx preamle.






You can play with this, goes straigth into the preamble

\def\marginparsetup{%
   \small%   (you only need this line)
   \parindent=0pt \lineskip=0pt \lineskiplimit=0pt%
   \tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300%
   \doublehyphendemerits=10%
   \finalhyphendemerits=\doublehyphendemerits%
   }

\let\oldmarginpar\marginpar

\renewcommand{\marginpar}[1]{\oldmarginpar%
 [\marginparsetup\raggedleft\hspace{0pt}{#1}]%
 {\marginparsetup\raggedright\hspace{0pt}{#1}}}












Re: Text size in margin note

2015-07-08 Thread PhilipPirrip

On 07/07/2015 11:47 AM, edu Gpl wrote:

thank you Michael but this difficult, i have 60-80 margin note or margin
table in my book.
i want code for lyx preamle.






You can play with this, goes straigth into the preamble

\def\marginparsetup{%
   \small%   (you only need this line)
   \parindent=0pt \lineskip=0pt \lineskiplimit=0pt%
   \tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300%
   \doublehyphendemerits=10%
   \finalhyphendemerits=\doublehyphendemerits%
   }

\let\oldmarginpar\marginpar

\renewcommand{\marginpar}[1]{\oldmarginpar%
 [\marginparsetup\raggedleft\hspace{0pt}{#1}]%
 {\marginparsetup\raggedright\hspace{0pt}{#1}}}












Re: Text size in margin note

2015-07-08 Thread PhilipPirrip

On 07/07/2015 11:47 AM, edu Gpl wrote:

thank you Michael but this difficult, i have 60-80 margin note or margin
table in my book.
i want code for lyx preamle.






You can play with this, goes straigth into the preamble

\def\marginparsetup{%
   \small%   (you only need this line)
   \parindent=0pt \lineskip=0pt \lineskiplimit=0pt%
   \tolerance=2000 \hyphenpenalty=300 \exhyphenpenalty=300%
   \doublehyphendemerits=10%
   \finalhyphendemerits=\doublehyphendemerits%
   }

\let\oldmarginpar\marginpar

\renewcommand{\marginpar}[1]{\oldmarginpar%
 [\marginparsetup\raggedleft\hspace{0pt}{#1}]%
 {\marginparsetup\raggedright\hspace{0pt}{#1}}}












Re: Bibliography does not print when using biblatex instead of bibtex

2015-07-02 Thread PhilipPirrip

On 07/02/2015 03:35 AM, Michael Berger wrote:

I hope some good guys will attend to this making the usage of biblatex
in LyX as easy as that of bibtex.



At least as a hack in the current code that will do this very same thing 
(biblatex with natbib compatibility) when biber is selected as a 
processor. Wishful thinking... :)





Re: Bibliography does not print when using biblatex instead of bibtex

2015-07-02 Thread PhilipPirrip

On 07/02/2015 03:35 AM, Michael Berger wrote:

I hope some good guys will attend to this making the usage of biblatex
in LyX as easy as that of bibtex.



At least as a hack in the current code that will do this very same thing 
(biblatex with natbib compatibility) when biber is selected as a 
processor. Wishful thinking... :)





Re: Bibliography does not print when using biblatex instead of bibtex

2015-07-02 Thread PhilipPirrip

On 07/02/2015 03:35 AM, Michael Berger wrote:

I hope some good guys will attend to this making the usage of biblatex
in LyX as easy as that of bibtex.



At least as a hack in the current code that will do this very same thing 
(biblatex with natbib compatibility) when biber is selected as a 
processor. Wishful thinking... :)





Re: Bibliography does not print when using biblatex instead of bibtex

2015-07-01 Thread PhilipPirrip

On 07/01/2015 09:43 AM, Michael Berger wrote:


thank you, I will check what you said - makes sense. However, if the
path to my bib-file is wrong, how can I cite references from it?


One of the possible reasons: machines never mistake, so when you browse 
for your .bib file through the dialogs, LyX gets the right path (or no 
path at all, if .lyx and .bib are in the same directory)





Re: Bibliography does not print when using biblatex instead of bibtex

2015-07-01 Thread PhilipPirrip

Hi Michael,
There's a lot going on in your example, but what's causing problems (if 
everything else worked before) might be just that you haven't set the 
path to your .bib file in the right way. Path names in Linux are case 
sensitive (yours begins with /Home, which is almost always /home), and 
there's probably user name missing (you have /Home/Documents, should 
probably be /home/michael/Documents).
So please first check this. Use pwd terminal command in the directory 
where your .bib file is, or check the path in the file browser (might 
only show when you press CTRL-L)
If your .lyx and .bib files are in the same directory, I'd suggest using 
this code in your preamble (just replace name_of_your_bib_file.bib)


\newcommand\mybibfile{name_of_your_bib_file.bib}
\ifcsname input@path\endcsname\else\def\input@path{{./}}\fi
\def\@@setabsolutebibname#1#2{\edef\@@absolutebibname{#1#2}}
\expandafter\@@setabsolutebibname\input@path{\mybibfile}
\addbibresource{\@@absolutebibname}

instead of \addbibresource{/Home/Documents/Arbeiten 
Mike/Hausarbeiten/MaHomex_Mike.bib}


This will make your project portable.

Good luck,
Pip



On 07/01/2015 03:59 AM, Michael Berger wrote:

On 06/30/2015 10:58 PM, PhilipPirrip wrote:



It worked for me on Fedora Linux, biber 1.8 + biblatex 2.8a. I used the
recipe from the same wiki page.


Attaching a working example, might help.



Hallo Philip,
your example file is working here as anticipated.
So, one may conclude the problem with my attached sample file
(bibliography not printed)  is NOT caused by shortcomings of LyX and
KBibtex but may have to do with my settings.

See attached files. I left the basic structure intact as it might be
significant towards the problem and you can see all my settings .
The paper is using most of special elements needed and typical in
linguistics.

Hence, you probably have to install other package(s), e.g. covington.sty

Thanks and regards,
Michael





Re: Bibliography does not print when using biblatex instead of bibtex

2015-07-01 Thread PhilipPirrip

On 07/01/2015 03:44 PM, Michael Berger wrote:

However, I also selected under Content all references and ticked Add
bibliography to TOC.



Yeah, but that's only for bibtex. Remember, we are only tricking LyX 
into thinking that it should provide us with the citation dialog.



Use this instead of \printbibliography

\nocite{*}
\printbibliography[heading=bibintoc]



Re: Bibliography does not print when using biblatex instead of bibtex

2015-07-01 Thread PhilipPirrip

Hi Michael,
There's a lot going on in your example, but what's causing problems (if 
everything else worked before) might be just that you haven't set the 
path to your .bib file in the right way. Path names in Linux are case 
sensitive (yours begins with /Home, which is almost always /home), and 
there's probably user name missing (you have /Home/Documents, should 
probably be /home/michael/Documents).
So please first check this. Use pwd terminal command in the directory 
where your .bib file is, or check the path in the file browser (might 
only show when you press CTRL-L)
If your .lyx and .bib files are in the same directory, I'd suggest using 
this code in your preamble (just replace name_of_your_bib_file.bib)


\newcommand\mybibfile{name_of_your_bib_file.bib}
\ifcsname input@path\endcsname\else\def\input@path{{./}}\fi
\def\@@setabsolutebibname#1#2{\edef\@@absolutebibname{#1#2}}
\expandafter\@@setabsolutebibname\input@path{\mybibfile}
\addbibresource{\@@absolutebibname}

instead of \addbibresource{/Home/Documents/Arbeiten 
Mike/Hausarbeiten/MaHomex_Mike.bib}


This will make your project portable.

Good luck,
Pip



On 07/01/2015 03:59 AM, Michael Berger wrote:

On 06/30/2015 10:58 PM, PhilipPirrip wrote:



It worked for me on Fedora Linux, biber 1.8 + biblatex 2.8a. I used the
recipe from the same wiki page.


Attaching a working example, might help.



Hallo Philip,
your example file is working here as anticipated.
So, one may conclude the problem with my attached sample file
(bibliography not printed)  is NOT caused by shortcomings of LyX and
KBibtex but may have to do with my settings.

See attached files. I left the basic structure intact as it might be
significant towards the problem and you can see all my settings .
The paper is using most of special elements needed and typical in
linguistics.

Hence, you probably have to install other package(s), e.g. covington.sty

Thanks and regards,
Michael





Re: Bibliography does not print when using biblatex instead of bibtex

2015-07-01 Thread PhilipPirrip

On 07/01/2015 09:43 AM, Michael Berger wrote:


thank you, I will check what you said - makes sense. However, if the
path to my bib-file is wrong, how can I cite references from it?


One of the possible reasons: machines never mistake, so when you browse 
for your .bib file through the dialogs, LyX gets the right path (or no 
path at all, if .lyx and .bib are in the same directory)





Re: Bibliography does not print when using biblatex instead of bibtex

2015-07-01 Thread PhilipPirrip

On 07/01/2015 03:44 PM, Michael Berger wrote:

However, I also selected under Content all references and ticked Add
bibliography to TOC.



Yeah, but that's only for bibtex. Remember, we are only tricking LyX 
into thinking that it should provide us with the citation dialog.



Use this instead of \printbibliography

\nocite{*}
\printbibliography[heading=bibintoc]



Re: Bibliography does not print when using biblatex instead of bibtex

2015-07-01 Thread PhilipPirrip

Hi Michael,
There's a lot going on in your example, but what's causing problems (if 
everything else worked before) might be just that you haven't set the 
path to your .bib file in the right way. Path names in Linux are case 
sensitive (yours begins with /Home, which is almost always /home), and 
there's probably user name missing (you have /Home/Documents, should 
probably be /home/michael/Documents).
So please first check this. Use "pwd" terminal command in the directory 
where your .bib file is, or check the path in the file browser (might 
only show when you press CTRL-L)
If your .lyx and .bib files are in the same directory, I'd suggest using 
this code in your preamble (just replace name_of_your_bib_file.bib)


\newcommand\mybibfile{name_of_your_bib_file.bib}
\ifcsname input@path\endcsname\else\def\input@path{{./}}\fi
\def\@@setabsolutebibname#1#2{\edef\@@absolutebibname{#1#2}}
\expandafter\@@setabsolutebibname\input@path{\mybibfile}
\addbibresource{\@@absolutebibname}

instead of \addbibresource{/Home/Documents/Arbeiten 
Mike/Hausarbeiten/MaHomex_Mike.bib}


This will make your project portable.

Good luck,
Pip



On 07/01/2015 03:59 AM, Michael Berger wrote:

On 06/30/2015 10:58 PM, PhilipPirrip wrote:



It worked for me on Fedora Linux, biber 1.8 + biblatex 2.8a. I used the
recipe from the same wiki page.


Attaching a working example, might help.



Hallo Philip,
your example file is working here as anticipated.
So, one may conclude the problem with my attached sample file
(bibliography not printed)  is NOT caused by shortcomings of LyX and
KBibtex but may have to do with my settings.

See attached files. I left the basic structure intact as it might be
significant towards the problem and you can see all my settings .
The paper is using most of special elements needed and typical in
linguistics.

Hence, you probably have to install other package(s), e.g. covington.sty

Thanks and regards,
Michael





Re: Bibliography does not print when using biblatex instead of bibtex

2015-07-01 Thread PhilipPirrip

On 07/01/2015 09:43 AM, Michael Berger wrote:


thank you, I will check what you said - makes sense. However, if the
path to my bib-file is wrong, how can I cite references from it?


One of the possible reasons: machines never mistake, so when you browse 
for your .bib file through the dialogs, LyX gets the right path (or no 
path at all, if .lyx and .bib are in the same directory)





Re: Bibliography does not print when using biblatex instead of bibtex

2015-07-01 Thread PhilipPirrip

On 07/01/2015 03:44 PM, Michael Berger wrote:

However, I also selected under Content "all references" and ticked "Add
bibliography to TOC".



Yeah, but that's only for bibtex. Remember, we are only tricking LyX 
into thinking that it should provide us with the citation dialog.



Use this instead of \printbibliography

\nocite{*}
\printbibliography[heading=bibintoc]



Re: Bibliography does not print when using biblatex instead of bibtex

2015-06-30 Thread PhilipPirrip



It worked for me on Fedora Linux, biber 1.8 + biblatex 2.8a. I used the
recipe from the same wiki page.


Attaching a working example, might help.




@BOOK{monroe:1955,
  title = {{R}adio {O}n},
  publisher = {Addison--Wesley},
  year = {1955},
  author = {Marilyn Monroe},
  address = {Los Angeles, CA, USA}
}




MM_biblatex.lyx
Description: application/lyx


Re: Bibliography does not print when using biblatex instead of bibtex

2015-06-30 Thread PhilipPirrip

On 06/30/2015 05:19 AM, Michael Berger wrote:

Dear Friends of LyX,
I used bibtex in various documentswith single and sectioned
bibliographies and that worked without problems.
Then I decided to try using biblatex on one of these documents and found
Using biblatex with LyX in wiki.lyx.org/Bibtex/Biblatex.
I followed this guide step by step but neither shows thebibliography in
the text nor in PDf nor does it print.

I am using:
openSUSE 13.2, KDE
LyX 2.1.2
my collection of references is managed in KBibTeX version 0.5.1


A minimal (non)working example would definitely help here: a short .lyx 
file and accompanying .bib.
It worked for me on Fedora Linux, biber 1.8 + biblatex 2.8a. I used the 
recipe from the same wiki page.




Re: Bibliography does not print when using biblatex instead of bibtex

2015-06-30 Thread PhilipPirrip



It worked for me on Fedora Linux, biber 1.8 + biblatex 2.8a. I used the
recipe from the same wiki page.



Attaching a working example, might help.



@BOOK{monroe:1955,
  title = {{R}adio {O}n},
  publisher = {Addison--Wesley},
  year = {1955},
  author = {Marilyn Monroe},
  address = {Los Angeles, CA, USA}
}




MM-biblatex.lyx
Description: application/lyx


Re: Bibliography does not print when using biblatex instead of bibtex

2015-06-30 Thread PhilipPirrip

On 06/30/2015 05:19 AM, Michael Berger wrote:

Dear Friends of LyX,
I used bibtex in various documentswith single and sectioned
bibliographies and that worked without problems.
Then I decided to try using biblatex on one of these documents and found
Using biblatex with LyX in wiki.lyx.org/Bibtex/Biblatex.
I followed this guide step by step but neither shows thebibliography in
the text nor in PDf nor does it print.

I am using:
openSUSE 13.2, KDE
LyX 2.1.2
my collection of references is managed in KBibTeX version 0.5.1


A minimal (non)working example would definitely help here: a short .lyx 
file and accompanying .bib.
It worked for me on Fedora Linux, biber 1.8 + biblatex 2.8a. I used the 
recipe from the same wiki page.




Re: Bibliography does not print when using biblatex instead of bibtex

2015-06-30 Thread PhilipPirrip



It worked for me on Fedora Linux, biber 1.8 + biblatex 2.8a. I used the
recipe from the same wiki page.



Attaching a working example, might help.



@BOOK{monroe:1955,
  title = {{R}adio {O}n},
  publisher = {Addison--Wesley},
  year = {1955},
  author = {Marilyn Monroe},
  address = {Los Angeles, CA, USA}
}




MM-biblatex.lyx
Description: application/lyx


Re: Bibliography does not print when using biblatex instead of bibtex

2015-06-30 Thread PhilipPirrip



It worked for me on Fedora Linux, biber 1.8 + biblatex 2.8a. I used the
recipe from the same wiki page.


Attaching a working example, might help.




@BOOK{monroe:1955,
  title = {{R}adio {O}n},
  publisher = {Addison--Wesley},
  year = {1955},
  author = {Marilyn Monroe},
  address = {Los Angeles, CA, USA}
}




MM_biblatex.lyx
Description: application/lyx


Re: Bibliography does not print when using biblatex instead of bibtex

2015-06-30 Thread PhilipPirrip

On 06/30/2015 05:19 AM, Michael Berger wrote:

Dear Friends of LyX,
I used bibtex in various documentswith single and sectioned
bibliographies and that worked without problems.
Then I decided to try using biblatex on one of these documents and found
"Using biblatex with LyX" in wiki.lyx.org/Bibtex/Biblatex.
I followed this guide step by step but neither shows thebibliography in
the text nor in PDf nor does it print.

I am using:
openSUSE 13.2, KDE
LyX 2.1.2
my collection of references is managed in KBibTeX version 0.5.1


A minimal (non)working example would definitely help here: a short .lyx 
file and accompanying .bib.
It worked for me on Fedora Linux, biber 1.8 + biblatex 2.8a. I used the 
recipe from the same wiki page.




Re: Bibliography does not print when using biblatex instead of bibtex

2015-06-30 Thread PhilipPirrip



It worked for me on Fedora Linux, biber 1.8 + biblatex 2.8a. I used the
recipe from the same wiki page.



Attaching a working example, might help.



@BOOK{monroe:1955,
  title = {{R}adio {O}n},
  publisher = {Addison--Wesley},
  year = {1955},
  author = {Marilyn Monroe},
  address = {Los Angeles, CA, USA}
}




MM-biblatex.lyx
Description: application/lyx


Re: Bibliography does not print when using biblatex instead of bibtex

2015-06-30 Thread PhilipPirrip



It worked for me on Fedora Linux, biber 1.8 + biblatex 2.8a. I used the
recipe from the same wiki page.


Attaching a working example, might help.




@BOOK{monroe:1955,
  title = {{R}adio {O}n},
  publisher = {Addison--Wesley},
  year = {1955},
  author = {Marilyn Monroe},
  address = {Los Angeles, CA, USA}
}




MM_biblatex.lyx
Description: application/lyx


Re: problems after including a pdf figure

2014-07-23 Thread PhilipPirrip
Tell us how to reproduce the problem. Start with the document class 
you're using. Show us the preamble of the document with and without the 
pdf figure (Export-podflatex could help). Try to make a minimal 
(non)working example.




Re: problems after including a pdf figure

2014-07-23 Thread PhilipPirrip
Tell us how to reproduce the problem. Start with the document class 
you're using. Show us the preamble of the document with and without the 
pdf figure (Export-podflatex could help). Try to make a minimal 
(non)working example.




Re: problems after including a pdf figure

2014-07-23 Thread PhilipPirrip
Tell us how to reproduce the problem. Start with the document class 
you're using. Show us the preamble of the document with and without the 
pdf figure (Export->podflatex could help). Try to make a minimal 
(non)working example.




Re: Greek and degree-sign characters in listing

2014-07-01 Thread PhilipPirrip

On 07/01/2014 04:10 AM, Alexander Berg wrote:


What i am doing wrong and how can i fix it?


Minimal example files could help us help you.




Re: Greek and degree-sign characters in listing

2014-07-01 Thread PhilipPirrip

On 07/01/2014 04:10 AM, Alexander Berg wrote:


What i am doing wrong and how can i fix it?


Minimal example files could help us help you.




Re: Greek and degree-sign characters in listing

2014-07-01 Thread PhilipPirrip

On 07/01/2014 04:10 AM, Alexander Berg wrote:


What i am doing wrong and how can i fix it?


Minimal example files could help us help you.




Re: Thesis formatting

2014-06-09 Thread PhilipPirrip
Remember that the commands in LaTeX are just macros, they collect any 
text and expand it where needed.


What you need is a command in the preamble of your LyX document of this 
kind:


\degree{Master of Science\\ \vspace{\baselineskip} in\\ 
\vspace{\baselineskip} Nuclear Engineering}



As I said, commands containing a @ have only been made for internal 
class use, they are not in user space.




Re: Thesis formatting

2014-06-09 Thread PhilipPirrip
Remember that the commands in LaTeX are just macros, they collect any 
text and expand it where needed.


What you need is a command in the preamble of your LyX document of this 
kind:


\degree{Master of Science\\ \vspace{\baselineskip} in\\ 
\vspace{\baselineskip} Nuclear Engineering}



As I said, commands containing a @ have only been made for internal 
class use, they are not in user space.




Re: Thesis formatting

2014-06-09 Thread PhilipPirrip
Remember that the commands in LaTeX are just macros, they collect any 
text and expand it where needed.


What you need is a command in the preamble of your LyX document of this 
kind:


\degree{Master of Science\\ \vspace{\baselineskip} in\\ 
\vspace{\baselineskip} Nuclear Engineering}



As I said, commands containing a @ have only been made for internal 
class use, they are not in user space.




Re: Thesis formatting

2014-06-04 Thread PhilipPirrip
It's hard to guess what you're supposed to have without knowing anything 
about your latex class.
What's obvious from the excerpt you've given is that \@degree is meant 
to be an internal command of the class (because of the @). There must be 
some part of the class file that fills the \@degree command with user's 
data.


Where can we find the class file?




Re: Thesis formatting

2014-06-04 Thread PhilipPirrip
It's hard to guess what you're supposed to have without knowing anything 
about your latex class.
What's obvious from the excerpt you've given is that \@degree is meant 
to be an internal command of the class (because of the @). There must be 
some part of the class file that fills the \@degree command with user's 
data.


Where can we find the class file?




Re: Thesis formatting

2014-06-04 Thread PhilipPirrip
It's hard to guess what you're supposed to have without knowing anything 
about your latex class.
What's obvious from the excerpt you've given is that \@degree is meant 
to be an internal command of the class (because of the @). There must be 
some part of the class file that fills the \@degree command with user's 
data.


Where can we find the class file?




Re: Thesis formatting

2014-06-03 Thread PhilipPirrip

Use
Insert  Formatting  Vertical space instead of just adding empty lines.
Then, VFill is a stretchable vertical space that could help you keep the 
things on one page.




Re: Thesis formatting

2014-06-03 Thread PhilipPirrip

Use
Insert  Formatting  Vertical space instead of just adding empty lines.
Then, VFill is a stretchable vertical space that could help you keep the 
things on one page.




Re: Thesis formatting

2014-06-03 Thread PhilipPirrip

Use
Insert > Formatting > Vertical space instead of just adding empty lines.
Then, VFill is a stretchable vertical space that could help you keep the 
things on one page.




Re: vector graphics badly pixelated when creating pdf with pdflatex under Linux Mint 16. Everything works perfectly under Windows XP.

2014-04-11 Thread PhilipPirrip
If you're producing a pdf, why don't you export your pictures as pdf to 
start with?




Re: vector graphics badly pixelated when creating pdf with pdflatex under Linux Mint 16. Everything works perfectly under Windows XP.

2014-04-11 Thread PhilipPirrip
If you're producing a pdf, why don't you export your pictures as pdf to 
start with?




Re: vector graphics badly pixelated when creating pdf with pdflatex under Linux Mint 16. Everything works perfectly under Windows XP.

2014-04-11 Thread PhilipPirrip
If you're producing a pdf, why don't you export your pictures as pdf to 
start with?




Re: new warning about missing cls file in LyX 2.0.7 annoying

2014-02-26 Thread PhilipPirrip

On 02/26/2014 12:57 AM, Paul Johnson wrote:

Hey, developers. Can you make LyX look in the current working directory
for class files and turn off the warnings the pop up with LyX 2.0.7? Please?



Your thesis-ku.lyx (master document) begins with
\lyxformat 413
\begin_document
\begin_header
\textclass kuthesiss   


Obviously LyX doesn't know anything about the path to your 
kuthesis.layout file, which is in ./stylefiles.

It will only look for it in the root folder, where thesis-ku.lyx is.

Putting kuthesis.layout there solves the problem, at least for me (Linux).






Re: new warning about missing cls file in LyX 2.0.7 annoying

2014-02-26 Thread PhilipPirrip

On 02/26/2014 11:40 AM, Richard Heck wrote:

The issue, as I understand it, concerns the fact that the *class file*,
kuthesis.cls, is also in the current directory, and so LyX does not know
about it.


I checked two zip files at:
http://pj.freefaculty.org/guides/Computing-HOWTO/



  1   2   3   4   >