Re: How to use the environment defined by \lstnewenvironment in LyX

2021-11-24 Thread Paul A. Rubin

On 11/24/21 2:00 AM, Guofeng Zhang wrote:

Hi,

I have created the new listing environment and use it in LyX by Tex 
Code well.Is there any way that I could configure LyX (for example,  
LyX's Programming Listings) to use this listing environment?


Searched by google, but no way to go , so I tried to create a LyX 
inset to use it. So another question: can I define an inset that 
always has full line width in the editor?


Thanks for your help!

Guofeng

I'm not sure this will help, but I have a couple of LyX modules in 
GitHub repositories that might give you some ideas.


The simpler module is "pseudolst" (https://github.com/prubin73/pseudolst 
). It adds some pseudocode 
capabilities by tweaking the standard LyX "listing" environment, 
effectively adding a new language for listings.


The more complex module is "pseudocode" 
(https://github.com/prubin73/algpseudocode 
), which adds support for the 
algpseudocode style in the algorithmx LaTeX package. It provides new LyX 
paragraph styles for a gaggle of pseudocode commands. It could be that 
mimicking something like this but with one new style would be all you 
would need.


Both come with a LyX file containing instructions and demo code. To view 
the LyX files properly, you would need to install the required LaTeX 
package (listings.sty for the first, algorithmx for the second) if you 
don't already have it, install the module in your local modules 
directory, then reconfigure LyX. Before doing that, though, you might 
want to download the compiled versions of the documents (PDF files, one 
in each repo) and see if they resonate with you.


Paul

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


Re: how to use parselog flag

2020-02-23 Thread Jean-Marc Lasgouttes

Le 23/02/2020 à 05:26, Amra, Nasir a écrit :

Hello,
    I am trying to debug why a converter does not work in lyx 2.3.3 
(using miktex 2.9 on windows 7)  , but I am able to run the script in a 
windows command window (cmd.exe). How do I set parselog flag  in the 
converter and where would I find the log file? Is it just placing 
“parselog” in the flag option or “parselog=TRUE” or something else?

What I am trying to resolve is why the MS Word converter:
pandoc -s --filter pandoc-citeproc --csl vancouver-superscript.csl   -f 
latex -o $$o -t docx $$i
gives me a “ lyx – can not convert file” error message. Moreover, I am 
able to run the script above in a windows command line (cmd.exe) 
successfully.  Any help would be much appreciated.


As far as I remember, parselog is used for converters which return 
errors with line numbers (chktex or  literate programming) this 
transforms these logs in a form that LyX can read).


In your case the best bet is to read the Message Pane. Aren't there 
enough error messages there?


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


Re: how to use parselog flag

2020-02-23 Thread Scott Kostyshak
On Sun, Feb 23, 2020 at 04:26:29AM +, Amra, Nasir wrote:
> Hello,
>I am trying to debug why a converter does not work in lyx 2.3.3 (using 
> miktex 2.9 on windows 7)  , but I am able to run the script in a windows 
> command window (cmd.exe). How do I set parselog flag  in the converter and 
> where would I find the log file? Is it just placing "parselog" in the flag 
> option or "parselog=TRUE" or something else?
> What I am trying to resolve is why the MS Word converter:
> pandoc -s --filter pandoc-citeproc --csl vancouver-superscript.csl   -f latex 
> -o $$o -t docx $$i
> 
> gives me a " lyx - can not convert file" error message. Moreover, I am able 
> to run the script above in a windows command line (cmd.exe) successfully.  
> Any help would be much appreciated.

Maybe you will get helpful output if when you start LyX on the command
line you use "-dbg". For example:

  lyx -dbg any

should give a lot of output. Perhaps there's a better flag to choose.

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to use "abstract" package with LyX

2018-08-15 Thread list_email

> On Aug 14, 2018, at 11:31 AM, Paul A. Rubin  wrote:
> 
> On 08/13/2018 10:31 PM, list_em...@icloud.com  
> wrote:
>>> On Aug 7, 2018, at 11:57 AM, Paul A. Rubin  
>>>  wrote:
>>> 
>>> On 08/01/2018 07:27 PM, list_em...@icloud.com 
>>>  wrote:
 Has anyone successfully used the “abstract” package with LyX?
 
 http://mirror.las.iastate.edu/tex-archive/macros/latex/contrib/abstract/abstract.pdf
  
 
 
 I am trying to use it with "Article (Standard Class)” in two-column mode 
 to get a single-column abstract to appear above the two-column body but am 
 having trouble because the title page command “\maketitle” is called twice 
 which is very bad. You can see more details of my experience here but for 
 now I want to keep this message simple:
 
 https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg205850.html 
 
 
 Jerry
 
>>> First, you're using the package wrong. In theory, you should just add the 
>>> \usepackage command in the preamble, give it any package options you want 
>>> related to the formatting of the abstract title etc., and then add the 
>>> abstract in the usual way (using the Abstract environment, no raw LaTeX 
>>> required). In particular, your typing the \maketitle command in ERT creates 
>>> the duplication you observed.
>> I first tried adding the package to the preamble and got to messing around 
>> with the LaTeX and ERT trying to fix problems.
>>> That said, it's a PITA to get the abstract package to work with LyX. I'm 
>>> attaching two small examples. abstract2.lyx uses the abstract package. I 
>>> did not specify any options to it. The keys were (1) to define the title in 
>>> the preamble and not use the Title environment, which lets you get away 
>>> with specifying the \maketitle command manually, and (2) to stick a forced 
>>> end of line at the end of the abstract, to prevent it from butting up 
>>> against the first section.
>>> 
>>> The other attached file, abstract.lyx, accomplishes the same thing without 
>>> using the abstract package. IMO it's easier, but may be less desirable if 
>>> you need to customize placement of the title "Abstract" or futz with fonts 
>>> or margins in just the abstract.
>> Thanks again for those files. I believe they work as “advertised.” However, 
>> when I tried to add an author, possibly with a footnote attached to the 
>> author’s name, I ran into problems again. I’ve attached modified versions of 
>> your two MWEs. Maybe you have further comments. I didn’t try adding the 
>> \author field to the preamble but I suppose that could work—don’t know about 
>> fixing the footnote problem though.
>> 
>> Jerry
>> 
>> 
>> 
>> 
>>> Paul
> I'm not sure there is a way to fix the second of your modified files. Even 
> without an author footnote, the abstract is on a separate page from the 
> author. For your first version, I think I was able to hack it to do what you 
> want. The key was to load the abstract package, even though you won't be 
> using it for the abstract, because it supplies a command named "\saythanks". 
> Sticking that command in ERT after the \twocolumn[] command seems to work. I 
> suppose you could look in the abstract package source code, find the 
> definition of \saythanks, and put that directly in the preamble (or in a 
> little module). That would free you from loading the abstract package, just 
> in case it introduces any side effects somewhere else.
> 
> Paul
> 
> 

This is working. Thanks!
Jerry




Re: How to use "abstract" package with LyX

2018-08-14 Thread Paul A. Rubin

On 08/13/2018 10:31 PM, list_em...@icloud.com wrote:

On Aug 7, 2018, at 11:57 AM, Paul A. Rubin  wrote:

On 08/01/2018 07:27 PM, list_em...@icloud.com wrote:

Has anyone successfully used the “abstract” package with LyX?

http://mirror.las.iastate.edu/tex-archive/macros/latex/contrib/abstract/abstract.pdf

I am trying to use it with "Article (Standard Class)” in two-column mode to get 
a single-column abstract to appear above the two-column body but am having trouble 
because the title page command “\maketitle” is called twice which is very bad. You 
can see more details of my experience here but for now I want to keep this message 
simple:

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg205850.html

Jerry


First, you're using the package wrong. In theory, you should just add the 
\usepackage command in the preamble, give it any package options you want 
related to the formatting of the abstract title etc., and then add the abstract 
in the usual way (using the Abstract environment, no raw LaTeX required). In 
particular, your typing the \maketitle command in ERT creates the duplication 
you observed.

I first tried adding the package to the preamble and got to messing around with 
the LaTeX and ERT trying to fix problems.

That said, it's a PITA to get the abstract package to work with LyX. I'm 
attaching two small examples. abstract2.lyx uses the abstract package. I did 
not specify any options to it. The keys were (1) to define the title in the 
preamble and not use the Title environment, which lets you get away with 
specifying the \maketitle command manually, and (2) to stick a forced end of 
line at the end of the abstract, to prevent it from butting up against the 
first section.

The other attached file, abstract.lyx, accomplishes the same thing without using the 
abstract package. IMO it's easier, but may be less desirable if you need to customize 
placement of the title "Abstract" or futz with fonts or margins in just the 
abstract.

Thanks again for those files. I believe they work as “advertised.” However, 
when I tried to add an author, possibly with a footnote attached to the 
author’s name, I ran into problems again. I’ve attached modified versions of 
your two MWEs. Maybe you have further comments. I didn’t try adding the \author 
field to the preamble but I suppose that could work—don’t know about fixing the 
footnote problem though.

Jerry





Paul
I'm not sure there is a way to fix the second of your modified files. 
Even without an author footnote, the abstract is on a separate page from 
the author. For your first version, I think I was able to hack it to do 
what you want. The key was to load the abstract package, even though you 
won't be using it for the abstract, because it supplies a command named 
"\saythanks". Sticking that command in ERT after the \twocolumn[] 
command seems to work. I suppose you could look in the abstract package 
source code, find the definition of \saythanks, and put that directly in 
the preamble (or in a little module). That would free you from loading 
the abstract package, just in case it introduces any side effects 
somewhere else.


Paul



abstract copy.lyx
Description: application/lyx


Re: How to use "abstract" package with LyX

2018-08-13 Thread list_email

> On Aug 7, 2018, at 11:57 AM, Paul A. Rubin  wrote:
> 
> On 08/01/2018 07:27 PM, list_em...@icloud.com wrote:
>> Has anyone successfully used the “abstract” package with LyX?
>> 
>> http://mirror.las.iastate.edu/tex-archive/macros/latex/contrib/abstract/abstract.pdf
>> 
>> I am trying to use it with "Article (Standard Class)” in two-column mode to 
>> get a single-column abstract to appear above the two-column body but am 
>> having trouble because the title page command “\maketitle” is called twice 
>> which is very bad. You can see more details of my experience here but for 
>> now I want to keep this message simple:
>> 
>> https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg205850.html
>> 
>> Jerry
>> 
> First, you're using the package wrong. In theory, you should just add the 
> \usepackage command in the preamble, give it any package options you want 
> related to the formatting of the abstract title etc., and then add the 
> abstract in the usual way (using the Abstract environment, no raw LaTeX 
> required). In particular, your typing the \maketitle command in ERT creates 
> the duplication you observed.

I first tried adding the package to the preamble and got to messing around with 
the LaTeX and ERT trying to fix problems.
> 
> That said, it's a PITA to get the abstract package to work with LyX. I'm 
> attaching two small examples. abstract2.lyx uses the abstract package. I did 
> not specify any options to it. The keys were (1) to define the title in the 
> preamble and not use the Title environment, which lets you get away with 
> specifying the \maketitle command manually, and (2) to stick a forced end of 
> line at the end of the abstract, to prevent it from butting up against the 
> first section.
> 
> The other attached file, abstract.lyx, accomplishes the same thing without 
> using the abstract package. IMO it's easier, but may be less desirable if you 
> need to customize placement of the title "Abstract" or futz with fonts or 
> margins in just the abstract.

Thanks again for those files. I believe they work as “advertised.” However, 
when I tried to add an author, possibly with a footnote attached to the 
author’s name, I ran into problems again. I’ve attached modified versions of 
your two MWEs. Maybe you have further comments. I didn’t try adding the \author 
field to the preamble but I suppose that could work—don’t know about fixing the 
footnote problem though.

Jerry



abstract copy.lyx
Description: Binary data


abstract2 copy.lyx
Description: Binary data


> 
> Paul



Re: How to use "abstract" package with LyX

2018-08-08 Thread Paul A. Rubin

On 08/07/2018 07:03 PM, Rich Shepard wrote:

On Aug 7, 2018, at 11:57 AM, Paul A. Rubin  wrote:


That said, it's a PITA to get the abstract package to work with LyX.


Paul,

  I've not followed this thread being busy with paying work. :-) But, 
I am

surprised you've had issues with it.

  All my documents (letters, articles, reports, and books) use the
KOMA-script versions. I don't explicitly load an abstract package in the
document's preamble, just type it in the appropriate place, highlight it,
and select 'Abstract' from the environment menu. As long as I remember to
not put the title on the page it comes out correctly.

  Were I to write a two-column article, I'd use the \multicols{} 
package and

put the abstract above that.

  Just my 50-cents worth.

Rich

Rich,

I've never had any problems with abstracts, using the standard Abstract 
environment and no additional package (same as you). The LaTeX Abstract 
package is apparently supposed to simplify creating centered, page-wide 
abstracts in papers that use a two column layout. I assume that's why 
Jerry, the OP, was loading it. At least when used with LyX, the 
"simplify" part seems to be in doubt. :-)


As far as using the \multicols command, to each his own. It's been a 
while since I wrote something in two column format, and I think the last 
time I did it used a journal-specific LaTeX class that dealt with the 
two-column stuff (and the layout of the abstract). Jerry might want to 
look at \multicols{} (which I seem to vaguely recall using in the past), 
but I sent him a couple of MWE (one with the Abstract package, one 
without), and it sounds like that'll get him over the hump for now.


Paul



Re: How to use "abstract" package with LyX

2018-08-07 Thread Rich Shepard

On Aug 7, 2018, at 11:57 AM, Paul A. Rubin  wrote:


That said, it's a PITA to get the abstract package to work with LyX.


Paul,

  I've not followed this thread being busy with paying work. :-) But, I am
surprised you've had issues with it.

  All my documents (letters, articles, reports, and books) use the
KOMA-script versions. I don't explicitly load an abstract package in the
document's preamble, just type it in the appropriate place, highlight it,
and select 'Abstract' from the environment menu. As long as I remember to
not put the title on the page it comes out correctly.

  Were I to write a two-column article, I'd use the \multicols{} package and
put the abstract above that.

  Just my 50-cents worth.

Rich


Re: How to use "abstract" package with LyX

2018-08-07 Thread list_email


> On Aug 7, 2018, at 11:57 AM, Paul A. Rubin  wrote:
> 
> On 08/01/2018 07:27 PM, list_em...@icloud.com wrote:
>> Has anyone successfully used the “abstract” package with LyX?
>> 
>> http://mirror.las.iastate.edu/tex-archive/macros/latex/contrib/abstract/abstract.pdf
>> 
>> I am trying to use it with "Article (Standard Class)” in two-column mode to 
>> get a single-column abstract to appear above the two-column body but am 
>> having trouble because the title page command “\maketitle” is called twice 
>> which is very bad. You can see more details of my experience here but for 
>> now I want to keep this message simple:
>> 
>> https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg205850.html
>> 
>> Jerry
>> 
> First, you're using the package wrong. In theory, you should just add the 
> \usepackage command in the preamble, give it any package options you want 
> related to the formatting of the abstract title etc., and then add the 
> abstract in the usual way (using the Abstract environment, no raw LaTeX 
> required). In particular, your typing the \maketitle command in ERT creates 
> the duplication you observed.
> 
> That said, it's a PITA to get the abstract package to work with LyX. I'm 
> attaching two small examples. abstract2.lyx uses the abstract package. I did 
> not specify any options to it. The keys were (1) to define the title in the 
> preamble and not use the Title environment, which lets you get away with 
> specifying the \maketitle command manually, and (2) to stick a forced end of 
> line at the end of the abstract, to prevent it from butting up against the 
> first section.
> 
> The other attached file, abstract.lyx, accomplishes the same thing without 
> using the abstract package. IMO it's easier, but may be less desirable if you 
> need to customize placement of the title "Abstract" or futz with fonts or 
> margins in just the abstract.
> 
> Paul
> 
> 

Thanks a lot, Paul. I was able eventually to get a reasonable result but then I 
wasn’t able to duplicate it on a new document. Both of your examples give good 
results for my purposes. (Curious about the differing vertical space after the 
section title, “The Text,” but that’s not concerning me right now.) I’m 
planning another writing project in a few days which will give me a chance to 
try your methods. Thanks again.

Jerry



Re: How to use "abstract" package with LyX

2018-08-07 Thread Paul A. Rubin

On 08/01/2018 07:27 PM, list_em...@icloud.com wrote:

Has anyone successfully used the “abstract” package with LyX?

http://mirror.las.iastate.edu/tex-archive/macros/latex/contrib/abstract/abstract.pdf

I am trying to use it with "Article (Standard Class)” in two-column mode to get 
a single-column abstract to appear above the two-column body but am having trouble 
because the title page command “\maketitle” is called twice which is very bad. You 
can see more details of my experience here but for now I want to keep this message 
simple:

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg205850.html

Jerry

First, you're using the package wrong. In theory, you should just add 
the \usepackage command in the preamble, give it any package options you 
want related to the formatting of the abstract title etc., and then add 
the abstract in the usual way (using the Abstract environment, no raw 
LaTeX required). In particular, your typing the \maketitle command in 
ERT creates the duplication you observed.


That said, it's a PITA to get the abstract package to work with LyX. I'm 
attaching two small examples. abstract2.lyx uses the abstract package. I 
did not specify any options to it. The keys were (1) to define the title 
in the preamble and not use the Title environment, which lets you get 
away with specifying the \maketitle command manually, and (2) to stick a 
forced end of line at the end of the abstract, to prevent it from 
butting up against the first section.


The other attached file, abstract.lyx, accomplishes the same thing 
without using the abstract package. IMO it's easier, but may be less 
desirable if you need to customize placement of the title "Abstract" or 
futz with fonts or margins in just the abstract.


Paul



abstract.lyx
Description: application/lyx


abstract2.lyx
Description: application/lyx


Re: How to use \Bigl( and \Bigr(, and \mleft( and \mright(

2016-05-16 Thread Daniel

On 16.05.2016 23:38, Richard Heck wrote:

On 05/16/2016 04:47 PM, Daniel wrote:
> On 16.05.2016 22:32, Richard Heck wrote:
>> On 05/16/2016 08:49 AM, racoon wrote:
>>> Hi,
>>>
>>> How do I use \Bigl( and \Bigr(, and \mleft( and \mright( in LyX? (The
>>> latter need the mleftright package.)
>>
>> Just type them, exactly like that. In the former case, LyX has support,
>> so you'll just see big parens. In the latter case, there is no support,
>> so they work like ERT.
>>
>> You can get "matched" delimiters, too, from the toolbar. Click on the
>> "insert delimiters" button.
>>
>> Richard
>>
>>
> Thanks. Bummer, I tried to type the command before but just forgot the
> brackets.
>
> I am wondering about the "matched" delimiters though. I could see
> neither the "Big" nor the "big" there. Is there some option to use
> user defined "matched" brackets that I miss?

In the dialog there is a "Size" dropdown that controls the size of the
brackets.


Thanks. I should sleep a bit so I don't overlook the obvious...


Re: How to use \Bigl( and \Bigr(, and \mleft( and \mright(

2016-05-16 Thread Richard Heck
On 05/16/2016 04:47 PM, Daniel wrote:
> On 16.05.2016 22:32, Richard Heck wrote:
>> On 05/16/2016 08:49 AM, racoon wrote:
>> > Hi,
>> >
>> > How do I use \Bigl( and \Bigr(, and \mleft( and \mright( in LyX? (The
>> > latter need the mleftright package.)
>>
>> Just type them, exactly like that. In the former case, LyX has support,
>> so you'll just see big parens. In the latter case, there is no support,
>> so they work like ERT.
>>
>> You can get "matched" delimiters, too, from the toolbar. Click on the
>> "insert delimiters" button.
>>
>> Richard
>>
>>
> Thanks. Bummer, I tried to type the command before but just forgot the
> brackets.
>
> I am wondering about the "matched" delimiters though. I could see
> neither the "Big" nor the "big" there. Is there some option to use
> user defined "matched" brackets that I miss?

In the dialog there is a "Size" dropdown that controls the size of the
brackets.

Richard




Re: How to use \Bigl( and \Bigr(, and \mleft( and \mright(

2016-05-16 Thread Daniel

On 16.05.2016 22:32, Richard Heck wrote:

On 05/16/2016 08:49 AM, racoon wrote:
> Hi,
>
> How do I use \Bigl( and \Bigr(, and \mleft( and \mright( in LyX? (The
> latter need the mleftright package.)

Just type them, exactly like that. In the former case, LyX has support,
so you'll just see big parens. In the latter case, there is no support,
so they work like ERT.

You can get "matched" delimiters, too, from the toolbar. Click on the
"insert delimiters" button.

Richard



Thanks. Bummer, I tried to type the command before but just forgot the brackets.

I am wondering about the "matched" delimiters though. I could see neither the "Big" nor the 
"big" there. Is there some option to use user defined "matched" brackets that I miss?

Daniel


Re: How to use \Bigl( and \Bigr(, and \mleft( and \mright(

2016-05-16 Thread Richard Heck
On 05/16/2016 08:49 AM, racoon wrote:
> Hi,
>
> How do I use \Bigl( and \Bigr(, and \mleft( and \mright( in LyX? (The
> latter need the mleftright package.)

Just type them, exactly like that. In the former case, LyX has support,
so you'll just see big parens. In the latter case, there is no support,
so they work like ERT.

You can get "matched" delimiters, too, from the toolbar. Click on the
"insert delimiters" button.

Richard



Re: How to use align inside table?

2015-04-30 Thread gadmm

On 04/30/15 15:24, Anders Host-Madsen wrote:

How can you put an align or align* environment inside a table?
There seems to be some pure latex solutions, i.e., using
tabularx instead of tabular or aligned instead of align
(I haven't tried), but they appear to be incompatible with lyx.




Aligned is present in lyx. They must be treated like array, e.g. you 
insert them with \aligned in a math inset. This is what I would 
recommend for your problem.




Re: How to use align inside table?

2015-04-30 Thread Paul A . Rubin
Anders Host-Madsen ahostmadsen at yahoo.com writes:

 
 How can you put an align or align* environment inside a table?
 There seems to be some pure latex solutions, i.e., using
 tabularx instead of tabular or aligned instead of align 
 (I haven't tried), but they appear to be incompatible with lyx.

You can try putting a parbox in a table cell and putting the align
environment in the parbox. I think you will need to set the column width for
the table, then set the parbox width to match. Here is a small example:

#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\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 letterpaper
\use_geometry true
\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 basic
\cite_engine_type default
\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
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\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
\noindent
\align center
\begin_inset Tabular
lyxtabular version=3 rows=2 columns=2
features rotate=0 tabularvalignment=middle
column alignment=center valignment=top
column alignment=center valignment=top width=50text%
row
cell alignment=center valignment=top topline=true bottomline=true
leftline=true usebox=none
\begin_inset Text

\begin_layout Plain Layout
a column title
\end_layout

\end_inset
/cell
cell alignment=center valignment=top topline=true bottomline=true
leftline=true rightline=true usebox=none
\begin_inset Text

\begin_layout Plain Layout
another column title
\end_layout

\end_inset
/cell
/row
row
cell alignment=center valignment=top topline=true bottomline=true
leftline=true usebox=none
\begin_inset Text

\begin_layout Plain Layout
a row header
\end_layout

\end_inset
/cell
cell alignment=center valignment=top topline=true bottomline=true
leftline=true rightline=true usebox=none
\begin_inset Text

\begin_layout Plain Layout
\begin_inset Box Frameless
position t
hor_pos c
has_inner_box 1
inner_pos t
use_parbox 1
use_makebox 0
width 50col%
special none
height 1in
height_special totalheight
status open

\begin_layout Plain Layout
\begin_inset Formula 
\begin{align*}
a-c  =b\\
2z  \ge9
\end{align*}

\end_inset


\end_layout

\end_inset


\end_layout

\end_inset
/cell
/row
/lyxtabular

\end_inset


\end_layout

\end_body
\end_document





Re: How to use align inside table?

2015-04-30 Thread Anders Host-Madsen
Paul A. Rubin rubin at msu.edu writes:

 You can try putting a parbox in a table cell and putting the align
 environment in the parbox. I think you will need to set the column width for
 the table, then set the parbox width to match. Here is a small example:

Thank you, that works. I used a minipage, which does not work,
 but with parbox it works.
The only (minor) issue is that I get what seems like an empty line
above every align* environment.



Re: How to use align inside table?

2015-04-30 Thread Paul A . Rubin
Anders Host-Madsen ahostmadsen at yahoo.com writes:

 
 How can you put an align or align* environment inside a table?
 There seems to be some pure latex solutions, i.e., using
 tabularx instead of tabular or aligned instead of align 
 (I haven't tried), but they appear to be incompatible with lyx.

You can try putting a parbox in a table cell and putting the align
environment in the parbox. I think you will need to set the column width for
the table, then set the parbox width to match. Here is a small example:

#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\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 letterpaper
\use_geometry true
\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 basic
\cite_engine_type default
\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
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\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
\noindent
\align center
\begin_inset Tabular
lyxtabular version=3 rows=2 columns=2
features rotate=0 tabularvalignment=middle
column alignment=center valignment=top
column alignment=center valignment=top width=50text%
row
cell alignment=center valignment=top topline=true bottomline=true
leftline=true usebox=none
\begin_inset Text

\begin_layout Plain Layout
a column title
\end_layout

\end_inset
/cell
cell alignment=center valignment=top topline=true bottomline=true
leftline=true rightline=true usebox=none
\begin_inset Text

\begin_layout Plain Layout
another column title
\end_layout

\end_inset
/cell
/row
row
cell alignment=center valignment=top topline=true bottomline=true
leftline=true usebox=none
\begin_inset Text

\begin_layout Plain Layout
a row header
\end_layout

\end_inset
/cell
cell alignment=center valignment=top topline=true bottomline=true
leftline=true rightline=true usebox=none
\begin_inset Text

\begin_layout Plain Layout
\begin_inset Box Frameless
position t
hor_pos c
has_inner_box 1
inner_pos t
use_parbox 1
use_makebox 0
width 50col%
special none
height 1in
height_special totalheight
status open

\begin_layout Plain Layout
\begin_inset Formula 
\begin{align*}
a-c  =b\\
2z  \ge9
\end{align*}

\end_inset


\end_layout

\end_inset


\end_layout

\end_inset
/cell
/row
/lyxtabular

\end_inset


\end_layout

\end_body
\end_document





Re: How to use align inside table?

2015-04-30 Thread gadmm

On 04/30/15 15:24, Anders Host-Madsen wrote:

How can you put an align or align* environment inside a table?
There seems to be some pure latex solutions, i.e., using
tabularx instead of tabular or aligned instead of align
(I haven't tried), but they appear to be incompatible with lyx.




Aligned is present in lyx. They must be treated like array, e.g. you 
insert them with \aligned in a math inset. This is what I would 
recommend for your problem.




Re: How to use align inside table?

2015-04-30 Thread Anders Host-Madsen
Paul A. Rubin rubin at msu.edu writes:

 You can try putting a parbox in a table cell and putting the align
 environment in the parbox. I think you will need to set the column width for
 the table, then set the parbox width to match. Here is a small example:

Thank you, that works. I used a minipage, which does not work,
 but with parbox it works.
The only (minor) issue is that I get what seems like an empty line
above every align* environment.



Re: How to use align inside table?

2015-04-30 Thread Paul A . Rubin
Anders Host-Madsen  yahoo.com> writes:

> 
> How can you put an align or align* environment inside a table?
> There seems to be some pure latex solutions, i.e., using
> tabularx instead of tabular or aligned instead of align 
> (I haven't tried), but they appear to be incompatible with lyx.

You can try putting a parbox in a table cell and putting the align
environment in the parbox. I think you will need to set the column width for
the table, then set the parbox width to match. Here is a small example:

#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\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 letterpaper
\use_geometry true
\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 basic
\cite_engine_type default
\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
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\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
\noindent
\align center
\begin_inset Tabular






\begin_inset Text

\begin_layout Plain Layout
a column title
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
another column title
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout
a row header
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset Box Frameless
position "t"
hor_pos "c"
has_inner_box 1
inner_pos "t"
use_parbox 1
use_makebox 0
width "50col%"
special "none"
height "1in"
height_special "totalheight"
status open

\begin_layout Plain Layout
\begin_inset Formula 
\begin{align*}
a-c & =b\\
2z & \ge9
\end{align*}

\end_inset


\end_layout

\end_inset


\end_layout

\end_inset




\end_inset


\end_layout

\end_body
\end_document





Re: How to use align inside table?

2015-04-30 Thread gadmm

On 04/30/15 15:24, Anders Host-Madsen wrote:

How can you put an align or align* environment inside a table?
There seems to be some pure latex solutions, i.e., using
tabularx instead of tabular or aligned instead of align
(I haven't tried), but they appear to be incompatible with lyx.




Aligned is present in lyx. They must be treated like array, e.g. you 
insert them with \aligned in a math inset. This is what I would 
recommend for your problem.




Re: How to use align inside table?

2015-04-30 Thread Anders Host-Madsen
Paul A. Rubin  msu.edu> writes:

> You can try putting a parbox in a table cell and putting the align
> environment in the parbox. I think you will need to set the column width for
> the table, then set the parbox width to match. Here is a small example:

Thank you, that works. I used a minipage, which does not work,
 but with parbox it works.
The only (minor) issue is that I get what seems like an empty line
above every align* environment.



Re: How to use symbol and germany characters in bibliography

2013-10-20 Thread Rahayu Prihatin
Thanks all, it is fixed now. That's true, just put latex symbol in it.

Cheer,

Rahayu


On Fri, Oct 18, 2013 at 9:45 PM, Csikos Bela bcsikos...@freemail.hu wrote:

 Rahayu Prihatin rahayu.p...@gmail.com írta:
 Hi all,I am not an advanced user. Could somebody help me? I exported
 bibliography from endnote, some of the authors have germany characters and
 there are some symbols as well in the title. When I use it in LyX, those
 characters do not appear appropriately. How to fix it?
 Thanksgreeting,hayu
 

 Hello:

 It depends on the bibliography software you use.

 You can use bibtex, bibtex8 and biblatex.

 If you choose bibtex (that is my preference) you have to replace all
 special characters in your database to latex codes, eg. a\' for á, a\ for
 ä,
 \beta for Greek beta etc. In reality it is not necessary to replace all
 special characters,
 only those that will be included in the output. For example if you have
 abstracts in
 your database, and the abstracts won't be included in the bibliography,
 you don't have
 to replace special characters in the abstracts. The same applies to other
 fields.

 There are programs and scripts that can convert special characters in a
 file to
 latex code. Jabref bibliography manager also has such option.

 Bibtex8: I don't know how it works, I never used it.

 Biblatex supports utf8 and special characters.
 I found biblatex too complex. For me it's major disadvantage that I can not
 make a custom bibliography style file according to my liking (or need).
 The number of options for manipulating output is increasing but still you
 don't
 have a full control. For that one has to make a custom style file, but is
 is not
 easy, since biblatex scripting language is very complex.

 On the other hand making bibtex compatible style files with the help of the
 so called custom-bib program (makebst script) is much easier. These style
 files
 can be used with the natbib package. With a few exception you can make any
 type
 style file.

 Whichever you choose you will have to read the user manual for that
 package,
 that is, you have to spend some time to learn how to use it.

 bcsikos




Re: How to use symbol and germany characters in bibliography

2013-10-20 Thread Rahayu Prihatin
Thanks all, it is fixed now. That's true, just put latex symbol in it.

Cheer,

Rahayu


On Fri, Oct 18, 2013 at 9:45 PM, Csikos Bela bcsikos...@freemail.hu wrote:

 Rahayu Prihatin rahayu.p...@gmail.com írta:
 Hi all,I am not an advanced user. Could somebody help me? I exported
 bibliography from endnote, some of the authors have germany characters and
 there are some symbols as well in the title. When I use it in LyX, those
 characters do not appear appropriately. How to fix it?
 Thanksgreeting,hayu
 

 Hello:

 It depends on the bibliography software you use.

 You can use bibtex, bibtex8 and biblatex.

 If you choose bibtex (that is my preference) you have to replace all
 special characters in your database to latex codes, eg. a\' for á, a\ for
 ä,
 \beta for Greek beta etc. In reality it is not necessary to replace all
 special characters,
 only those that will be included in the output. For example if you have
 abstracts in
 your database, and the abstracts won't be included in the bibliography,
 you don't have
 to replace special characters in the abstracts. The same applies to other
 fields.

 There are programs and scripts that can convert special characters in a
 file to
 latex code. Jabref bibliography manager also has such option.

 Bibtex8: I don't know how it works, I never used it.

 Biblatex supports utf8 and special characters.
 I found biblatex too complex. For me it's major disadvantage that I can not
 make a custom bibliography style file according to my liking (or need).
 The number of options for manipulating output is increasing but still you
 don't
 have a full control. For that one has to make a custom style file, but is
 is not
 easy, since biblatex scripting language is very complex.

 On the other hand making bibtex compatible style files with the help of the
 so called custom-bib program (makebst script) is much easier. These style
 files
 can be used with the natbib package. With a few exception you can make any
 type
 style file.

 Whichever you choose you will have to read the user manual for that
 package,
 that is, you have to spend some time to learn how to use it.

 bcsikos




Re: How to use symbol and germany characters in bibliography

2013-10-20 Thread Rahayu Prihatin
Thanks all, it is fixed now. That's true, just put latex symbol in it.

Cheer,

Rahayu


On Fri, Oct 18, 2013 at 9:45 PM, Csikos Bela  wrote:

> Rahayu Prihatin  írta:
> >Hi all,I am not an advanced user. Could somebody help me? I exported
> bibliography from >endnote, some of the authors have germany characters and
> there are some symbols as >well in the title. When I use it in LyX, those
> characters do not appear appropriately. How to >fix it?
> >Thanksgreeting,hayu
> >
>
> Hello:
>
> It depends on the bibliography software you use.
>
> You can use bibtex, bibtex8 and biblatex.
>
> If you choose bibtex (that is my preference) you have to replace all
> special characters in your database to latex codes, eg. a\' for á, a\" for
> ä,
> \beta for Greek beta etc. In reality it is not necessary to replace all
> special characters,
> only those that will be included in the output. For example if you have
> abstracts in
> your database, and the abstracts won't be included in the bibliography,
> you don't have
> to replace special characters in the abstracts. The same applies to other
> fields.
>
> There are programs and scripts that can convert special characters in a
> file to
> latex code. Jabref bibliography manager also has such option.
>
> Bibtex8: I don't know how it works, I never used it.
>
> Biblatex supports utf8 and special characters.
> I found biblatex too complex. For me it's major disadvantage that I can not
> make a custom bibliography style file according to my liking (or need).
> The number of options for manipulating output is increasing but still you
> don't
> have a full control. For that one has to make a custom style file, but is
> is not
> easy, since biblatex "scripting language" is very complex.
>
> On the other hand making bibtex compatible style files with the help of the
> so called custom-bib program (makebst script) is much easier. These style
> files
> can be used with the natbib package. With a few exception you can make any
> type
> style file.
>
> Whichever you choose you will have to read the user manual for that
> package,
> that is, you have to spend some time to learn how to use it.
>
> bcsikos
>
>


Re: How to use symbol and germany characters in bibliography

2013-10-18 Thread John Kane
Not sure but this link may give you some ideas about how to approach the 
problem.

http://comments.gmane.org/gmane.editors.lyx.general/77603

The major problem is that bibtex is fairly old and was created when ASCII 
symbols were basically what was used.

I think the biblatex solution is the best but I still use bibtex so I am not 
sure.





On Thursday, October 17, 2013 6:59:56 AM, Rahayu Prihatin 
rahayu.p...@gmail.com wrote:
 
Hi all,

I am not an advanced user. Could somebody help me? I exported bibliography from 
endnote, some of the authors have germany characters and there are some symbols 
as well in the title. When I use it in LyX, those characters do not appear 
appropriately. How to fix it?

Thanks

greeting,

hayu

Re: How to use symbol and germany characters in bibliography

2013-10-18 Thread stefano franchi
On Fri, Oct 18, 2013 at 11:28 AM, John Kane jrkrid...@yahoo.ca wrote:

 Not sure but this link may give you some ideas about how to approach the
 problem.

 http://comments.gmane.org/gmane.editors.lyx.general/77603

 The major problem is that bibtex is fairly old and was created when ASCII
 symbols were basically what was used.

 I think the biblatex solution is the best but I still use bibtex so I am
 not sure.




I actually switched to biblatex precisely for that problem. I was getting
tired of having to enter special latex code in bibliographies. It has
worked very well so far (a few years now).

Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use symbol and germany characters in bibliography

2013-10-18 Thread Csikos Bela
Rahayu Prihatin rahayu.p...@gmail.com írta:
Hi all,I am not an advanced user. Could somebody help me? I exported 
bibliography from endnote, some of the authors have germany characters and 
there are some symbols as well in the title. When I use it in LyX, those 
characters do not appear appropriately. How to fix it?
Thanksgreeting,hayu


Hello:

It depends on the bibliography software you use.

You can use bibtex, bibtex8 and biblatex.

If you choose bibtex (that is my preference) you have to replace all
special characters in your database to latex codes, eg. a\' for á, a\ for ä,
\beta for Greek beta etc. In reality it is not necessary to replace all special 
characters,
only those that will be included in the output. For example if you have 
abstracts in
your database, and the abstracts won't be included in the bibliography, you 
don't have
to replace special characters in the abstracts. The same applies to other 
fields.

There are programs and scripts that can convert special characters in a file to
latex code. Jabref bibliography manager also has such option.

Bibtex8: I don't know how it works, I never used it.

Biblatex supports utf8 and special characters.
I found biblatex too complex. For me it's major disadvantage that I can not
make a custom bibliography style file according to my liking (or need).
The number of options for manipulating output is increasing but still you don't
have a full control. For that one has to make a custom style file, but is is not
easy, since biblatex scripting language is very complex.

On the other hand making bibtex compatible style files with the help of the
so called custom-bib program (makebst script) is much easier. These style files
can be used with the natbib package. With a few exception you can make any type
style file.

Whichever you choose you will have to read the user manual for that package,
that is, you have to spend some time to learn how to use it.

bcsikos



Re: How to use symbol and germany characters in bibliography

2013-10-18 Thread John Kane
Not sure but this link may give you some ideas about how to approach the 
problem.

http://comments.gmane.org/gmane.editors.lyx.general/77603

The major problem is that bibtex is fairly old and was created when ASCII 
symbols were basically what was used.

I think the biblatex solution is the best but I still use bibtex so I am not 
sure.





On Thursday, October 17, 2013 6:59:56 AM, Rahayu Prihatin 
rahayu.p...@gmail.com wrote:
 
Hi all,

I am not an advanced user. Could somebody help me? I exported bibliography from 
endnote, some of the authors have germany characters and there are some symbols 
as well in the title. When I use it in LyX, those characters do not appear 
appropriately. How to fix it?

Thanks

greeting,

hayu

Re: How to use symbol and germany characters in bibliography

2013-10-18 Thread stefano franchi
On Fri, Oct 18, 2013 at 11:28 AM, John Kane jrkrid...@yahoo.ca wrote:

 Not sure but this link may give you some ideas about how to approach the
 problem.

 http://comments.gmane.org/gmane.editors.lyx.general/77603

 The major problem is that bibtex is fairly old and was created when ASCII
 symbols were basically what was used.

 I think the biblatex solution is the best but I still use bibtex so I am
 not sure.




I actually switched to biblatex precisely for that problem. I was getting
tired of having to enter special latex code in bibliographies. It has
worked very well so far (a few years now).

Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use symbol and germany characters in bibliography

2013-10-18 Thread Csikos Bela
Rahayu Prihatin rahayu.p...@gmail.com írta:
Hi all,I am not an advanced user. Could somebody help me? I exported 
bibliography from endnote, some of the authors have germany characters and 
there are some symbols as well in the title. When I use it in LyX, those 
characters do not appear appropriately. How to fix it?
Thanksgreeting,hayu


Hello:

It depends on the bibliography software you use.

You can use bibtex, bibtex8 and biblatex.

If you choose bibtex (that is my preference) you have to replace all
special characters in your database to latex codes, eg. a\' for á, a\ for ä,
\beta for Greek beta etc. In reality it is not necessary to replace all special 
characters,
only those that will be included in the output. For example if you have 
abstracts in
your database, and the abstracts won't be included in the bibliography, you 
don't have
to replace special characters in the abstracts. The same applies to other 
fields.

There are programs and scripts that can convert special characters in a file to
latex code. Jabref bibliography manager also has such option.

Bibtex8: I don't know how it works, I never used it.

Biblatex supports utf8 and special characters.
I found biblatex too complex. For me it's major disadvantage that I can not
make a custom bibliography style file according to my liking (or need).
The number of options for manipulating output is increasing but still you don't
have a full control. For that one has to make a custom style file, but is is not
easy, since biblatex scripting language is very complex.

On the other hand making bibtex compatible style files with the help of the
so called custom-bib program (makebst script) is much easier. These style files
can be used with the natbib package. With a few exception you can make any type
style file.

Whichever you choose you will have to read the user manual for that package,
that is, you have to spend some time to learn how to use it.

bcsikos



Re: How to use symbol and germany characters in bibliography

2013-10-18 Thread John Kane
Not sure but this link may give you some ideas about how to approach the 
problem.

http://comments.gmane.org/gmane.editors.lyx.general/77603

The major problem is that bibtex is fairly old and was created when ASCII 
symbols were basically what was used.

I think the biblatex solution is the best but I still use bibtex so I am not 
sure.





On Thursday, October 17, 2013 6:59:56 AM, Rahayu Prihatin 
 wrote:
 
Hi all,

I am not an advanced user. Could somebody help me? I exported bibliography from 
endnote, some of the authors have germany characters and there are some symbols 
as well in the title. When I use it in LyX, those characters do not appear 
appropriately. How to fix it?

Thanks

greeting,

hayu

Re: How to use symbol and germany characters in bibliography

2013-10-18 Thread stefano franchi
On Fri, Oct 18, 2013 at 11:28 AM, John Kane  wrote:

> Not sure but this link may give you some ideas about how to approach the
> problem.
>
> http://comments.gmane.org/gmane.editors.lyx.general/77603
>
> The major problem is that bibtex is fairly old and was created when ASCII
> symbols were basically what was used.
>
> I think the biblatex solution is the best but I still use bibtex so I am
> not sure.
>
>
>

I actually switched to biblatex precisely for that problem. I was getting
tired of having to enter special latex code in bibliographies. It has
worked very well so far (a few years now).

Cheers,

Stefano


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

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


Re: How to use symbol and germany characters in bibliography

2013-10-18 Thread Csikos Bela
Rahayu Prihatin  írta:
>Hi all,I am not an advanced user. Could somebody help me? I exported 
>bibliography from >endnote, some of the authors have germany characters and 
>there are some symbols as >well in the title. When I use it in LyX, those 
>characters do not appear appropriately. How to >fix it?
>Thanksgreeting,hayu
>

Hello:

It depends on the bibliography software you use.

You can use bibtex, bibtex8 and biblatex.

If you choose bibtex (that is my preference) you have to replace all
special characters in your database to latex codes, eg. a\' for á, a\" for ä,
\beta for Greek beta etc. In reality it is not necessary to replace all special 
characters,
only those that will be included in the output. For example if you have 
abstracts in
your database, and the abstracts won't be included in the bibliography, you 
don't have
to replace special characters in the abstracts. The same applies to other 
fields.

There are programs and scripts that can convert special characters in a file to
latex code. Jabref bibliography manager also has such option.

Bibtex8: I don't know how it works, I never used it.

Biblatex supports utf8 and special characters.
I found biblatex too complex. For me it's major disadvantage that I can not
make a custom bibliography style file according to my liking (or need).
The number of options for manipulating output is increasing but still you don't
have a full control. For that one has to make a custom style file, but is is not
easy, since biblatex "scripting language" is very complex.

On the other hand making bibtex compatible style files with the help of the
so called custom-bib program (makebst script) is much easier. These style files
can be used with the natbib package. With a few exception you can make any type
style file.

Whichever you choose you will have to read the user manual for that package,
that is, you have to spend some time to learn how to use it.

bcsikos



Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-10 Thread jezZiFeR
Dear Stefano,

thank you so much for your thorough answer, which really helped me. All of the 
procedures you described to test my TeX-installation worked fine, and for me it 
is LyX, which is not working correctly. As I also have had several other 
problems witch my computer and with its permissions I am now looking for that. 
It could be, that LyX does not have the permissions to change its settings.

I think this will take a little time now, I just wanted to let you know, that 
your instructions were very helpful, and that I could use LyX hopefully soon 
again.

Best
Jess





Am 09.03.2013 um 17:49 schrieb stefano franchi:

 
 On Sat, Mar 9, 2013 at 10:10 AM, jezZiFeR jezzi...@gmail.com wrote:
 I could also open terminal, but I do not understand what to do then. What 
 exactly should I do on the desktop folder? There is the file, but I do not 
 know what to do with it, and I do not know how to compile manually.
 
 I also do not know how to run biber. Do I not need to exchange my settings 
 then first? This is when LyX crashes all the times…
 
 Hope you could help, thank you so much!
 Jess
 
 Hi Jess,
 
 what I am suggesting is that you try to issue the latex commands directly 
 (instead of lyx doing it for you in the background). That way you could see 
 if latex (and biber) are behaving properly, which would mean your problem is 
 with lyx. This is what you do.
 
 1. Open a terminal window. You will see a prompt, something ending with a $ 
 sign. From here on I will indicate the commands you need to enter by putting 
 them on a single line, preceded by the $ character. You need to type what 
 follows the $.
 
 2. change directory to the Desktop folder. You would type
 
$cd ~/Desktop 
 
 (or the German equivalent, I'm not sure if the Mac translates the directory 
 names. I doubt it, though)
 
 
 3. Check that both the .tex file and the .bib file are present in the 
 directory:
 
$ ls Minimal-Example-neu.tex
 
   $ ls Diss3.bib
 
 In both cases you shoudl get back the name of the file(s). If they are not 
 present, you'll get an error message. In that case, go back to the finder and 
 moves the files to the desktop. Repeat step 3 until you are sure the files 
 are there (no error messages)
 
 4. compile the tex file with lualatex (this is latex with the lua backend, 
 which is what you had selected in your lyx file):
 
$lualatex Minimal-Example-neu.tex
 
 If compilation works (as it should), you should see a lot of text being 
 spitted out on the terminal. At the end, on the last line, it should say:
 
 Output written on Minimal-Example-neu.pdf
 
 If not, then you have a problem with your tex installation. Stop here 
 
 5. Go to the Desktop in the Finder. Open Minimal-Example-neu.pdf in preview 
 or other pdf reader. You should see your example nicely typeset, but with no 
 references yet. It will show the ref keys in bold. This is as it should be, 
 you haven't run your bib processor yet (biber). You'll do that next
 
 6. Go back to the terminal. Check again that you are in the right directory:
 
 $pwd
 
 This means present working directory. It should reply that you are in 
 /Users/Your-user-name/Desktop. If not, repeated step 2 above
 
 7. Run biber. You do that with the command:
 
 biber Minimal-Example-neu
 
 (notice that you don't type the .tex suffix this time)
 
 Biber should run, read your bib file and analyze your references. It will 
 spit out a few lines to the terminal. Each line will begin with either INFO 
 or WARNING or ERROR You should only have INFO and WARNING lines. The 
 next to last line should tell you that Minimal-Example-neu.bbl has been 
 created. Here is the complete output when I run manually biber on your file:
 
 INFO - This is Biber 1.5
 INFO - Logfile is 'Minimal-Example-neu.blg'
 INFO - Reading 'Minimal-Example-neu.bcf'
 INFO - Found 4 citekeys in bib section 0
 INFO - Processing section 0
 INFO - Looking for bibtex format file '/home/stefano/Desktop/Diss3.bib' for 
 section 0
 INFO - Decoding LaTeX character macros into UTF-8
 INFO - Found BibTeX data source '/home/stefano/Desktop/Diss3.bib'
 WARN - I didn't find a database entry for 'LeWitt:1999uq' (section 0)
 INFO - Overriding locale 'en_US.UTF-8' default tailoring 'variable = shifted' 
 with 'variable = non-ignorable'
 INFO - Sorting 'entry' list 'nty' keys
 INFO - No sort tailoring available for locale 'en_US.UTF-8'
 INFO - Writing 'Minimal-Example-neu.bbl' with encoding 'UTF-8'
 INFO - Output to Minimal-Example-neu.bbl
 INFO - WARNINGS: 1
 
 You have a warning, because your bib file is missing a reference. But 
 everything else is fine. If this is not what you get---and especially if you 
 get ERROR lines---stop here and report back. Otherwise you're almost done.
 
 8. Run lualatex again as in step 4 above. Twice. That is, go back to step 4, 
 run lualatex, and then do it again.
 
 9. Check your pdf file as you did in step 5 above. You should now be able to 
 see your references. 
 
 
 Now, if 

Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-10 Thread stefano franchi
On Sun, Mar 10, 2013 at 10:47 AM, jezZiFeR jezzi...@gmail.com wrote:

 As I also have had several other problems witch my computer and with its
 permissions I am now looking for that. It could be, that LyX does not have
 the permissions to change its settings.


Hi Jess,

I am glad to hear I could be somewhat helpful. Now that  you know for sure
you a lyx problem, it should be easier to fix. Do not hesitate to come back
to the list with further questions.


Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-10 Thread jezZiFeR
Dear Stefano,

thank you so much for your thorough answer, which really helped me. All of the 
procedures you described to test my TeX-installation worked fine, and for me it 
is LyX, which is not working correctly. As I also have had several other 
problems witch my computer and with its permissions I am now looking for that. 
It could be, that LyX does not have the permissions to change its settings.

I think this will take a little time now, I just wanted to let you know, that 
your instructions were very helpful, and that I could use LyX hopefully soon 
again.

Best
Jess





Am 09.03.2013 um 17:49 schrieb stefano franchi:

 
 On Sat, Mar 9, 2013 at 10:10 AM, jezZiFeR jezzi...@gmail.com wrote:
 I could also open terminal, but I do not understand what to do then. What 
 exactly should I do on the desktop folder? There is the file, but I do not 
 know what to do with it, and I do not know how to compile manually.
 
 I also do not know how to run biber. Do I not need to exchange my settings 
 then first? This is when LyX crashes all the times…
 
 Hope you could help, thank you so much!
 Jess
 
 Hi Jess,
 
 what I am suggesting is that you try to issue the latex commands directly 
 (instead of lyx doing it for you in the background). That way you could see 
 if latex (and biber) are behaving properly, which would mean your problem is 
 with lyx. This is what you do.
 
 1. Open a terminal window. You will see a prompt, something ending with a $ 
 sign. From here on I will indicate the commands you need to enter by putting 
 them on a single line, preceded by the $ character. You need to type what 
 follows the $.
 
 2. change directory to the Desktop folder. You would type
 
$cd ~/Desktop 
 
 (or the German equivalent, I'm not sure if the Mac translates the directory 
 names. I doubt it, though)
 
 
 3. Check that both the .tex file and the .bib file are present in the 
 directory:
 
$ ls Minimal-Example-neu.tex
 
   $ ls Diss3.bib
 
 In both cases you shoudl get back the name of the file(s). If they are not 
 present, you'll get an error message. In that case, go back to the finder and 
 moves the files to the desktop. Repeat step 3 until you are sure the files 
 are there (no error messages)
 
 4. compile the tex file with lualatex (this is latex with the lua backend, 
 which is what you had selected in your lyx file):
 
$lualatex Minimal-Example-neu.tex
 
 If compilation works (as it should), you should see a lot of text being 
 spitted out on the terminal. At the end, on the last line, it should say:
 
 Output written on Minimal-Example-neu.pdf
 
 If not, then you have a problem with your tex installation. Stop here 
 
 5. Go to the Desktop in the Finder. Open Minimal-Example-neu.pdf in preview 
 or other pdf reader. You should see your example nicely typeset, but with no 
 references yet. It will show the ref keys in bold. This is as it should be, 
 you haven't run your bib processor yet (biber). You'll do that next
 
 6. Go back to the terminal. Check again that you are in the right directory:
 
 $pwd
 
 This means present working directory. It should reply that you are in 
 /Users/Your-user-name/Desktop. If not, repeated step 2 above
 
 7. Run biber. You do that with the command:
 
 biber Minimal-Example-neu
 
 (notice that you don't type the .tex suffix this time)
 
 Biber should run, read your bib file and analyze your references. It will 
 spit out a few lines to the terminal. Each line will begin with either INFO 
 or WARNING or ERROR You should only have INFO and WARNING lines. The 
 next to last line should tell you that Minimal-Example-neu.bbl has been 
 created. Here is the complete output when I run manually biber on your file:
 
 INFO - This is Biber 1.5
 INFO - Logfile is 'Minimal-Example-neu.blg'
 INFO - Reading 'Minimal-Example-neu.bcf'
 INFO - Found 4 citekeys in bib section 0
 INFO - Processing section 0
 INFO - Looking for bibtex format file '/home/stefano/Desktop/Diss3.bib' for 
 section 0
 INFO - Decoding LaTeX character macros into UTF-8
 INFO - Found BibTeX data source '/home/stefano/Desktop/Diss3.bib'
 WARN - I didn't find a database entry for 'LeWitt:1999uq' (section 0)
 INFO - Overriding locale 'en_US.UTF-8' default tailoring 'variable = shifted' 
 with 'variable = non-ignorable'
 INFO - Sorting 'entry' list 'nty' keys
 INFO - No sort tailoring available for locale 'en_US.UTF-8'
 INFO - Writing 'Minimal-Example-neu.bbl' with encoding 'UTF-8'
 INFO - Output to Minimal-Example-neu.bbl
 INFO - WARNINGS: 1
 
 You have a warning, because your bib file is missing a reference. But 
 everything else is fine. If this is not what you get---and especially if you 
 get ERROR lines---stop here and report back. Otherwise you're almost done.
 
 8. Run lualatex again as in step 4 above. Twice. That is, go back to step 4, 
 run lualatex, and then do it again.
 
 9. Check your pdf file as you did in step 5 above. You should now be able to 
 see your references. 
 
 
 Now, if 

Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-10 Thread stefano franchi
On Sun, Mar 10, 2013 at 10:47 AM, jezZiFeR jezzi...@gmail.com wrote:

 As I also have had several other problems witch my computer and with its
 permissions I am now looking for that. It could be, that LyX does not have
 the permissions to change its settings.


Hi Jess,

I am glad to hear I could be somewhat helpful. Now that  you know for sure
you a lyx problem, it should be easier to fix. Do not hesitate to come back
to the list with further questions.


Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-10 Thread jezZiFeR
Dear Stefano,

thank you so much for your thorough answer, which really helped me. All of the 
procedures you described to test my TeX-installation worked fine, and for me it 
is LyX, which is not working correctly. As I also have had several other 
problems witch my computer and with its permissions I am now looking for that. 
It could be, that LyX does not have the permissions to change its settings.

I think this will take a little time now, I just wanted to let you know, that 
your instructions were very helpful, and that I could use LyX hopefully soon 
again.

Best
Jess





Am 09.03.2013 um 17:49 schrieb stefano franchi:

> 
> On Sat, Mar 9, 2013 at 10:10 AM, jezZiFeR  wrote:
> I could also open terminal, but I do not understand what to do then. What 
> exactly should I do on the desktop folder? There is the file, but I do not 
> know what to do with it, and I do not know how to compile manually.
> 
> I also do not know how to run biber. Do I not need to exchange my settings 
> then first? This is when LyX crashes all the times…
> 
> Hope you could help, thank you so much!
> Jess
> 
> Hi Jess,
> 
> what I am suggesting is that you try to issue the latex commands directly 
> (instead of lyx doing it for you in the background). That way you could see 
> if latex (and biber) are behaving properly, which would mean your problem is 
> with lyx. This is what you do.
> 
> 1. Open a terminal window. You will see a prompt, something ending with a $ 
> sign. From here on I will indicate the commands you need to enter by putting 
> them on a single line, preceded by the $ character. You need to type what 
> follows the $.
> 
> 2. change directory to the Desktop folder. You would type
> 
>$cd ~/Desktop 
> 
> (or the German equivalent, I'm not sure if the Mac translates the directory 
> names. I doubt it, though)
> 
> 
> 3. Check that both the .tex file and the .bib file are present in the 
> directory:
> 
>$ ls Minimal-Example-neu.tex
> 
>   $ ls Diss3.bib
> 
> In both cases you shoudl get back the name of the file(s). If they are not 
> present, you'll get an error message. In that case, go back to the finder and 
> moves the files to the desktop. Repeat step 3 until you are sure the files 
> are there (no error messages)
> 
> 4. compile the tex file with lualatex (this is latex with the lua backend, 
> which is what you had selected in your lyx file):
> 
>$lualatex Minimal-Example-neu.tex
> 
> If compilation works (as it should), you should see a lot of text being 
> spitted out on the terminal. At the end, on the last line, it should say:
> 
> Output written on Minimal-Example-neu.pdf
> 
> If not, then you have a problem with your tex installation. Stop here 
> 
> 5. Go to the Desktop in the Finder. Open Minimal-Example-neu.pdf in preview 
> or other pdf reader. You should see your example nicely typeset, but with no 
> references yet. It will show the ref keys in bold. This is as it should be, 
> you haven't run your bib processor yet (biber). You'll do that next
> 
> 6. Go back to the terminal. Check again that you are in the right directory:
> 
> $pwd
> 
> This means "present working directory". It should reply that you are in 
> /Users/Your-user-name/Desktop. If not, repeated step 2 above
> 
> 7. Run biber. You do that with the command:
> 
> biber Minimal-Example-neu
> 
> (notice that you don't type the .tex suffix this time)
> 
> Biber should run, read your bib file and analyze your references. It will 
> spit out a few lines to the terminal. Each line will begin with either "INFO" 
> or "WARNING" or "ERROR" You should only have "INFO" and "WARNING" lines. The 
> next to last line should tell you that Minimal-Example-neu.bbl has been 
> created. Here is the complete output when I run manually biber on your file:
> 
> INFO - This is Biber 1.5
> INFO - Logfile is 'Minimal-Example-neu.blg'
> INFO - Reading 'Minimal-Example-neu.bcf'
> INFO - Found 4 citekeys in bib section 0
> INFO - Processing section 0
> INFO - Looking for bibtex format file '/home/stefano/Desktop/Diss3.bib' for 
> section 0
> INFO - Decoding LaTeX character macros into UTF-8
> INFO - Found BibTeX data source '/home/stefano/Desktop/Diss3.bib'
> WARN - I didn't find a database entry for 'LeWitt:1999uq' (section 0)
> INFO - Overriding locale 'en_US.UTF-8' default tailoring 'variable = shifted' 
> with 'variable = non-ignorable'
> INFO - Sorting 'entry' list 'nty' keys
> INFO - No sort tailoring available for locale 'en_US.UTF-8'
> INFO - Writing 'Minimal-Example-neu.bbl' with encoding 'UTF-8'
> INFO - Output to Minimal-Example-neu.bbl
> INFO - WARNINGS: 1
> 
> You have a warning, because your bib file is missing a reference. But 
> everything else is fine. If this is not what you get---and especially if you 
> get ERROR lines---stop here and report back. Otherwise you're almost done.
> 
> 8. Run lualatex again as in step 4 above. Twice. That is, go back to step 4, 
> run lualatex, and then do it 

Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-10 Thread stefano franchi
On Sun, Mar 10, 2013 at 10:47 AM, jezZiFeR  wrote:

> As I also have had several other problems witch my computer and with its
> permissions I am now looking for that. It could be, that LyX does not have
> the permissions to change its settings.
>
>
Hi Jess,

I am glad to hear I could be somewhat helpful. Now that  you know for sure
you a lyx problem, it should be easier to fix. Do not hesitate to come back
to the list with further questions.


Cheers,

Stefano

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

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


Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread jezZiFeR
Dear Stefano and list-members,I tried some things, but in my case your file does not work. I change the path to my .bib-file on the desktop again, and I also turned back to natbib for the bibliography. Could it be, that there is something wrong with my absolute path for the -bib-file?I have the bib-file on the desktop, and this is my path:/Users/ZZZ/Schreibtisch/Diss3.bibJess

Minimal Example neu.lyx
Description: Binary data
Am 08.03.2013 um 23:57 schrieb stefano franchi:On Fri, Mar 8, 2013 at 1:04 PM, jezZiFeR jezzi...@gmail.com wrote:
Dear Stefano,As far as I can see it still does not work. So here I send a minimal example. I hope it is okay to send it privately, or should I send to the list?
Hi Jess,it is always better to reply to the whole list---more people will be able to help. Your file works here. Here is what I did:- I had to change the \addbibresource line to make it point to where I had downloaded your .bib file. 
- I changed the bibliography to "default" instead of natbib because I do not have the biblatrex module here on my laptop.- Finally, I commented out the line \bibliography in your preamble---you don't need that with biblatex.
My guess is still that your problem is (or hopefully was) with the \addbibresource line. Let me know if it compiles with the correct refes on your machine. I enclose below both the pdf and the lyx file. Notice that that pdf has a missing reference for LeWitt199:uk But that's how it should be because there is no such key in your Diss3.bib file.

Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread stefano franchi
On Sat, Mar 9, 2013 at 4:22 AM, jezZiFeR jezzi...@gmail.com wrote:

 Dear Stefano and list-members,

 I tried some things, but in my case your file does not work. I change the
 path to my .bib-file on the desktop again, and I also turned back to natbib
 for the bibliography. Could it be, that there is something wrong with my
 absolute path for the -bib-file?

 I have the bib-file on the desktop, and this is my path:
 /Users/ZZZ/Schreibtisch/Diss3.bib

 Jess


Hi Jess,


your new file works fine here as soon as I change the path in
\addbibresource to /home/stefano/Desktop/Diss3.bib


You could take a look at  the LaTeX and biber  logs and check  what they
are telling you. Somehow biber is not finding your bib file, it seems to
me. A capitalization error, perhaps? I think you are on a Mac. If you open
the terminal and type

ls  /Users/ZZZ/Schreibtisch/Diss3.bib

do you get the exact path back?

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread jezZiFeR
Dear list, dear Stefano,thanks again. Well, first I tried to check via the terminal wether I get the exact path back, which I did (even though I had to change from the german »Schreibtisch« to »Desktop« again – which was just one of the last tries I did before).After that I checked, wether biber is active in the preferences. In fact, biber was not, it was biblatex which was acive, so I tried to change that. Every time I did LyX crashed with an error – I add the screenshot. But even worse: for I wanted to have the screenshot in english language, I also tried to change the language of LyX, and again it crashed. I seems that I could not do any changes in the preferences without generating errors. I tried several things. Sometimes LyX did not crash, but it also did not save the changes.So it seems I have a problem with LyX – does anybody know what I could do in this case?ThanksJessAm 09.03.2013 um 15:52 schrieb stefano franchi:On Sat, Mar 9, 2013 at 4:22 AM, jezZiFeR jezzi...@gmail.com wrote:
Dear Stefano and list-members,I tried some things, but in my case your file does not work. I change the path to my .bib-file on the desktop again, and I also turned back to natbib for the bibliography. Could it be, that there is something wrong with my absolute path for the -bib-file?
I have the bib-file on the desktop, and this is my path:/Users/ZZZ/Schreibtisch/Diss3.bib
JessHi Jess,
your new file works fine here as soon as I change the path in \addbibresource to /home/stefano/Desktop/Diss3.bibYou could take a look at the LaTeX and biber logs and check what they are telling you. Somehow biber is not finding your bib file, it seems to me. A capitalization error, perhaps? I think you are on a Mac. If you open the terminal and type 
ls /Users/ZZZ/Schreibtisch/Diss3.bibdo you get the exact path back?

Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread stefano franchi
On Sat, Mar 9, 2013 at 9:33 AM, jezZiFeR jezzi...@gmail.com wrote:

 Dear list, dear Stefano,

 thanks again. Well, first I tried to check via the terminal wether I get
 the exact path back, which I did (even though I had to change from the
 german »Schreibtisch« to »Desktop« again – which was just one of the last
 tries I did before).

 After that I checked, wether biber is active in the preferences. In fact,
 biber was not, it was biblatex which was acive, so I tried to change that.
 Every time I did LyX crashed with an error – I add the screenshot. But even
 worse: for I wanted to have the screenshot in english language, I also
 tried to change the language of LyX, and again it crashed. I seems that I
 could not do any changes in the preferences without generating errors. I
 tried several things. Sometimes LyX did not crash, but it also did not save
 the changes.



Well, one thing I could think of is that you have spaces in your filename.
Lyx can deal with them, but latex definitely does not like them. in my
experience.  So first of all I would rename the file Minimal-Example-neu.lyx

Then, just to be sure your problem is with lyx and not
biblatex/latex/biber, I would try the following:

1. From lyx, export the file to latex format (FileExportlatex(luaTex)

2. Open a terminal, move to the Desktop folder

3. Compile the file manually with lualatex Minimal-Example-neu.tex

4. run biber with biber minimal-Example.neu

5. Run lualatex again twice  as in step 3


If you get a pdf file, then your problem is with lyx or with the lyx/latex
communication process. If you don't, lyx is innocent.

Cheers,


S.

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread jezZiFeR
Dear Stefano,

I am sorry, I do not exactly understand what to do. I changed the name of my 
file to avoid spaces in it, and I also exported to LaTeX-format, as you wrote.

I could also open terminal, but I do not understand what to do then. What 
exactly should I do on the desktop folder? There is the file, but I do not know 
what to do with it, and I do not know how to compile manually.

I also do not know how to run biber. Do I not need to exchange my settings then 
first? This is when LyX crashes all the times…

Hope you could help, thank you so much!
Jess





Am 09.03.2013 um 16:54 schrieb stefano franchi:

 On Sat, Mar 9, 2013 at 9:33 AM, jezZiFeR jezzi...@gmail.com wrote:
 Dear list, dear Stefano,
 
 thanks again. Well, first I tried to check via the terminal wether I get the 
 exact path back, which I did (even though I had to change from the german 
 »Schreibtisch« to »Desktop« again – which was just one of the last tries I 
 did before).
 
 After that I checked, wether biber is active in the preferences. In fact, 
 biber was not, it was biblatex which was acive, so I tried to change that. 
 Every time I did LyX crashed with an error – I add the screenshot. But even 
 worse: for I wanted to have the screenshot in english language, I also tried 
 to change the language of LyX, and again it crashed. I seems that I could not 
 do any changes in the preferences without generating errors. I tried several 
 things. Sometimes LyX did not crash, but it also did not save the changes.
 
 
 
 Well, one thing I could think of is that you have spaces in your filename. 
 Lyx can deal with them, but latex definitely does not like them. in my 
 experience.  So first of all I would rename the file Minimal-Example-neu.lyx
 
 Then, just to be sure your problem is with lyx and not biblatex/latex/biber, 
 I would try the following:
 
 1. From lyx, export the file to latex format (FileExportlatex(luaTex)
 
 2. Open a terminal, move to the Desktop folder
 
 3. Compile the file manually with lualatex Minimal-Example-neu.tex
 
 4. run biber with biber minimal-Example.neu
 
 5. Run lualatex again twice  as in step 3
 
 
 If you get a pdf file, then your problem is with lyx or with the lyx/latex 
 communication process. If you don't, lyx is innocent.



Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread jezZiFeR
Dear Stefano and list-members,I tried some things, but in my case your file does not work. I change the path to my .bib-file on the desktop again, and I also turned back to natbib for the bibliography. Could it be, that there is something wrong with my absolute path for the -bib-file?I have the bib-file on the desktop, and this is my path:/Users/ZZZ/Schreibtisch/Diss3.bibJess

Minimal Example neu.lyx
Description: Binary data
Am 08.03.2013 um 23:57 schrieb stefano franchi:On Fri, Mar 8, 2013 at 1:04 PM, jezZiFeR jezzi...@gmail.com wrote:
Dear Stefano,As far as I can see it still does not work. So here I send a minimal example. I hope it is okay to send it privately, or should I send to the list?
Hi Jess,it is always better to reply to the whole list---more people will be able to help. Your file works here. Here is what I did:- I had to change the \addbibresource line to make it point to where I had downloaded your .bib file. 
- I changed the bibliography to "default" instead of natbib because I do not have the biblatrex module here on my laptop.- Finally, I commented out the line \bibliography in your preamble---you don't need that with biblatex.
My guess is still that your problem is (or hopefully was) with the \addbibresource line. Let me know if it compiles with the correct refes on your machine. I enclose below both the pdf and the lyx file. Notice that that pdf has a missing reference for LeWitt199:uk But that's how it should be because there is no such key in your Diss3.bib file.

Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread stefano franchi
On Sat, Mar 9, 2013 at 4:22 AM, jezZiFeR jezzi...@gmail.com wrote:

 Dear Stefano and list-members,

 I tried some things, but in my case your file does not work. I change the
 path to my .bib-file on the desktop again, and I also turned back to natbib
 for the bibliography. Could it be, that there is something wrong with my
 absolute path for the -bib-file?

 I have the bib-file on the desktop, and this is my path:
 /Users/ZZZ/Schreibtisch/Diss3.bib

 Jess


Hi Jess,


your new file works fine here as soon as I change the path in
\addbibresource to /home/stefano/Desktop/Diss3.bib


You could take a look at  the LaTeX and biber  logs and check  what they
are telling you. Somehow biber is not finding your bib file, it seems to
me. A capitalization error, perhaps? I think you are on a Mac. If you open
the terminal and type

ls  /Users/ZZZ/Schreibtisch/Diss3.bib

do you get the exact path back?

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread jezZiFeR
Dear list, dear Stefano,thanks again. Well, first I tried to check via the terminal wether I get the exact path back, which I did (even though I had to change from the german »Schreibtisch« to »Desktop« again – which was just one of the last tries I did before).After that I checked, wether biber is active in the preferences. In fact, biber was not, it was biblatex which was acive, so I tried to change that. Every time I did LyX crashed with an error – I add the screenshot. But even worse: for I wanted to have the screenshot in english language, I also tried to change the language of LyX, and again it crashed. I seems that I could not do any changes in the preferences without generating errors. I tried several things. Sometimes LyX did not crash, but it also did not save the changes.So it seems I have a problem with LyX – does anybody know what I could do in this case?ThanksJessAm 09.03.2013 um 15:52 schrieb stefano franchi:On Sat, Mar 9, 2013 at 4:22 AM, jezZiFeR jezzi...@gmail.com wrote:
Dear Stefano and list-members,I tried some things, but in my case your file does not work. I change the path to my .bib-file on the desktop again, and I also turned back to natbib for the bibliography. Could it be, that there is something wrong with my absolute path for the -bib-file?
I have the bib-file on the desktop, and this is my path:/Users/ZZZ/Schreibtisch/Diss3.bib
JessHi Jess,
your new file works fine here as soon as I change the path in \addbibresource to /home/stefano/Desktop/Diss3.bibYou could take a look at the LaTeX and biber logs and check what they are telling you. Somehow biber is not finding your bib file, it seems to me. A capitalization error, perhaps? I think you are on a Mac. If you open the terminal and type 
ls /Users/ZZZ/Schreibtisch/Diss3.bibdo you get the exact path back?

Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread stefano franchi
On Sat, Mar 9, 2013 at 9:33 AM, jezZiFeR jezzi...@gmail.com wrote:

 Dear list, dear Stefano,

 thanks again. Well, first I tried to check via the terminal wether I get
 the exact path back, which I did (even though I had to change from the
 german »Schreibtisch« to »Desktop« again – which was just one of the last
 tries I did before).

 After that I checked, wether biber is active in the preferences. In fact,
 biber was not, it was biblatex which was acive, so I tried to change that.
 Every time I did LyX crashed with an error – I add the screenshot. But even
 worse: for I wanted to have the screenshot in english language, I also
 tried to change the language of LyX, and again it crashed. I seems that I
 could not do any changes in the preferences without generating errors. I
 tried several things. Sometimes LyX did not crash, but it also did not save
 the changes.



Well, one thing I could think of is that you have spaces in your filename.
Lyx can deal with them, but latex definitely does not like them. in my
experience.  So first of all I would rename the file Minimal-Example-neu.lyx

Then, just to be sure your problem is with lyx and not
biblatex/latex/biber, I would try the following:

1. From lyx, export the file to latex format (FileExportlatex(luaTex)

2. Open a terminal, move to the Desktop folder

3. Compile the file manually with lualatex Minimal-Example-neu.tex

4. run biber with biber minimal-Example.neu

5. Run lualatex again twice  as in step 3


If you get a pdf file, then your problem is with lyx or with the lyx/latex
communication process. If you don't, lyx is innocent.

Cheers,


S.

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread jezZiFeR
Dear Stefano,

I am sorry, I do not exactly understand what to do. I changed the name of my 
file to avoid spaces in it, and I also exported to LaTeX-format, as you wrote.

I could also open terminal, but I do not understand what to do then. What 
exactly should I do on the desktop folder? There is the file, but I do not know 
what to do with it, and I do not know how to compile manually.

I also do not know how to run biber. Do I not need to exchange my settings then 
first? This is when LyX crashes all the times…

Hope you could help, thank you so much!
Jess





Am 09.03.2013 um 16:54 schrieb stefano franchi:

 On Sat, Mar 9, 2013 at 9:33 AM, jezZiFeR jezzi...@gmail.com wrote:
 Dear list, dear Stefano,
 
 thanks again. Well, first I tried to check via the terminal wether I get the 
 exact path back, which I did (even though I had to change from the german 
 »Schreibtisch« to »Desktop« again – which was just one of the last tries I 
 did before).
 
 After that I checked, wether biber is active in the preferences. In fact, 
 biber was not, it was biblatex which was acive, so I tried to change that. 
 Every time I did LyX crashed with an error – I add the screenshot. But even 
 worse: for I wanted to have the screenshot in english language, I also tried 
 to change the language of LyX, and again it crashed. I seems that I could not 
 do any changes in the preferences without generating errors. I tried several 
 things. Sometimes LyX did not crash, but it also did not save the changes.
 
 
 
 Well, one thing I could think of is that you have spaces in your filename. 
 Lyx can deal with them, but latex definitely does not like them. in my 
 experience.  So first of all I would rename the file Minimal-Example-neu.lyx
 
 Then, just to be sure your problem is with lyx and not biblatex/latex/biber, 
 I would try the following:
 
 1. From lyx, export the file to latex format (FileExportlatex(luaTex)
 
 2. Open a terminal, move to the Desktop folder
 
 3. Compile the file manually with lualatex Minimal-Example-neu.tex
 
 4. run biber with biber minimal-Example.neu
 
 5. Run lualatex again twice  as in step 3
 
 
 If you get a pdf file, then your problem is with lyx or with the lyx/latex 
 communication process. If you don't, lyx is innocent.



Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread jezZiFeR
Dear Stefano and list-members,I tried some things, but in my case your file does not work. I change the path to my .bib-file on the desktop again, and I also turned back to natbib for the bibliography. Could it be, that there is something wrong with my absolute path for the -bib-file?I have the bib-file on the desktop, and this is my path:/Users/ZZZ/Schreibtisch/Diss3.bibJess

Minimal Example neu.lyx
Description: Binary data
Am 08.03.2013 um 23:57 schrieb stefano franchi:On Fri, Mar 8, 2013 at 1:04 PM, jezZiFeR  wrote:
Dear Stefano,As far as I can see it still does not work. So here I send a minimal example. I hope it is okay to send it privately, or should I send to the list?
Hi Jess,it is always better to reply to the whole list---more people will be able to help. Your file works here. Here is what I did:- I had to change the \addbibresource line to make it point to where I had downloaded your .bib file. 
-  I changed the bibliography to "default"  instead of natbib because I do not have the biblatrex module here on my laptop.- Finally, I commented out the line \bibliography in your preamble---you don't need that with biblatex.
My guess is still that your problem is (or hopefully was) with the \addbibresource line. Let me know if it compiles with the correct refes on your machine. I enclose below both the pdf and the lyx file. Notice that that pdf has a missing reference for LeWitt199:uk But that's how it should be because there is no such key in your Diss3.bib file.

Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread stefano franchi
On Sat, Mar 9, 2013 at 4:22 AM, jezZiFeR  wrote:

> Dear Stefano and list-members,
>
> I tried some things, but in my case your file does not work. I change the
> path to my .bib-file on the desktop again, and I also turned back to natbib
> for the bibliography. Could it be, that there is something wrong with my
> absolute path for the -bib-file?
>
> I have the bib-file on the desktop, and this is my path:
> /Users/ZZZ/Schreibtisch/Diss3.bib
>
> Jess
>
>
Hi Jess,


your new file works fine here as soon as I change the path in
\addbibresource to /home/stefano/Desktop/Diss3.bib


You could take a look at  the LaTeX and biber  logs and check  what they
are telling you. Somehow biber is not finding your bib file, it seems to
me. A capitalization error, perhaps? I think you are on a Mac. If you open
the terminal and type

ls  /Users/ZZZ/Schreibtisch/Diss3.bib

do you get the exact path back?

Stefano



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

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


Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread jezZiFeR
Dear list, dear Stefano,thanks again. Well, first I tried to check via the terminal wether I get the exact path back, which I did (even though I had to change from the german »Schreibtisch« to »Desktop« again – which was just one of the last tries I did before).After that I checked, wether biber is active in the preferences. In fact, biber was not, it was biblatex which was acive, so I tried to change that. Every time I did LyX crashed with an error – I add the screenshot. But even worse: for I wanted to have the screenshot in english language, I also tried to change the language of LyX, and again it crashed. I seems that I could not do any changes in the preferences without generating errors. I tried several things. Sometimes LyX did not crash, but it also did not save the changes.So it seems I have a problem with LyX – does anybody know what I could do in this case?ThanksJessAm 09.03.2013 um 15:52 schrieb stefano franchi:On Sat, Mar 9, 2013 at 4:22 AM, jezZiFeR  wrote:
Dear Stefano and list-members,I tried some things, but in my case your file does not work. I change the path to my .bib-file on the desktop again, and I also turned back to natbib for the bibliography. Could it be, that there is something wrong with my absolute path for the -bib-file?
I have the bib-file on the desktop, and this is my path:/Users/ZZZ/Schreibtisch/Diss3.bib
JessHi Jess,
your new file works fine here as soon as I change the path in \addbibresource to /home/stefano/Desktop/Diss3.bibYou could take a look at  the LaTeX and biber  logs and check  what they are telling you. Somehow biber is not finding your bib file, it seems to me. A capitalization error, perhaps? I think you are on a Mac. If you open the terminal and type 
ls  /Users/ZZZ/Schreibtisch/Diss3.bibdo you get the exact path back? 

Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread stefano franchi
On Sat, Mar 9, 2013 at 9:33 AM, jezZiFeR  wrote:

> Dear list, dear Stefano,
>
> thanks again. Well, first I tried to check via the terminal wether I get
> the exact path back, which I did (even though I had to change from the
> german »Schreibtisch« to »Desktop« again – which was just one of the last
> tries I did before).
>
> After that I checked, wether biber is active in the preferences. In fact,
> biber was not, it was biblatex which was acive, so I tried to change that.
> Every time I did LyX crashed with an error – I add the screenshot. But even
> worse: for I wanted to have the screenshot in english language, I also
> tried to change the language of LyX, and again it crashed. I seems that I
> could not do any changes in the preferences without generating errors. I
> tried several things. Sometimes LyX did not crash, but it also did not save
> the changes.
>
>

Well, one thing I could think of is that you have spaces in your filename.
Lyx can deal with them, but latex definitely does not like them. in my
experience.  So first of all I would rename the file Minimal-Example-neu.lyx

Then, just to be sure your problem is with lyx and not
biblatex/latex/biber, I would try the following:

1. From lyx, export the file to latex format (File>>Export>>latex(luaTex)

2. Open a terminal, move to the Desktop folder

3. Compile the file manually with lualatex Minimal-Example-neu.tex

4. run biber with biber minimal-Example.neu

5. Run lualatex again twice  as in step 3


If you get a pdf file, then your problem is with lyx or with the lyx/latex
communication process. If you don't, lyx is innocent.

Cheers,


S.

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

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


Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-09 Thread jezZiFeR
Dear Stefano,

I am sorry, I do not exactly understand what to do. I changed the name of my 
file to avoid spaces in it, and I also exported to LaTeX-format, as you wrote.

I could also open terminal, but I do not understand what to do then. What 
exactly should I do on the desktop folder? There is the file, but I do not know 
what to do with it, and I do not know how to compile manually.

I also do not know how to run biber. Do I not need to exchange my settings then 
first? This is when LyX crashes all the times…

Hope you could help, thank you so much!
Jess





Am 09.03.2013 um 16:54 schrieb stefano franchi:

> On Sat, Mar 9, 2013 at 9:33 AM, jezZiFeR  wrote:
> Dear list, dear Stefano,
> 
> thanks again. Well, first I tried to check via the terminal wether I get the 
> exact path back, which I did (even though I had to change from the german 
> »Schreibtisch« to »Desktop« again – which was just one of the last tries I 
> did before).
> 
> After that I checked, wether biber is active in the preferences. In fact, 
> biber was not, it was biblatex which was acive, so I tried to change that. 
> Every time I did LyX crashed with an error – I add the screenshot. But even 
> worse: for I wanted to have the screenshot in english language, I also tried 
> to change the language of LyX, and again it crashed. I seems that I could not 
> do any changes in the preferences without generating errors. I tried several 
> things. Sometimes LyX did not crash, but it also did not save the changes.
> 
> 
> 
> Well, one thing I could think of is that you have spaces in your filename. 
> Lyx can deal with them, but latex definitely does not like them. in my 
> experience.  So first of all I would rename the file Minimal-Example-neu.lyx
> 
> Then, just to be sure your problem is with lyx and not biblatex/latex/biber, 
> I would try the following:
> 
> 1. From lyx, export the file to latex format (File>>Export>>latex(luaTex)
> 
> 2. Open a terminal, move to the Desktop folder
> 
> 3. Compile the file manually with lualatex Minimal-Example-neu.tex
> 
> 4. run biber with biber minimal-Example.neu
> 
> 5. Run lualatex again twice  as in step 3
> 
> 
> If you get a pdf file, then your problem is with lyx or with the lyx/latex 
> communication process. If you don't, lyx is innocent.



Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-08 Thread stefano franchi
On Fri, Mar 8, 2013 at 11:19 AM, jezZiFeR jezzi...@gmail.com wrote:
Dear list,

I tried to use biblatex, biblatex 8 and biber with biblatex-dw, and in all
three cases – if I got them working, which I am not sure of – I have the
same problem: the citations are never shown properly in the rendered files
–  just the cite key in a bold font is displayed.


Jess,

From your description it seems that biber or bibtex (depending which
processor you you choose in Documentsettingsbibliography) are not
finding your .bib file. This is typically the reason for your output
showing the bibtex keys (in bold) instead of the references.

Also, did you tell biblatex where to look for your bib file? You need a
line like the following in your preamble:

\addbibresource{/absolute/path/to/my/bibfile.bib}

Notice that the .bib extension IS REQUIRED

Could you post a minimal example, if the above does not work?

Cheers,

S.



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-08 Thread stefano franchi
On Fri, Mar 8, 2013 at 11:19 AM, jezZiFeR jezzi...@gmail.com wrote:
Dear list,

I tried to use biblatex, biblatex 8 and biber with biblatex-dw, and in all
three cases – if I got them working, which I am not sure of – I have the
same problem: the citations are never shown properly in the rendered files
–  just the cite key in a bold font is displayed.


Jess,

From your description it seems that biber or bibtex (depending which
processor you you choose in Documentsettingsbibliography) are not
finding your .bib file. This is typically the reason for your output
showing the bibtex keys (in bold) instead of the references.

Also, did you tell biblatex where to look for your bib file? You need a
line like the following in your preamble:

\addbibresource{/absolute/path/to/my/bibfile.bib}

Notice that the .bib extension IS REQUIRED

Could you post a minimal example, if the above does not work?

Cheers,

S.



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use biblatex-dw with biber or biblatex or bilatex8 in LyX…

2013-03-08 Thread stefano franchi
On Fri, Mar 8, 2013 at 11:19 AM, jezZiFeR  wrote:
Dear list,

I tried to use biblatex, biblatex 8 and biber with biblatex-dw, and in all
three cases – if I got them working, which I am not sure of – I have the
same problem: the citations are never shown properly in the rendered files
–  just the cite key in a bold font is displayed.


Jess,

>From your description it seems that biber or bibtex (depending which
processor you you choose in Document>>settings>>bibliography) are not
finding your .bib file. This is typically the reason for your output
showing the bibtex keys (in bold) instead of the references.

Also, did you tell biblatex where to look for your bib file>? You need a
line like the following in your preamble:

\addbibresource{/absolute/path/to/my/bibfile.bib}

Notice that the .bib extension IS REQUIRED

Could you post a minimal example, if the above does not work?

Cheers,

S.



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

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


Re: How to use Enhant on Lyx

2013-01-27 Thread Stephan Witt
Am 27.01.2013 um 06:40 schrieb Max Suomi johannes81...@yahoo.com:

 Hi. Hunspell is not able to handle my language so I would like to use Enchant 
 because it supports the best free spell checker for my language.

Hi, what's your language? Finnish? Is it really that bad with Hunspell?

 The Lyx-wiki says the following: 
 
 Beginning with 2.0 support for the aspell command line program has been 
 dropped. Although the aspell library (aspell 
 0.60.x) is still supported, Windows binaries are compiled without this 
 feature. Windows users should thus use either Hunspell or Enchant.
 
 Ok, but the only spellchecking engine available in Lyx preferences is 
 Hunspell. How do I make Enchant available?

I don't think you can add Enchant support without making your own LyX setup.
You have to build LyX yourself or you have to change the OS and switch to Linux.
Perhaps you can ask the windows maintainers to create the windows package with 
Enchant support included.

 I suppose I have to install 
 
 enchant-1.6.0.tar.gz (available from 
 http://www.abisource.com/projects/enchant/#download)? Does anyone know 
 whether after that I must also reinstall Lyx?
 I use Windows Vista 32-bit.

In case LyX is build without support for Enchant you cannot add this with 
installing Enchant and reinstalling LyX.

Stephan

Re: How to use Enhant on Lyx

2013-01-27 Thread Stephan Witt
Am 27.01.2013 um 06:40 schrieb Max Suomi johannes81...@yahoo.com:

 Hi. Hunspell is not able to handle my language so I would like to use Enchant 
 because it supports the best free spell checker for my language.

Hi, what's your language? Finnish? Is it really that bad with Hunspell?

 The Lyx-wiki says the following: 
 
 Beginning with 2.0 support for the aspell command line program has been 
 dropped. Although the aspell library (aspell 
 0.60.x) is still supported, Windows binaries are compiled without this 
 feature. Windows users should thus use either Hunspell or Enchant.
 
 Ok, but the only spellchecking engine available in Lyx preferences is 
 Hunspell. How do I make Enchant available?

I don't think you can add Enchant support without making your own LyX setup.
You have to build LyX yourself or you have to change the OS and switch to Linux.
Perhaps you can ask the windows maintainers to create the windows package with 
Enchant support included.

 I suppose I have to install 
 
 enchant-1.6.0.tar.gz (available from 
 http://www.abisource.com/projects/enchant/#download)? Does anyone know 
 whether after that I must also reinstall Lyx?
 I use Windows Vista 32-bit.

In case LyX is build without support for Enchant you cannot add this with 
installing Enchant and reinstalling LyX.

Stephan

Re: How to use Enhant on Lyx

2013-01-27 Thread Stephan Witt
Am 27.01.2013 um 06:40 schrieb Max Suomi :

> Hi. Hunspell is not able to handle my language so I would like to use Enchant 
> because it supports the best free spell checker for my language.

Hi, what's your language? Finnish? Is it really that bad with Hunspell?

> The Lyx-wiki says the following: 
> 
> "Beginning with 2.0 support for the aspell command line program has been 
> dropped. Although the aspell library (aspell 
> 0.60.x) is still supported, Windows binaries are compiled without this 
> feature. Windows users should thus use either Hunspell or Enchant."
> 
> Ok, but the only spellchecking engine available in Lyx preferences is 
> Hunspell. How do I make Enchant available?

I don't think you can add Enchant support without making your own LyX setup.
You have to build LyX yourself or you have to change the OS and switch to Linux.
Perhaps you can ask the windows maintainers to create the windows package with 
Enchant support included.

> I suppose I have to install 
> 
> enchant-1.6.0.tar.gz (available from 
> http://www.abisource.com/projects/enchant/#download)? Does anyone know 
> whether after that I must also reinstall Lyx?
> I use Windows Vista 32-bit.

In case LyX is build without support for Enchant you cannot add this with 
installing Enchant and reinstalling LyX.

Stephan

Re: How to use biblatex with Lyx

2012-10-06 Thread Goetz Botterweck
Problem solved, details below.

On 05/10/2012 13:22, stefano franchi wrote:
 On Wed, Oct 3, 2012 at 7:04 PM, Goetz Botterweck
 goetz.botterw...@lero.ie wrote:
 I want to biblatex with Lyx and I followed the instructions at
 http://wiki.lyx.org/BibTeX/Biblatex

 PROBLEM
 When I compile the Lyx file into a pdf

 1) at the citation point only the Bibtex key is displayed. For instance, a
 reference with the key KeRi1988 will just display [KeRi1988 ] and not the
 expected [1].

 2) no bibliography is generated by \printbibliography
 I use biblatex routinely with LyX and it works well. I follow the
 instructions on the wiki page you linked to.
 The problem you are seeing seem to indicate that biblatex (or its
 backend) cannot find your bib file.
Solution: Give the full path to your .bib file, even if its in the same
directory as the .lyx file.

(I had the .bib file in the same directory as the .lyx file and assumed
that you do not have to give a full path, but actually you have to. I
also had tried with another another .bib file from the local tex tree,
which did not work because of syntax problems in the .bib file)

 1. [I don't know if this is possible in Windows.] Launching Lyx from a
 terminal and looking at the ouput that Lyx spits out in the terminal
 when you compile the file (i.e. when you hit ViewView Pdf)

In Windows there is a menu command View  View Messages, which then
displays the console output.

This helped me to diagnose the problem and find the solution above.

Thanks!


Re: How to use biblatex with Lyx

2012-10-06 Thread stefano franchi
On Sat, Oct 6, 2012 at 2:14 PM, Goetz Botterweck
goetz.botterw...@lero.ie wrote:
 Problem solved, details below.

 On 05/10/2012 13:22, stefano franchi wrote:
 On Wed, Oct 3, 2012 at 7:04 PM, Goetz Botterweck
 goetz.botterw...@lero.ie wrote:
 I want to biblatex with Lyx and I followed the instructions at
 http://wiki.lyx.org/BibTeX/Biblatex

 PROBLEM
 When I compile the Lyx file into a pdf

 1) at the citation point only the Bibtex key is displayed. For instance, a
 reference with the key KeRi1988 will just display [KeRi1988 ] and not the
 expected [1].

 2) no bibliography is generated by \printbibliography
 I use biblatex routinely with LyX and it works well. I follow the
 instructions on the wiki page you linked to.
 The problem you are seeing seem to indicate that biblatex (or its
 backend) cannot find your bib file.
 Solution: Give the full path to your .bib file, even if its in the same
 directory as the .lyx file.

 (I had the .bib file in the same directory as the .lyx file and assumed
 that you do not have to give a full path, but actually you have to. I
 also had tried with another another .bib file from the local tex tree,
 which did not work because of syntax problems in the .bib file)


Right, that's necessary. I guess this is because  Lyx exports the
latex file  to a temporary directory before running latex on it.

Glad to hear your problem's solved.

Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use biblatex with Lyx

2012-10-06 Thread Goetz Botterweck
Problem solved, details below.

On 05/10/2012 13:22, stefano franchi wrote:
 On Wed, Oct 3, 2012 at 7:04 PM, Goetz Botterweck
 goetz.botterw...@lero.ie wrote:
 I want to biblatex with Lyx and I followed the instructions at
 http://wiki.lyx.org/BibTeX/Biblatex

 PROBLEM
 When I compile the Lyx file into a pdf

 1) at the citation point only the Bibtex key is displayed. For instance, a
 reference with the key KeRi1988 will just display [KeRi1988 ] and not the
 expected [1].

 2) no bibliography is generated by \printbibliography
 I use biblatex routinely with LyX and it works well. I follow the
 instructions on the wiki page you linked to.
 The problem you are seeing seem to indicate that biblatex (or its
 backend) cannot find your bib file.
Solution: Give the full path to your .bib file, even if its in the same
directory as the .lyx file.

(I had the .bib file in the same directory as the .lyx file and assumed
that you do not have to give a full path, but actually you have to. I
also had tried with another another .bib file from the local tex tree,
which did not work because of syntax problems in the .bib file)

 1. [I don't know if this is possible in Windows.] Launching Lyx from a
 terminal and looking at the ouput that Lyx spits out in the terminal
 when you compile the file (i.e. when you hit ViewView Pdf)

In Windows there is a menu command View  View Messages, which then
displays the console output.

This helped me to diagnose the problem and find the solution above.

Thanks!


Re: How to use biblatex with Lyx

2012-10-06 Thread stefano franchi
On Sat, Oct 6, 2012 at 2:14 PM, Goetz Botterweck
goetz.botterw...@lero.ie wrote:
 Problem solved, details below.

 On 05/10/2012 13:22, stefano franchi wrote:
 On Wed, Oct 3, 2012 at 7:04 PM, Goetz Botterweck
 goetz.botterw...@lero.ie wrote:
 I want to biblatex with Lyx and I followed the instructions at
 http://wiki.lyx.org/BibTeX/Biblatex

 PROBLEM
 When I compile the Lyx file into a pdf

 1) at the citation point only the Bibtex key is displayed. For instance, a
 reference with the key KeRi1988 will just display [KeRi1988 ] and not the
 expected [1].

 2) no bibliography is generated by \printbibliography
 I use biblatex routinely with LyX and it works well. I follow the
 instructions on the wiki page you linked to.
 The problem you are seeing seem to indicate that biblatex (or its
 backend) cannot find your bib file.
 Solution: Give the full path to your .bib file, even if its in the same
 directory as the .lyx file.

 (I had the .bib file in the same directory as the .lyx file and assumed
 that you do not have to give a full path, but actually you have to. I
 also had tried with another another .bib file from the local tex tree,
 which did not work because of syntax problems in the .bib file)


Right, that's necessary. I guess this is because  Lyx exports the
latex file  to a temporary directory before running latex on it.

Glad to hear your problem's solved.

Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use biblatex with Lyx

2012-10-06 Thread Goetz Botterweck
Problem solved, details below.

On 05/10/2012 13:22, stefano franchi wrote:
> On Wed, Oct 3, 2012 at 7:04 PM, Goetz Botterweck
>  wrote:
>> I want to biblatex with Lyx and I followed the instructions at
>> http://wiki.lyx.org/BibTeX/Biblatex
>>
>> PROBLEM
>> When I compile the Lyx file into a pdf
>>
>> 1) at the citation point only the Bibtex key is displayed. For instance, a
>> reference with the key KeRi1988 will just display "[KeRi1988 ]" and not the
>> expected [1].
>>
>> 2) no bibliography is generated by \printbibliography
> I use biblatex routinely with LyX and it works well. I follow the
> instructions on the wiki page you linked to.
> The problem you are seeing seem to indicate that biblatex (or its
> backend) cannot find your bib file.
Solution: Give the full path to your .bib file, even if its in the same
directory as the .lyx file.

(I had the .bib file in the same directory as the .lyx file and assumed
that you do not have to give a full path, but actually you have to. I
also had tried with another another .bib file from the local tex tree,
which did not work because of syntax problems in the .bib file)

> 1. [I don't know if this is possible in Windows.] Launching Lyx from a
> terminal and looking at the ouput that Lyx spits out in the terminal
> when you compile the file (i.e. when you hit View>>View Pdf)

In Windows there is a menu command View > View Messages, which then
displays the console output.

This helped me to diagnose the problem and find the solution above.

Thanks!


Re: How to use biblatex with Lyx

2012-10-06 Thread stefano franchi
On Sat, Oct 6, 2012 at 2:14 PM, Goetz Botterweck
 wrote:
> Problem solved, details below.
>
> On 05/10/2012 13:22, stefano franchi wrote:
>> On Wed, Oct 3, 2012 at 7:04 PM, Goetz Botterweck
>>  wrote:
>>> I want to biblatex with Lyx and I followed the instructions at
>>> http://wiki.lyx.org/BibTeX/Biblatex
>>>
>>> PROBLEM
>>> When I compile the Lyx file into a pdf
>>>
>>> 1) at the citation point only the Bibtex key is displayed. For instance, a
>>> reference with the key KeRi1988 will just display "[KeRi1988 ]" and not the
>>> expected [1].
>>>
>>> 2) no bibliography is generated by \printbibliography
>> I use biblatex routinely with LyX and it works well. I follow the
>> instructions on the wiki page you linked to.
>> The problem you are seeing seem to indicate that biblatex (or its
>> backend) cannot find your bib file.
> Solution: Give the full path to your .bib file, even if its in the same
> directory as the .lyx file.
>
> (I had the .bib file in the same directory as the .lyx file and assumed
> that you do not have to give a full path, but actually you have to. I
> also had tried with another another .bib file from the local tex tree,
> which did not work because of syntax problems in the .bib file)
>

Right, that's necessary. I guess this is because  Lyx exports the
latex file  to a temporary directory before running latex on it.

Glad to hear your problem's solved.

Cheers,

Stefano


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

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


Re: How to use biblatex with Lyx

2012-10-05 Thread stefano franchi
Hi Goetz,



On Wed, Oct 3, 2012 at 7:04 PM, Goetz Botterweck
goetz.botterw...@lero.ie wrote:
 I want to biblatex with Lyx and I followed the instructions at
 http://wiki.lyx.org/BibTeX/Biblatex

 PROBLEM
 When I compile the Lyx file into a pdf

 1) at the citation point only the Bibtex key is displayed. For instance, a
 reference with the key KeRi1988 will just display [KeRi1988 ] and not the
 expected [1].

 2) no bibliography is generated by \printbibliography

I use biblatex routinely with LyX and it works well. I follow the
instructions on the wiki page you linked to.
The problem you are seeing seem to indicate that biblatex (or its
backend) cannot find your bib file. I would suggest, in order of
complexity:

1. [I don't know if this is possible in Windows.] Launching Lyx from a
terminal and looking at the ouput that Lyx spits out in the terminal
when you compile the file (i.e. when you hit ViewView Pdf)

2. Opening the latex  log and looking for the output from biblatex and
bibtext (or any other backend you may be using at the time). You may
find hints on what went wrong

3. Export the file to Latex and compile it from a terminal directly,
issuing the commands latex myfile.tex, bibtex myfile, latex
myfile.tex, latex myfile.tex . If the .bib file is not found,
bibtex (or biber, etc) will tell you so immediately.

4. If all else fails, please post a minimal working example to the list.

Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use biblatex with Lyx

2012-10-05 Thread stefano franchi
Hi Goetz,



On Wed, Oct 3, 2012 at 7:04 PM, Goetz Botterweck
goetz.botterw...@lero.ie wrote:
 I want to biblatex with Lyx and I followed the instructions at
 http://wiki.lyx.org/BibTeX/Biblatex

 PROBLEM
 When I compile the Lyx file into a pdf

 1) at the citation point only the Bibtex key is displayed. For instance, a
 reference with the key KeRi1988 will just display [KeRi1988 ] and not the
 expected [1].

 2) no bibliography is generated by \printbibliography

I use biblatex routinely with LyX and it works well. I follow the
instructions on the wiki page you linked to.
The problem you are seeing seem to indicate that biblatex (or its
backend) cannot find your bib file. I would suggest, in order of
complexity:

1. [I don't know if this is possible in Windows.] Launching Lyx from a
terminal and looking at the ouput that Lyx spits out in the terminal
when you compile the file (i.e. when you hit ViewView Pdf)

2. Opening the latex  log and looking for the output from biblatex and
bibtext (or any other backend you may be using at the time). You may
find hints on what went wrong

3. Export the file to Latex and compile it from a terminal directly,
issuing the commands latex myfile.tex, bibtex myfile, latex
myfile.tex, latex myfile.tex . If the .bib file is not found,
bibtex (or biber, etc) will tell you so immediately.

4. If all else fails, please post a minimal working example to the list.

Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: How to use biblatex with Lyx

2012-10-05 Thread stefano franchi
Hi Goetz,



On Wed, Oct 3, 2012 at 7:04 PM, Goetz Botterweck
 wrote:
> I want to biblatex with Lyx and I followed the instructions at
> http://wiki.lyx.org/BibTeX/Biblatex
>
> PROBLEM
> When I compile the Lyx file into a pdf
>
> 1) at the citation point only the Bibtex key is displayed. For instance, a
> reference with the key KeRi1988 will just display "[KeRi1988 ]" and not the
> expected [1].
>
> 2) no bibliography is generated by \printbibliography

I use biblatex routinely with LyX and it works well. I follow the
instructions on the wiki page you linked to.
The problem you are seeing seem to indicate that biblatex (or its
backend) cannot find your bib file. I would suggest, in order of
complexity:

1. [I don't know if this is possible in Windows.] Launching Lyx from a
terminal and looking at the ouput that Lyx spits out in the terminal
when you compile the file (i.e. when you hit View>>View Pdf)

2. Opening the latex  log and looking for the output from biblatex and
bibtext (or any other backend you may be using at the time). You may
find hints on what went wrong

3. Export the file to Latex and compile it from a terminal directly,
issuing the commands "latex myfile.tex", "bibtex myfile", "latex
myfile.tex", "latex myfile.tex" . If the .bib file is not found,
bibtex (or biber, etc) will tell you so immediately.

4. If all else fails, please post a minimal working example to the list.

Cheers,

Stefano



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

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


Re: How to use nomencl-insert?

2011-09-11 Thread Richard Heck
On 09/10/2011 11:57 PM, Lisa Andrews wrote:
 According to the docs (LFUN):

 LFUN_NOMENCL_INSERT
 ActionInserts Nomenclature entry.
 NotionIt automatically takes the word on the cursor position if no
 symbol is given.
 Syntaxnomencl-insert [SYMBOL]

 I am trying to bind a key to create a nomenclature entry for the word
 on the cursor position (see above), so that I can then just start
 typing the description in the dialog.
 nomencl-insert brings up the dialog but ignores any highlighted text,
 or any word on the cursor position.
 (using Lyx 2.0.0 on Win7 64bit)

Hmm. I see the problem, and I think I see what's causing it. But right
now it's just a bug. The whole word on the cursor position thing is
broken. We'll get it fixed for 2.0.2.

Richard



Re: How to use nomencl-insert?

2011-09-11 Thread Richard Heck
On 09/11/2011 09:41 AM, Richard Heck wrote:
 On 09/10/2011 11:57 PM, Lisa Andrews wrote:
 According to the docs (LFUN):

 LFUN_NOMENCL_INSERT
 ActionInserts Nomenclature entry.
 NotionIt automatically takes the word on the cursor position if no
 symbol is given.
 Syntaxnomencl-insert [SYMBOL]

 I am trying to bind a key to create a nomenclature entry for the word
 on the cursor position (see above), so that I can then just start
 typing the description in the dialog.
 nomencl-insert brings up the dialog but ignores any highlighted text,
 or any word on the cursor position.
 (using Lyx 2.0.0 on Win7 64bit)

 Hmm. I see the problem, and I think I see what's causing it. But right
 now it's just a bug. The whole word on the cursor position thing is
 broken. We'll get it fixed for 2.0.2.

This has now been fixed in svn for 2.0.2.

Richard



Re: How to use nomencl-insert?

2011-09-11 Thread Richard Heck
On 09/10/2011 11:57 PM, Lisa Andrews wrote:
 According to the docs (LFUN):

 LFUN_NOMENCL_INSERT
 ActionInserts Nomenclature entry.
 NotionIt automatically takes the word on the cursor position if no
 symbol is given.
 Syntaxnomencl-insert [SYMBOL]

 I am trying to bind a key to create a nomenclature entry for the word
 on the cursor position (see above), so that I can then just start
 typing the description in the dialog.
 nomencl-insert brings up the dialog but ignores any highlighted text,
 or any word on the cursor position.
 (using Lyx 2.0.0 on Win7 64bit)

Hmm. I see the problem, and I think I see what's causing it. But right
now it's just a bug. The whole word on the cursor position thing is
broken. We'll get it fixed for 2.0.2.

Richard



Re: How to use nomencl-insert?

2011-09-11 Thread Richard Heck
On 09/11/2011 09:41 AM, Richard Heck wrote:
 On 09/10/2011 11:57 PM, Lisa Andrews wrote:
 According to the docs (LFUN):

 LFUN_NOMENCL_INSERT
 ActionInserts Nomenclature entry.
 NotionIt automatically takes the word on the cursor position if no
 symbol is given.
 Syntaxnomencl-insert [SYMBOL]

 I am trying to bind a key to create a nomenclature entry for the word
 on the cursor position (see above), so that I can then just start
 typing the description in the dialog.
 nomencl-insert brings up the dialog but ignores any highlighted text,
 or any word on the cursor position.
 (using Lyx 2.0.0 on Win7 64bit)

 Hmm. I see the problem, and I think I see what's causing it. But right
 now it's just a bug. The whole word on the cursor position thing is
 broken. We'll get it fixed for 2.0.2.

This has now been fixed in svn for 2.0.2.

Richard



Re: How to use nomencl-insert?

2011-09-11 Thread Richard Heck
On 09/10/2011 11:57 PM, Lisa Andrews wrote:
> According to the docs (LFUN):
>
> LFUN_NOMENCL_INSERT
> ActionInserts Nomenclature entry.
> NotionIt automatically takes the word on the cursor position if no
> symbol is given.
> Syntaxnomencl-insert []
>
> I am trying to bind a key to create a nomenclature entry for "the word
> on the cursor position" (see above), so that I can then just start
> typing the description in the dialog.
> nomencl-insert brings up the dialog but ignores any highlighted text,
> or any "word on the cursor position".
> (using Lyx 2.0.0 on Win7 64bit)
>
Hmm. I see the problem, and I think I see what's causing it. But right
now it's just a bug. The whole "word on the cursor position" thing is
broken. We'll get it fixed for 2.0.2.

Richard



Re: How to use nomencl-insert?

2011-09-11 Thread Richard Heck
On 09/11/2011 09:41 AM, Richard Heck wrote:
> On 09/10/2011 11:57 PM, Lisa Andrews wrote:
>> According to the docs (LFUN):
>>
>> LFUN_NOMENCL_INSERT
>> ActionInserts Nomenclature entry.
>> NotionIt automatically takes the word on the cursor position if no
>> symbol is given.
>> Syntaxnomencl-insert []
>>
>> I am trying to bind a key to create a nomenclature entry for "the word
>> on the cursor position" (see above), so that I can then just start
>> typing the description in the dialog.
>> nomencl-insert brings up the dialog but ignores any highlighted text,
>> or any "word on the cursor position".
>> (using Lyx 2.0.0 on Win7 64bit)
>>
> Hmm. I see the problem, and I think I see what's causing it. But right
> now it's just a bug. The whole "word on the cursor position" thing is
> broken. We'll get it fixed for 2.0.2.
>
This has now been fixed in svn for 2.0.2.

Richard



RE: How to use short dashes in program listings?

2011-08-06 Thread Helge Hafting

I don't understand why the minus sign - isn't properly converted by latex.
Is there a way to correct this without escaping to latex, as you suggested?

This does not happen with program listings when I try.
The -- construct becomes a long dash only in plain text, not in listings.

There are several ways of writing program code in LyX:

* Listings inset:

Insert-Program Listing
You get a box where you can write program code, where minus signs will
be left alone. Even when there are several in a row. Right-click the
box to get settings where you can change the font and even turn on advanced 
features
like syntax highlighting for the programming language you use.

* Using the program source files directly:

Insert-File-Child document Set include type to program listing
Basically the same setup as the above mentioned inset, but it refers
directly to the source file. So docs and source never get out of sync,
because they are the same! You can specify from/to lines, if
you don't want to print the entire source file.

* Using the paragraph type LyX code. 
This is more limited, you get the typewriter font and
no options for syntax highlightling. 

* Using the text style code, provided by the logical markup module
This one seems to merge minus signs, so try the listings inset instead.
May be useful for code in languages that doesn't have --.

Helge Hafting
Helge Hafting


RE: How to use short dashes in program listings?

2011-08-06 Thread Helge Hafting

I don't understand why the minus sign - isn't properly converted by latex.
Is there a way to correct this without escaping to latex, as you suggested?

This does not happen with program listings when I try.
The -- construct becomes a long dash only in plain text, not in listings.

There are several ways of writing program code in LyX:

* Listings inset:

Insert-Program Listing
You get a box where you can write program code, where minus signs will
be left alone. Even when there are several in a row. Right-click the
box to get settings where you can change the font and even turn on advanced 
features
like syntax highlighting for the programming language you use.

* Using the program source files directly:

Insert-File-Child document Set include type to program listing
Basically the same setup as the above mentioned inset, but it refers
directly to the source file. So docs and source never get out of sync,
because they are the same! You can specify from/to lines, if
you don't want to print the entire source file.

* Using the paragraph type LyX code. 
This is more limited, you get the typewriter font and
no options for syntax highlightling. 

* Using the text style code, provided by the logical markup module
This one seems to merge minus signs, so try the listings inset instead.
May be useful for code in languages that doesn't have --.

Helge Hafting
Helge Hafting


RE: How to use short dashes in program listings?

2011-08-06 Thread Helge Hafting

>I don't understand why the minus sign "-" isn't properly converted by latex.
>Is there a way to correct this without escaping to latex, as you suggested?

This does not happen with program listings when I try.
The "--" construct becomes a long dash only in plain text, not in listings.

There are several ways of writing program code in LyX:

* Listings inset:

"Insert->Program Listing"
You get a box where you can write program code, where minus signs will
be left alone. Even when there are several in a row. Right-click the
box to get settings where you can change the font and even turn on advanced 
features
like syntax highlighting for the programming language you use.

* Using the program source files directly:

"Insert->File->Child document" Set "include type" to "program listing"
Basically the same setup as the above mentioned inset, but it refers
directly to the source file. So docs and source never get out of sync,
because they are the same! You can specify from/to lines, if
you don't want to print the entire source file.

* Using the paragraph type "LyX code". 
This is more limited, you get the typewriter font and
no options for syntax highlightling. 

* Using the text style "code", provided by the "logical markup" module
This one seems to merge minus signs, so try the listings inset instead.
May be useful for code in languages that doesn't have "--".

Helge Hafting
Helge Hafting


Re: How to use short dashes in program listings?

2011-08-04 Thread Rodrigo Fresneda
Hi,

I don't understand why the minus sign - isn't properly converted by latex.
Is there a way to correct this without escaping to latex, as you suggested?

best regards,
rodrigo.


On Sat, Dec 11, 2010 at 3:26 PM, Paul A. Rubin ru...@msu.edu wrote:

 Nikos Chantziaras realnc at arcor.de writes:

 
  When inserting a program listing, all - characters in the source code
  are converted to long dashes.  This results in the C operator --
  looking more like a single long line rather than two dashes.  (There is
  some space between each dash, but it's so small it only becomes obvious
  when zooming in.)
 
  Is there a way around this?

 The only way I know is a PITA.  Pick an escape character you will not use
 in the
 listing (I'll use a tilde for explanatory purposes).  Right click the
 listing,
 select Settings, and in the Advanced tab type 'escapechar=~' (without the
 quotes) and apply the change. Now whenever you want the decrement operator
 in
 the listing, type '~-\,-\,~' (without the quotes).  The \, is a thin space;
 you
 can play around with alternative spacing if you like.

 /Paul





Re: How to use short dashes in program listings?

2011-08-04 Thread Rodrigo Fresneda
Hi,

I don't understand why the minus sign - isn't properly converted by latex.
Is there a way to correct this without escaping to latex, as you suggested?

best regards,
rodrigo.


On Sat, Dec 11, 2010 at 3:26 PM, Paul A. Rubin ru...@msu.edu wrote:

 Nikos Chantziaras realnc at arcor.de writes:

 
  When inserting a program listing, all - characters in the source code
  are converted to long dashes.  This results in the C operator --
  looking more like a single long line rather than two dashes.  (There is
  some space between each dash, but it's so small it only becomes obvious
  when zooming in.)
 
  Is there a way around this?

 The only way I know is a PITA.  Pick an escape character you will not use
 in the
 listing (I'll use a tilde for explanatory purposes).  Right click the
 listing,
 select Settings, and in the Advanced tab type 'escapechar=~' (without the
 quotes) and apply the change. Now whenever you want the decrement operator
 in
 the listing, type '~-\,-\,~' (without the quotes).  The \, is a thin space;
 you
 can play around with alternative spacing if you like.

 /Paul





Re: How to use short dashes in program listings?

2011-08-04 Thread Rodrigo Fresneda
Hi,

I don't understand why the minus sign "-" isn't properly converted by latex.
Is there a way to correct this without escaping to latex, as you suggested?

best regards,
rodrigo.


On Sat, Dec 11, 2010 at 3:26 PM, Paul A. Rubin  wrote:

> Nikos Chantziaras  arcor.de> writes:
>
> >
> > When inserting a program listing, all "-" characters in the source code
> > are converted to long dashes.  This results in the C operator "--"
> > looking more like a single long line rather than two dashes.  (There is
> > some space between each dash, but it's so small it only becomes obvious
> > when zooming in.)
> >
> > Is there a way around this?
>
> The only way I know is a PITA.  Pick an escape character you will not use
> in the
> listing (I'll use a tilde for explanatory purposes).  Right click the
> listing,
> select Settings, and in the Advanced tab type 'escapechar=~' (without the
> quotes) and apply the change. Now whenever you want the decrement operator
> in
> the listing, type '~-\,-\,~' (without the quotes).  The \, is a thin space;
> you
> can play around with alternative spacing if you like.
>
> /Paul
>
>
>


Re: How to use spell checking in lyx?

2011-08-03 Thread Csikos Bela
Liviu Andronic landronim...@gmail.com írta:
2011/8/2 Csikos Bela bcsikos...@freemail.hu:
 Hello lyx users:

 I wanted to use lyx spell checker for Hungarian language but I could not find 
 out how to do it.

 I have lyx 2.0.0 compiled on my system.
 On my system hunspell-devel and aspell-devel files are also installed, and 
 lyx
 took this into account at build.

 I can set Spellchecker engine in lyx preferences either to aspell or to 
 hunspell.

 When aspell is selected in preferences:
 If I create a document and set its language to Hungarian in document 
 settings, the spell checker does not use a Hungarian dictionary. If I press 
 F7 the spell checker stop at the first Hungarian word and the language in the 
 spell checker is set to English. How can I change the selected dictionary to 
 Hungarian permanently?
 aspell-hu is installed.

With Aspell, try this [1], and let us know if it works.
Liviu

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87799.html

Thank you.
It helped to change language for the text.
No spell checker works as expected.

Thanks again,

bcsikos



Re: How to use spell checking in lyx?

2011-08-03 Thread Csikos Bela
Liviu Andronic landronim...@gmail.com írta:
2011/8/2 Csikos Bela bcsikos...@freemail.hu:
 Hello lyx users:

 I wanted to use lyx spell checker for Hungarian language but I could not find 
 out how to do it.

 I have lyx 2.0.0 compiled on my system.
 On my system hunspell-devel and aspell-devel files are also installed, and 
 lyx
 took this into account at build.

 I can set Spellchecker engine in lyx preferences either to aspell or to 
 hunspell.

 When aspell is selected in preferences:
 If I create a document and set its language to Hungarian in document 
 settings, the spell checker does not use a Hungarian dictionary. If I press 
 F7 the spell checker stop at the first Hungarian word and the language in the 
 spell checker is set to English. How can I change the selected dictionary to 
 Hungarian permanently?
 aspell-hu is installed.

With Aspell, try this [1], and let us know if it works.
Liviu

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87799.html

Thank you.
It helped to change language for the text.
No spell checker works as expected.

Thanks again,

bcsikos



Re: How to use spell checking in lyx?

2011-08-03 Thread Csikos Bela
Liviu Andronic  írta:
>2011/8/2 Csikos Bela :>
> Hello lyx users:>
>>
> I wanted to use lyx spell checker for Hungarian language but I could not find 
> out how to do it.>
>>
> I have lyx 2.0.0 compiled on my system.>
> On my system hunspell-devel and aspell-devel files are also installed, and 
> lyx>
> took this into account at build.>
>>
> I can set "Spellchecker engine" in lyx preferences either to aspell or to 
> hunspell.>
>>
> When aspell is selected in preferences:>
> If I create a document and set its language to Hungarian in document 
> settings, the spell checker does not use a Hungarian dictionary. If I press 
> F7 the spell checker stop at the first Hungarian word and the language in the 
> spell checker is set to English. How can I change the selected dictionary to 
> Hungarian permanently?>
> aspell-hu is installed.>
>>
With Aspell, try this [1], and let us know if it works.>
Liviu>
>
[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87799.html>

Thank you.
It helped to change language for the text.
No spell checker works as expected.

Thanks again,

bcsikos



Re: How to use spell checking in lyx?

2011-08-02 Thread Liviu Andronic
2011/8/2 Csikos Bela bcsikos...@freemail.hu:
 Hello lyx users:

 I wanted to use lyx spell checker for Hungarian language but I could not find 
 out how to do it.

 I have lyx 2.0.0 compiled on my system.
 On my system hunspell-devel and aspell-devel files are also installed, and lyx
 took this into account at build.

 I can set Spellchecker engine in lyx preferences either to aspell or to 
 hunspell.

 When aspell is selected in preferences:
 If I create a document and set its language to Hungarian in document 
 settings, the spell checker does not use a Hungarian dictionary. If I press 
 F7 the spell checker stop at the first Hungarian word and the language in the 
 spell checker is set to English. How can I change the selected dictionary to 
 Hungarian permanently?
 aspell-hu is installed.

With Aspell, try this [1], and let us know if it works.
Liviu

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87799.html


Re: How to use spell checking in lyx?

2011-08-02 Thread Liviu Andronic
2011/8/2 Csikos Bela bcsikos...@freemail.hu:
 Hello lyx users:

 I wanted to use lyx spell checker for Hungarian language but I could not find 
 out how to do it.

 I have lyx 2.0.0 compiled on my system.
 On my system hunspell-devel and aspell-devel files are also installed, and lyx
 took this into account at build.

 I can set Spellchecker engine in lyx preferences either to aspell or to 
 hunspell.

 When aspell is selected in preferences:
 If I create a document and set its language to Hungarian in document 
 settings, the spell checker does not use a Hungarian dictionary. If I press 
 F7 the spell checker stop at the first Hungarian word and the language in the 
 spell checker is set to English. How can I change the selected dictionary to 
 Hungarian permanently?
 aspell-hu is installed.

With Aspell, try this [1], and let us know if it works.
Liviu

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87799.html


Re: How to use spell checking in lyx?

2011-08-02 Thread Liviu Andronic
2011/8/2 Csikos Bela :
> Hello lyx users:
>
> I wanted to use lyx spell checker for Hungarian language but I could not find 
> out how to do it.
>
> I have lyx 2.0.0 compiled on my system.
> On my system hunspell-devel and aspell-devel files are also installed, and lyx
> took this into account at build.
>
> I can set "Spellchecker engine" in lyx preferences either to aspell or to 
> hunspell.
>
> When aspell is selected in preferences:
> If I create a document and set its language to Hungarian in document 
> settings, the spell checker does not use a Hungarian dictionary. If I press 
> F7 the spell checker stop at the first Hungarian word and the language in the 
> spell checker is set to English. How can I change the selected dictionary to 
> Hungarian permanently?
> aspell-hu is installed.
>
With Aspell, try this [1], and let us know if it works.
Liviu

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87799.html


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr

Am 23.05.2011 17:30, schrieb Julien Rioux:


I have two versions of a graphic, one is an eps the other a pdf. How can I 
instruct LyX to use the
eps version when compiling to DVI and the pdf version when compiling to PDF 
(pdflatex)?

The usual trick in latex to omit file extension does not work here. LyX displays No 
file found!,


Then you found a bug. This must work.
Take for example the CV class examples files that come with LyX. In the modernCV file we use an 
image file named CV-image. You can see in LyX's messages window that the PNG-version is used when a 
PDF is compiled (no image conversion). For a DVI or Postscript output, the EPS-version of the image 
is used.


If the problem persists, can you please provide a _small_ LyX file and the image files to have a 
closer look?


regards Uwe


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Julien Rioux

On 03/06/2011 4:02 PM, Uwe Stöhr wrote:

Am 23.05.2011 17:30, schrieb Julien Rioux:


I have two versions of a graphic, one is an eps the other a pdf. How
can I instruct LyX to use the
eps version when compiling to DVI and the pdf version when compiling
to PDF (pdflatex)?

The usual trick in latex to omit file extension does not work here.
LyX displays No file found!,


Then you found a bug. This must work.
Take for example the CV class examples files that come with LyX. In the
modernCV file we use an image file named CV-image. You can see in LyX's
messages window that the PNG-version is used when a PDF is compiled (no
image conversion). For a DVI or Postscript output, the EPS-version of
the image is used.

If the problem persists, can you please provide a _small_ LyX file and
the image files to have a closer look?

regards Uwe


In the modernCV document you put the image file in the preamble, which 
to me is the same as using ERT. So you seem to suggest that there is no 
way to use the includegraphics GUI, which offers many advantages, to 
specify alternate versions of an image. Yo suggest instead that I should 
use ERT. That's fine and it will work, using either .eps or .pdf where 
needed.


The other option is using branches, as Jürgen suggested. That also works 
of course, and would be great if there was a notion of output-specific 
branches, which get automatically activated and deactivated according to 
output.


Cheers,
Julien


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr

Am 03.06.2011 22:27, schrieb Julien Rioux:


In the modernCV document you put the image file in the preamble, which to me is 
the same as using
ERT. So you seem to suggest that there is no way to use the includegraphics 
GUI, which offers many
advantages, to specify alternate versions of an image.


No, this is because modernCV requires the image in its preamble.


Yo suggest instead that I should use ERT.


No, but now I understand the problematic. LyX cannot show a preview if you omit the file extension. 
Fixing this is very difficult and I don't think such a feature is safe for all cases.


So indeed, use in this case TeX-code or branches.

regards Uwe


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr

Am 23.05.2011 17:30, schrieb Julien Rioux:


I have two versions of a graphic, one is an eps the other a pdf. How can I 
instruct LyX to use the
eps version when compiling to DVI and the pdf version when compiling to PDF 
(pdflatex)?

The usual trick in latex to omit file extension does not work here. LyX displays No 
file found!,


Then you found a bug. This must work.
Take for example the CV class examples files that come with LyX. In the modernCV file we use an 
image file named CV-image. You can see in LyX's messages window that the PNG-version is used when a 
PDF is compiled (no image conversion). For a DVI or Postscript output, the EPS-version of the image 
is used.


If the problem persists, can you please provide a _small_ LyX file and the image files to have a 
closer look?


regards Uwe


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Julien Rioux

On 03/06/2011 4:02 PM, Uwe Stöhr wrote:

Am 23.05.2011 17:30, schrieb Julien Rioux:


I have two versions of a graphic, one is an eps the other a pdf. How
can I instruct LyX to use the
eps version when compiling to DVI and the pdf version when compiling
to PDF (pdflatex)?

The usual trick in latex to omit file extension does not work here.
LyX displays No file found!,


Then you found a bug. This must work.
Take for example the CV class examples files that come with LyX. In the
modernCV file we use an image file named CV-image. You can see in LyX's
messages window that the PNG-version is used when a PDF is compiled (no
image conversion). For a DVI or Postscript output, the EPS-version of
the image is used.

If the problem persists, can you please provide a _small_ LyX file and
the image files to have a closer look?

regards Uwe


In the modernCV document you put the image file in the preamble, which 
to me is the same as using ERT. So you seem to suggest that there is no 
way to use the includegraphics GUI, which offers many advantages, to 
specify alternate versions of an image. Yo suggest instead that I should 
use ERT. That's fine and it will work, using either .eps or .pdf where 
needed.


The other option is using branches, as Jürgen suggested. That also works 
of course, and would be great if there was a notion of output-specific 
branches, which get automatically activated and deactivated according to 
output.


Cheers,
Julien


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr

Am 03.06.2011 22:27, schrieb Julien Rioux:


In the modernCV document you put the image file in the preamble, which to me is 
the same as using
ERT. So you seem to suggest that there is no way to use the includegraphics 
GUI, which offers many
advantages, to specify alternate versions of an image.


No, this is because modernCV requires the image in its preamble.


Yo suggest instead that I should use ERT.


No, but now I understand the problematic. LyX cannot show a preview if you omit the file extension. 
Fixing this is very difficult and I don't think such a feature is safe for all cases.


So indeed, use in this case TeX-code or branches.

regards Uwe


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr

Am 23.05.2011 17:30, schrieb Julien Rioux:


I have two versions of a graphic, one is an eps the other a pdf. How can I 
instruct LyX to use the
eps version when compiling to DVI and the pdf version when compiling to PDF 
(pdflatex)?

The usual trick in latex to omit file extension does not work here. LyX displays "No 
file found!",


Then you found a bug. This must work.
Take for example the CV class examples files that come with LyX. In the modernCV file we use an 
image file named CV-image. You can see in LyX's messages window that the PNG-version is used when a 
PDF is compiled (no image conversion). For a DVI or Postscript output, the EPS-version of the image 
is used.


If the problem persists, can you please provide a _small_ LyX file and the image files to have a 
closer look?


regards Uwe


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Julien Rioux

On 03/06/2011 4:02 PM, Uwe Stöhr wrote:

Am 23.05.2011 17:30, schrieb Julien Rioux:


I have two versions of a graphic, one is an eps the other a pdf. How
can I instruct LyX to use the
eps version when compiling to DVI and the pdf version when compiling
to PDF (pdflatex)?

The usual trick in latex to omit file extension does not work here.
LyX displays "No file found!",


Then you found a bug. This must work.
Take for example the CV class examples files that come with LyX. In the
modernCV file we use an image file named CV-image. You can see in LyX's
messages window that the PNG-version is used when a PDF is compiled (no
image conversion). For a DVI or Postscript output, the EPS-version of
the image is used.

If the problem persists, can you please provide a _small_ LyX file and
the image files to have a closer look?

regards Uwe


In the modernCV document you put the image file in the preamble, which 
to me is the same as using ERT. So you seem to suggest that there is no 
way to use the includegraphics GUI, which offers many advantages, to 
specify alternate versions of an image. Yo suggest instead that I should 
use ERT. That's fine and it will work, using either .eps or .pdf where 
needed.


The other option is using branches, as Jürgen suggested. That also works 
of course, and would be great if there was a notion of output-specific 
branches, which get automatically activated and deactivated according to 
output.


Cheers,
Julien


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-06-03 Thread Uwe Stöhr

Am 03.06.2011 22:27, schrieb Julien Rioux:


In the modernCV document you put the image file in the preamble, which to me is 
the same as using
ERT. So you seem to suggest that there is no way to use the includegraphics 
GUI, which offers many
advantages, to specify alternate versions of an image.


No, this is because modernCV requires the image in its preamble.


Yo suggest instead that I should use ERT.


No, but now I understand the problematic. LyX cannot show a preview if you omit the file extension. 
Fixing this is very difficult and I don't think such a feature is safe for all cases.


So indeed, use in this case TeX-code or branches.

regards Uwe


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Jürgen Spitzmüller
Julien Rioux wrote:
 I have two versions of a graphic, one is an eps the other a pdf. How can 
 I instruct LyX to use the eps version when compiling to DVI and the pdf 
 version when compiling to PDF (pdflatex)?
 
 The usual trick in latex to omit file extension does not work here. LyX 
 displays No file found!, DVI output shows a default 200px by 100px box 
 instead of the graphic, and PDF (pdflatex) output issues an error 
 message Cannot determine size of graphic

LyX outputs the graphic insets to LaTeX without extension, so it should work 
if you just insert either of the two formats, while both are stored in the 
same directory and with the same file name.

Jürgen


Re: how to use eps graphic for dvi, pdf graphic for pdf output?

2011-05-23 Thread Julien Rioux

On 23/05/2011 11:34 AM, Jürgen Spitzmüller wrote:

Julien Rioux wrote:

I have two versions of a graphic, one is an eps the other a pdf. How can
I instruct LyX to use the eps version when compiling to DVI and the pdf
version when compiling to PDF (pdflatex)?

The usual trick in latex to omit file extension does not work here. LyX
displays No file found!, DVI output shows a default 200px by 100px box
instead of the graphic, and PDF (pdflatex) output issues an error
message Cannot determine size of graphic


LyX outputs the graphic insets to LaTeX without extension, so it should work
if you just insert either of the two formats, while both are stored in the
same directory and with the same file name.

Jürgen



Hi Jürgen,

Thanks, however when I use the pdf version in LyX, with the file name 
mangling that happens in the temp dir, and LyX issuing a pdf-eps 
convertion, the resulting eps used in the DVI is not the one I provide.


Right now I use

\usepackage{graphicx}

in the preamble and

\includegraphics{filename}

in ERT and this is a satisfactory workaround.

--
Julien



  1   2   3   4   5   6   >