Re: Shell-escape enabled but not working

2023-02-23 Thread Mario D
A few months ago I posted about this problem: sadly I got no reply. :(

Even more sadly, I have not been to solve the issue!

So I am still forced to export my lyx file to a tex file and compile it
running "pdflatex -shell-escape" to update pictures, before being able to
go on with my work in Lyx.

I really don't understand why Lyx doesn't behave like it is intended, since
I ticked the right option and this is driving me crazy!

Any help is appreciated.

Thanks

M

PS: if needed I can provide a MWE (but I don't know how to provide it: can
I attach a file?)

Il giorno mer 5 ott 2022 alle ore 20:39 Mario D  ha
scritto:

> Hi,
> I have a document which uses the external library of tikz, so I need shell
> escape.
>
> I have lyx 2.3.6 so I enabled shell escape via
>
> Document->Settings->Formats and check "Allow running of external programs."
>
> Nevertheless, when I run pdflatex, I get this error:
>
> -
>
> ! I can't write on file `myfile_figure0.md5'.
>
> 
>
> \relax
>
> l.320 \end{tikzpicture}
>
> (Press Enter to retry, or Control-D to exit; default file extension is
> `.tex')
>
> Please type another output file name
>
> ! Emergency stop.
>
> 
>
> \relax
>
> l.320 \end{tikzpicture}
>
> *** (job aborted, file error in nonstop mode)
>
> ---
>
>
> Am I missing something?
>
>
> BTW, if I export my lyx file to a latex file and I compile it (with
> pdflatex --shell-escape), it compiles smoothly.
>
>
> Thank you
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Lyx 2.3.7 on Linux Mint

2023-02-23 Thread Mario D
Hi,

I have seen that a new version (2.3.7) has been released.
Trying to upgrade to this new version, I tried to install lyx PPA but I get
the error
"This PPA does not support jammy".

My PC runs Linux Mint 21 Vanessa (which is the LTR based on Ubuntu 22.04).

How can I upgrade Lyx on my PC?

Even if I don't like snaps very much, even a snap would be welcome.

Thanks

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


Shell-escape enabled but not working

2022-10-05 Thread Mario D
Hi,
I have a document which uses the external library of tikz, so I need shell
escape.

I have lyx 2.3.6 so I enabled shell escape via

Document->Settings->Formats and check "Allow running of external programs."

Nevertheless, when I run pdflatex, I get this error:

-

! I can't write on file `myfile_figure0.md5'.



\relax

l.320 \end{tikzpicture}

(Press Enter to retry, or Control-D to exit; default file extension is
`.tex')

Please type another output file name

! Emergency stop.



\relax

l.320 \end{tikzpicture}

*** (job aborted, file error in nonstop mode)

---


Am I missing something?


BTW, if I export my lyx file to a latex file and I compile it (with
pdflatex --shell-escape), it compiles smoothly.


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


Re: Pasting latex in a lyx file

2021-04-10 Thread Mario D
Paul,

Ctrl+Shift+V works just fine for me, thanks!

My fault, and I beg your pardon for this, for not having tried the relative
option in "Edit -> Paste Special" : I just tried the "Paste from LaTeX",
which doesn't work  in my case (I am pasting tikz figures, so @rich: I was
referring to the second option).

Thank you everybody. :)

Il giorno gio 8 apr 2021 alle ore 00:57 Paul A. Rubin 
ha scritto:

> On 4/7/21 6:44 PM, Andrew Parsloe wrote:
>
>
> On 8/04/2021 3:14 am, Paul A. Rubin wrote:
>
> On 4/7/21 10:14 AM, Mario D wrote:
>
> Hi all,
>
> sometime I need to paste some latex code inside a lyx file.
> When I do this, I lose all the formatting and, in particular,  I lose all
> new lines: this means that what I end up with in my red box in lyx is a
> complete mess which requires a lot of editing.
>
> This is quite annoying: am I missing something which results in this
> behaviour?
>
> Thank you
>
> Have you tried Edit > Paste Special > Paste from LaTeX? Note that this is
> used to paste directly into the LyX document, *not* into an ERT box
> (ctrl+L).
>
> Paul
>
> I usually just use Ctrl+Shift+V to paste text (including lines of LaTeX)
> that preserves new lines. It works in an ERT box. (I wasn't aware of the
> Paste from LateX option.  In fact, there's quite a bit here that has
> changed since I last carefully looked at what was offered by the different
> menus.)
>
> Andrew
>
> Actually, I usually do the same thing (because I forget about the paste
> LaTeX option). Sometimes, though, what plops into the ERT box is a mess of
> the sort Mario described, and I end up inserting newlines to make it
> readable. I'm not sure if the paste special approach avoids that -- I don't
> have an example handy at the moment -- but one can hope.
>
> Paul
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Pasting latex in a lyx file

2021-04-07 Thread Mario D
Hi all,

sometime I need to paste some latex code inside a lyx file.
When I do this, I lose all the formatting and, in particular,  I lose all
new lines: this means that what I end up with in my red box in lyx is a
complete mess which requires a lot of editing.

This is quite annoying: am I missing something which results in this
behaviour?

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


Re: Layout

2021-03-13 Thread Mario Moles
Yes I know. Thank you. But I was looking more for something like A4 page 
split into two columns counted as single pages. It's possible? Including 
the first page with the title.


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


Regards,
Ricardo


El sáb, 13 mar 2021 a las 10:56, Mario Moles (<mailto:mario.mole...@gmail.com>>) escribió:


Dear lyx-users

I'm happy to be part of your community. I am new to the Lyx world. I
would like to know if there is a paperback layout. I haven't found
any.
Do you have any idea?

Thanks so much

Mario Moles

-- 
lyx-users mailing list

lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>
http://lists.lyx.org/mailman/listinfo/lyx-users
<http://lists.lyx.org/mailman/listinfo/lyx-users>


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


Layout

2021-03-13 Thread Mario Moles

Dear lyx-users

I'm happy to be part of your community. I am new to the Lyx world. I 
would like to know if there is a paperback layout. I haven't found any. 
Do you have any idea?


Thanks so much

Mario Moles

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


Opening file saved by 2.3 in windows

2018-05-20 Thread Mario D
I am working on a joint project with a colleague. My colleague has windows
with Lyx 2.2.3 while I have linux with Lyx 2.3

Now I edited the file but I realized that I used a different Lyx version.

You can guess my questions: will he be able to edit the file I am sending
to him?
If I got it right, he won't so the second question is: how can I share the
work I did with him?

Thank you.

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


Re: Background color in a paragraph

2018-05-05 Thread Mario D
I tried box with colored background but they don't work properly if the
text is more than one line long as in this case the line is not wrapped
around.
It is possible to get this, but it is not straightforward.

Given that I do not use the feature quite often, the hack I proposed is
fine for me.

Yet, I think it is a feature that would be nice to have natively.

2018-05-04 15:25 GMT+02:00 Bernt Lie <bernt@usn.no>:

> A couple of years ago, I tried to use Insert/Box/... with colored
> background. I wanted to have greyed background for Examples. Didn’t work
> well... if I included floating objects (Figures, Tables, etc.), the preview
> got messed up. Maybe it works better with floats in ordinary paragraphs – I
> haven’t tested that.
>
>
>
> But if you have simple paragraphs, that might work.
>
>
>
> -B
>
>
>
> *From:* lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> *On Behalf Of *Mario
> D
> *Sent:* Friday, May 4, 2018 13:27
> *To:* lyx-users <lyx-users@lists.lyx.org>
> *Subject:* Background color in a paragraph
>
>
>
> Is there a simple way in lyx to change the background color of some text,
> maybe a paragraph?
>
> I have not been able to find a way to do this natively: the only way I
> could obtain it is by using the "soul" package, then inserting the latex
> code "\hl{" in ERT just before the the text to be highlighted and then a
> closing "}" at its end.
>
> Thanks
>


Background color in a paragraph

2018-05-04 Thread Mario D
Is there a simple way in lyx to change the background color of some text,
maybe a paragraph?

I have not been able to find a way to do this natively: the only way I
could obtain it is by using the "soul" package, then inserting the latex
code "\hl{" in ERT just before the the text to be highlighted and then a
closing "}" at its end.

Thanks


Re: Lyx 2.2.3 for Ubuntu 16.04

2017-06-07 Thread Mario D
It looks like Liv's PPA is no longer update. It is really a pity :(
Thank you for the link, anyway.

2017-05-25 19:48 GMT+02:00 Paul A. Rubin <parubi...@gmail.com>:

> On 05/25/2017 12:41 PM, Mario D wrote:
>
>> Hi,
>> maybe I am missing something but in ubuntu 16.04 lyx has not yet been
>> updated: is there any news about if and, in such case, when it will be?
>>
>> Thanks
>>
>> PS: I do have installed lyx PPA:
>>
>> $ cat /etc/apt/sources.list.d/lyx-devel-ubuntu-release-xenial.list
>> deb http://ppa.launchpad.net/lyx-devel/release/ubuntu xenial main
>>
> I managed to get LyX 2.2.3, but not from Liv's PPA (which is where I
> usually obtain it). There's another PPA (deb
> http://ppa.launchpad.net/jonathonf/texlive/ubuntu xenial main) that I use
> for TeXLive updates, and he has the current version of LyX there.
>
> That said, I'm hoping that Liv will continue to update his site.
>
> Paul
>
>


Lyx 2.2.3 for Ubuntu 16.04

2017-05-25 Thread Mario D
Hi,
maybe I am missing something but in ubuntu 16.04 lyx has not yet been
updated: is there any news about if and, in such case, when it will be?

Thanks

PS: I do have installed lyx PPA:

$ cat /etc/apt/sources.list.d/lyx-devel-ubuntu-release-xenial.list
deb http://ppa.launchpad.net/lyx-devel/release/ubuntu xenial main


Adding qed-like symbol to examples

2017-02-16 Thread Mario D
Hi all,

I would like that every example should be closed by a symbol of my choice
(say, for example, a black triangle).

I tried what is suggested in this answer:

http://tex.stackexchange.com/questions/36791/including-end-mark-in-definitions-and-examples-using-amsthm

The suggested code works in a plain text file but if I try it in a lyx file
I get an error saying that example is already defined, since lyx already
defines it (the same error doesn't show for definition since the relative
environment in lyx is called "defn").

So the question is: is there a way to use the package thmtools in lyx and
avoid such problems?
Otherwise, how can I get my goal in lyx?

Thank you


Re: Centering a tabular inside a description

2016-11-16 Thread Mario D
I knew I was going to make a fool of myself by asking this... :(

But sometime one misses the evident.

Thank you

2016-11-16 14:15 GMT+01:00 racoon <xraco...@gmx.de>:

> On 16.11.2016 13:49, Mario D wrote:
>
>> I have a tabular environment inside a description environment (see the
>> attached MWE): I'd like to have it centered but I can't get it.
>> I guess I am missing something simple but what?
>>
>
> Maybe use a box? Dee attachment.
>
> Daniel
>
>


Centering a tabular inside a description

2016-11-16 Thread Mario D
I have a tabular environment inside a description environment (see the
attached MWE): I'd like to have it centered but I can't get it.
I guess I am missing something simple but what?

Thanks


test.lyx
Description: application/lyx


Compilation error with lyx 2.2.2 (and not in 2.2.1)

2016-10-27 Thread Mario D
Hi all,

I have a file on which I am currently working. It compiled fine under lyx
2.2.1.
Today I upgraded to lyx 2.2.2 and compiling the very same file results in
an error which I previously didn't experience.
The error is as follows:

-
Undefined control sequence

Let $\sigma\left(f\right)\coloneqq

f\left(x_{\sigma\left(1\right)}...

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.

--


In other words, the control sequence \coloneqq which was previously known
to lyx, is not known any longer.


What is happening?


TIA


Enumerate inside other environment

2016-10-04 Thread Mario D
I know how to nest environments so that I can use enumerate inside another
environment in order to produce something looking like:

-
Theorem. The following are equivalent:
   1. First statement.
   2. Second statement.
-

My question is: how can I produce

-
Theorem.   1. First statement.
   2. Second statement.
-

The only way I could get it was to insert an empty note after the
"Theorem", then newline, start the enumerate and finally nest it.
Is there a "cleaner" way?

I couldn't find anything relevant on lyx manuals.
Moreover, how can I produce the following?

-
Theorem.
   1. First statement.
   2. Second statement.
-

For this I couldn't find a workaround.

Thank you


Re: [PATCH] Inserting references to label

2016-09-25 Thread Mario D
I see that this small bug has been fixed with 2.2.1.
Yet there still is a small glitch: when I hit "Go back" I am really back to
where I was, but the "Ok" button is greyed out, so to insert the reference
I have to select a different one and then reselect the previous (if it was
the correct one, of course).


2016-06-08 16:46 GMT+02:00 Richard Heck <rgh...@lyx.org>:

> On 06/08/2016 03:46 AM, Mario D wrote:
>
> 2016-06-07 1:43 GMT+02:00 Richard Heck <rgh...@lyx.org>:
>
>> On 06/06/2016 04:57 AM, Mario D wrote:
>> > After opening the dialog box to insert a reference to a label, when  a
>> > label is chosen there is a button  "Go to label" in order to check
>> > whether  the label is really the correct one. Good.
>> > After having hit this button, it is replaced with "Go back", so that I
>> > can get to the original point after having checked the label. Ok.
>> >
>> > The only drawback, in this, is that when I am back to the original
>> > point the label I checked is no longer selected, so that now I know
>> > whether it was the right one or not but, possibly, I don't remember
>> > its name...  :(
>> >
>> > Am I doing something wrong?
>>
>> No, this is definitely a shortcoming. The attached patch fixes this
>> behavior, but it seems like a bit of a hack.
>>
>> Anyone have a better idea? I could introduce a new variable for this
>> purpose, but that seems like overkill.
>>
>> Richard
>>
>>
> Thank you.
>
> Ok, now there are (to me) two interesting patches: this one and the other
> concerning moving and selecting with ctrl+arrows: is there any chance to
> see these implemented in a future minor release or should I start thinking
> about recompiling on my own?
>
>
> This one will go into 2.2.2 at least, and probably into 2.2.1. We're
> waiting to see if some major problem with 2.2.0 arises that requires a very
> fast release. If so, then 2.2.1 will contain only really serious fixes. If
> not, then it will contain more. It looks as if the latter is what will
> happen, but we'll only make a decision after the release of 2.1.5.
>
> Richard
>
>
>


Re: [PATCH] Inserting references to label

2016-06-08 Thread Mario D
2016-06-07 1:43 GMT+02:00 Richard Heck <rgh...@lyx.org>:

> On 06/06/2016 04:57 AM, Mario D wrote:
> > After opening the dialog box to insert a reference to a label, when  a
> > label is chosen there is a button  "Go to label" in order to check
> > whether  the label is really the correct one. Good.
> > After having hit this button, it is replaced with "Go back", so that I
> > can get to the original point after having checked the label. Ok.
> >
> > The only drawback, in this, is that when I am back to the original
> > point the label I checked is no longer selected, so that now I know
> > whether it was the right one or not but, possibly, I don't remember
> > its name...  :(
> >
> > Am I doing something wrong?
>
> No, this is definitely a shortcoming. The attached patch fixes this
> behavior, but it seems like a bit of a hack.
>
> Anyone have a better idea? I could introduce a new variable for this
> purpose, but that seems like overkill.
>
> Richard
>
>
Thank you.

Ok, now there are (to me) two interesting patches: this one and the other
concerning moving and selecting with ctrl+arrows: is there any chance to
see these implemented in a future minor release or should I start thinking
about recompiling on my own?


Inserting references to label

2016-06-06 Thread Mario D
After opening the dialog box to insert a reference to a label, when  a
label is chosen there is a button  "Go to label" in order to check whether
the label is really the correct one. Good.
After having hit this button, it is replaced with "Go back", so that I can
get to the original point after having checked the label. Ok.

The only drawback, in this, is that when I am back to the original point
the label I checked is no longer selected, so that now I know whether it
was the right one or not but, possibly, I don't remember its name...  :(

Am I doing something wrong?

To make the dialog box behave even better, maybe it would be nice if when a
label is selected then a (small) preview/portion of the formula or of the
text is displayed (and maybe it could be chosen by the user whether to
activate this option or not).


Re: Moving around

2016-06-06 Thread Mario D
2016-05-28 17:39 GMT+02:00 Guillaume Munch :


> I agree ctrl+arrows could do better. The attached patch implements your
> suggestion.
>
>
I guess that I need to apply your patch to the source and the recompile it,
don't I?

Because I am not very keen on recompiling lyx: I would like to use the
repository version


Re: Fwd: Moving around

2016-05-30 Thread Mario D
Paul,

I realize that defining a model for movements/selections inside
mathematical environment is complex and there could be different more or
less equivalently good solutions.
This is job for the developers, if they consider this worth of. Maybe
between the many different solutions they could simply choose the one which
is easier to implement.

In any case, to me it is highly desirable a consistent behavior. Above all,
in my opinion, this means the fact that the shifted version of a
combination should select the same elements over which you move with the
non shifted version. At present this is not the case and I find myself
doing and undoing selections.  Yes, I know: mainly my fault... yet this
doesn't happen to me while I am in a pure text paragraph.

 >So, what I would find logical and consistent is the following.
 >
 >   Movement:
 > left/right arrow move one character (where entering or exiting an
inset, such as going into/out of a subscript, counts as a "character" for
movement purposes);
 > ctrl-left/right jumps the adjacent "grouping", where "grouping" is
the subtree at the current node if we were to diagram the math inset as a
tree;
 > home/end jumps to the start or end of the entire inset;
 > ctrl-home/end jumps to the start or end of the buffer (document).
 >
 >   Selection: shift+any navigation combination selects everything from
the current cursor position to where the unshifted key combination would
take you.


This seems to me a good model. It leaves space for a couple of bindings:
ctrl-page up/page down and ctrl-up/down which could be, for example,
ctrl-page up/page down jumps to the start/end of the formula
ctrl-up/down something else to be decided

(or viceversa)

and similarly for the shifted version.


Fwd: Moving around

2016-05-30 Thread Mario D
Perhaps you can repost your example, between pre and /pre tags?
>
> Paul
>
>
Paul,

sorry you couldn't see the proper formatting. I repost the formula with the
tags inside the formula, so it should be clear

A \frac{1}{2} B  + C \left(1+1\right) D =  2.5 E

I can say that I have exactly the same behavior you describe, in any place.
In fact, I also use the cua bind, plus a bunch of personal bindings which,
however, are not related to moving actions.

It seems to me that there is some consensus about the fact that
moving/selecting could be improved.
Here is what I think. The guidelines should be as follows:

Moving:

left/right arrow: moves to the previous/next character
ctrl+arrow: moves to the previous/next word
ctrl+home/end: moves to the begging/end of the line
up/down arrow: moves to the previous/next line

Selecting:

shitf+arrow: selects from current position to the previous/next character
shift+ctrl+arrow: selects from current position to the previous/next word
shift+ctrl+home/end: selects from current position to the begging/end of
the line
shitf+up/down arrow: selects from current position to the previous/next line

This is actually what really happens when you are in a pure text paragraph.

The problem is how to interpret this inside a formula. I do realize that a
formula has a much more complex structure and syntax than a text paragraph,
yet what happens now is (to me) quite disconnected from what happens inside
a text paragraph and I get very confused when I select inside a formula.

My suggestion is as follows.

Let me put a few more tags:

A \frac{ AA 1 AB }{ 2 } B  + C \left( CA 1 CB + CD 1 CE \right) D =  2.5 E

Moving with (right) arrow is consistent: you go from A to AA then to AB or
from C to CA then to CB, CD and CE.

Selecting with arrows should be something close to this. That is, selecting
the smallest chunk of code possible.
At present, selecting with arrows has a complete different behavior
depending where you are:

- if you are in CA it selects CA-CB  (ok)
- if you are in C it selects C-D  (why? not ok for me)

Ctrl+arrow and shift+ctrl+arrow are inconsistent:
what happens now is that:
- if you are in CA with ctrl+right you go in CE  (ok)
- if you are in C with ctrl+right you go in E   (not ok)
and the same when selecting.
What I think it should happen is:
- if you are in CA with ctrl+right you go in CE  (ok)
- if you are in C with ctrl+right you go in D (a movement that I cannot
perform with any combination)
and when selecting:
- if you are in CA with shit+ctrl+right you select CA-CE  (ok)
- if you are in C with shift+ctrl+right you select C-D (that is, the same
action that at present is performed by shift+right)

Note also that at present Home and ctrl+right arrow behave _exactly_ the
same (and the same for the shifted version): this is a waste of resource in
my opinion and even a bit confusing.

I hope to have explained myself clearly (and not have bored you...)


Re: Moving around

2016-05-28 Thread Mario D
>
> I think the key issue is that LyX understands insets (or perhaps I should
> call them subenvironments?) -- things that are argument to LaTeX functions.
> So if you create a fraction, which translates to \frac{#1}{#2} with the
> arguments substituted, LyX knows what constitutes the numerator and what
> constitutes the denominator. I don't think LyX will parse "y = x + 2z" and
> recognize "x" as an addend, "2z" as an addend, etc., because there's no
> need
> to do so in order to translate to LaTeX (nor does LaTeX do that sort of
> parsing, AFAIK).
>
> So I very much doubt, barring a major change to the code, that you can do
> better than what it currently does.
>
> Paul
>
>
Paul,

surely I do not demand to lyx to recognize addends in a formula like "y = x
+ 2z".
Maybe I can explain better myself with an example, so please let me write a
formula with a few markers for the cursor position.

Consider

  \frac{1}{2}  +  \left(1+1\right)  =  2.5

^   ^   ^^ ^
A  B  C   D E

Wherever I am, if I hit ctrl+right I am driven to E.
What I would like is that if I am in A I land in B and if I am in C I go to
D

Please note that if I hit shift+right and I am in A then all the A-B
portion of the formula is selected and similarly if I am in C with
shift+right I get C-D selected.
This means that lyx can recognize these chunks of code because, as you
said, lyx understands insets (or subenvironments, if you prefer).

What I have not been able to understand is which function I should bind to
ctrl+right so that this combination drives me from A to B or from C to D
instead of from everywhere to E

Incidentally, I also do not like very much the fact that if in A then
shift+right selects all the A-B portion of the formula: in my view, this
should be the behavior of
ctrl+shift+right, whereas shift+right should select only the very next
character (that is, the numerator if I am in A).

I wish I have explained better my question.
For completeness and reproducibility, I add that some of my current
bindings (the ones which seem relevant to me) are:

shift+right:  char-right-select
ctrl+right:  word-right
ctrl+shift+right: word-right-select

Thank you


Moving around

2016-05-27 Thread Mario D
Hi,

when I move around in a file I have a behavior which (to me) does not seem
consistent.
Please let me explain.
If I am inside a text portion of the file, arrows drive me to the close by
character, ctrl+arrows to the close by word, shift+arrows select close by
character and shift+ctrl+arrows select whole words.

Fine.

What I can't get used to is what happens when I am inside a (big) formula.
Namely, if I use ctrl+arrow I go to to the end (or beginning, depending the
arrow) of the formula, which is the same that I get using the Home/End
keys.
On the contrary, with ctrl+arrow I would like to be driven to the
end/beginning of current logical element, that is the same place where the
cursor would be if I hit shift+arrow.

So, my question is: can it be changed?
I tried to change some setting in keyboard shortcuts, but without luck.
Maybe I could not figure out the right one.

Thank you


How to change the language of the tutorials?

2015-02-12 Thread Mario Castelán Castro

Hello.

After compiling LyX in GNU/Linux I launch LyX with “env LANG= 
PATH_TO_LYX” (note the empty “LANG” parameter) because my system is 
configured with Spanish as as the default language, but I want to run 
LyX in English. The interface is is English, but the included 
documentation (introduction, tutorial, etcetera) are in Spanish. How can 
I launch, configure or re-compile LyX so that everything is in English.


Regards and thanks.


How to change the language of the documentation?

2015-02-12 Thread Mario Castelán Castro

Hello.

After compiling LyX in GNU/Linux I launch LyX with “env LANG= 
PATH_TO_LYX” (note the empty “LANG” parameter) because my system is 
configured with Spanish as as the default language, but I want to run 
LyX in English. The interface is is English, but the included 
documentation (introduction, tutorial, etcetera) are in Spanish. How can 
I launch, configure or re-compile LyX so that everything is in English.


Regards and thanks.


How to change the language of the tutorials?

2015-02-12 Thread Mario Castelán Castro

Hello.

After compiling LyX in GNU/Linux I launch LyX with “env LANG= 
PATH_TO_LYX” (note the empty “LANG” parameter) because my system is 
configured with Spanish as as the default language, but I want to run 
LyX in English. The interface is is English, but the included 
documentation (introduction, tutorial, etcetera) are in Spanish. How can 
I launch, configure or re-compile LyX so that everything is in English.


Regards and thanks.


How to change the language of the documentation?

2015-02-12 Thread Mario Castelán Castro

Hello.

After compiling LyX in GNU/Linux I launch LyX with “env LANG= 
PATH_TO_LYX” (note the empty “LANG” parameter) because my system is 
configured with Spanish as as the default language, but I want to run 
LyX in English. The interface is is English, but the included 
documentation (introduction, tutorial, etcetera) are in Spanish. How can 
I launch, configure or re-compile LyX so that everything is in English.


Regards and thanks.


How to change the language of the tutorials?

2015-02-12 Thread Mario Castelán Castro

Hello.

After compiling LyX in GNU/Linux I launch LyX with “env LANG= 
PATH_TO_LYX” (note the empty “LANG” parameter) because my system is 
configured with Spanish as as the default language, but I want to run 
LyX in English. The interface is is English, but the included 
documentation (introduction, tutorial, etcetera) are in Spanish. How can 
I launch, configure or re-compile LyX so that everything is in English.


Regards and thanks.


How to change the language of the documentation?

2015-02-12 Thread Mario Castelán Castro

Hello.

After compiling LyX in GNU/Linux I launch LyX with “env LANG= 
PATH_TO_LYX” (note the empty “LANG” parameter) because my system is 
configured with Spanish as as the default language, but I want to run 
LyX in English. The interface is is English, but the included 
documentation (introduction, tutorial, etcetera) are in Spanish. How can 
I launch, configure or re-compile LyX so that everything is in English.


Regards and thanks.


Re: where is the error?

2012-09-22 Thread mario chiari
Hello
have you looked at the .log file?
Did you try to run the .tex file by simple latex? 

my 2 cents

mario







On Sat, 2012-09-22 at 09:35 +0200, Julia Schäfer wrote:
 Hello!
 
 I have been using Lyx 2.0.3 (on Mac OSX) on my current project for
 several months now and learned to deal with most errors occurring.
 However, now Lyx doesn't any longer guide me directly to the point in
 my document that caused the problem but only tells me that there is a
 problem as soon as I try to generate the PDF-preview. I think it
 stopped doing so a couple of days ago but I can't remember why and if
 I involuntarily changed any settings. Now recently I have reworked my
 document and made changes all over the place (and forgot to generate
 the preview every couple of minutes). So it is impossible for me
 simply to 'guess' which recent change may have caused the errors Lyx
 is talking about. Especially as it's so general problems like LaTeX
 Error: Something's wrong--perhaps a missing \item. or Missing }
 inserted. which seems to be cover terms for all kinds errors. Usually
 I can figure out what the problem is if I just know where to look for
 it.
 
 I have also tried to solve the problems by looking at the source code
 but I couldn't figure out anything. As long as I can't solve the
 existing problems I won't be able to generate the preview in order to
 check if I don't produce any new errors as I proceed writing and the
 list of 'mysterious errors' is getting longer and longer.
 
 So please help me!!! How can I make Lyx guide me to the problem in the
 document and show me at least the paragraph containing the errors
 again? 
 
 Thank you very much!
 Julia Schäfer




Re: where is the error?

2012-09-22 Thread mario chiari
Hello
have you looked at the .log file?
Did you try to run the .tex file by simple latex? 

my 2 cents

mario







On Sat, 2012-09-22 at 09:35 +0200, Julia Schäfer wrote:
 Hello!
 
 I have been using Lyx 2.0.3 (on Mac OSX) on my current project for
 several months now and learned to deal with most errors occurring.
 However, now Lyx doesn't any longer guide me directly to the point in
 my document that caused the problem but only tells me that there is a
 problem as soon as I try to generate the PDF-preview. I think it
 stopped doing so a couple of days ago but I can't remember why and if
 I involuntarily changed any settings. Now recently I have reworked my
 document and made changes all over the place (and forgot to generate
 the preview every couple of minutes). So it is impossible for me
 simply to 'guess' which recent change may have caused the errors Lyx
 is talking about. Especially as it's so general problems like LaTeX
 Error: Something's wrong--perhaps a missing \item. or Missing }
 inserted. which seems to be cover terms for all kinds errors. Usually
 I can figure out what the problem is if I just know where to look for
 it.
 
 I have also tried to solve the problems by looking at the source code
 but I couldn't figure out anything. As long as I can't solve the
 existing problems I won't be able to generate the preview in order to
 check if I don't produce any new errors as I proceed writing and the
 list of 'mysterious errors' is getting longer and longer.
 
 So please help me!!! How can I make Lyx guide me to the problem in the
 document and show me at least the paragraph containing the errors
 again? 
 
 Thank you very much!
 Julia Schäfer




Re: where is the error?

2012-09-22 Thread mario chiari
Hello
have you looked at the .log file?
Did you try to run the .tex file by simple latex? 

my 2 cents

mario







On Sat, 2012-09-22 at 09:35 +0200, Julia Schäfer wrote:
> Hello!
> 
> I have been using Lyx 2.0.3 (on Mac OSX) on my current project for
> several months now and learned to deal with most errors occurring.
> However, now Lyx doesn't any longer guide me directly to the point in
> my document that caused the problem but only tells me that there is a
> problem as soon as I try to generate the PDF-preview. I think it
> stopped doing so a couple of days ago but I can't remember why and if
> I involuntarily changed any settings. Now recently I have reworked my
> document and made changes all over the place (and forgot to generate
> the preview every couple of minutes). So it is impossible for me
> simply to 'guess' which recent change may have caused the errors Lyx
> is "talking" about. Especially as it's so general problems like "LaTeX
> Error: Something's wrong--perhaps a missing \item." or "Missing }
> inserted." which seems to be cover terms for all kinds errors. Usually
> I can figure out what the problem is if I just know where to look for
> it.
> 
> I have also tried to solve the problems by looking at the source code
> but I couldn't figure out anything. As long as I can't solve the
> existing problems I won't be able to generate the preview in order to
> check if I don't produce any new errors as I proceed writing and the
> list of 'mysterious errors' is getting longer and longer.
> 
> So please help me!!! How can I make Lyx guide me to the problem in the
> document and show me at least the paragraph containing the errors
> again? 
> 
> Thank you very much!
> Julia Schäfer




underscore issue

2012-09-21 Thread mario chiari
Hi

I have the following issue 
(my guess is that it is a LaTeX issue, still help is welcome)

I have defined a command \qu :
\global\long\def\qu#1#2#3{\begin{quote} ``{#1}'' (\cite[pg.#2]{#3})
\end{quote}}.

For something like \qu{text}{12}{Writer_A}, when I try to pdflatex I get
the error msg:
---
{text}{12}{Writer\_A}
The control sequence marked to be read again should
not appear between \csname and \endcsname.
---

However I may insert  \cite[12]{Writer_A} and compile without any
trouble.

Is there a way out, if I try to keep my citations with '_'?

Thankd
cheers
mario





underscore issue

2012-09-21 Thread mario chiari
Hi

I have the following issue 
(my guess is that it is a LaTeX issue, still help is welcome)

I have defined a command \qu :
\global\long\def\qu#1#2#3{\begin{quote} ``{#1}'' (\cite[pg.#2]{#3})
\end{quote}}.

For something like \qu{text}{12}{Writer_A}, when I try to pdflatex I get
the error msg:
---
{text}{12}{Writer\_A}
The control sequence marked to be read again should
not appear between \csname and \endcsname.
---

However I may insert  \cite[12]{Writer_A} and compile without any
trouble.

Is there a way out, if I try to keep my citations with '_'?

Thankd
cheers
mario





underscore issue

2012-09-21 Thread mario chiari
Hi

I have the following issue 
(my guess is that it is a LaTeX issue, still help is welcome)

I have defined a command \qu :
\global\long\def\qu#1#2#3{\begin{quote} ``{#1}'' (\cite[pg.#2]{#3})
\end{quote}}.

For something like \qu{text}{12}{Writer_A}, when I try to pdflatex I get
the error msg:
---
{text}{12}{Writer\_A}
The control sequence marked  should
not appear between \csname and \endcsname.
---

However I may insert  \cite[12]{Writer_A} and compile without any
trouble.

Is there a way out, if I try to keep my citations with '_'?

Thankd
cheers
mario





Re: Biblatex

2012-07-12 Thread mario chiari
Good!
Happy lyx+biblatex.

btw., have you tried  \bibliography{C:/Users/Bernd/test4.bib} too?

best wishes
mario

On Thu, 2012-07-12 at 21:22 +0200, Bernd Kappenberg wrote:
 Hi,
 
 Finally it did work!
 
 I had to replace
 \bibliography{test4.bib}
 by
 \addbibresource{C:/Users/Bernd/test4.bib}
 
 Bernd :)




Re: Biblatex

2012-07-12 Thread mario chiari
Good!
Happy lyx+biblatex.

btw., have you tried  \bibliography{C:/Users/Bernd/test4.bib} too?

best wishes
mario

On Thu, 2012-07-12 at 21:22 +0200, Bernd Kappenberg wrote:
 Hi,
 
 Finally it did work!
 
 I had to replace
 \bibliography{test4.bib}
 by
 \addbibresource{C:/Users/Bernd/test4.bib}
 
 Bernd :)




Re: Biblatex

2012-07-12 Thread mario chiari
Good!
Happy lyx+biblatex.

btw., have you tried  \bibliography{C:/Users/Bernd/test4.bib} too?

best wishes
mario

On Thu, 2012-07-12 at 21:22 +0200, Bernd Kappenberg wrote:
> Hi,
> 
> Finally it did work!
> 
> I had to replace
> \bibliography{test4.bib}
> by
> \addbibresource{C:/Users/Bernd/test4.bib}
> 
> Bernd :)




Re: Biblatex

2012-07-07 Thread mario chiari
Hi


i was not using biber, still it works fine with
\usepackage[backref,backend=biber]{biblatex} too, and I see a .bcf file
now.

I am not sure how to help you. (Did you check biblatex version and
writing permissions?)

Try to ask at http://sourceforge.net/projects/biblatex-biber/forums/


good luck
mario


On Fri, 2012-07-06 at 22:21 +0200, Bernd Kappenberg wrote:
 Hi,
 
 My \bibliography is fine with {myfile}, but what is this:
 
 ERROR - No data files on command line or provided in the file 
 'Neu204.bcf'! Exiting
 
 ?
 
 
 Bernd
 
 
 
 Am 06.07.2012 20:42, schrieb mario chiari:
  Hi
 
  here it works very well.
 
  I need to write the complete path to the .bib file within the preamble:
 
  \bibliography{/root/ my path to /myfile.bib} (my OS is linux)
 
  In your .lyx document you need something like
 
  \cite{AAA}
  \nocite{*}
  \printbibliography.
 
  What does your log say?

  mario
 
 
 
 
 
  On Fri, 2012-07-06 at 00:22 +0200, Bernd Kappenberg wrote:
  Hi,
 
  I downloaded LyX 2.0.4.
  Then I followed the instructions on http://wiki.lyx.org/BibTeX/Biblatex.
  However, the pdf generated does not have a bibliography.
  I tried an own file as well as one of the examples on that site.
 
  Please help...
 
  Bernd Kappenberg
 
 
 
 




Re: Biblatex

2012-07-07 Thread mario chiari
Hi


i was not using biber, still it works fine with
\usepackage[backref,backend=biber]{biblatex} too, and I see a .bcf file
now.

I am not sure how to help you. (Did you check biblatex version and
writing permissions?)

Try to ask at http://sourceforge.net/projects/biblatex-biber/forums/


good luck
mario


On Fri, 2012-07-06 at 22:21 +0200, Bernd Kappenberg wrote:
 Hi,
 
 My \bibliography is fine with {myfile}, but what is this:
 
 ERROR - No data files on command line or provided in the file 
 'Neu204.bcf'! Exiting
 
 ?
 
 
 Bernd
 
 
 
 Am 06.07.2012 20:42, schrieb mario chiari:
  Hi
 
  here it works very well.
 
  I need to write the complete path to the .bib file within the preamble:
 
  \bibliography{/root/ my path to /myfile.bib} (my OS is linux)
 
  In your .lyx document you need something like
 
  \cite{AAA}
  \nocite{*}
  \printbibliography.
 
  What does your log say?

  mario
 
 
 
 
 
  On Fri, 2012-07-06 at 00:22 +0200, Bernd Kappenberg wrote:
  Hi,
 
  I downloaded LyX 2.0.4.
  Then I followed the instructions on http://wiki.lyx.org/BibTeX/Biblatex.
  However, the pdf generated does not have a bibliography.
  I tried an own file as well as one of the examples on that site.
 
  Please help...
 
  Bernd Kappenberg
 
 
 
 




Re: Biblatex

2012-07-07 Thread mario chiari
Hi


i was not using biber, still it works fine with
\usepackage[backref,backend=biber]{biblatex} too, and I see a .bcf file
now.

I am not sure how to help you. (Did you check biblatex version and
writing permissions?)

Try to ask at http://sourceforge.net/projects/biblatex-biber/forums/


good luck
mario


On Fri, 2012-07-06 at 22:21 +0200, Bernd Kappenberg wrote:
> Hi,
> 
> My \bibliography is fine with {myfile}, but what is this:
> 
> ERROR - No data files on command line or provided in the file 
> 'Neu204.bcf'! Exiting
> 
> ?
> 
> 
> Bernd
> 
> 
> 
> Am 06.07.2012 20:42, schrieb mario chiari:
> > Hi
> >
> > here it works very well.
> >
> > I need to write the complete path to the .bib file within the preamble:
> >
> > \bibliography{/root/ my path to /myfile.bib} (my OS is linux)
> >
> > In your .lyx document you need something like
> >
> > \cite{AAA}
> > \nocite{*}
> > \printbibliography.
> >
> > What does your log say?
> >   
> > mario
> >
> >
> >
> >
> >
> > On Fri, 2012-07-06 at 00:22 +0200, Bernd Kappenberg wrote:
> >> Hi,
> >>
> >> I downloaded LyX 2.0.4.
> >> Then I followed the instructions on http://wiki.lyx.org/BibTeX/Biblatex.
> >> However, the pdf generated does not have a bibliography.
> >> I tried an own file as well as one of the examples on that site.
> >>
> >> Please help...
> >>
> >> Bernd Kappenberg
> >
> >
> 
> 




Re: Biblatex

2012-07-06 Thread mario chiari
Hi

here it works very well.

I need to write the complete path to the .bib file within the preamble:

\bibliography{/root/ my path to /myfile.bib} (my OS is linux)

In your .lyx document you need something like

\cite{AAA}
\nocite{*} 
\printbibliography.

What does your log say?
 
mario





On Fri, 2012-07-06 at 00:22 +0200, Bernd Kappenberg wrote:
 Hi,
 
 I downloaded LyX 2.0.4.
 Then I followed the instructions on http://wiki.lyx.org/BibTeX/Biblatex.
 However, the pdf generated does not have a bibliography.
 I tried an own file as well as one of the examples on that site.
 
 Please help...
 
 Bernd Kappenberg




Re: Biblatex

2012-07-06 Thread mario chiari
Hi

here it works very well.

I need to write the complete path to the .bib file within the preamble:

\bibliography{/root/ my path to /myfile.bib} (my OS is linux)

In your .lyx document you need something like

\cite{AAA}
\nocite{*} 
\printbibliography.

What does your log say?
 
mario





On Fri, 2012-07-06 at 00:22 +0200, Bernd Kappenberg wrote:
 Hi,
 
 I downloaded LyX 2.0.4.
 Then I followed the instructions on http://wiki.lyx.org/BibTeX/Biblatex.
 However, the pdf generated does not have a bibliography.
 I tried an own file as well as one of the examples on that site.
 
 Please help...
 
 Bernd Kappenberg




Re: Biblatex

2012-07-06 Thread mario chiari
Hi

here it works very well.

I need to write the complete path to the .bib file within the preamble:

\bibliography{/root/ my path to /myfile.bib} (my OS is linux)

In your .lyx document you need something like

\cite{AAA}
\nocite{*} 
\printbibliography.

What does your log say?
 
mario





On Fri, 2012-07-06 at 00:22 +0200, Bernd Kappenberg wrote:
> Hi,
> 
> I downloaded LyX 2.0.4.
> Then I followed the instructions on http://wiki.lyx.org/BibTeX/Biblatex.
> However, the pdf generated does not have a bibliography.
> I tried an own file as well as one of the examples on that site.
> 
> Please help...
> 
> Bernd Kappenberg




Re: numbers of figures

2012-04-18 Thread Mario Crespo
You can just go to the document configuration menu and select the right 
modules. 
I can't tell you the exact text because I use lyx in spanish, but it should be 
something like:
Document - Document options
Modules
Number figures in sections

Using that LyX will do everything and you won't need to write anything in the 
preamble.




Re: numbers of figures

2012-04-18 Thread Mario Crespo
You can just go to the document configuration menu and select the right 
modules. 
I can't tell you the exact text because I use lyx in spanish, but it should be 
something like:
Document - Document options
Modules
Number figures in sections

Using that LyX will do everything and you won't need to write anything in the 
preamble.




Re: numbers of figures

2012-04-18 Thread Mario Crespo
You can just go to the document configuration menu and select the right 
modules. 
I can't tell you the exact text because I use lyx in spanish, but it should be 
something like:
Document -> Document options
Modules
Number figures in sections

Using that LyX will do everything and you won't need to write anything in the 
preamble.




Re: lyx and hypcap

2012-03-14 Thread mario chiari
Dear Julien, All,

thanks for the reply.
Nope, it does not work even  with the \label within the \caption.

I copyaste my entire file below.
I tried to export and latex the .tex file. I get the same error, but the
final .dvi file is fine.
With pdflatex, the final .pdf file is fine too, but I get more errors.
Lyx does not let me to compile, it just dies. 

I appreciate any further hint
thanks, regards
mario

ps 
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/hypcap.sty
Package: hypcap 2008/09/08 v1.10 Adjusting anchors of captions (HO)

%%% my  .tex, exported (and simplified)
%% LyX 2.0.0beta3 created this file.  For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,a4paper,italian]{letter}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{color}
\usepackage{babel}
\usepackage{url}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[unicode=true,
 bookmarks=true,bookmarksnumbered=true,bookmarksopen=false,
 breaklinks=true,pdfborder={0 0
1},backref=page,colorlinks=true]{hyperref}
\hypersetup{pdftitle={mario letter},
 pdfauthor={mario},
 pdfsubject={topic},
 pdfkeywords={key}}
\usepackage{breakurl}

\makeatletter

%% LyX specific LaTeX commands.
\special{papersize=\the\paperwidth,\the\paperheight}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}
%% User specified LaTeX commands.
\usepackage[top=2cm, bottom=3cm, left=1cm, right=2cm]{geometry}
%\usepackage{biblatex}%\bibliographystyle{plain}
\usepackage{lmodern}% Enable Latin Modern fonts
\usepackage{graphicx}
\usepackage{fancyhdr}

\usepackage[babel,italian=guillemets]{csquotes}
\usepackage{ifthen}
\usepackage{float}

\usepackage{hypcap}% see 

%\usepackage[bf]{caption}
%\usepackage[hypcap=true]{subcaption}  %similar issues

\AtBeginDocument{
  \def\labelitemii{\(\circ\)}
  \def\labelitemiv{\(\checkmark\)}
}

\makeatother

\begin{document}
\letter{my friend \linebreak{}
home \linebreak{}
town}
\address{myself\\
my place\\
home town\\
123123123 }
\opening{Dear}
\signature{mario}
bla bla   \ref{pict}  \ref{pict2}
\closing{ciao}

\floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
\hypcapredef{myfig}


\begin{myfig} 
\capstart 
\begin{center}
 \includegraphics[bb=0 0 173 468,scale=1.2]{./myfile.jpg}
 % myfile.jpg: 480x1300 pixel, 200dpi, 6.10x16.51 cm, bb=0 0 173 468
\end{center}
\caption{my picture here \label{pict} }
\end{myfig}


\begin{myfig} 
\capstart 
\begin{center}
 \includegraphics[bb=0 0 173 468,scale=1.1]{./myfile.jpg}
 % myfile.jpg: 480x1300 pixel, 200dpi, 6.10x16.51 cm, bb=0 0 173 468
\end{center}
\caption{my picture two here \label{pict2} }
\end{myfig}
\end{document}

 error (from .log file), when I latex .tex file
..
\@float@every@myfig=\toks28
\c@myfig=\count105
File: ./myfile.jpg Graphic file (type eps)
 ./myfile.jpg
Package hyperref Info: bookmark level for unknown myfig defaults to 0 on
input 
line 79.
! Package hypcap Error: You have forgotten to use \caption.
See the hypcap package documentation for explanation.
Type  H return  for immediate help.
 ...
   
l.80 \end{myfig}   
\global 
File: ./myfile.jpg Graphic file (type eps)
./myfile.jpg
! Package hypcap Error: You have forgotten to use \caption.
See the hypcap package documentation for explanation.
Type  H return  for immediate help.
 ...
  
l.90 \end{myfig}  
\global 
.

% further error (from .log file), when I pdflatex .tex file

l.91 \end{document}
   pdfTeX warning (ext4): destination with the same
identifier 
(name{myfig.1}) has been already used, duplicate ignored
. 


:-(




On Tue, 2012-03-13 at 19:33 -0400, Julien Rioux wrote:
 On 13/03/2012 7:06 PM, mario chiari wrote:
  Hi
 
 
  I am trying to use captions defined thanks to \usepackage{hypcap}, as
  you may see below.
  I get the error
  ! Package hypcap Error: You have forgotten to use \caption.
 
  Indeed I have not forgot it, and I am not sure what to try.
  Note, lyx displays myfile.jpeg.
 
  Any hint is welcome.
  Thanks, Regards
  mario
 
 
 
  ---
  \floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
  \hypcapredef{myfig}
 
  \begin{myfig} \capstart
 
  \begin{center}
  \includegraphics[bb=0 0 593 608,scale=1.05]{\lyxdot \lyxdot /\lyxdot
  \lyxdot /myfile.jpeg}
  \par\end{center}
 
  \caption{bla bla \cite{aaa}}
 
 
  \label{bbb}\end{myfig}
 
 
 
 Do you get a better result with the \label within the \caption?
 




Re: lyx and hypcap

2012-03-14 Thread mario chiari
Dear Julien, All,

thanks for the reply.
Nope, it does not work even  with the \label within the \caption.

I copyaste my entire file below.
I tried to export and latex the .tex file. I get the same error, but the
final .dvi file is fine.
With pdflatex, the final .pdf file is fine too, but I get more errors.
Lyx does not let me to compile, it just dies. 

I appreciate any further hint
thanks, regards
mario

ps 
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/hypcap.sty
Package: hypcap 2008/09/08 v1.10 Adjusting anchors of captions (HO)

%%% my  .tex, exported (and simplified)
%% LyX 2.0.0beta3 created this file.  For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,a4paper,italian]{letter}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{color}
\usepackage{babel}
\usepackage{url}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[unicode=true,
 bookmarks=true,bookmarksnumbered=true,bookmarksopen=false,
 breaklinks=true,pdfborder={0 0
1},backref=page,colorlinks=true]{hyperref}
\hypersetup{pdftitle={mario letter},
 pdfauthor={mario},
 pdfsubject={topic},
 pdfkeywords={key}}
\usepackage{breakurl}

\makeatletter

%% LyX specific LaTeX commands.
\special{papersize=\the\paperwidth,\the\paperheight}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}
%% User specified LaTeX commands.
\usepackage[top=2cm, bottom=3cm, left=1cm, right=2cm]{geometry}
%\usepackage{biblatex}%\bibliographystyle{plain}
\usepackage{lmodern}% Enable Latin Modern fonts
\usepackage{graphicx}
\usepackage{fancyhdr}

\usepackage[babel,italian=guillemets]{csquotes}
\usepackage{ifthen}
\usepackage{float}

\usepackage{hypcap}% see 

%\usepackage[bf]{caption}
%\usepackage[hypcap=true]{subcaption}  %similar issues

\AtBeginDocument{
  \def\labelitemii{\(\circ\)}
  \def\labelitemiv{\(\checkmark\)}
}

\makeatother

\begin{document}
\letter{my friend \linebreak{}
home \linebreak{}
town}
\address{myself\\
my place\\
home town\\
123123123 }
\opening{Dear}
\signature{mario}
bla bla   \ref{pict}  \ref{pict2}
\closing{ciao}

\floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
\hypcapredef{myfig}


\begin{myfig} 
\capstart 
\begin{center}
 \includegraphics[bb=0 0 173 468,scale=1.2]{./myfile.jpg}
 % myfile.jpg: 480x1300 pixel, 200dpi, 6.10x16.51 cm, bb=0 0 173 468
\end{center}
\caption{my picture here \label{pict} }
\end{myfig}


\begin{myfig} 
\capstart 
\begin{center}
 \includegraphics[bb=0 0 173 468,scale=1.1]{./myfile.jpg}
 % myfile.jpg: 480x1300 pixel, 200dpi, 6.10x16.51 cm, bb=0 0 173 468
\end{center}
\caption{my picture two here \label{pict2} }
\end{myfig}
\end{document}

 error (from .log file), when I latex .tex file
..
\@float@every@myfig=\toks28
\c@myfig=\count105
File: ./myfile.jpg Graphic file (type eps)
 ./myfile.jpg
Package hyperref Info: bookmark level for unknown myfig defaults to 0 on
input 
line 79.
! Package hypcap Error: You have forgotten to use \caption.
See the hypcap package documentation for explanation.
Type  H return  for immediate help.
 ...
   
l.80 \end{myfig}   
\global 
File: ./myfile.jpg Graphic file (type eps)
./myfile.jpg
! Package hypcap Error: You have forgotten to use \caption.
See the hypcap package documentation for explanation.
Type  H return  for immediate help.
 ...
  
l.90 \end{myfig}  
\global 
.

% further error (from .log file), when I pdflatex .tex file

l.91 \end{document}
   pdfTeX warning (ext4): destination with the same
identifier 
(name{myfig.1}) has been already used, duplicate ignored
. 


:-(




On Tue, 2012-03-13 at 19:33 -0400, Julien Rioux wrote:
 On 13/03/2012 7:06 PM, mario chiari wrote:
  Hi
 
 
  I am trying to use captions defined thanks to \usepackage{hypcap}, as
  you may see below.
  I get the error
  ! Package hypcap Error: You have forgotten to use \caption.
 
  Indeed I have not forgot it, and I am not sure what to try.
  Note, lyx displays myfile.jpeg.
 
  Any hint is welcome.
  Thanks, Regards
  mario
 
 
 
  ---
  \floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
  \hypcapredef{myfig}
 
  \begin{myfig} \capstart
 
  \begin{center}
  \includegraphics[bb=0 0 593 608,scale=1.05]{\lyxdot \lyxdot /\lyxdot
  \lyxdot /myfile.jpeg}
  \par\end{center}
 
  \caption{bla bla \cite{aaa}}
 
 
  \label{bbb}\end{myfig}
 
 
 
 Do you get a better result with the \label within the \caption?
 




Re: lyx and hypcap

2012-03-14 Thread mario chiari
Dear Julien, All,

thanks for the reply.
Nope, it does not work even  with the \label within the \caption.

I copy my entire file below.
I tried to export and latex the .tex file. I get the same error, but the
final .dvi file is fine.
With pdflatex, the final .pdf file is fine too, but I get more errors.
Lyx does not let me to compile, it just dies. 

I appreciate any further hint
thanks, regards
mario

ps 
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/hypcap.sty
Package: hypcap 2008/09/08 v1.10 Adjusting anchors of captions (HO)

%%% my  .tex, exported (and simplified)
%% LyX 2.0.0beta3 created this file.  For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,a4paper,italian]{letter}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{color}
\usepackage{babel}
\usepackage{url}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[unicode=true,
 bookmarks=true,bookmarksnumbered=true,bookmarksopen=false,
 breaklinks=true,pdfborder={0 0
1},backref=page,colorlinks=true]{hyperref}
\hypersetup{pdftitle={mario letter},
 pdfauthor={mario},
 pdfsubject={topic},
 pdfkeywords={key}}
\usepackage{breakurl}

\makeatletter

%% LyX specific LaTeX commands.
\special{papersize=\the\paperwidth,\the\paperheight}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}
%% User specified LaTeX commands.
\usepackage[top=2cm, bottom=3cm, left=1cm, right=2cm]{geometry}
%\usepackage{biblatex}%\bibliographystyle{plain}
\usepackage{lmodern}% Enable Latin Modern fonts
\usepackage{graphicx}
\usepackage{fancyhdr}

\usepackage[babel,italian=guillemets]{csquotes}
\usepackage{ifthen}
\usepackage{float}

\usepackage{hypcap}% see 

%\usepackage[bf]{caption}
%\usepackage[hypcap=true]{subcaption}  %similar issues

\AtBeginDocument{
  \def\labelitemii{\(\circ\)}
  \def\labelitemiv{\(\checkmark\)}
}

\makeatother

\begin{document}
\letter{my friend \linebreak{}
home \linebreak{}
town}
\address{myself\\
my place\\
home town\\
123123123 }
\opening{Dear}
\signature{mario}
bla bla   \ref{pict}  \ref{pict2}
\closing{ciao}

\floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
\hypcapredef{myfig}


\begin{myfig} 
\capstart 
\begin{center}
 \includegraphics[bb=0 0 173 468,scale=1.2]{./myfile.jpg}
 % myfile.jpg: 480x1300 pixel, 200dpi, 6.10x16.51 cm, bb=0 0 173 468
\end{center}
\caption{my picture here \label{pict} }
\end{myfig}


\begin{myfig} 
\capstart 
\begin{center}
 \includegraphics[bb=0 0 173 468,scale=1.1]{./myfile.jpg}
 % myfile.jpg: 480x1300 pixel, 200dpi, 6.10x16.51 cm, bb=0 0 173 468
\end{center}
\caption{my picture two here \label{pict2} }
\end{myfig}
\end{document}

 error (from .log file), when I latex .tex file
..
\@float@every@myfig=\toks28
\c@myfig=\count105
File: ./myfile.jpg Graphic file (type eps)
 <./myfile.jpg>
Package hyperref Info: bookmark level for unknown myfig defaults to 0 on
input 
line 79.
! Package hypcap Error: You have forgotten to use \caption.
See the hypcap package documentation for explanation.
Type  H   for immediate help.
 ...
   
l.80 \end{myfig}   
\global 
File: ./myfile.jpg Graphic file (type eps)
<./myfile.jpg>
! Package hypcap Error: You have forgotten to use \caption.
See the hypcap package documentation for explanation.
Type  H   for immediate help.
 ...
  
l.90 \end{myfig}  
\global 
.

% further error (from .log file), when I pdflatex .tex file

l.91 \end{document}
   pdfTeX warning (ext4): destination with the same
identifier 
(name{myfig.1}) has been already used, duplicate ignored
. 


:-(




On Tue, 2012-03-13 at 19:33 -0400, Julien Rioux wrote:
> On 13/03/2012 7:06 PM, mario chiari wrote:
> > Hi
> >
> >
> > I am trying to use captions defined thanks to \usepackage{hypcap}, as
> > you may see below.
> > I get the error
> > ! Package hypcap Error: You have forgotten to use \caption.
> >
> > Indeed I have not forgot it, and I am not sure what to try.
> > Note, lyx displays myfile.jpeg.
> >
> > Any hint is welcome.
> > Thanks, Regards
> > mario
> >
> >
> >
> > ---
> > \floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
> > \hypcapredef{myfig}
> >
> > \begin{myfig} \capstart
> >
> > \begin{center}
> > \includegraphics[bb=0 0 593 608,scale=1.05]{\lyxdot \lyxdot /\lyxdot
> > \lyxdot /myfile.jpeg}
> > \par\end{center}
> >
> > \caption{bla bla \cite{aaa}}
> >
> >
> > \label{bbb}\end{myfig}
> >
> >
> 
> Do you get a better result with the \label within the \caption?
> 




lyx and hypcap

2012-03-13 Thread mario chiari
Hi


I am trying to use captions defined thanks to \usepackage{hypcap}, as
you may see below.
I get the error
! Package hypcap Error: You have forgotten to use \caption.

Indeed I have not forgot it, and I am not sure what to try.
Note, lyx displays myfile.jpeg. 

Any hint is welcome.
Thanks, Regards
mario



---
\floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
\hypcapredef{myfig}

\begin{myfig} \capstart 

\begin{center}
\includegraphics[bb=0 0 593 608,scale=1.05]{\lyxdot \lyxdot /\lyxdot
\lyxdot /myfile.jpeg} 
\par\end{center}

\caption{bla bla \cite{aaa}}


\label{bbb}\end{myfig} 



lyx and hypcap

2012-03-13 Thread mario chiari
Hi


I am trying to use captions defined thanks to \usepackage{hypcap}, as
you may see below.
I get the error
! Package hypcap Error: You have forgotten to use \caption.

Indeed I have not forgot it, and I am not sure what to try.
Note, lyx displays myfile.jpeg. 

Any hint is welcome.
Thanks, Regards
mario



---
\floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
\hypcapredef{myfig}

\begin{myfig} \capstart 

\begin{center}
\includegraphics[bb=0 0 593 608,scale=1.05]{\lyxdot \lyxdot /\lyxdot
\lyxdot /myfile.jpeg} 
\par\end{center}

\caption{bla bla \cite{aaa}}


\label{bbb}\end{myfig} 



lyx and hypcap

2012-03-13 Thread mario chiari
Hi


I am trying to use captions defined thanks to \usepackage{hypcap}, as
you may see below.
I get the error
! Package hypcap Error: You have forgotten to use \caption.

Indeed I have not forgot it, and I am not sure what to try.
Note, lyx displays myfile.jpeg. 

Any hint is welcome.
Thanks, Regards
mario



---
\floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
\hypcapredef{myfig}

\begin{myfig} \capstart 

\begin{center}
\includegraphics[bb=0 0 593 608,scale=1.05]{\lyxdot \lyxdot /\lyxdot
\lyxdot /myfile.jpeg} 
\par\end{center}

\caption{bla bla \cite{aaa}}


\label{bbb}\end{myfig} 



Re: Timeline generation

2011-04-18 Thread mario
hello

On Mon, Apr 18, 2011 06:51  PM, Steve Litt lt;sl...@troubleshooters.comgt; 
wrote:
 On Monday 18 April 2011 03:09:53 Walter wrote:
  Hi all,
  
  Does anyone have a good solution to generate timelines?
  

 All I know is this would be really cool, and please let us know when you've 
 found a solution.
 


Yes, it would be very very cool.
Do you know about http://www.simile-widgets.org/timeline/ ?
It would be very nice to be able to convert that html output to something Latex 
can hadle.
I have millions of question, but before I ask them maybe somebody could tell us 
what can be done, or which stumblig blocks are in front of us. 

I look forward to read from you
thanks
mario


Re: Timeline generation

2011-04-18 Thread mario
hello

On Mon, Apr 18, 2011 06:51  PM, Steve Litt lt;sl...@troubleshooters.comgt; 
wrote:
 On Monday 18 April 2011 03:09:53 Walter wrote:
  Hi all,
  
  Does anyone have a good solution to generate timelines?
  

 All I know is this would be really cool, and please let us know when you've 
 found a solution.
 


Yes, it would be very very cool.
Do you know about http://www.simile-widgets.org/timeline/ ?
It would be very nice to be able to convert that html output to something Latex 
can hadle.
I have millions of question, but before I ask them maybe somebody could tell us 
what can be done, or which stumblig blocks are in front of us. 

I look forward to read from you
thanks
mario


Re: Timeline generation

2011-04-18 Thread mario
hello

On Mon, Apr 18, 2011 06:51  PM, Steve Litt sl...@troubleshooters.com 
wrote:
> On Monday 18 April 2011 03:09:53 Walter wrote:
> > Hi all,
> > 
> > Does anyone have a good solution to generate timelines?
> > 

> All I know is this would be really cool, and please let us know when you've 
> found a solution.
> 


Yes, it would be very very cool.
Do you know about http://www.simile-widgets.org/timeline/ ?
It would be very nice to be able to convert that html output to something Latex 
can hadle.
I have millions of question, but before I ask them maybe somebody could tell us 
what can be done, or which stumblig blocks are in front of us. 

I look forward to read from you
thanks
mario


Re: PDF output question

2010-12-11 Thread mario
Hi

try to give a look at Laport's book
http://www.amazon.com/LaTeX-Document-Preparation-System-2nd/dp/0201529831 
It helps.
My best wishes for your thesis
mario



On Sat, Dec 11, 2010 04:41  PM, Alan McIntyre lt;apmcint...@gmail.comgt; 
wrote:
 Hi,
 
 I'm a relative newbie to Lyx and am using it for writing my thesis. The
 problem I'm having is that the pdf output I generate, which looks OK (bit
 'jumpy' looking though), appears to be bitmap images rather than proper
 searchable text. For example I need to submit my document to my university
 via the Turnitin plagarism detection system, but this complains that my
 document contains no text! Also, on the pdf output I can't do copy/paste
 text, word counts, word search, etc.
 
 I'm using Lyx on Win XP, set up with the LyXWinInstaller v.1.6.8. It's all
 default setup - I know nothing about Latex or what goes on under the cover!
 
 Thanks,
 Alan
Email sent using Axigen Free Mail Server:
http://www.axigen.com/mail-server/free


Re: PDF output question

2010-12-11 Thread mario
Alan

I can search your file.
How do you look at it?
Or am I misunderstanding your issue?
mario


On Sat, Dec 11, 2010 05:21  PM, Alan McIntyre lt;apmcint...@gmail.comgt; 
wrote:
 Nikos Chantziaras realnc at arcor.de writes:
 
  
  
  Always use the pdflatex export option.  This will use scalable fonts.
  
  
 
 Thanks Nikos for reply - I've tried pdflatex output option with same result. 
 See
 output file at...
 http://dl.dropbox.com/u/14591540/newfile1.pdf
Email sent using Axigen Free Mail Server:
http://www.axigen.com/mail-server/free


Re: PDF output question

2010-12-11 Thread mario
Hi

try to give a look at Laport's book
http://www.amazon.com/LaTeX-Document-Preparation-System-2nd/dp/0201529831 
It helps.
My best wishes for your thesis
mario



On Sat, Dec 11, 2010 04:41  PM, Alan McIntyre lt;apmcint...@gmail.comgt; 
wrote:
 Hi,
 
 I'm a relative newbie to Lyx and am using it for writing my thesis. The
 problem I'm having is that the pdf output I generate, which looks OK (bit
 'jumpy' looking though), appears to be bitmap images rather than proper
 searchable text. For example I need to submit my document to my university
 via the Turnitin plagarism detection system, but this complains that my
 document contains no text! Also, on the pdf output I can't do copy/paste
 text, word counts, word search, etc.
 
 I'm using Lyx on Win XP, set up with the LyXWinInstaller v.1.6.8. It's all
 default setup - I know nothing about Latex or what goes on under the cover!
 
 Thanks,
 Alan
Email sent using Axigen Free Mail Server:
http://www.axigen.com/mail-server/free


Re: PDF output question

2010-12-11 Thread mario
Alan

I can search your file.
How do you look at it?
Or am I misunderstanding your issue?
mario


On Sat, Dec 11, 2010 05:21  PM, Alan McIntyre lt;apmcint...@gmail.comgt; 
wrote:
 Nikos Chantziaras realnc at arcor.de writes:
 
  
  
  Always use the pdflatex export option.  This will use scalable fonts.
  
  
 
 Thanks Nikos for reply - I've tried pdflatex output option with same result. 
 See
 output file at...
 http://dl.dropbox.com/u/14591540/newfile1.pdf
Email sent using Axigen Free Mail Server:
http://www.axigen.com/mail-server/free


Re: PDF output question

2010-12-11 Thread mario
Hi

try to give a look at Laport's book
http://www.amazon.com/LaTeX-Document-Preparation-System-2nd/dp/0201529831 
It helps.
My best wishes for your thesis
mario



On Sat, Dec 11, 2010 04:41  PM, Alan McIntyre apmcint...@gmail.com 
wrote:
> Hi,
> 
> I'm a relative newbie to Lyx and am using it for writing my thesis. The
> problem I'm having is that the pdf output I generate, which looks OK (bit
> 'jumpy' looking though), appears to be bitmap images rather than proper
> searchable text. For example I need to submit my document to my university
> via the Turnitin plagarism detection system, but this complains that my
> document contains no text! Also, on the pdf output I can't do copy/paste
> text, word counts, word search, etc.
> 
> I'm using Lyx on Win XP, set up with the LyXWinInstaller v.1.6.8. It's all
> default setup - I know nothing about Latex or what goes on under the cover!
> 
> Thanks,
> Alan
Email sent using Axigen Free Mail Server:
http://www.axigen.com/mail-server/free


Re: PDF output question

2010-12-11 Thread mario
Alan

I can search your file.
How do you look at it?
Or am I misunderstanding your issue?
mario


On Sat, Dec 11, 2010 05:21  PM, Alan McIntyre apmcint...@gmail.com 
wrote:
> Nikos Chantziaras  arcor.de> writes:
> 
> > 
> > 
> > Always use the "pdflatex" export option.  This will use scalable fonts.
> > 
> > 
> 
> Thanks Nikos for reply - I've tried pdflatex output option with same result. 
> See
> output file at...
> http://dl.dropbox.com/u/14591540/newfile1.pdf
Email sent using Axigen Free Mail Server:
http://www.axigen.com/mail-server/free


Question on biblatex

2010-07-07 Thread mario
Hello

although my question is not about lyx, I hope you my help me anyway.
(or maybe redirect me to the right forum).

In the biblatex tutorial 
http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/biblatex.pdf
at pag. 168-169 the author offers a few hint on how to implement a nice
feature to produce internal links among records within a bibliography:  

[1] Audrey Author: Title of article. In: [2], pp. 134–165. 
[2] Edward Editor, ed.: Title of collection. Publisher: Location, 1995.


Since I am not a (La)TeX programmer, I would like very much to hack the
complete code from somewhere/somebody.

I am using 
\usepackage[style=numeric,hyperref=auto,defernums=true,annotation=true,library=true,sorting=nyt]{biblatex}

Thanks very much
regards
mario
 



Question on biblatex

2010-07-07 Thread mario
Hello

although my question is not about lyx, I hope you my help me anyway.
(or maybe redirect me to the right forum).

In the biblatex tutorial 
http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/biblatex.pdf
at pag. 168-169 the author offers a few hint on how to implement a nice
feature to produce internal links among records within a bibliography:  

[1] Audrey Author: Title of article. In: [2], pp. 134–165. 
[2] Edward Editor, ed.: Title of collection. Publisher: Location, 1995.


Since I am not a (La)TeX programmer, I would like very much to hack the
complete code from somewhere/somebody.

I am using 
\usepackage[style=numeric,hyperref=auto,defernums=true,annotation=true,library=true,sorting=nyt]{biblatex}

Thanks very much
regards
mario
 



Question on biblatex

2010-07-07 Thread mario
Hello

although my question is not about lyx, I hope you my help me anyway.
(or maybe redirect me to the right forum).

In the biblatex tutorial 
http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/biblatex.pdf
at pag. 168-169 the author offers a few hint on how to implement a nice
feature to produce internal links among records within a bibliography:  

[1] Audrey Author: Title of article. In: [2], pp. 134–165. 
[2] Edward Editor, ed.: Title of collection. Publisher: Location, 1995.


Since I am not a (La)TeX programmer, I would like very much to hack the
complete code from somewhere/somebody.

I am using 
\usepackage[style=numeric,hyperref=auto,defernums=true,annotation=true,library=true,sorting=nyt]{biblatex}

Thanks very much
regards
mario
 



Bibtex question. How do I insert scans of covers.

2010-03-03 Thread mario
hello

I have a new question on bibtex/biblatex.

How do I do when a bibliographic item refers to another one:

[1] -- Author, Title, in [2]

[2]--  BlaBla, edited by Joe Doe


Hope it is clear.
Thanks a lot
mario





Re: Re: Bibtex question. How do I insert scans of covers.

2010-03-03 Thread mario
Hi

thanks
mario
ps nice paper too!
--
rgheck  wrote:
 On 03/03/2010 12:22 PM, mario wrote:
  hello
 
  I have a new question on bibtex/biblatex.
 
  How do I do when a bibliographic item refers to another one:
 
  [1] -- Author, Title, in [2]
 
  [2]--  BlaBla, edited by Joe Doe
 
 
 This is what the crossref field is for. Put the key of the other entry, 
 e.g.:
 
 @INCOLLECTION{HeckMay:FregesContribution,
author = {Richard Heck and Robert May},
title = {Frege's Contribution to Philosophy of Language},
pages = {3--39},
crossref = {LeporeSmith:PhilLang},
owner = {rgheck},
timestamp = {2008.06.18}
 }
 
 rh
 
 

Bibtex question. How do I insert scans of covers.

2010-03-03 Thread mario
hello

I have a new question on bibtex/biblatex.

How do I do when a bibliographic item refers to another one:

[1] -- Author, Title, in [2]

[2]--  BlaBla, edited by Joe Doe


Hope it is clear.
Thanks a lot
mario





Re: Re: Bibtex question. How do I insert scans of covers.

2010-03-03 Thread mario
Hi

thanks
mario
ps nice paper too!
--
rgheck  wrote:
 On 03/03/2010 12:22 PM, mario wrote:
  hello
 
  I have a new question on bibtex/biblatex.
 
  How do I do when a bibliographic item refers to another one:
 
  [1] -- Author, Title, in [2]
 
  [2]--  BlaBla, edited by Joe Doe
 
 
 This is what the crossref field is for. Put the key of the other entry, 
 e.g.:
 
 @INCOLLECTION{HeckMay:FregesContribution,
author = {Richard Heck and Robert May},
title = {Frege's Contribution to Philosophy of Language},
pages = {3--39},
crossref = {LeporeSmith:PhilLang},
owner = {rgheck},
timestamp = {2008.06.18}
 }
 
 rh
 
 

Bibtex question. How do I insert scans of covers.

2010-03-03 Thread mario
hello

I have a new question on bibtex/biblatex.

How do I do when a bibliographic item refers to another one:

[1] -- Author, Title, in [2]

[2]--  BlaBla, edited by Joe Doe


Hope it is clear.
Thanks a lot
mario





Re: Re: Bibtex question. How do I insert scans of covers.

2010-03-03 Thread mario
Hi

thanks
mario
ps nice paper too!
--
rgheck  wrote:
> On 03/03/2010 12:22 PM, mario wrote:
> > hello
> >
> > I have a new question on bibtex/biblatex.
> >
> > How do I do when a bibliographic item refers to another one:
> >
> > [1] -- Author, Title, in [2]
> >
> > [2]--  BlaBla, edited by Joe Doe
> >
> >
> This is what the crossref field is for. Put the key of the other entry, 
> e.g.:
> 
> @INCOLLECTION{HeckMay:FregesContribution,
>author = {Richard Heck and Robert May},
>title = {Frege's Contribution to Philosophy of Language},
>pages = {3--39},
>crossref = {LeporeSmith:PhilLang},
>owner = {rgheck},
>timestamp = {2008.06.18}
> }
> 
> rh
> 
> 

Re: Bibtex question. How do I insert scans of covers.

2010-03-02 Thread mario
Il giorno lun, 01/03/2010 alle 22.29 +0100, Daniel Lohmann ha scritto:
 On 01.03.2010, at 21:33, mario wrote:
 
 
 
 Just an untested idea: Have you tried (mis-)using the note field for  
 this purpose?
 
 @book {...
 
   note={\includegraphics{...}}
 }
 
 This probably won't work within LyX, as LyX would not copy the image  
 files to the temporary generation directory. However, with plain LaTeX  
 it might do the trick.
 
 
 Daniel

I get the following error:
./myfile.bbl:4:Undefined control sequence $\includegraphics

:-(

thanks anyway
mario




Re: Bibtex question. How do I insert scans of covers.

2010-03-02 Thread mario
Il giorno lun, 01/03/2010 alle 17.29 -0500, Charles de Miramon ha
scritto:
 Daniel Lohmann wrote:
 
  Just an untested idea: Have you tried (mis-)using the note field for
  this purpose?
  
  @book {...
  
  note={\includegraphics{...}}
  }
  
 
 Yes but the lists of references is basically a list and if you include a 
 graphics at the end of an item of the list, LaTeX is going to do wild 
 things.
 
 You would need to redefine the bibliography environment to create some kind 
 of tabular where the reference is printed in one cell and the image in the 
 adjacent cell.
 
 It is possible (but some work) to do it with some tweaking of biblatex 

do you mean
http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/biblatex.pdf ?

 but 
 you must have some knowledge of LaTeX.
 
 Charles 

Maybe somebody has already done something I may hack.
Happy to ack. any help
Thanks
mario




Re: Bibtex question. How do I insert scans of covers.

2010-03-02 Thread mario
Il giorno lun, 01/03/2010 alle 22.29 +0100, Daniel Lohmann ha scritto:
 On 01.03.2010, at 21:33, mario wrote:
 
 
 
 Just an untested idea: Have you tried (mis-)using the note field for  
 this purpose?
 
 @book {...
 
   note={\includegraphics{...}}
 }
 
 This probably won't work within LyX, as LyX would not copy the image  
 files to the temporary generation directory. However, with plain LaTeX  
 it might do the trick.
 
 
 Daniel

I get the following error:
./myfile.bbl:4:Undefined control sequence $\includegraphics

:-(

thanks anyway
mario




Re: Bibtex question. How do I insert scans of covers.

2010-03-02 Thread mario
Il giorno lun, 01/03/2010 alle 17.29 -0500, Charles de Miramon ha
scritto:
 Daniel Lohmann wrote:
 
  Just an untested idea: Have you tried (mis-)using the note field for
  this purpose?
  
  @book {...
  
  note={\includegraphics{...}}
  }
  
 
 Yes but the lists of references is basically a list and if you include a 
 graphics at the end of an item of the list, LaTeX is going to do wild 
 things.
 
 You would need to redefine the bibliography environment to create some kind 
 of tabular where the reference is printed in one cell and the image in the 
 adjacent cell.
 
 It is possible (but some work) to do it with some tweaking of biblatex 

do you mean
http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/biblatex.pdf ?

 but 
 you must have some knowledge of LaTeX.
 
 Charles 

Maybe somebody has already done something I may hack.
Happy to ack. any help
Thanks
mario




Re: Bibtex question. How do I insert scans of covers.

2010-03-02 Thread mario
Il giorno lun, 01/03/2010 alle 22.29 +0100, Daniel Lohmann ha scritto:
> On 01.03.2010, at 21:33, mario wrote:
> 
> >
> 
> Just an untested idea: Have you tried (mis-)using the "note" field for  
> this purpose?
> 
> @book {...
> 
>   note={\includegraphics{...}}
> }
> 
> This probably won't work within LyX, as LyX would not copy the image  
> files to the temporary generation directory. However, with plain LaTeX  
> it might do the trick.
> 
> 
> Daniel

I get the following error:
./myfile.bbl:4:Undefined control sequence $\includegraphics

:-(

thanks anyway
mario




Re: Bibtex question. How do I insert scans of covers.

2010-03-02 Thread mario
Il giorno lun, 01/03/2010 alle 17.29 -0500, Charles de Miramon ha
scritto:
> Daniel Lohmann wrote:
> 
> > Just an untested idea: Have you tried (mis-)using the "note" field for
> > this purpose?
> > 
> > @book {...
> > 
> > note={\includegraphics{...}}
> > }
> > 
> 
> Yes but the lists of references is basically a list and if you include a 
> graphics at the end of an item of the list, LaTeX is going to do wild 
> things.
> 
> You would need to redefine the bibliography environment to create some kind 
> of tabular where the reference is printed in one cell and the image in the 
> adjacent cell.
> 
> It is possible (but some work) to do it with some tweaking of biblatex 

do you mean
http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/biblatex.pdf ?

> but 
> you must have some knowledge of LaTeX.
> 
> Charles 

Maybe somebody has already done something I may hack.
Happy to ack. any help
Thanks
mario




Bibtex question. How do I insert scans of covers.

2010-03-01 Thread mario
hello

I have a general bibtex question. 
I know my question is not a lyx related question, but I am not able to
write to other list right now (Is there a bibtex related issues list?)

My question is: I would like to include scans of covers and selected
pages within my bibtex entrie (and final output), how do I do? 

I appreciate any advise
thanks
mario



Re: Bibtex question. How do I insert scans of covers.

2010-03-01 Thread mario
Hi

thanks for your reply.

Il giorno lun, 01/03/2010 alle 17.14 +0100, Uwe Stöhr ha scritto:
 mario schrieb:
 
  My question is: I would like to include scans of covers and selected
  pages within my bibtex entrie (and final output), how do I do? 
 
 Personally, I use the BibTeX entry type misc for such cases.

yes, but  then how do you get the scan image in the final .dvi (or .pdf)
output?

 
 But maybe I misunderstand you. Images should not be part of the 
 bibliography list - I have never seen that in a published work.

I need for a report about the collection of books from a private
library.

 
 regards Uwe
 
my best wishes
mario



Bibtex question. How do I insert scans of covers.

2010-03-01 Thread mario
hello

I have a general bibtex question. 
I know my question is not a lyx related question, but I am not able to
write to other list right now (Is there a bibtex related issues list?)

My question is: I would like to include scans of covers and selected
pages within my bibtex entrie (and final output), how do I do? 

I appreciate any advise
thanks
mario



Re: Bibtex question. How do I insert scans of covers.

2010-03-01 Thread mario
Hi

thanks for your reply.

Il giorno lun, 01/03/2010 alle 17.14 +0100, Uwe Stöhr ha scritto:
 mario schrieb:
 
  My question is: I would like to include scans of covers and selected
  pages within my bibtex entrie (and final output), how do I do? 
 
 Personally, I use the BibTeX entry type misc for such cases.

yes, but  then how do you get the scan image in the final .dvi (or .pdf)
output?

 
 But maybe I misunderstand you. Images should not be part of the 
 bibliography list - I have never seen that in a published work.

I need for a report about the collection of books from a private
library.

 
 regards Uwe
 
my best wishes
mario



Bibtex question. How do I insert scans of covers.

2010-03-01 Thread mario
hello

I have a general bibtex question. 
I know my question is not a lyx related question, but I am not able to
write to other list right now (Is there a bibtex related issues list?)

My question is: I would like to include scans of covers and selected
pages within my bibtex entrie (and final output), how do I do? 

I appreciate any advise
thanks
mario



Re: Bibtex question. How do I insert scans of covers.

2010-03-01 Thread mario
Hi

thanks for your reply.

Il giorno lun, 01/03/2010 alle 17.14 +0100, Uwe Stöhr ha scritto:
> mario schrieb:
> 
> > My question is: I would like to include scans of covers and selected
> > pages within my bibtex entrie (and final output), how do I do? 
> 
> Personally, I use the BibTeX entry type "misc" for such cases.

yes, but  then how do you get the scan image in the final .dvi (or .pdf)
output?

> 
> But maybe I misunderstand you. Images should not be part of the 
> bibliography list - I have never seen that in a published work.

I need for a report about the collection of books from a private
library.

> 
> regards Uwe
> 
my best wishes
mario



Scientific Computing Article

2009-08-22 Thread Mario J . Vega
Nice review for LyX at Scientific Computing World.

http://www.scientific-computing.com/products/review_details.php?review_id=56



Scientific Computing Article

2009-08-22 Thread Mario J . Vega
Nice review for LyX at Scientific Computing World.

http://www.scientific-computing.com/products/review_details.php?review_id=56



Scientific Computing Article

2009-08-22 Thread Mario J . Vega
Nice review for LyX at Scientific Computing World.

http://www.scientific-computing.com/products/review_details.php?review_id=56



\psxTick and \psyTick no found

2009-05-31 Thread Jorge Mario Garcia
Hello LyxUsers


i am working with lyx 1.62, pstricks-add and ubuntu 9,  before i was in
winxp, bad now  the command \psxTick and \psyTick no working, something
idea?

what i can i do?

thanks


-- 
Jorge Mario Garcia Usuga
Director Grupo Gedes
Universidad del Quindío


\psxTick and \psyTick no found

2009-05-31 Thread Jorge Mario Garcia
Hello LyxUsers


i am working with lyx 1.62, pstricks-add and ubuntu 9,  before i was in
winxp, bad now  the command \psxTick and \psyTick no working, something
idea?

what i can i do?

thanks


-- 
Jorge Mario Garcia Usuga
Director Grupo Gedes
Universidad del Quindío


\psxTick and \psyTick no found

2009-05-31 Thread Jorge Mario Garcia
Hello LyxUsers


i am working with lyx 1.62, pstricks-add and ubuntu 9,  before i was in
winxp, bad now  the command \psxTick and \psyTick no working, something
idea?

what i can i do?

thanks


-- 
Jorge Mario Garcia Usuga
Director Grupo Gedes
Universidad del Quindío


biblatex, inputenc error

2009-05-19 Thread Mario Paul
Hi,

on an Ubuntu Linux 9.04 with Lyx 1.62 using document class koma-script 
article and biblatex I have the following problem:

- everything works fine as long as I _dont_ insert the \printbibliography 
command. 

- when I insert \printbibliography in lyx via ERT I get an (well known) 
inputenc error: Keyboard character used is undefined

- I checked my .bib-file (that is generated with synapsen) for any unusual 
characters, like a long -. I cant find any and I dont have any clue why that 
problem occurs.

I would be very glad, if someone helps me.

Thanks in advance
Mario


biblatex, inputenc error

2009-05-19 Thread Mario Paul
Hi,

on an Ubuntu Linux 9.04 with Lyx 1.62 using document class koma-script 
article and biblatex I have the following problem:

- everything works fine as long as I _dont_ insert the \printbibliography 
command. 

- when I insert \printbibliography in lyx via ERT I get an (well known) 
inputenc error: Keyboard character used is undefined

- I checked my .bib-file (that is generated with synapsen) for any unusual 
characters, like a long -. I cant find any and I dont have any clue why that 
problem occurs.

I would be very glad, if someone helps me.

Thanks in advance
Mario


biblatex, inputenc error

2009-05-19 Thread Mario Paul
Hi,

on an Ubuntu Linux 9.04 with Lyx 1.62 using document class "koma-script 
article" and biblatex I have the following problem:

- everything works fine as long as I _dont_ insert the "\printbibliography" 
command. 

- when I insert "\printbibliography" in lyx via ERT I get an (well known) 
inputenc error: Keyboard character used is undefined

- I checked my .bib-file (that is generated with "synapsen") for any unusual 
characters, like a long "-". I cant find any and I dont have any clue why that 
problem occurs.

I would be very glad, if someone helps me.

Thanks in advance
Mario


Problem with PSTricks an LYX

2009-03-31 Thread Jorge Mario Garcia
Good morning
My problem is:
I want to use the command

  \readdata{\funcion}{dtos2.txt}

 but LYX creates a temporary file where you saved the *. tex, the problem is
that my file dtos2.txt not is in the  same folder and lyx generates an
error.

I try to include it as an attachment, but LyX formats are already in place
and do not let me, and shows an error.

Can you help me?

-- 
Jorge Mario Garcia Usuga
Director Grupo Gedes
Universidad del Quindío


Problem with PSTricks an LYX

2009-03-31 Thread Jorge Mario Garcia
Good morning
My problem is:
I want to use the command

  \readdata{\funcion}{dtos2.txt}

 but LYX creates a temporary file where you saved the *. tex, the problem is
that my file dtos2.txt not is in the  same folder and lyx generates an
error.

I try to include it as an attachment, but LyX formats are already in place
and do not let me, and shows an error.

Can you help me?

-- 
Jorge Mario Garcia Usuga
Director Grupo Gedes
Universidad del Quindío


Problem with PSTricks an LYX

2009-03-31 Thread Jorge Mario Garcia
Good morning
My problem is:
I want to use the command

  \readdata{\funcion}{dtos2.txt}

 but LYX creates a temporary file where you saved the *. tex, the problem is
that my file dtos2.txt not is in the  same folder and lyx generates an
error.

I try to include it as an attachment, but LyX formats are already in place
and do not let me, and shows an error.

Can you help me?

-- 
Jorge Mario Garcia Usuga
Director Grupo Gedes
Universidad del Quindío


Apostrophe vs. Single quotation mark

2009-02-23 Thread mario m
Hi,

I am trying to type some PHP code (within a listing command). 
On a pdflatex output, I get a Single quotation mark when I type an
Apostrophe.
Where should I  look at to fix it?
Thanks 
Regards
mario

ps (bad cutpaste)
http://unicode.org/charts/PDF/U.pdf 
0027APOSTROPHE
   '
   = apostrophe-quote (1.0)
   = APL quote
   • neutral (vertical) glyph with mixed
usage  
   • 2019 ’ is preferred for apostrophe
   • preferred characters in English for paired
 quotation marks are 2018 ‘  2019 ’
   → 02B9 ʹ modifier letter prime
   → 02BC ʼ modifier letter apostrophe
   → 02C8 ˈ modifier letter vertical line
   → 0301 $́ combining acute accent
   → 2032 ′ prime
   → A78C ꞌ latin small letter saltillo

http://unicode.org/charts/PDF/U2000.pdf
2018   LEFT SINGLE QUOTATION MARK




Apostrophe vs. Single quotation mark

2009-02-23 Thread mario m
Hi,

I am trying to type some PHP code (within a listing command). 
On a pdflatex output, I get a Single quotation mark when I type an
Apostrophe.
Where should I  look at to fix it?
Thanks 
Regards
mario

ps (bad cutpaste)
http://unicode.org/charts/PDF/U.pdf 
0027APOSTROPHE
   '
   = apostrophe-quote (1.0)
   = APL quote
   • neutral (vertical) glyph with mixed
usage  
   • 2019 ’ is preferred for apostrophe
   • preferred characters in English for paired
 quotation marks are 2018 ‘  2019 ’
   → 02B9 ʹ modifier letter prime
   → 02BC ʼ modifier letter apostrophe
   → 02C8 ˈ modifier letter vertical line
   → 0301 $́ combining acute accent
   → 2032 ′ prime
   → A78C ꞌ latin small letter saltillo

http://unicode.org/charts/PDF/U2000.pdf
2018   LEFT SINGLE QUOTATION MARK




Apostrophe vs. Single quotation mark

2009-02-23 Thread mario m
Hi,

I am trying to type some PHP code (within a listing command). 
On a pdflatex output, I get a Single quotation mark when I type an
Apostrophe.
Where should I  look at to fix it?
Thanks 
Regards
mario

ps (bad cut)
http://unicode.org/charts/PDF/U.pdf 
0027APOSTROPHE
   '
   = apostrophe-quote (1.0)
   = APL quote
   • neutral (vertical) glyph with mixed
usage  
   • 2019 ’ is preferred for apostrophe
   • preferred characters in English for paired
 quotation marks are 2018 ‘ & 2019 ’
   → 02B9 ʹ modifier letter prime
   → 02BC ʼ modifier letter apostrophe
   → 02C8 ˈ modifier letter vertical line
   → 0301 $́ combining acute accent
   → 2032 ′ prime
   → A78C ꞌ latin small letter saltillo

http://unicode.org/charts/PDF/U2000.pdf
2018   LEFT SINGLE QUOTATION MARK




  1   2   3   4   >