Re: Cannot find control file (.bcf)

2014-04-05 Thread Jürgen Spitzmüller
I do not understand if you actually want to use biblatex/biber or
traditional bibtex. If the latter, make sure your bibliography processor in
Tools > Settings > Output > LaTeX or at least in Document > Settings >
Bibliography is "bibtex" or "bibtex8". If you want to use biblatex instead,
first read this: http://wiki.lyx.org/BibTeX/Biblatex

HTH
Jürgen


Re: Cannot find control file (.bcf)

2014-04-05 Thread Bernd Kappenberg

Am 05.04.2014 09:48, schrieb Jürgen Spitzmüller:


I do not understand if you actually want to use biblatex/biber or 
traditional bibtex. If the latter, make sure your bibliography 
processor in Tools > Settings > Output > LaTeX or at least in Document 
> Settings > Bibliography is "bibtex" or "bibtex8". If you want to use 
biblatex instead, first read this: http://wiki.lyx.org/BibTeX/Biblatex


HTH
Jürgen

I followed the instuctions on http://wiki.lyx.org/BibTeX/Biblatex, but 
now it says "Undefined control sequence" (something in the language 
settings?).


Regards,
Bernd
#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage{biblatex}
%[style=nature,backend=biber]

\addbibresource{dta-3.bib}
% .bib wichtig!
\end_preamble
\use_default_options true
\begin_modules
biblatex
\end_modules
\maintain_unincluded_children false
\language ngerman
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine natbib
\cite_engine_type numerical
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language german
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
LyX
\end_layout

\begin_layout Standard
\begin_inset Note Note
status open

\begin_layout Plain Layout
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles "biblatex-examples"
options "plain"

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
printbibliography
\end_layout

\end_inset


\end_layout

\end_body
\end_document


Re: Cannot find control file (.bcf)

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 12:10 GMT+02:00 Bernd Kappenberg :

>
> I followed the instuctions on http://wiki.lyx.org/BibTeX/Biblatex, but
> now it says "Undefined control sequence" (something in the language
> settings?).
>

You need to provide more information (the full error message at least).
Your file works here.

Jürgen


>
> Regards,
> Bernd
>


Re: Cannot find control file (.bcf)

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 13:20 GMT+02:00 Bernd Kappenberg:

>  ! Undefined control sequence.
>  blx@lng@\bbl@main@language
>

This looks like a mismatch of polyglossia and biblatex. It might be a
problem in your setting/distribution (the file compiles fine for me with
XeTeX).

Does it work if you use pdflatex instead of XeTeX?

Jürgen


Re: Cannot find control file (.bcf)

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 13:34 GMT+02:00 Jürgen Spitzmüller:

> 2014-04-05 13:20 GMT+02:00 Bernd Kappenberg:
>
>  ! Undefined control sequence.
>>  blx@lng@\bbl@main@language
>>
>
> This looks like a mismatch of polyglossia and biblatex. It might be a
> problem in your setting/distribution (the file compiles fine for me with
> XeTeX).
>
> Does it work if you use pdflatex instead of XeTeX?
>

Wait, I think I know what's happening. Biblatex needs to detect whether
babel or polyglossia is used, but LyX loads polyglossia after the user
preamble, too late for biblatex detection.

Does it help if you write

\usepackage{polyglossia}

just before the \usepackage{biblatex} line?

Jürgen


>
> Jürgen
>


Re: How to get cropped PDF graphic on the clipboard

2014-04-05 Thread Liviu Andronic
On Thu, Apr 3, 2014 at 10:53 PM, Scott Kostyshak  wrote:
> On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic  wrote:
>
>> One idea would be to use a commandline utility that allows copying
>> image files to the clipboard, and create a new converter from
>> PDF(cropped) towards this utility. But so far I couldn't find anything
>> for Linux, let alone cross-platform. Otherwise, I'm wondering if we
>> have an LFUN that would provide this functionality. But I'm not sure
>> how exactly that could work.
>
> Good idea Liviu. I recommend CopyQ if you want to implement this. It
> works great on Linux, supposedly works on Windows, and support is
> experimental on OS X 10.9+. The author of CopyQ is extremely
> responsive to features and bug reports (he implemented a feature that
> I'm pretty sure only I use, just for me). This is one of the best
> clipboard managers out there (although note the focus is on features
> over lightweight) but it is not well known.
>
> To put an image on the clipboard, you can do e.g.
> copyq write image/svg - < image.svg
>
This looks very promising (although this is one seriously complicated
clipboard manager). But I'm a bit lost as to how it works. Copy/paste
text is a bit slow but works fine (v 2.0.1 on Xubuntu 12.04). But for
images or pdf, I need to proceed as follows:
copyq write image/png - < newfile2.png

then I need to open CopyQ, select the item labeled 0, then hit the
Move to Clipboard button. Now ctrl+v in LyX will paste the image (but
this doesn't seem to work in LibO, though).

This can't be that complicated. Am I doing something wrong?

Liviu


> For more info, see
> https://github.com/hluk/CopyQ
>
> To install, I believe it's a simple
> cmake .
> make
> sudo make install
>
> First you must have dependencies. See the INSTALL file for explicit
> instructions for which packages you need for Ubuntu. Let me know if
> you want help with anything.
>
> Best,
>
> Scott



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Cannot find control file (.bcf)

2014-04-05 Thread Bernd Kappenberg



2014-04-05 13:20 GMT+02:00 Bernd Kappenberg:

! Undefined control sequence.
 blx@lng@\bbl@main@language


This looks like a mismatch of polyglossia and biblatex. It might
be a problem in your setting/distribution (the file compiles fine
for me with XeTeX).

Does it work if you use pdflatex instead of XeTeX?



No :(



Wait, I think I know what's happening. Biblatex needs to detect 
whether babel or polyglossia is used, but LyX loads polyglossia after 
the user preamble, too late for biblatex detection.


Does it help if you write

\usepackage{polyglossia}

just before the \usepackage{biblatex} line?


Also no :(

But I found out it works if you set the language package from "standard" 
to "automatic"!


Now it compiles... but does not contain any citations:

14:09:26.181: Generiere Vorschau ...

14:09:26.268: (buffer-view pdf4)

14:09:26.341: xelatex "Neues_Dokument2.tex"

14:09:26.408: This is XeTeX, Version 3.1415926-2.5-0..3 (MiKTeX 2.9)

14:09:26.558: entering extended mode

14:09:26.558:

14:09:26.559: 
(C:\Users\Bernd\AppData\Local\Temp\lyx_tmpdir.uztkiviWM284\lyx_tmpbuf0\Neues_Do


14:09:26.559: kument2.tex

14:09:26.561: LaTeX2e <2011/06/27>

14:09:26.561: Babel  and hyphenation patterns for english, 
afrikaans, ancientgreek, ba


14:09:26.562: sque, bokmal, bulgarian, catalan, croatian, czech, danish, 
dutch, esperanto, es


14:09:26.563: tonian, finnish, french, galician, german, 
german-x-2013-05-26, greek, hungaria


14:09:26.564: n, icelandic, irish, italian, kurmanji, latin, latvian, 
lithuanian, monogreek,


14:09:26.564: ngerman, ngerman-x-2013-05-26, nynorsk, polish, 
portuguese, romanian, russian,


14:09:26.565: serbian, slovak, slovenian, spanish, ukenglish, 
usenglishmax, loaded.


14:09:26.566:

14:09:27.072:

14:09:27.073: ** WARNING ** Couldn't open font map file "kanjix.map".

14:09:27.130: biber "Neues_Dokument2"

14:09:28.574: INFO - This is Biber 1.8

14:09:28.575: INFO - Logfile is 'Neues_Dokument2.blg'

14:09:28.576: INFO - Reading 'Neues_Dokument2.bcf'

14:09:28.577: INFO - Found 0 citekeys in bib section 0

14:09:28.578: WARN - The file 'Neues_Dokument2.bcf' does not contain any 
citations!


14:09:28.578: INFO - Writing 'Neues_Dokument2.bbl' with encoding 'UTF-8'

14:09:28.579: INFO - Output to Neues_Dokument2.bbl

14:09:28.580: INFO - WARNINGS: 1

14:09:28.590: xelatex "Neues_Dokument2.tex"

14:09:28.623: This is XeTeX, Version 3.1415926-2.5-0..3 (MiKTeX 2.9)

14:09:28.773: entering extended mode

14:09:28.774:

14:09:28.775: 
(C:\Users\Bernd\AppData\Local\Temp\lyx_tmpdir.uztkiviWM284\lyx_tmpbuf0\Neues_Do


14:09:28.776: kument2.tex

14:09:28.776: LaTeX2e <2011/06/27>

14:09:28.777: Babel  and hyphenation patterns for english, 
afrikaans, ancientgreek, ba


14:09:28.778: sque, bokmal, bulgarian, catalan, croatian, czech, danish, 
dutch, esperanto, es


14:09:28.779: tonian, finnish, french, galician, german, 
german-x-2013-05-26, greek, hungaria


14:09:28.780: n, icelandic, irish, italian, kurmanji, latin, latvian, 
lithuanian, monogreek,


14:09:28.780: ngerman, ngerman-x-2013-05-26, nynorsk, polish, 
portuguese, romanian, russian,


14:09:28.781: serbian, slovak, slovenian, spanish, ukenglish, 
usenglishmax, loaded.


14:09:28.782:

14:09:29.280:

14:09:29.280: ** WARNING ** Couldn't open font map file "kanjix.map".

14:09:29.331: pdfview "Neues_Dokument2.pdf"

14:09:29.331: Erfolgreiche Vorschau des Formats PDF (XeTeX)


Regards,
Bernd


koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Csikos Bela
Hello:

This is only a report of a misbehavior so that lyx user (and possibly 
developers) would be aware of it.

Lyx (both 2.0.x and 2.1.0rc1) numbers koma book class sections consecutively 
disregarding \frontmatter and \mainmatter.

This results in a difference between section numbers in lyx interface and the 
pdf output.
For example if the document has 2 sections in the front matter and 5 in the 
main matter,
in lyx these are numbered from 1 to 7. In the pdf output the sections in the 
front matter are not numbered and the the sections in the main matter are 
numbered from 1 to 5.
This makes identifying text locations and editing/correcting the text difficult 
occasionally.

bcsikos425




Re: Cannot find control file (.bcf)

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 14:15 GMT+02:00 Bernd Kappenberg:

> But I found out it works if you set the language package from "standard"
> to "automatic"!
>

What language package do you have set in Tools > Preferences > Language
Settings > Language?


>
> Now it compiles... but does not contain any citations:
>

No surprise. At least the example file you sent me does not contains any
citations. Or did you inserted any in your copy?

Jürgen


>
> Regards,
> Bernd
>


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 14:50 GMT+02:00 Csikos Bela:

> This is only a report of a misbehavior so that lyx user (and possibly
> developers) would be aware of it.
>
> Lyx (both 2.0.x and 2.1.0rc1) numbers koma book class sections
> consecutively disregarding \frontmatter and \mainmatter.
>

How do you insert \frontmatter and \mainmatter? AFAIK the LyX KOMA layouts
do not natively support these yet.

Jürgen


Re: How to get cropped PDF graphic on the clipboard

2014-04-05 Thread Scott Kostyshak
On Sat, Apr 5, 2014 at 8:12 AM, Liviu Andronic  wrote:
> On Thu, Apr 3, 2014 at 10:53 PM, Scott Kostyshak  wrote:
>> On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic  
>> wrote:
>>
>>> One idea would be to use a commandline utility that allows copying
>>> image files to the clipboard, and create a new converter from
>>> PDF(cropped) towards this utility. But so far I couldn't find anything
>>> for Linux, let alone cross-platform. Otherwise, I'm wondering if we
>>> have an LFUN that would provide this functionality. But I'm not sure
>>> how exactly that could work.
>>
>> Good idea Liviu. I recommend CopyQ if you want to implement this. It
>> works great on Linux, supposedly works on Windows, and support is
>> experimental on OS X 10.9+. The author of CopyQ is extremely
>> responsive to features and bug reports (he implemented a feature that
>> I'm pretty sure only I use, just for me). This is one of the best
>> clipboard managers out there (although note the focus is on features
>> over lightweight) but it is not well known.
>>
>> To put an image on the clipboard, you can do e.g.
>> copyq write image/svg - < image.svg
>>
> This looks very promising (although this is one seriously complicated
> clipboard manager).

Yes, it is heavy and more complicated. If you want a lightweight and
quick clipboard manager, this is not for you. If you want one that you
can do whatever you want with and have a little time to spend to learn
it, it should be considered.

> But I'm a bit lost as to how it works. Copy/paste
> text is a bit slow but works fine (v 2.0.1 on Xubuntu 12.04).

Strange. I do not notice the "bit slow". Perhaps I just got used to
it, but I don't remember that. Slow in what? After you type copy c you
see a pause? or after copy v? Or after one of the commands we're
talking about?

> But for
> images or pdf, I need to proceed as follows:
> copyq write image/png - < newfile2.png
> then I need to open CopyQ, select the item labeled 0, then hit the
> Move to Clipboard button.

Try copyq write image/png - < newfile2.png && copyq select 0

> Now ctrl+v in LyX will paste the image (but
> this doesn't seem to work in LibO, though).

LibO must not handle image/png (perhaps this should be requested of LibO).
LibO does seem to handle image/bmp

So do
convert newfile2.png convert newfile2.bmp
copyq write image/bmp - < newfile2.bmp && copyq select 0

Now it will paste into LibO.

By the way, how did I find out that bmp will work? I copied an image
in Chromium by right-clicking and going to "copy image".
I then tried to paste it in LibO. It worked. I opened up CopyQ (by
clicking on show/hide in the tray icon). I right-clicked on the
picture item (which should display as an actual picture) and clicked
on "Show Content". Then in the left column under "Formats" you will
see all of the MIME types. These are all of the types that LibO can
choose from when it receives a paste. I guessed that it went for the
bmp.

If you have any other questions, consider the CopyQ google group:
https://groups.google.com/forum/#!forum/copyq
It looks lonely there but that's just because no one is asking
questions. When someone does, Lukas is very quick.

Scott


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:


How do you insert \frontmatter and \mainmatter? AFAIK the LyX KOMA layouts
do not natively support these yet.


Jürgen,

  They need to be manually added in ERT boxes.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: Where the error message shows up

2014-04-05 Thread Richard Heck
On 04/04/2014 05:05 PM, Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك 
نورونيا wrote:
Can someone help and instruct me on this, or kindly see if there's a 
bug in the software?


I made a mistake in adding an entry into the Table Of Contents.
Instead of writing
\addcontentsline{toc}{subsection}{Institutional repositories}
I wrote
\addcontentsline{toc}{Institutional repositories}

The {subsection} was missing, so it was my error and the software got 
understandably confused!


But here is the problem --

When the error message came, it started to point to all different 
sections of the text. Not the relevant one.


Why was this happening? Can this be sharpened, pls? FN


This is a LaTeX issue, I would suppose. LaTeX often gives very confusing 
messages. In this case, it would have tried to treat "Institutional 
repositories" as the name of section-type.


Richard



Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Richard Heck

On 04/05/2014 10:54 AM, Rich Shepard wrote:

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:

How do you insert \frontmatter and \mainmatter? AFAIK the LyX KOMA 
layouts

do not natively support these yet.


Jürgen,

  They need to be manually added in ERT boxes.


In that case LyX knows nothing about it, so the reported behavior is not 
surprising.


Richard



Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Richard Heck wrote:


In that case LyX knows nothing about it, so the reported behavior is not
surprising.


Richard,

  Furthermore, I discovered in the current book I'm writing that I do not
need to explicitly enter \frontmatter. I put everything I want there, and
following the ToC and other lists I add \mainmatter and set the page
numbering. It's working for me.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 17:07 GMT+02:00 Rich Shepard:

> Furthermore, I discovered in the current book I'm writing that I do not
> need to explicitly enter \frontmatter. I put everything I want there, and
> following the ToC and other lists I add \mainmatter and set the page
> numbering. It's working for me.
>

However, note that you get roman page numbering before the mainmatter only
if you actually use \frontmatter.

Jürgen


Re: Where the error message shows up

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 16:59 GMT+02:00 Richard Heck :

>
> Why was this happening? Can this be sharpened, pls? FN
>>
>
> This is a LaTeX issue, I would suppose. LaTeX often gives very confusing
> messages. In this case, it would have tried to treat "Institutional
> repositories" as the name of section-type.
>

I think Frederick's point was that LyX's error dialog does not select the
ERT where this error is being made, but some other parts of the document.

However, I cannot reproduce this. I made a small test file, and the ERT was
precisely selected. So we'd need an example document that shows the problem.

Jürgen


>
> Richard
>
>


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:


However, note that you get roman page numbering before the mainmatter only
if you actually use \frontmatter.


Jürgen,

  I define:

\pagenumbering{roman}
\setcounter{page}{1}
\pagestyle{headings}

without explicitly writing \frontmatter.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 17:48 GMT+02:00 Rich Shepard:

> Jürgen,
>
>   I define:
>
> \pagenumbering{roman}
> \setcounter{page}{1}
> \pagestyle{headings}
>
> without explicitly writing \frontmatter.


Of course you can do that, but

\frontmatter

is shorter. After all, \frontmatter is but a shortcut to

\clearpage
\pagenumbering{roman}
\setcounter{page}{1}

Jürgen


Re: koma script book (scrbook) class section numbering in lyx 2.0.x and 2.1.0rc1

2014-04-05 Thread Rich Shepard

On Sat, 5 Apr 2014, Jürgen Spitzmüller wrote:


After all, \frontmatter is but a shortcut to

\clearpage
\pagenumbering{roman}
\setcounter{page}{1}


Jürgen,

  Thank you. I did not know that.

Carpe weekend,

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
www.appl-ecosys.com  Voice: 503-667-4517 Fax: 503-667-8863


Re: How to get cropped PDF graphic on the clipboard

2014-04-05 Thread Liviu Andronic
On Sat, Apr 5, 2014 at 4:35 PM, Scott Kostyshak  wrote:
> On Sat, Apr 5, 2014 at 8:12 AM, Liviu Andronic  wrote:
>> On Thu, Apr 3, 2014 at 10:53 PM, Scott Kostyshak  wrote:
>>> On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic  
>>> wrote:
>>>
 One idea would be to use a commandline utility that allows copying
 image files to the clipboard, and create a new converter from
 PDF(cropped) towards this utility. But so far I couldn't find anything
 for Linux, let alone cross-platform. Otherwise, I'm wondering if we
 have an LFUN that would provide this functionality. But I'm not sure
 how exactly that could work.
>>>
>>> Good idea Liviu. I recommend CopyQ if you want to implement this. It
>>> works great on Linux, supposedly works on Windows, and support is
>>> experimental on OS X 10.9+. The author of CopyQ is extremely
>>> responsive to features and bug reports (he implemented a feature that
>>> I'm pretty sure only I use, just for me). This is one of the best
>>> clipboard managers out there (although note the focus is on features
>>> over lightweight) but it is not well known.
>>>
>>> To put an image on the clipboard, you can do e.g.
>>> copyq write image/svg - < image.svg
>>>
>> This looks very promising (although this is one seriously complicated
>> clipboard manager).
>
> Yes, it is heavy and more complicated. If you want a lightweight and
> quick clipboard manager, this is not for you. If you want one that you
> can do whatever you want with and have a little time to spend to learn
> it, it should be considered.
>
>> But I'm a bit lost as to how it works. Copy/paste
>> text is a bit slow but works fine (v 2.0.1 on Xubuntu 12.04).
>
> Strange. I do not notice the "bit slow". Perhaps I just got used to
> it, but I don't remember that. Slow in what? After you type copy c you
> see a pause? or after copy v? Or after one of the commands we're
> talking about?
>
After the 'v', but maybe it's just my system swapping.


>> But for
>> images or pdf, I need to proceed as follows:
>> copyq write image/png - < newfile2.png
>> then I need to open CopyQ, select the item labeled 0, then hit the
>> Move to Clipboard button.
>
> Try copyq write image/png - < newfile2.png && copyq select 0
>
Aha! So that's how it's done. Then 'v' works fine in LyX. But also in
Gimp and mtPaint. Cool.


>> Now ctrl+v in LyX will paste the image (but
>> this doesn't seem to work in LibO, though).
>
> LibO must not handle image/png (perhaps this should be requested of LibO).
> LibO does seem to handle image/bmp
>
> So do
> convert newfile2.png convert newfile2.bmp
> copyq write image/bmp - < newfile2.bmp && copyq select 0
>
> Now it will paste into LibO.
>
Oh, nice to know. (And how strange of LibO!)


> By the way, how did I find out that bmp will work?
>
Not smoothly. :) I ended up with a black box in LibO.

Thanks,
Liviu

> I copied an image
> in Chromium by right-clicking and going to "copy image".
> I then tried to paste it in LibO. It worked. I opened up CopyQ (by
> clicking on show/hide in the tray icon). I right-clicked on the
> picture item (which should display as an actual picture) and clicked
> on "Show Content". Then in the left column under "Formats" you will
> see all of the MIME types. These are all of the types that LibO can
> choose from when it receives a paste. I guessed that it went for the
> bmp.
>
> If you have any other questions, consider the CopyQ google group:
> https://groups.google.com/forum/#!forum/copyq
> It looks lonely there but that's just because no one is asking
> questions. When someone does, Lukas is very quick.
>
> Scott



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: How to get cropped PDF graphic on the clipboard

2014-04-05 Thread Scott Kostyshak
On Sat, Apr 5, 2014 at 12:24 PM, Liviu Andronic  wrote:

>> By the way, how did I find out that bmp will work?
>>
> Not smoothly. :) I ended up with a black box in LibO.

Strange, works for me. I have version 4.1.3.
It actually appears that LibO prefers either the text/uri-list or text/html.
In any case, this is a LibO issue in my opinion. I'd be curious to see
what they say if you end up reporting this.

Scott


Re: How to get cropped PDF graphic on the clipboard

2014-04-05 Thread Liviu Andronic
On Sat, Apr 5, 2014 at 6:34 PM, Scott Kostyshak  wrote:
> On Sat, Apr 5, 2014 at 12:24 PM, Liviu Andronic  
> wrote:
>
>>> By the way, how did I find out that bmp will work?
>>>
>> Not smoothly. :) I ended up with a black box in LibO.
>
> Strange, works for me. I have version 4.1.3.
> It actually appears that LibO prefers either the text/uri-list or text/html.
> In any case, this is a LibO issue in my opinion. I'd be curious to see
> what they say if you end up reporting this.
>
I now tried to set up a converter in LyX, but it didn't quite go to plan:
#
# FORMATS SECTION ##
#

\format "copyq1" "" "CopyQ (PDF)" "" "" "" "document,menu=export" ""

#
# CONVERTERS SECTION ##
#

\converter "pdf7" "copyq1" "copyq write application/pdf - < $$i &&
copyq select 0" ""

I'm not sure what's wrong. CopyQ (PDF) wouldn't appear in the menus,
and seemed to fail when activated manually. I'm not sure that our
converters are designed to deal with something like this.

Liviu


> Scott



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: How to get cropped PDF graphic on the clipboard

2014-04-05 Thread Scott Kostyshak
On Sat, Apr 5, 2014 at 12:36 PM, Liviu Andronic  wrote:
> On Sat, Apr 5, 2014 at 6:34 PM, Scott Kostyshak  wrote:
>> On Sat, Apr 5, 2014 at 12:24 PM, Liviu Andronic  
>> wrote:
>>
 By the way, how did I find out that bmp will work?

>>> Not smoothly. :) I ended up with a black box in LibO.
>>
>> Strange, works for me. I have version 4.1.3.
>> It actually appears that LibO prefers either the text/uri-list or text/html.
>> In any case, this is a LibO issue in my opinion. I'd be curious to see
>> what they say if you end up reporting this.
>>
> I now tried to set up a converter in LyX, but it didn't quite go to plan:
> #
> # FORMATS SECTION ##
> #
>
> \format "copyq1" "" "CopyQ (PDF)" "" "" "" "document,menu=export" ""
>
> #
> # CONVERTERS SECTION ##
> #
>
> \converter "pdf7" "copyq1" "copyq write application/pdf - < $$i &&
> copyq select 0" ""
>
> I'm not sure what's wrong. CopyQ (PDF) wouldn't appear in the menus,
> and seemed to fail when activated manually. I'm not sure that our
> converters are designed to deal with something like this.

For debugging converters I suggest creating a script and then putting
the commands in sequentially. This way in the script you can put
something like
echo "script ran with argument $1" > /home/liviu/Desktop/test.log
copyq write application/pdf - < $1 && echo "copyq write succeeded" >>
/home/liviu/Desktop/test.log
copyq select 0 && echo "copyq select succeeded" >> /home/liviu/Desktop/test.log

Scott


Re: Cannot find control file (.bcf)

2014-04-05 Thread Bernd Kappenberg

Am 05.04.2014 15:15, schrieb Jürgen Spitzmüller:

2014-04-05 14:15 GMT+02:00 Bernd Kappenberg:

But I found out it works if you set the language package from
"standard" to "automatic"!


What language package do you have set in Tools > Preferences > 
Language Settings > Language?


German, User defined, \usepackage{polyglossia}



Now it compiles... but does not contain any citations:


No surprise. At least the example file you sent me does not contains 
any citations. Or did you inserted any in your copy


Yes, there should be citations of biblatex-examples.bib.

Regards,
Bernd
#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage{biblatex}
%[style=nature,backend=biber]

\addbibresource{biblatex-examples.bib}
% .bib wichtig!
\end_preamble
\use_default_options true
\begin_modules
biblatex
\end_modules
\maintain_unincluded_children false
\language ngerman
\language_package auto
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine natbib
\cite_engine_type numerical
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language german
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
LyX
\end_layout

\begin_layout Standard
\begin_inset Note Note
status open

\begin_layout Plain Layout
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles "biblatex-examples"
options "plain"

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
printbibliography
\end_layout

\end_inset


\end_layout

\end_body
\end_document


Re: Cannot find control file (.bcf)

2014-04-05 Thread Jürgen Spitzmüller
2014-04-05 18:45 GMT+02:00 Bernd Kappenberg :

> What language package do you have set in Tools > Preferences > Language
> Settings > Language?
>
>
> German, User defined, \usepackage{polyglossia}
>

Why?

> No surprise. At least the example file you sent me does not contains any
> citations. Or did you inserted any in your copy
>
>
> Yes, there should be citations of biblatex-examples.bib.
>

We cannot help you if you hold back information.

Jürgen


Re: Cannot find control file (.bcf)

2014-04-05 Thread Bernd Kappenberg


2014-04-05 18:45 GMT+02:00 Bernd Kappenberg >:


What language package do you have set in Tools > Preferences >
Language Settings > Language?

German, User defined, \usepackage{polyglossia}


Why?


I changed English to German, but "user defined", 
"\usepackage{polyglossia}" was default. I did not change that.



No surprise. At least the example file you sent me does not
contains any citations. Or did you inserted any in your copy


Yes, there should be citations of biblatex-examples.bib.


We cannot help you if you hold back information.


Sorry :(

I sent you in the last mail the updated version.

Bernd


Fwd: Cannot find control file (.bcf)

2014-04-05 Thread stefano franchi
On Sat, Apr 5, 2014 at 11:45 AM, Bernd Kappenberg
wrote:

>  Am 05.04.2014 15:15, schrieb Jürgen Spitzmüller:
>
>  2014-04-05 14:15 GMT+02:00 Bernd Kappenberg:
>
>> But I found out it works if you set the language package from "standard"
>> to "automatic"!
>>
>
>  What language package do you have set in Tools > Preferences > Language
> Settings > Language?
>
>
> German, User defined, \usepackage{polyglossia}
>
>
>> Now it compiles… but does not contain any citations:
>>
>
>  No surprise. At least the example file you sent me does not contains any
> citations. Or did you inserted any in your copy
>
>
> Yes, there should be citations of biblatex-examples.bib.
>
>
Hi Bernd,

I'm not sure about what you're trying to do. The file you sent has
basically no content, let alone citations. There is only one word, "LyX".
There are no citations of any kind.

Second, the \addbibresource command in the preamble should include the
absolute path to the bib file, even if it is in the same directory as the
lyx file It works as it is in the your document because the bib file is in
a standard TeX location. This is not usually the case though).

Third, I am not sure if you want to use natbib. You did select the natbib
option in the settings, but you did not load the biblatex module, nor did
you indicate to biblatex that you want to use a natbib-like style. You need
to add the natbib=true option when you load biblatex.

I added a couple of citations to your document, modified the biblatex
loading command, and added the biblatex module. The file compiles as
expected, it seems to me (see enclosed).


Or were you trying to cite all the references in the biblatex-example.bib
file in one single swoop? In that case, you should add the command
\nocite{*} in ERT in your document (I put it in a LyX note, if you want to
try it)



Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Neues_Dokument3.lyx
Description: application/lyx


Re: Cannot find control file (.bcf)

2014-04-05 Thread Jason F. Siegel
When I was having these problems a few weeks ago, it came up that 
there's a conflict between biblatex and polyglossia: 
http://tex.stackexchange.com/questions/119682/how-to-use-polyglossia-with-biblatex


I solved this problem by using babel and having no language package set 
in Tools > Preferences > Language Settings > Language. Perhaps putting 
babel in the preamble itself would help.


--Jason

On 04/05/2014 12:45 PM, Bernd Kappenberg wrote:

Am 05.04.2014 15:15, schrieb Jürgen Spitzmüller:

2014-04-05 14:15 GMT+02:00 Bernd Kappenberg:

But I found out it works if you set the language package from
"standard" to "automatic"!


What language package do you have set in Tools > Preferences > 
Language Settings > Language?


German, User defined, \usepackage{polyglossia}



Now it compiles… but does not contain any citations:


No surprise. At least the example file you sent me does not contains 
any citations. Or did you inserted any in your copy


Yes, there should be citations of biblatex-examples.bib.

Regards,
Bernd