Re: a way of building macros?

2007-09-06 Thread roberto
Hi Andre,

I have not a clue about where to begin looking for /lib/bin/*. Could you 
be
more specific? I'm on Win XP.

I've also found this page in the LyX's Wiki --
http://wiki.lyx.org/Tips/CommandSequences -- but I must confess that I didn't
understand what was meant by .bind-file and how to use it... I guess I'll try
again tomorrow -- I'm getting too tired today.

Thanks!

Roberto
 
--
On Thu Sep  6 11:26 , Andre Poenitz [EMAIL PROTECTED] sent:

Sort of. Have a look at /lib/bin/*, especially the use of 'repeat'
and 'command-sequence'.

Andre'





Lists

2004-06-29 Thread Roberto
Does anybody know of any brazilian lyx list (mainly for portuguese character code 
related topics)?



subscription

2004-07-23 Thread Roberto
Does anyone know the link for one to unsubscribe (I hope not for long)?
Got a thousand messages in my lyx folder that couldn't  read yet.
It's the most active list I've ever been.
Thanks to all.



Re: a way of building macros?

2007-09-06 Thread roberto
Hi Andre,

I have not a clue about where to begin looking for /lib/bin/*. Could you 
be
more specific? I'm on Win XP.

I've also found this page in the LyX's Wiki --
http://wiki.lyx.org/Tips/CommandSequences -- but I must confess that I didn't
understand what was meant by .bind-file and how to use it... I guess I'll try
again tomorrow -- I'm getting too tired today.

Thanks!

Roberto
 
--
On Thu Sep  6 11:26 , Andre Poenitz [EMAIL PROTECTED] sent:

Sort of. Have a look at /lib/bin/*, especially the use of 'repeat'
and 'command-sequence'.

Andre'





Lists

2004-06-29 Thread Roberto
Does anybody know of any brazilian lyx list (mainly for portuguese character code 
related topics)?



subscription

2004-07-23 Thread Roberto
Does anyone know the link for one to unsubscribe (I hope not for long)?
Got a thousand messages in my lyx folder that couldn't  read yet.
It's the most active list I've ever been.
Thanks to all.



Re: a way of building macros?

2007-09-06 Thread roberto
Hi Andre,

I have not a clue about where to begin looking for "/lib/bin/*". Could you 
be
more specific? I'm on Win XP.

I've also found this page in the LyX's Wiki --
http://wiki.lyx.org/Tips/CommandSequences -- but I must confess that I didn't
understand what was meant by ".bind-file" and how to use it... I guess I'll try
again tomorrow -- I'm getting too tired today.

Thanks!

Roberto
 
--
On Thu Sep  6 11:26 , Andre Poenitz <[EMAIL PROTECTED]> sent:
>
>Sort of. Have a look at /lib/bin/*, especially the use of 'repeat'
>and 'command-sequence'.
>
>Andre'
>




Lists

2004-06-29 Thread Roberto
Does anybody know of any brazilian lyx list (mainly for portuguese character code 
related topics)?



subscription

2004-07-23 Thread Roberto
Does anyone know the link for one to unsubscribe (I hope not for long)?
Got a thousand messages in my lyx folder that couldn't  read yet.
It's the most active list I've ever been.
Thanks to all.



shortcut for Use Computer Algebra System

2016-11-14 Thread Roberto
Hello,
  I am on Mac with Lyx 2.2.0 trying to put a shortcut for Edit>Math>Use
Computer Algebra System>Mathematica
but I do know what the Lyx function would be to put it in the binding file.
I tried the Preferences>Editing>Shortcuts  but this function is not listed.

Mathematica calculations work fine if I use the mouse to get the CAS
function, but is pretty nested down in the menu ... can anybody help me to
get a short cut to use CAS (and Mathematica in particular)

Thanks,
Roberto


Re: shortcut for Use Computer Algebra System

2016-11-15 Thread Roberto
Thanks! this looks what I need. The only problem is that I am not familiar
with customization and this does not look like a "\bind" line to put in a
mac.bind or math.bind - did I miss anything? where should I put this
command-alternatives break-paragraph;math-extern maxima  ?

On 14 November 2016 at 12:45, Paola Manzini <pm...@st-andrews.ac.uk> wrote:

>
> On 14 Nov 2016, at 11:02, Roberto <foice.n...@gmail.com> wrote:
>
> Hello,
>   I am on Mac with Lyx 2.2.0 trying to put a shortcut for Edit>Math>Use
> Computer Algebra System>Mathematica
> but I do know what the Lyx function would be to put it in the binding
> file. I tried the Preferences>Editing>Shortcuts  but this function is not
> listed.
>
> Mathematica calculations work fine if I use the mouse to get the CAS
> function, but is pretty nested down in the menu ... can anybody help me to
> get a short cut to use CAS (and Mathematica in particular)
>
> Thanks,
> Roberto
>
>
> Hi Roberto,
> according to the LyX manual there is no shortcut, but a way around it,
> have a look here:
> http://elyxer.nongnu.org/lyx/Math.html#toc-Subsection-23.2
>
> I haven't tried, though, I right click then select CAS
> Paola
>
>
>


Re: all-inclusive file format

2017-07-31 Thread Roberto

Oh my god, finally somebody with a Keyboard and a Heart showed up!
I have to say that is often the case that I find this kind of resistance 
in open-source developers communities - sometimes I wonder what is 
really "open" there!?







It may also mean "people without spare time trying to move on with their 
lives".


Seriously, and forgive me for the off-topic here, but it seems that on 
this thread is slowly surfacing one of the worst sins of open source 
communities: the attitude of "it's easy for me, then it must be easy for 
you too, you lazy looser".


Well, usually it's not easy. And people is neither lazy nor lousy nor 
anything. For most people on the world computers are just boxes they use 
to complete a task they don't even want to do. There is nothing they 
should be ashamed of if they don't care about the "superiority of X 
approach compared to the evil Y", specially if X requires a long 
learning process.


You cannot tell a normal person "if you want to write in collaboration, 
just use git". You cannot say to anyone, not even to me, someone that's 
been using Linux as his main system for the last two decades, to "use 
make". That attitude is not only wrong, it is one of the main reasons 
why we are still a minority on the consumer market. If your answers are 
targeted to computer wise persons, only computer wise person will listen 
to you.


As I said, I started to use F(L)OSS almost two decades ago. I'm using 
LyX since before it switched to Qt. Back then I compiled every new 
version by myself. But even with my experience I would have loved to 
have an "everything within the file" file format when, twelve years ago, 
I was writing my PhD thesis on LyX: at the time I did not had an 
internet connection at home so syncing all the files was a real PITA. 
Even now, in a time with automated backup utilities, usb drives and 
cloud storage I found the lack of an easy way to work on a "project" 
instead of "fiddling with several folders, each with dozens if not 
hundreds of files" quite cumbersome.


And another thing: the fact that MS implemented some idea does not means 
the idea is bad, saying so it's silly. A lot of F(L)OSS projects use 
"all within the file" file formats: ODF, and open source ISO standard, 
it's just a bunch of xml files and folders comfortably packed on a zip 
file. Also, can you even imagine what would be to work on krita or gimp 
if those projects just save all layers and masks on different files?


Please, people, think a bit on real users, not just on yourselves.

Thanks. [end of off-topic]

Regards,
Ricardo






Re: all-inclusive file format

2017-07-31 Thread Roberto

On 29/07/2017 13:39, Annaert Jan wrote:
Despite my pleas, some of my colleagues have already shied away from 
using LyX because of these unnecessary hurdles,


In 13 years of using LyX and after tens of scientific papers written I 
have never managed to convince collaborators to use LyX, why? because 
they know how to use LaTeX and prefer to go low-level, then git, make, 
blah blah ...


In the same 13 years of using LyX I have tried a number of times to get 
normal people (yes they exist! be aware of them, they are the majority!) 
to use LyX in place of other WYSIWYG like OpenOffice or MS Word. Well 
they shied away, as you say, because LyX still bears some traces of the 
low-level coding world of LaTeX. To me this is a good feature, because I 
love to be able to embed some LaTeX here and there, to really get the 
document I want down to the tiniest detail, but there also should be a 
way of using LyX that targets the opposite side of the spectrum of 
users, those who want to do cut and paste of their pictures (a features 
that appeared some years back as far as I can remember) and forget about 
where the pictures are stored. Possibly they will use LyX to paste and 
forget the images of their cat and then they will send it as an 
attachment to you, but that is another story ... :)




Re: all-inclusive file format

2017-07-31 Thread Roberto

On 30/07/2017 19:13, Dr Eberhard Lisse wrote:

If you use dropbox, can't you just put ALL the files there and edit
from there?


The feature I am talking about does the work for you. When the machine 
works for you, you win. The machine is your friend.


Look at the following scenario. Alice and Bob are using dropbox to share 
a LyX document and Alice is making a plot. She keeps producing different 
versions of the file and puts them in the folder "./Pictures" (that you 
know and love so much!).
As she keeps producing more versions of the picture she has cluttered 
the folder with unnecessary files. After one day is time for clean-up. 
Now she has to find all the files that are actually used in the file and 
delete those that are not.


What I normally do is to rename the folder "Pictures" so that LyX 
complains it cannot find the source file and then I replace one by one 
the files I am really using. This slow and painful.


I am _sure_ you have smart way of doing the same with a script, git, and 
some other exotic tool that every granma knows how to use from the time 
of World War II, but has ever occurred to you that all this work is just 
entirely spared if you use a file format that internally saves all the 
used external files?



PS
I think the example of GIMP layers is a great example to exaggerate the 
situation.




Re: all-inclusive file format

2017-07-29 Thread Roberto

On 29/07/2017 13:30, Charlie wrote:

On Sat, 29 Jul 2017 12:55:35 +0200
Roberto <foice.n...@gmail.com> wrote:


Before answering think about your grandma having to do it ...


Would she be happy to use msword?

Charlie

She does not use it, because it so unstable, which hinders her learning. 
Instead, when she has a good software, she does learn ... (by the way 
this is real life experience from teaching elder people to use MS 
Windows Vs. Mac OS X)





Re: all-inclusive file format

2017-07-29 Thread Roberto
The current lyx format then does just right for you. That does not mean 
that does right for everybody who uses the software. I hate MS Word too, 
but I also do not like having folders plenty of pictures that I have to 
carefully select when I pass the file to someone or share it in dropbox 
and alike.




On 28/07/2017 18:10, Hobbs,Tom wrote:
This is precisely what I was saying.  Rather than have everything hidden 
in a file as MS Word does, simply put the needed graphics files in a 
folder shared with you lyx document.  No special file formats are 
needed.  I agree, I hate MS Word.
On Jul 28, 2017, at 10:02 AM, Joe > wrote:



It would appear that on Jul 28, Hobbs,Tom did say:

Goodness gracious. Just put everything in a folder and send that, 
which is

precisely what MS Word does without you knowing it.






Re: all-inclusive file format

2017-07-29 Thread Roberto




Make is your friend.


I collaborate on dropbox with make-unfriendly computer-unsavvy people, 
make is not an option - and this is not such an uncommon case I guess! 
Instead, an _editable_ file format that __guarantees__ you have all is 
needed to compile the file is a haven for data integrity.


All the rest, I am sorry, is too geeky-pretensions-minded in my opinion. 
This kind of thinking in my opinion is ultimately the reason of the same 
attitude that causes some people never get over the learning curve of 
LaTeX. Do you want to collaborate with just computer skilled people? or 
you want to collaborate on writing just as effectively with just 
anybody? if you opt for the second, then LyX is a great solution, but 
the need to carry around figures is still a burden for some. Is this 
clear? (I said for some, maybe is not a problem for me, not a problem 
for you, but is a problem for the other half of the world! try to wear 
their shoes every now and then!)


So, if you wanted to use make, then for most users you can as well 
suggest to use LaTeX on vi :) is as much difficulty (infinity!)! Going 
by this token one always ends up saying "my current implementation can 
do it, just do 1), 2). 3) n) steps, but what effort does it take? Before 
answering think about your grandma having to do it ...







Re: all-inclusive file format

2017-08-02 Thread Roberto

On 02/08/2017 13:10, Dr Eberhard Lisse wrote:

one paragraph

Ricardo has expressed a great truth in just one sentence:
  "it seems that on this thread is slowly surfacing one of the worst 
sins of open source communities: the attitude of "it's easy for me, then 
it must be easy for you too, you lazy looser".


If you are not able to see how powerful is his synthesis, then I am 
sorry, we are too far to hope to have a productive discussion.






Re: all-inclusive file format

2017-08-02 Thread Roberto

On 02/08/2017 01:20, Steve Litt wrote:

breaking everybody's scripts and work flow
are you saying that a script that now works on a .lyx file would not 
work on a LyXar that contains (as a folder) a .lyx file? why would that 
be the case? at worse it requires a one line change in your script to 
say where the .lyx file actually resides.


maybe I am missing something, would you mind pointing it out explicitly?

thanks
roberto




Re: all-inclusive file format

2017-08-01 Thread Roberto

On 31/07/2017 14:31, Helge Hafting wrote:



Den 27. juli 2017 19:48, skrev Richard Heck:

On 07/27/2017 11:52 AM, Roberto wrote:

Hi Richard, thanks for bringing in your experience.

If the tar.gz was something you can "mount" like a read-write DMG it
would make sense to say that the archive does what I have in mind. As
far as I know one can open DMG files and edit them and close them,
effectively saving the content. The way it is now with tar.gz for me
it is good only for archival purposes.

In theory, this could probably be done using fusefs on Linux, but that's
not a general solution, and we don't automatically add images, say, to
the archive when you add a picture.

Isn't fusefs overkill?
LyX does its work in a temp folder anyway.

To support working with a single file containing a folder with file.lyx 
and several figures, just have LyX unpack that archive to the temp 
folder. Let the user edit the document. Since all the graphichs are 
unpacked too, they can be edited with their appropriate external editors 
if needed. When the author saves, LyX recreates the archive file and 
overwrites the original. (LyX knows this is a all-in-one document, 
because it was opened as such.) When LyX is closed, the temp directory 
goes away as usual.


This should give us:
* Backward compatibility.
   - Those preferring figures as separate files see no change.
   - Existing documents works as always

* Those wanting an archive can "save as archive" (not export, but save).
  - Then they get an archive containing the document and all included 
stuff. (graphics, subdocuments, external insets).  The original graphics 
files etc. must be kept - they may be in use for other purposes too. But 
no longer in use by the now archived document - it has its own copies of 
everything.
  - To reverse the process, someone who opened an archive may use 
"File->convert to separate files". This replaces the archive file with 
the folder containing separate files.



Seems that this approach would fulfil Roberts wish for 
user-friendliness, without ruining things for the single-files crowd. 
LyX could mostly work "as usual", with the archiving code mostly dealing 
with "open" and "save". And of course, every graphic the user adds to a 
document while in archive mode.


There is the question of what to do about inclusion of a graphic that 
exist higher up in the directory tree. I believe the user-friendly way 
would be to copy such things into the archive folder - possibly in a 
subfolder. That way, no links outside the archive so no problems when 
opening the archive on another computer. Might waste space, but nobody 
is forced to use this.


Helge Hafting



Hi Helge, I think the way you are outlining the functionality is very 
good! It does indeed help users to have everything they need for that 
document in a single place, and at the same time allows anybody who 
wants to keep working with the current style of LyX document to keep 
working as usual.
For sake of having just everything I think is not too bad a compromise 
to waste some space by copying files that reside at upper level in the 
directory structure and duplicate them in a subfolder managed by LyX.

Best,
Roberto




Re: all-inclusive file format

2017-08-01 Thread Roberto

On 01/08/2017 18:13, Dr Eberhard Lisse wrote:




Talking about computer-unsavvy:

The wife of a friend of mine demands that he install MSWord for her
because she was using it in a course. He installs NeoOffice. She then
gives him a serious hard time demanding he install MSWord or else
because she could not print her paper.

So he asks her how she printed in the course: "I click on the printer"
(button). So he tells her to look for a button that looked similar to a
printer. She finds it, cklicks and nothing happens.

So, of course, she proceeds to give him a serious hard time demanding
he install MSWord or else!

A minute later their 10 year old comes out of the living room where he
has been playing on the XBox with a few printed pages and says: "Did
someone print this on the printer in the living room?"



Your point being? that one example sets a rule?




You can not ask from collaborators to set up a GIT repo, but, yes, you
can ask collaborators using LyX anyway, to check out/in LyX files from
within LyX (because it hides GIT quite well).





It's difficult.


Your humble opinion. And in any case just a consequence of the way the 
code is made at the moment.


 And it's not really necessary.




Again your humblest opinion.



12 years ago I was writing all my practice documents in LyX (already).
Got them all sorted (see the script above).

ODF documents come along as a ZIP file which has bunches of files inside...

And, my observation over the years (linux user # 1387 :-)-O), the
people squealing loudest for features in Open Source software are the
ones that fund the least.


Your point being? that #1387 knows it all? (until #1386 comes and 
overrules him? :P ) ... come on! Ricardo is making a fair point, you are 
telling stories ... instead you should reflect on what he is saying!


Maybe it does not apply to you personally as a developer (if you are a 
developer, I do not know, sorry for not knowing your biography #1386), 
but I can support Ricardo on this. He is not the first one who I hear 
reporting this type of behavior when interacting with open source 
developers.
Frankly  it does not sound absurd at all even if you do not anything 
about software, but you know something about human beings. Is quite easy 
to imagine the possibility that people in a somewhat dominating position 
on an issue might abuse of this position. In this particular case 
someone knows the code and manages it. Some other person just has a 
(maybe nice, maybe terrible) idea on how to develop the software further 
and the "knowledgeable" person just uses what he/she knows or his 
manager power to reject what other bring to discussion. Even if the idea 
is truly bad, what happens is a bit like a 5th grade teacher making fun 
of the students who suggests to compute a square root by some incorrect 
method. Is it necessary or helpful for the community to mistreat people? 
I only see a cheap way to pump up one's ego in doing such things.


I have to say that this is quite common phenomenon when talking in 
message boards like this one and I have read often bad reaction of this 
type from developers. Ricardo has synthesized the issue in a very clear 
and concise manner, which must mean he has seen it happening quite a bit 
and thought about it a lot, otherwise such synthesis would not be achieved.


I think we should all reflect on this. In my opinion if an open source 
project goes somewhere or nowhere depends to a large extent on this kind 
of things, not just on features missing with respect to alternative 
software, or any other technical aspect of it. If you remove the social 
aspect of open source, it would clearly limp ...




greetings, el











Re: all-inclusive file format

2017-08-01 Thread Roberto

On 31/07/2017 19:10, Steve Litt wrote:

The ability to directly edit graphics within a LyX file would be a nice
*option*:
Hi Steve, I hope I am quoting you correctly by only reporting the 
sentence I want to comment about.


As far as I can understand the feature I am talking about does not 
require _editing_ graphics. It just requires an option (which can be set 
as default as well) to copy any graphics the user pastes or links into a 
hidden folder that is managed LyX. Documents at that point become "LyX 
archives" made of a "myfile.lyx" and a ".stuff_for_myfile" folder, 
nicely archived into a single thing, that you may call a .LyXar (archive 
file). You have a script for .lyx file, you can still use it on all .lyx 
files and you can use it as well for .LyXar because all you need to do 
is unzip the file, work on the .lyx, and zip it again ...


You went a long way in your message, partly, I presume, on the idea of 
_editing_ graphics in LyX, but this is not what I was talking about. Let 
me know if I have misunderstood your words ...




Re: all-inclusive file format

2017-08-16 Thread Roberto

On 04/08/2017 17:35, Cris Fuhrman wrote:
I support abstracting file details because it makes using LyX easier, 
but at the same time I would not like to give up control over the 
modular aspects, such as the custom converters, which I think is a big 
strength in LyX design. For example, being able to update all my 
article's figures generated from an R script and not have to change 
anything in the LyX file is a huge convenience!


I guess you can decide when you add a new graphics if LyX has to 
"ingest" it or leave it where it is, just an option for that graphics.





Re: all-inclusive file format

2017-07-27 Thread Roberto

Hi Scott, thanks for your suggestion.
 The archive does not really do the job because you cannot edit it 
directly. My goal is to get something like a MS Word document that 
contains all the pictures you add in it and you can send it as a single 
file.

Cheers,
Roberto



On 26/07/2017 20:15, Scott Kostyshak wrote:

On Wed, Jul 26, 2017 at 07:57:27PM +0200, roberto franceschini wrote:

Hello,
  Is there a format of LyX document that contains the text as well as the
figures it uses? Something like that can be sent by email and contain all
that is needed to see the document, without the need to send along all the
pictures from separate files.
Thanks in advance for your reply,
Roberto


Does File > Export > LyX Archive do what you want?

Scott






Re: all-inclusive file format

2017-07-27 Thread Roberto

Let me explain better. The reason for asking for a feature like that is
not that I cannot clic one more time to unpack a tar.gz :)

The tar.gz is an export, not a "Save", that is the difference. Save 
means that you can edit it and keep saving every now and then.


Furthermore the two things are difference because you can even remove 
the pictures from the disk and you still have them in the file.


What I am looking for is a LyX file that does as a MS Word file does: 
one editable file contains all you need to work on the document.


One could achieve this if the LyX file was actually a directory 
structure managed by LyX and when you save the file you save all the 
directory structure controlled by it. The user does not need to see all 
the complications about where the pictures are stored, just needs to see 
the pictures in the file.


I hope I have explained better what the use would be and how it would 
like for the user, so you know better why a tar.gz does not do the job.


Thanks,
Roberto


On 27/07/2017 13:39, Wolfgang Engelmann wrote:
Why not? You can open your lyx file after extracting the arch, and it 
contains all you need such as the figures, bib file and style file, work 
on it, arch it again and send it as one file to your colleague


Wolfgang


Am 27.07.2017 um 09:52 schrieb Roberto:

Hi Scott, thanks for your suggestion.
 The archive does not really do the job because you cannot edit it 
directly. My goal is to get something like a MS Word document that 
contains all the pictures you add in it and you can send it as a 
single file.

Cheers,
Roberto



On 26/07/2017 20:15, Scott Kostyshak wrote:

On Wed, Jul 26, 2017 at 07:57:27PM +0200, roberto franceschini wrote:

Hello,
  Is there a format of LyX document that contains the text as well 
as the
figures it uses? Something like that can be sent by email and 
contain all
that is needed to see the document, without the need to send along 
all the

pictures from separate files.
Thanks in advance for your reply,
Roberto


Does File > Export > LyX Archive do what you want?

Scott












Re: all-inclusive file format

2017-07-27 Thread Roberto

Hi Richard, thanks for bringing in your experience.

If the tar.gz was something you can "mount" like a read-write DMG it 
would make sense to say that the archive does what I have in mind. As 
far as I know one can open DMG files and edit them and close them, 
effectively saving the content. The way it is now with tar.gz for me it 
is good only for archival purposes.


Hopefully more people would enjoy having a "all-inclusive" file like 
this one.


Cheers,
Roberto


On 27/07/2017 16:40, Richard Heck wrote:

On 07/27/2017 09:07 AM, Roberto wrote:

Let me explain better. The reason for asking for a feature like that is
not that I cannot clic one more time to unpack a tar.gz :)

The tar.gz is an export, not a "Save", that is the difference. Save
means that you can edit it and keep saving every now and then.

Furthermore the two things are difference because you can even remove
the pictures from the disk and you still have them in the file.

What I am looking for is a LyX file that does as a MS Word file does:
one editable file contains all you need to work on the document.

One could achieve this if the LyX file was actually a directory
structure managed by LyX and when you save the file you save all the
directory structure controlled by it. The user does not need to see
all the complications about where the pictures are stored, just needs
to see the pictures in the file.


There was some discussion of such a file structure, and I did a bunch of
work on it myself a few years ago. But there were also disagreements
about how exactly it should work, so it never went anywhere. The archive
we have now was a kind of compromise. But note that it really is a
pretty good compromise. It gives you, precisely, a 'directory structure'
that contains all the files needed for that document. It's just that
it's packed into a zip file or whatever.

What it LyX was able to open such an archive directly? And what if, when
it had done so, it 'saved' the file directly to such an archive? I can
easily imagine the unpacking actually being done into the temporary
directory. This might not be very hard to achieve.

Richard







Re: all-inclusive file format

2017-07-28 Thread Roberto

On 28/07/2017 04:07, Hobbs,Tom wrote:

which is precisely what MS Word does without you knowing it.
and that is precisely what I do not want to know about and I am bothered 
by :)






foldable sections

2019-05-27 Thread Roberto
Hi, is there a way sections can be made foldable? I am thinking
something similar to the folding it can be attained by clicking the
handle of boxes such as the LyXNote or the GrayedOut.
Thanks for your inputs.
Roberto



Re: foldable sections

2019-05-28 Thread Roberto
On 27/05/2019 19:01, Richard Kimberly Heck wrote:
> On 5/27/19 12:16 PM, Roberto wrote:
>> Hi, is there a way sections can be made foldable? I am thinking
>> something similar to the folding it can be attained by clicking the
>> handle of boxes such as the LyXNote or the GrayedOut.
> 
> The easy thing to do would be to put each section in a branch of its own.
> 
> It might also be possible to create a kind of 'dummy' inset with
> LaTeXType "none", but I've not tried that.
> 
> Riki
> 
> 
> 
Thanks, I think that would work, but I was more thinking of a thing that
does it automatically, as it happens in code writing text editors when
you switch on the "code folding" option.



Re: diff within Lyx and OpenOffice with styles

2007-11-03 Thread Roberto Gorjão
Olá Marcelo,

One of the reasons that convinced me right away to learn and use LyX/LaTeX
was the ability of changing the whole look of a text, no matter what
length, with a single change of style. When you use a WYSIWYG application
like Open Office, you may define styles for each component of a text, say
paragraphs and titles for instance. But, if you want to change the global
appearance of a text you still would have to change each of the styles,
one by one. Even when you try to export them to a markup language format
like XML, you either get the contents without any semantic distinction
(this paragraph is a quotation, this is not) our you get styles and
contents intermixed.

With LyX or LaTeX, you can have one text and change its appearance as many
times you want just by choosing different output style packages or by
creating them yourself. What you get, really, is a markup language that,
just as wisely used X/HTML, separates content from presentation and allows
you to use the same content over and over in different contexts by just
applying to it different style sheets (in the Web they're called CSS,
Cascading Style Sheets). You just can't do that in any other WYSIWYG
application, as far as I'm aware of.

But, then again, if you just want to produce texts that will only be used
once, say a letter or a school homework, then you should really use Open
Office, which is an excellent application, solid, reliable (I never heard
of disappearing styles), and extremely easy to use.

LyX and LaTeX have many other advantages, but we could write a book just
on it...

HTH.

Roberto

--
On Fri, November 2, 2007 11:14 pm, Marcelo Acuña wrote:
 hello,
   a question rised in a free soft forum. I
 propposed latex/lyx and another person question:
  Why lyx/latex and not open office with styles?
  What I said about it?

  Marcelo



-Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO








Re: APA Style and more than one author as reference.... ?

2007-11-03 Thread Roberto Gorjão
Olá Mirko,

To cite web references, you should place them in the Howpublished or
Note fields.

The BibTeX source gets like this:
howpublished = {Retrieved...}
or
note = {Retrieved...}

Some URL are quite long, so I use the url package in the LaTeX preamble:
\usepackage{url}
Like that, long URLs that could be longer than the line length, are
correctly divided.

If you use this package, you should then write: Retrieved October, 2007,
from \url{http://www.somewebsite.com}

One thing that you'll probably need to figure these things out is the
apacite Manual, which you can find at this page's documentation link:
http://www.ctan.org/tex-archive/help/Catalogue/entries/apacite.html (table
on page 16 is quite helpful)

You may also find useful the Wikipedia page on BibTeX:
http://en.wikipedia.org/wiki/BibTeX

Saudações,

Roberto

--
On Sun, November 4, 2007 1:31 am, Mirko Briemle wrote:

 Do you know how I can site References that were retrieved from a website
with the
 url field and the lastchecked field in the .bib file. This means I would
like to have
 something like this in my References: Retrieved November 03, 2007 from
http:\\website.edu.

 Best,
 Mirko



-Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO






Re: APA Style and more than one author as reference.... ?

2007-11-05 Thread Roberto Gorjão

Olá Mirko,

This is why I really enjoy to try to answer to other's doubts: we always 
learn a whole lot!


It seems that apacite has been improved and that manual now refers to 
new features that I didn't know about. And they're pretty handy. This is 
what I did:


   * As I'm in Windows, I've gone to MikTeX/Update and updated all the
 packages;
   * I've also updated my JabRef to version 2.3b3;
   * In JabRef, I went to Options/Set General Fields and created a new
 field named lastchecked, in the General group (the General Group
 now reads
 
General:crossref;keywords;file;doi;url;lastchecked;citeseerurl;comment;owner;timestamp);
   * I erased all the howpublished cryptographic strings with the
 \url{foo} markup and placed simple date references in the
 lastchecked field, like October 21, 2007.
   * and that was it!

You no longer need the \url markup because the apacite package now 
automatically applies it to the url field; you no longer need the 
\bibnodot instruction because apacite formats the urls correctly, 
without any dots after; you no longer need to write Retrieved or 
from, because apacite automatically places them before and after the 
lastchecked field values. Great!


I'm not sure if you're using JabRef, but you can, of course, do it all 
directly in BibTeX. Its source gets roughly like this:


@MISC{YOUR_BIBTEX_KEY,
 author = {Last, First},
 title = {Title},
 year = {2007},
 lastchecked = {October 21, 2007},
 url = {http://www.foo.bar}
}

And the output would be something like this:

Last, F (2007). Title. Retrieved October 21, 2007, from http://www.foo.bar

So, thanks for asking! :-D

Saudações,

Roberto

--

Mirko Briemle wrote:

Hi Roberto,

thank you very much for your response. That worked well. I however recognized 
that the
\bibnodot{.} command as described in apacite.pdf page 21 did not work with lyx. 
Does it
work in your case?

The author of apacite.pdf also describes that the same thing can be 
accomplished with the
url and the lastchecked field but I don't understand how. Do you know how?

Thanks again.

Best,
Mirko


  


--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: APA Style reference with url and lastchecked field does not show Retrieved ...

2007-11-11 Thread Roberto Gorjão

Olá, Mirko,

First of all, sorry about the long time without answering. I was working 
non stop to finish a job before the deadline.


I'm not sure if this may be the cause, but the Apacite package was 
updated by its author on the 10th of September, so, if you do not have 
this last version, what you're trying to do with the lastchecked field 
might not work. In fact, these new features did not appear in the 
previous version of Apacite's manual, so I'm pretty convinced that this 
new package is really required. Try do determine if your package is updated.


The apacite package, by the information given by the MikTeX packages 
browser, is constituted by the following files (you probably may confirm 
this in the Apacite manual; the files do not appear all in the same 
directory):


apa5ex.bib
apacite.bst
apacitex.bst
apacdoc.sty
apacite.sty
apacite.dvi
apacite-src.tar.bz2

In your previous message you asked for an example of one of my entries. 
Here is an on-line book entry:


@BOOK{Raymond_Cathedral_2000,
 title = {The Cathedral and the Bazaar},
 year = {2000},
 author = {Raymond, Eric},
 lastchecked = {September, 2007},
 owner = {Roberto Gorjão},
 timestamp = {2007.09.20},
 url = 
{http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral-bazaar/}

}

In the PDF it outputs like this:

Raymond, E. (2000). The cathedral and the bazaar. Retrieved August,
  2007, from http://www.catb.org/~esr/writings/
  cathedral-bazaar/cathedral-bazaar/

So, as you see, it breaks as necessary (in the PDF, lines appear 
justified) and the expressions Retrieved and , from  are added 
automatically.


In another of your previous messages you've asked about my preamble 
configuration. Here it goes:


\usepackage{url}
\usepackage{alltt} % this last one has nothing to do with what you need.

I do not know if any of this helped. Let me know if you think that I can 
be of further assistance.


Cumprimentos,

Roberto

--
Mirko Briemle wrote:

Hi,

I have posted earlier about this topic but I still don't know where the problem 
is:

So, I am using texlive2007 distribution in gentoo linux and lyx 1.5.2 with 
jabref 2.2. I
also installed the texlive2007-bibtex-extra package to have the apacite package 
installed.
I am trying to get a reference displayed the following way:

Last, F (2007). Title. Retrieved October 21, 2007, from http://www.foo.bar

My output only appears as follows:

Last, F (2007). Title.

The Retrieved-line is missing even though I have lastchecked field and url 
field added
and I added the lastchecked field in the group of jabref. I am not sure what I 
am
missing. Does anybody have an idea? Any help would be appreciated.

Thank you.
-Mirko

  


Re: How to I add a bibtex bibliographic style to lyx

2007-11-11 Thread Roberto Gorjão
Olá Graham,

It seems that you may not have updated the format files or refreshed the
file name database at Miktex Options or Miktex settings. After any
install, thats a required procedure.

I hope that helps!

Cumprimentos,

Roberto

-
On Sun, November 11, 2007 11:16 am, Graham Smith wrote:
 I know this has to be explained in the help documentation, but I can't
 find it.

 I have downloaded the apalike citation style, using the Miktex Package
 Manager. I have reconfigured and restarted Lyx and rather naively, it
 seems, expected apalike to appear in the list of Bibtex bibliography
 citation style options.

 According to the Miktex package manager the apalike package has been
 downloaded in /uncategorized, but I cannot find this folder in the
 MikTex directory.

 I would appreciate some help, but happy to be pointed to the appropriate
 help file.

 Thanks,

 Graham



-Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: How to I add a bibtex bibliographic style to lyx

2007-11-11 Thread Roberto Gorjão
Graham,

Then maybe you need to do the same at LyX's side. See point 2.2 of the
UserGuide, and choose Tolls-Reconfigure.

The actual directions about how to install new packages are in the
Help-Costumization document, at point 5.1.

If neither of these are of help, then you'll have to wait for one of LyX's
Gurus to answer.

Cumprimentos,

Roberto

-
On Sun, November 11, 2007 12:10 pm, Graham Smith wrote:
 Roberto,

 Thanks, I didn't know you needed to do this, I've now done it, but it
 has made no difference :-(

 Graham

 Roberto Gorjão wrote:
 Olá Graham,





-Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: APA Style reference with url and lastchecked field does not show Retrieved ...

2007-11-26 Thread Roberto Gorjão

Olá Mirko,

As I do not see it as a fault, rather as a feature, I have not tried to 
change it and I don't know how to do it. Maybe someone else can answer 
this to you.


Cumprimentos,

Roberto

-
Mirko Briemle wrote:

Hi Roberto,

I finally got my url retrieved references worked out. I have one more question.
I am using the \usepackage{url} in my preamble to brake urls well, but the urls
are then displayed in a different font. Can I make the font of the urls appear
the same?

Best,
Mirko

  


LyX to HTML

2007-12-01 Thread Roberto Gorjão

Olá!

Lyx does a terrific job when converting to HTML, but, what I would need 
is a little different. LyX tries to reproduce some of the styles of the 
original document, thus creating a CSS stylesheet and introducing in the 
HTML lots of classes like sectionHead, itemize and so on. What I 
would like would be to have pure HTML, just with different heading 
levels translating the different levels of sections and plain ul or 
ol translating the itemized and numbered lists in the LyX original 
document. Is this possible? Is there any translator out there able to 
handle it in this way?


Obrigado!

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Aspell english dictionary install

2007-08-23 Thread Roberto Gorjão

Hi all,

I'm new at this list (and as a LyX user, by the way), so please bear 
with me.


I understand that this problem has already been discussed at this list. 
Nevertheless, I was not able to understand how to solve it by reading 
the previous messages.


So, during my install of LyX (onto Win XP SP2), the english dictionary 
could not be downloaded and was not installed. When I try to run the 
spellchecker (Aspell), if the document is in english, I get an error 
message saying that no en_us dictionary could be found. Other 
dictionaries were installed and, if documents are set for the 
corresponding languages, the spellchecker is able to run.


I read on the list that I should download the dictionary files of 
Aspell6 form th LyX wiki page ( http://wiki.lyx.org/Windows/Aspell6 ), 
but the english dictionary link seems to link to no file...


What should I do?

Thank you!

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: Aspell english dictionary install

2007-08-24 Thread Roberto Gorjão

Hi Heiko,

First of all, I apologise if the thread gets broken, but it seems that 
my message got through before my subscription, so I've received your 
answer only by searching for it at the list archive.


Have you tried to install the package manually? Just invoke the package setup 
and try to install it for a single user (LyX as well; if you have installed 
it for all users, just install the single user version over the old one, and 
only the LyX component, of course). After installing the English dictionary 
check if it is installed in the directory 


Thanks, Heiko, for your answer. I fail to understand why should I 
re-install LyX for a single user, though: the application is working 
perfectly and so does Aspell and its spell checker, as long as the 
document is set to portuguese, spanish or french, the dictionaries that 
I was able to install.


BTW ftp.lyx.org is dead this morning. Hopefully you still have the dictionary. 
Yep, the ftp is still down and I do not have the dictionary. I'll wait 
till it gets up again and I'll try to install it. I hope that's a simple 
procedure.


I must admit that using LyX under Linux or Unix is *much* more fun than on 
Windows, although the LyX-package is very good. 
It must be more fun... Nevertheless, I'm stuck with Windows for reasons 
that would be off-topic to discuss here, so it's not really fair to 
arouse my envy like that ;-)


Best regards,

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: Aspell english dictionary install

2007-08-25 Thread Roberto Gorjão

Hi again, Paul  List,

You were absolutely right, Paul: despite the LyX FTP is still on 
holidays, I've been able to download the english Aspell6 dictionary 
from one of the mirrors, install it (for all users, as I had done with 
LyX) and now I have my LyX fully installed with a properly working spell 
checker! Thanks again!


Ah, by the way, I've updated the LyX's Aspell6 wiki page 
(http://wiki.lyx.org/Windows/Aspell6) with the alternative ftp mirrors 
so other's may find the missing dictionaries quicker.


Best regards,

Roberto

-
Paul A. Rubin wrote:


The LyX FTP server (ftp.lyx.org) seems to have gone on one of those 
extended holidays you Europeans so enjoy.  Once someone (Lars?) reigns 
it back in, you should be able to follow the link from the Wiki, 
download and install the English directory (for all users if that is 
how you have LyX installed) and that should do it.  Hypothetically.


/Paul


--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



APA layout

2007-09-04 Thread Roberto Gorjão

Hi,

I'm using apa.layout to style my papers, but it seems to miss several of 
the APA style specifications, namely headings' specifications (cf.: 
http://en.wikipedia.org/wiki/APA_style#Headings).


Is there any other layout already developed that follows APA 
specifications more closely?


Thanks!

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



web references

2007-09-04 Thread Roberto Gorjão

Hi,

I'm trying to use JabRef to manage my references, and all seemed to go 
well... till I got to web page references. How may I create my entries 
so LyX import URLs? On LyX I'm using an APA article class and apacitex 
style.


I'm also having problems with enconding... I've tryed UTF-8 and 
ISO8859-1, but diacritics always appear wrong on LyX.


Thanks for your help!

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: web references

2007-09-05 Thread Roberto Gorjão
Thank you all so much! I was almost giving up and returning to manual 
bibliography building! After so much time spent on getting these tools 
working together, it would be really frustrating.


The apacite user manual contains some discussion of listing URLs 
(specifically, whether line breaks are handled to APA specifications, 
and the relative merits of \href v. \url).  You might also want to 
look at


http://www.tex.ac.uk/cgi-bin/texfaq2html?label=citeURL

for a suggestion about how/where to list web pages. 


The link you provided, Paul, had the solution: I'm now using the Misc 
entry type, on JabRef, and using the howpublished field to store the 
URL. Like that, the apacitex bibtex style seems to be able to integrate 
the URL in the printed bibliographic reference!


Where may I find the apacite or the apacitex manual that you mentioned?

Thanks again,

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: web references

2007-09-05 Thread Roberto Gorjão


Whether and how this will show up in the bibliography depends entirely on 
the bibtex entry type and the bibtex style used and its options.


Miki, I would like to understand it better... By bibtex entry type you 
mean the entry type on JabRef, for instance, right? And by bibtex 
style you mean the bibliography style used in LyX, right? I tried to 
create a new entry type on JabRef, but LyX treated it as if it was a 
normal book reference. I suppose that was because that entry type didn't 
exist in the bibtex style that I'm using, which is apacitex (as I need 
to follow as closely as possible the APA style specifications in my 
bibliographies). Is it possible to change the apacitex style in order to 
make it accept a new entry type? If so, how? Where should I look for the 
apacitex file?


Thanks!

Roberto


--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: web references

2007-09-05 Thread Roberto Gorjão
The critical thing is that the encoding match the encoding of the 
output LaTeX file.
I also was finally able to match encodings... It seems that LyX UTF8 and 
utf8 are different and that only this last one matches JabRef's UTF8... 
Go figure!


Thanks,

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: web references

2007-09-05 Thread Roberto Gorjão

Thank you so much, again, Miki,

The apacite documentation (I guess that was what Paul, also, was talking 
about) was of great help, specially Table1, on page 15, where reference 
types and fields are matched. That makes it so much easier to understand!


I suppose that these tools are evolving and that lots of work has been 
already committed to it, but it certainly isn't easy for the newbie to 
grasp all the possibilities made available and their corresponding 
requirements. In order to be able to write my first paper (and text) in 
LyX, with an adequately formatted bibliography, I had to invest almost 
16 hours. I guess that it was a good investment, as I'll have an easier 
time in future papers, but I'm not sure if others would be as persistent 
as I had to be.


Thanks again!

Roberto

--
Miki Dovrat wrote:

Hi,

By bibtex entry type, I mean article, book, techreport, other, etc..

By bibtex style, I mean, plain, unsrt, apsrev, whatever journal style or 
liking fits your needs.


The bibtex style decides what fields will show up. For instance, all article 
bibtex styles I have tried do not display the title of the paper, but do 
display the titles of books.


Are the urls of papers which can be found in journals, or of technical 
reports ? You will have to decide which is the best bibtex entry type to 
use.


The apacite documentation itself contains references to url's in the 
howpublished field of the misc bibtex entry type:


http://www.dante.de/CTAN//help/Catalogue/entries/apacite.html

You may download the package and look at their bibtex file.

I hope this helps you.

Miki


  
  


--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



References managers

2007-09-05 Thread Roberto Gorjão

Hi,

I've selected JabRef as a references manager to work with LyX. I've 
selected it after a small web research, but, as I'm a newbie on LyX, I 
would like your opinion: was JabRef a good choice or are there better 
references managers to work with LyX? I'm on Win XP.


Thanks!

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: Aspell for Lyx 1.5.1 not working on Windows XP

2007-09-05 Thread Roberto Gorjão

Hi Adrian,

From my very limited experience, one of the following may be happening:

   * you've installed aspell just for one user instead of all users as
 you did with LyX;
   * you've installed aspell, but not the dictionaries that you mean to
 use;
   * you've installed aspell and the dictionaries, but the document is
 set for a different language not covered by any of those.

You may debug the first two options going to C:\Documents and 
Settings\All Users\Application Data\Aspell\Dictionaries and checking:


   * if the folder exists;
   * which dictionaries are installed.

If the dictionaries are not installed, you may download them at: 
http://wiki.lyx.org/Windows/Aspell6


You may verify you document language setting on LyX's menu Document, 
option Settings.


I hope that helps.

Roberto


Adrian Peter wrote:

Hello,

We recently installed Lyx 1.5.1 on Windows XP box.  The installation 
was for all users on the machine.  Lyx starts up fine, however you try 
to spell check the dialog pops up quickly and then disappears.  When 
you try to click the spell check again, the dialog no longer appears 
and nothing happens.  Does anyone know what is going on or can suggest 
some ways to debug this?  There used to be an older version of Lyx on 
this machine but we uninstalled everything before putting on 1.5.1.  
Thank you in advance for the help.


Adrian

_
Discover sweet stuff waiting for you at the Messenger Cafe.  Claim 
your treat today! 
http://www.cafemessenger.com/info/info_sweetstuff.html?ocid=TXT_TAGHM_SeptHMtagline2 







--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Apacite and long URLs

2007-09-06 Thread Roberto Gorjão

Hi,

As you know, long URLs, in bibliographies styled with apacite, are not 
broken and are printed on a single line that gets as long as needed, 
even if it goes off the sheet limits. This problem is mentioned in 
apacite's manual, but no solution is suggested. Is there any solution yet?


Thanks!

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



a way of building macros?

2007-09-06 Thread Roberto Gorjão

Hi,

Is there any way of building macros in LyX? As we do in Open Office, 
macros that ease the process of inserting frequent strings of data, for 
instance. Ideally, I would like to be able to build a new toolbar with 
buttons to activate different macros... Is this possible?


Best regards,

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



apacite with other document classes than APA

2007-09-07 Thread Roberto Gorjão

Hi,

First of all, I would like to thank all the wonderful support that I've 
already received on this list!


I'm interested in using other document classes than Article(APA) with 
apacite. I've found several messages exchanged before in this list over 
this subject, but even this one that seems conclusive -- 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg38463.html -- 
doesn't seem to work with me.


I've also tried to insert \bibpunct after and before the other commands, 
as shown:


\usepackage{babel}
\usepackage{apacite}
\bibpunct{(}{)}{,}{a}{,}{,}

With or without the \bibpunct, these are the LyX complains:

Argument of \citeauthoryear has an extra }.
Paragraph ended before \citeauthoryear was complete.
Argument of [EMAIL PROTECTED]@date has an extra }.
Paragraph ended before [EMAIL PROTECTED]@date was complete.

Is there an easy solution for this?

Roberto


--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



LyX and the lack of a code mode; TeXlipse versus LEd and TeXnic

2007-09-16 Thread Roberto Gorjão

Hi all,

I would like to learn a bit more of LaTeX. I found surprising that we 
couldn't edit latex code directly on LyX at source view... Being used to 
web page visual editors, I was expecting that the source viewer would 
function like a code mode that we could choose as an alternative to 
the normal design mode, as happens with dreamweaver, for instance. I 
know that we can edit LaTeX with the ERT command and at the preamble, 
but it isn't really the same as a code mode.


As I'm already used to code web languages (HTML, CSS, JavaScript, PHP) 
using Eclipse I was happy to find about the TeXlipse plugin. But it 
seems far less complete than LEd or TeXnic. I would like to know what's 
your opinion about the best strategy and tools to learn and work 
directly on LaTeX while keep using LyX for text creation. Something like 
having dreamweavers' design mode and code mode at the same time.


Thanks!

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: LyX and the lack of a code mode; TeXlipse versus LEd and TeXnic

2007-09-17 Thread Roberto Gorjão

Thank you both, Paul and Helge, for your complete explanations!

I understood why the source view, in LyX, doesn't operate like a code 
mode yet.
Nevertheless, to work on the exported LaTeX I'm not convinced that a 
simple text editor is the best solution, even if for tweaking or fine 
tunning. I think that it is always agreeable to have some basic help on 
the fly, when editing code, like code highlighting, code folding, or 
code assistance/completion. I've only tried LEd for a couple of hours, 
but it seems that it doesn't use/recognize the same packages and/or 
classes than LyX and that it introduces changes in LaTeX code when it 
compiles it for previewing (as I'm still a complete newbie in all this, 
I hope I have not misunderstood it). I'm inclined to use TeXlipse, as 
I'm already used to work with Eclipse, but I would like to know your 
views about this... Which code editor, if any, would you recommend to 
edit LaTeX? Preferably one that doesn't mess, or messes as little as 
possible, with what LyX does.


I'm on Win XP.

Thanks!

Roberto

-
Paul A. Rubin wrote:
Typically, I think, the sort of LaTeX tweaking you have in mind is 
something I would do in preparation for a final draft, not during the 
writing of the document. So I would be content to export to LaTeX, 
edit the LaTeX in a simple text editor, and go that route.




--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: LyX and the lack of a code mode; TeXlipse versus LEd and TeXnic

2007-09-17 Thread Roberto Gorjão

Thanks, Curtis and all,

I also used to work with JEdit but I was not aware that it had a LaTeX 
plugin. I will give it both, JEdit and Eclipse a try.


Thanks!

Roberto

---
curtis osterhoudt wrote:

Both JEdit (http://www.jedit.org/) and Cream 
(http://cream.sourceforge.net/download.html) have treated me well, both are 
cross-platform, and both support lots of different highlighting/code modes.
  



--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Portuguese hyphenation?

2007-09-21 Thread Roberto Gorjão

Hello,

This probably is really a newbie question but there it goes: how do I 
set the Portuguese hyphenation on?


I've already set up the Portuguese language (with an utf8 encoding, 
because of BibTeX) on the document settings dialogue, but words are 
still getting broken in the wrong places.


Thanks for your help!

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: Portuguese hyphenation?

2007-09-21 Thread Roberto Gorjão
Ok, I got it! MiKTeX was not properly set up and it was having problems 
in updating its format files.


Thank you!

Roberto

---
Roberto Gorjão wrote:

Hello,

This probably is really a newbie question but there it goes: how do I 
set the Portuguese hyphenation on?


I've already set up the Portuguese language (with an utf8 encoding, 
because of BibTeX) on the document settings dialogue, but words are 
still getting broken in the wrong places.


Thanks for your help!

Roberto



--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: DVI sem imagens [displaying images in DVI]

2007-09-25 Thread Roberto Gorjão

Olá Sam,

With respect, where exactly is said that this is an English only 
speaking list? I've browsed thoroughly through the LyX's site and the 
LyX's wiki, I've asked for help to the ezmlm program that runs this list 
and it doesn't say, anywhere, that this is an English only speaking list.


I'm a newcomer to this list so I don't know if such a rule really exists 
or not, but its meaning, if it exists, worries me. Because this is a LyX 
*users* list and such a rule would mean that people that are not 
comfortable in expressing themselves in English -- and I am not saying 
that was the case -- can't address to this list seeking for help. And it 
would also mean that you would prefer different language speakers to 
form their own communities, which is a possibility, naturally, but one 
that would make us all poorer, I think, as we wouldn't benefit anymore 
from such a diversity of views, opinions and contributions... and fun, 
as well, as probably felt David when he learnt that he could also 
understand Portuguese and not just Spanish as he thought!


I do not think that English natives really appreciate the effort that it 
represents for a foreigner to express himself in English. They seem to 
have this singular idea that theirs is an easy language to learn and 
that it should therefore be used as an international mean of 
communication on all times. If that was the case, then US alone wouldn't 
have somewhere in between 15 to 60 million illiterates or functional 
illiterates, by their own statistics. In UK, the government's Department 
for Education reported in 2006 that 42 percent of school children left 
school at age 16 without having achieved a basic level of functional 
English.


Finally, I invite you to do the following exercise: imagine that LyX was 
a Portuguese developed software... How would you feel if you had some 
sort of problem to solve and someone answered you: desculpe, esta é uma 
lista lusófona (sorry, this list is a Portuguese speaking list)?


Roberto

--
Sam Lewis wrote:

Olá Waldir,

Sorry this list is an English speaking list.


  


--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: Why the list should remain as Not English only (Was: Why the list is 'English only')

2007-09-27 Thread Roberto Gorjão
 or thousands of 
messages, that's not the point. The point is that all messages that are 
exchanged elsewhere make this list poorer and that information that is 
shared there will not help any of us. Reversely, those that follow this 
list (even those that speak French) will never be able to help any of 
those users.


To hope that they will also follow this list, and contribute non-local 
issues here as well is not, IMO, a reasonable hope. It's just too 
unfairly demanding and it's much more reasonable to gather those 
contributions in one place just from start. That also provides a much 
better search functionality to those that want to search about a problem 
before actually questioning the list.


And, lets not forget also that there are some language communities that 
may just not be big enough or have enough knowledgeable users to create 
an useful forum for themselves. So, forbidding them to ask a question in 
other language than English, may in fact mean forbidding them to put 
questions at all. That's why the English Only option is in fact 
totalitarian.


The English Only option reflects, IMO, the desire to be in control and 
to be sure that list's policies are kept. Well, I really do not think 
that total control is ever a good thing, and communities of users have 
shown that, no matter which language they speak, they always do their 
best to keep approved policies in use -- take the Wikipedia example. 
What this means is that if some other language speaker disrespects any 
of the list's rules, it's obvious that other users that understand that 
language would flame that user and point him to the list moderator(s) 
explaining the situation.


Now, about the ENGLISH TRANSLATION REQUIRED hypothesis:

This is a much more considerate and thoughtful proposition. Mainly, it 
returns to all users the actual possibility of participating, which 
should be our main concern here.


But it is not exempt of problems also:

   * it places a considerable burden on the speakers of the language in
 which the question was posed, that would feel obligated to
 translate everything -- questions and answers --, even those
 questions that were already successfully answered and that have no
 interest to the rest of the community;
   * it may still inhibit some users to place their questions, knowing
 of the increased burden that they would be imposing to other users;
   * it contributes to a greater traffic and congestion of the list,
 where many of the translations, as said above, might not be really
 needed.

This hypothesis also reflects the idea that not only the English is the 
language most users are likely to be able to read but that things 
should be kept that way. While recognizing that each community should 
decide freely which language should be pointed as preferably spoken, I 
strongly disagree with the idea of English as an international language. 
English requires many years of continuous practise to master and using 
it as international support of communication on all situations creates 
an unfair disadvantage to those that do not speak natively that language 
and in fact a sense of awkwardness that constraints many not to express 
their views. In my opinion, international auxiliary languages should be 
used in these situations -- specially Interlingua, as naturalistic 
international languages have proofed themselves more easy to learn than 
schematic ones like Esperanto. I know, off course, this is a polemic 
issue, to say the least, but I remind you that if English is still 
probably the language in which the majority of most important contents 
are expressed in the Internet -- and I'm not even sure about that -- 
other languages contents are growing exponentially and it is a shame 
that we do not take the opportunity to set an easy learning language as 
a preferable lingua franca on the Internet. That will be surely 
penalizing for us all in a short time.


Anyway, I would like to propose a third way to this list, a different 
hypothesis that we could call ENGLISH TRANSLATION APPRECIATED.


Calling for some further explanation at the list policies document, for 
example, where it could be made clearer that the translation would be 
considered a way of contributing for the common knowledge but not 
necessarily required in all times, this third way, IMO, would not 
inhibit the participation of any user while keeping the list as 
organized and effective as possible.


A variant to this third hypothesis would be keeping the English 
Translation Appreciated policy while setting Interlingua as the 
official language of the list, thus promoting a better future and 
setting the example.


Sincere regards,

Roberto

P.S.:

Regarding the history, AFAIK, English was not the native language of 
the original LyX developers. However, English was, and still remains, 
the language used to communicate between the developers. At the latest 
LyX developers meeting I think there was one Finn/(Dutch

Re: Why the list should remain as Not English only

2007-09-27 Thread Roberto Gorjão



Jean-Marc Lasgouttes wrote:

Roberto Gorjão [EMAIL PROTECTED] writes:

  

Now, about the issue in discussion, I must say that I resent the title
that you chose to your message: Why the list is 'English only'. 



I think it would be better to say that English is the preferred
language. I do not think it is interesting to have discussions ongoing
in a language other than English (since the goal is to have everybody
join the discussion). Nevertheless, questions in languages other than
english should be accepted politely and efficiently if possible.

  

That's very reasonable, thank you!

Anyway, their forum could be exchanging hundreds or
thousands of messages, that's not the point. The point is that all
messages that are exchanged elsewhere make this list poorer and that
information that is shared there will not help any of us. 



Yes, like all threads in Hungarian would make the list poorer as far
as I am concerned, since I do not read it.

  
If an Hungarian (or Portuguese or any other language) thread carried 
some new insight about any important issue, then it would  make the list 
poorer if that insight was not translated and given to our common 
knowledge. The question is that insight might not have appeared in the 
first place if that Hungarian person didn't feel welcome at this list.

That's why the English Only option is in fact totalitarian.



I think using such strong words will not help you to be heard :)
I do not think there are such things as hard rules on the language on
this list. Nevertheless, any choice is imperfect, and English is
considered as the simplest common ground.
  


I apologize if I used any word that might be considered too strong. 
Explaining our views in a language that is not our mother tongue is 
really difficult and sometimes one may, while trying to create a strong 
case, use expressions that might result awkward in some contexts. That 
was definitely not my intention!


I must say, for the sake of clarity, that I do not think there's nothing 
of totalitarian about this list. It's a very friendly list that 
transpires solidarity and its renowned by that (I read very nice 
references about this list even before I ever tried LyX).


I just want to contribute to keep it that way. I also want to contribute 
to the spreading of LyX and I'm trying to do my share on that department 
as well.

Si je me mettais à répondre en français aux questions techniques, il y
aurait beaucoup de détails qui seraient perdus, même pour les autres
utilisateurs qui ont des notions de cette langue.

JMarc


  
As I think it was already implicit, I'll do my best to help translating 
any Portuguese, Spanish or French message that might appear in this 
list. I will begin with yours:


JMarc said:

 If I answered to technical questions in French, many details would be 
lost, even for the users that have some notions on this language.


Best regards,

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: Why the list should remain as Not English only (Was: Why the list is 'English only')

2007-09-27 Thread Roberto Gorjão

[EMAIL PROTECTED] wrote:

On Thu, 27 Sep 2007, Roberto Gorjão wrote:

Now, about the issue in discussion, I must say that I resent the 
title that you chose to your message: Why the list is 'English only'.


The change of the subject was the last thing I did, writing at a very 
late time in the night. I did the change to emphasize it was a change 
of topic, thinking anything would work... apparently not. My 
apologies, I didn't mean to get you riled.


If you and others wish to discuss these issues here, you are of course 
welcome. The idea with volunteer translators seems quite good if it'll 
work in practice.




Thanks, Christian, for your kind answer.

As I already said in my answer to Jean-Marc, I'll do my best to help in 
those translations whenever needed.




Med vänliga hälsningar
/Christian
(With friendly greetings... doesn't quite translate)



Cordiais saudações (friendly greetings).

Roberto



How to break long code lines

2007-10-22 Thread Roberto Gorjão

Hi!

I have an article set with the APA class and two columns. In this 
article I need to write some amount of javascript code. The problem is 
that sometimes this code lines get too long, without any spaces, so 
lines extend beyond the columns width. How can I set those paragraphs to 
break when they reach the end of the column?


It would be perfect if broken lines of code got indented after the break.

Thanks!

Roberto

--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: How to break long code lines

2007-10-23 Thread Roberto Gorjão

I was able to improvise a solution using verbatim:

|\begin{verbatim}
very_long_code_very_long_code_very_long_code_
very_long_code_
\end{verbatim}|

Anyway, if there's a better way to do it I would like to know it, 
because this solution enables me to break the lines by the present 
column width but, if I ever change that width, then I would have to 
format all the code again.


Thanks!

Roberto

---
Roberto Gorjão wrote:
I have an article set with the APA class and two columns. In this 
article I need to write some amount of javascript code. The problem is 
that sometimes these code lines get too long, without any spaces, so 
lines extend beyond the columns width. How can I set those paragraphs 
to break when they reach the end of the column?


It would be perfect if broken lines of code got indented after the break.


--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: How to break long code lines

2007-10-23 Thread Roberto Gorjão

Obrigado, Helge!

I will have that look at the listings package!

I also found that the {verse} environment also does the trick. I only 
have to open a space where the line should break, and it even indents 
the next line:


-
\begin{verse}
very+long+code+that+should+break+here and+that+really+does\\
more code\\
and even more code.
\end{verse}
-

This code outputs:

-
very+long+code+that+should+break
  and+that+really+does
more code
and even more code.
-

It makes sense as, as someone said, code is poetry. :-)

Thanks again,

Roberto


Helge Hafting wrote:



Hi!

I have an article set with the APA class and two columns. In this 
article I need to write some amount of javascript code. The problem 
is that sometimes this code lines get too long, without any spaces, 
so lines extend beyond the columns width. How can I set those 
paragraphs to break when they reach the end of the column?

First, you can add explicit hyphenation points (ctrl minus)
in lyx-code too.  Well, perhaps not what you want for
computer code, as hyphens could be mistaken for
minus signs. It breaks the lines nicely though, and I think
you can tell latex to use nothing instead of a hyphen
when breaking lines. Reset this before continuing with
normal text though!

It would be perfect if broken lines of code got indented after the 
break.

You should also have a look at the listings package,
which even have some support in newer versions of LyX.
I seem to remember that it can break lines if you want it to.



Helge Hafting



--
 Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO



Re: APA Style and more than one author as reference.... ?

2007-11-02 Thread Roberto Gorjão
Olá Mirko,

I use Natbib bibliography citation style with author-year selected, in the
Document Settings dialogue. The BibTeX Bibliography itself, built from an
external database, is styled with apacitex (in the dialogue you get when
clicking over the BibTeX Generated Bibliography inserted mark). Are you
using a in-document bibliography or an external database? I would
recommend, if you're not already using it, this later solution with a
software like JabRef.

HTH!

Roberto

--
On Fri, November 2, 2007 9:36 pm, Mirko Briemle wrote:
 Hi,

 I am trying to get apa style with lyx running and it looks very
promising.
 I however
 could not get more than one author displayed correctly in the Reference
section.
 Is there any documentation regarding how to display a citation in the
reference
 section correctly? If not, can anybody help me out on what I have to do
in
 order to get
 it displayed correctly? Whenever there is more than one author, only the
first
 author is displayed correctly and the other authors are abbreviated to
their initials.
 Bibliography is set to natbib style. Is this correct?

 Any help is appreciated. Thank you.

 -Mirko



-Roberto Gorjão
freelance designer and web designer
personal site: www.castelosnoar.com
PORTUGAL / BRAGA / PÓVOA DE LANHOSO






lyx for Windows 8

2014-01-28 Thread Roberto Campagnola
Dear lyx developers,
does lyx works with Windows 8, can I download it safely?
thanks


elsevier natbib author-year problem

2009-02-13 Thread Roberto Carluccio
Hello lyx-users,

  I'm trying to use the elsevier-harv bibtex style for the preparation
  of in a elsevier journal article.
  
  The problem:
  I cannot have a reference style compliant to what requested by the journal
  
  IN THE TEXT instead of having citations like (author, year), I get things 
like (author, [number]), 
  (no way to have authors together with years changing citation styles !!!)
  
  IN REFERENCES I cannot get rid of numbers [n] before references...
  

On the Elsevier site 
(http://www.elsevier.com/wps/find/authorsview.authors/elsart)
  they write that the class specifications are:
  

  BibTeX style files
  
  We have developed two BibTeX style files for journal articles:
  
  * BibTeX style file elsart-harv.bst for articles with Harvard style 
(author-year) references. 
When you use this style file, you should also use the natbib package.
  
  * BibTeX style file elsart-num.bst for articles with numbered references.
  
  * BibTeX style file elsart-num-sort.bst for articles with numbered 
alphabetically sorted references.
  
  * BibTeX style file elsart-num-names.bst for articles with numbered 
references with a name-year label.

  
For the Journal I'm interested in the first style (elsart-harv) should be used.

I'm using Lyx 1.6 with MikTex2.7.
I have used:

Document  Settings  Document Class set to article (Elsevier)
Document  Settings  Bibliography   set to NatBib with Natbib style: 
Author-year

In the document (Insert  List - TOC  Bibtex Bibliography): 

i pointed to a .bib file generated with JabRef 2.4.2 that begins:


% This file was created with JabRef 2.4.2.
% Encoding: Cp1252

@BOOK{Blakely(1995),
  title = {Potential theory in gravity and magnetic applications},
  publisher = {Cambridge Univ. Press, New York},
  year = {1995},
  author = {Blakely, R.J.},
  owner = {Roberto},
  timestamp = {2009.02.06}
}

@ARTICLE{Chakravarthi(2002),
  author = {V. Chakravarthi and H.M. Raghuram and S.B. Singh},
  title = {3-D forward gravity modeling above which the density contrast varies
continuously with depth},
  journal = {Computers \ Geosciences},
  year = {2002},
  volume = {22},
  pages = {53-57},
  owner = {Roberto},
  timestamp = {2009.02.06}
}
...


and so on (authors and year are specified for each record)

in the text (Insert  Citation...):
I tried all of the styles with no luck.

It seems to me that there is no problem in the .bib file because I got the 
right citation style using a different class (apa)
with natbib author-style and apa, apacite reference styles.


I'm new to Lyx and maybe something is wrong with my installation, 
i noticed  a lot of unavailable classes in document settings class.

What I'm doing wrong? Please Help


Thanks in advance
Best regards,

Roberto



SGML to LyX

2001-05-03 Thread Roberto Arcomano

Hi all,
I have problem for conversion SGML to LYX: when I do it, all comfortable
LyX URLs change and I can no more modify them simply.
I noticed also that, when I convert from LYX to SGML, all is OK, but
from SGML to LYX file become double size..
Can someone help me?
I use LAST version of LyX: RPM 1.1.6fix1
Thank you for support and for very very useful LyX application
Roberto Arcomano




Re: SGML to LyX

2001-05-04 Thread Roberto Arcomano

Yes, I mean LinuxDoc (I use to write Howtos under Linux).
I attach:
1-) url1.lyx (which the first lyx document I wrote in LyX)
2-) url.sgml (which is the file wrote from Export LyX command)
3-) url.lyx (which is the .lyx document created when I Import url.sgml from
LyX menu)
4-) diff (which is a diff file from url1.lyx and url.lyx)
If I open url.lyx I can view no more URL as I wrote before with Insert-URL
LyX menu facility
Thank you for support.
Roberto Arcomano


Jose Abilio Oliveira Matos wrote:

 On Thu, May 03, 2001 at 10:43:07AM +0200, Roberto Arcomano wrote:
  Hi all,
  I have problem for conversion SGML to LYX: when I do it, all comfortable
  LyX URLs change and I can no more modify them simply.
  I noticed also that, when I convert from LYX to SGML, all is OK, but
  from SGML to LYX file become double size..
  Can someone help me?
  I use LAST version of LyX: RPM 1.1.6fix1
  Thank you for support and for very very useful LyX application
  Roberto Arcomano

   Could you send a small example.

   BTW, when you say SGML you mean linuxdoc, isn't it?

 --
 José


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass linuxdoc
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title
\added_space_top vfill \added_space_bottom vfill 
Title
\layout Author

Author
\layout Date

Date
\layout Abstract

Abstract
\layout Standard


\begin_inset LatexCommand \url[Example of URL wrote in 
LyX]{http://www.fatamorgana.com/bertolinux}

\end_inset 


\the_end

Title: 
Title







Author


Date


Abstract









#This file was created by LinuxDoc-SGML
#(conversion : Frank Pavageau and Jose' Matos)
\lyxformat 2.15
\textclass linuxdoc
\language default
\inputencoding default
\fontscheme default
\papersize Default
\paperfontsize default
\spacing single
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language default
\quotes_times 2
\paperorientation portrait
\papercolumns 1
\papersides 1
\paperpagestyle default
\layout Title

\added_space_top vfill \added_space_bottom vfill
 Title 
\layout Author

Author 
\layout Date

 Date 
\layout Abstract

 Abstract 
\layout Standard

\begin_inset LatexDel \url{
\end_inset
http://www.fatamorgana.com/bertolinux
\begin_inset LatexDel }{
\end_inset
Example of URL wrote in LyX
\begin_inset LatexDel }
\end_inset
\layout Standard

\the_end


--- url1.lyxFri May  4 19:29:50 2001
+++ url.lyx Fri May  4 19:30:28 2001
@@ -1,45 +1,46 @@
-#LyX 1.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 218
+#This file was created by LinuxDoc-SGML
+#(conversion : Frank Pavageau and Jose' Matos)
+\lyxformat 2.15
 \textclass linuxdoc
-\language english
-\inputencoding auto
+\language default
+\inputencoding default
 \fontscheme default
-\graphics default
-\paperfontsize default
-\spacing single 
 \papersize Default
-\paperpackage a4
-\use_geometry 0
-\use_amsmath 0
-\paperorientation portrait
+\paperfontsize default
+\spacing single
 \secnumdepth 3
 \tocdepth 3
 \paragraph_separation indent
 \defskip medskip
-\quotes_language english
+\quotes_language default
 \quotes_times 2
+\paperorientation portrait
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
-
 \layout Title
-\added_space_top vfill \added_space_bottom vfill 
-Title
+
+\added_space_top vfill \added_space_bottom vfill
+ Title 
 \layout Author
 
-Author
+Author 
 \layout Date
 
-Date
+ Date 
 \layout Abstract
 
-Abstract
+ Abstract 
 \layout Standard
 
-
-\begin_inset LatexCommand \url[Example of URL wrote in 
LyX]{http://www.fatamorgana.com/bertolinux}
-
-\end_inset 
-
+\begin_inset LatexDel \url{
+\end_inset
+http://www.fatamorgana.com/bertolinux
+\begin_inset LatexDel }{
+\end_inset
+Example of URL wrote in LyX
+\begin_inset LatexDel }
+\end_inset
+\layout Standard
 
 \the_end



Re: sgml to LyX

2001-05-14 Thread Roberto Arcomano

Many many thanks, very good, now URL is OK. There are still some differences
between original SGML and exported one, but this should not be a great problem.

Thank you again


Jose Abilio Oliveira Matos wrote:

 On Sun, May 13, 2001 at 10:25:16PM +0200, Roberto Arcomano wrote:
 
 Hi all,
 
 I ask again for my problem, translation from sgml to LyX format. If I
 create a LyX document with an URL, then I export it to SGML (LinuxDoc)
 and in the end I import it to LyX, URL is different (without
 double-click modifying) and my new LyX document becomes more large
 than the original one.

   To solve your problem you will need to change one file in the sgml-tools
 package. Since that package is no longer updated you need to do it manually.

   Please search for one file called mapping, in my computer that goes in:
   /usr/lib/sgml-tools/dist/sgmltool/lyx/

   and then apply that patch that goes attached. Tell if you any problem with
 it.

 I use LAST version of LyX (1.1.6fix1).
 
 Thank you to anyone for assistance.

   Sorry I have been busy all the week, and when finally I had time to answer
 the firewall got some holidays.

 Roberto Arcomano

 --
 José

   

patchName: patch
 Type: Plain Text (text/plain)




Re: Need help installing a new class and style file

2001-05-30 Thread Roberto Marabini


Dear jonathan,

  Certainly the instructions for installing new classes and styles aren't
terribly clear. This is what I did to install the layout
acmtrans2e described in latex by acmtrans2e.cls and acmtrans.bst I hope
that it will be helpfull.

(Note: acmtrans2e has the same enviroments than article)

1)  mkdir /usr/share/texmf/tex/latex/acmtrans2e
2)  cp acmtrans2e.cls /usr/share/texmf/tex/latex/acmtrans2e/.
3)  mkdir /usr/share/texmf/bibtex/bst/acmtrans2e
4)  cp acmtrans.bst /usr/share/texmf/bibtex/bst/acmtrans2e/
5) cp  /usr/share/lyx/layouts/article.layout
$HOME/.lyx/layouts/acmtrans2e.layout
6) edit $HOME/.lyx/layouts/acmtrans2e.layout
7) replace second line by #  \DeclareLaTeXClass{acmtrans2e}
7.5)  texhash
8) start lyx
9) edit-reconfigure
10) exit lyx
11) start lyx again

(NOTE: you may try with book.layout instead article.layout)

   hope this helps

   Roberto

On Wed, 30 May 2001, Jonathan Wilson wrote:

 Hello,
 
 I'm sorry to post such a lame question to the list but this is my situation:
 
 I'm a Linux system Administrator and as such, know a bit about using Linux, but I 
don't know a thing about LyX, LaTeX or  TeX, or any form of typesetting. My church, 
after examining all the options  on all platforms, including things like Quark and 
Ventura, has decided to use LyX for some publications due to the fact that we have 
lots of trouble with footnotes in all the other commercial software, and lyX seems 
like it can fix that. So I have set up a SuSE Linux box for them to try running lyx 
on. 
 
 Everything's been going well until they decided to make a new class file. It's 
actually a set of .cls, .sty and .clo files that they previously set up and got 
working in some application on windows -- I belive it was Winshell or WinTeX, if that 
sounds correct ( I know it wasn't MikTeX).
 
 We have the LyY Users' Guide and other online stuff, a few books about LaTeX and one 
book about LyX specifically, I can't remember the name of the book. I do know that 
the book is somewhat out of date, for example it talks about using 
OptionsReconfigure, and I see now that Reconfigure is under Edit.
 
 Before I go any further I should note that I am using the very latest version of 
lyx, I downloaded it just today (1.1.6fix2-1 I belive, before now we've been using 
fix1-2), not the version that came with SuSE. This could possibly be the source of 
some of my troubles, since SuSE had a very complex .lyxrc that was obviously there 
for a reason, but the lyx from lyx.org choked over it so we had to delete it.
 
 The instructions for installing new classes and styles aren't terribly clear but I 
did see a section that to my memory read something like this:
 
To install a new class file (.cls) place it under $UserDir/layouts/ or 
$LyxDir/layouts, choose  OptionsReconfigure and restart lyx. 
 
 That's not verbatim, but it is close. Now I can say this: the class we're trying to 
install is called bookCP.cls, and I have placed that file, along with bookCP.sty, in 
~/.lyx/layouts/ /usr/share/lyx/layouts and /usr/share/texmf/tex/latex/base/ after 
which i have tried running texhash and Options.Reconfigure dozens of times and 
nothing works -- bookCP never shows up along with the rest of the things in in Layout 
Document . 
 
 It should be right there along side book and boo (AMS) and the rest, shouldn't it?
 
 By the way, after putting it in /usr/share/texmf/tex/latex/base/ and running 
texhash, it does show up in /usr/share/texmf/ls-R. But never in LyX.
 
 The only other thing I could think of was the variables that were mentioned. trying 
things like echo $USERDIR echo $userdir $echo UserDir (BTW, it's a very bad 
idea to have mixed case env variables - shell variables should always be upper case 
for sanity's sake) revealed nothing, so I thought maybe that was the problem, but 
after setting them buy hand, I ran texhash again and EditReconfigure.
 
 Anyway, the short story is: I've been reading books and User's guides for 2 weeks 
now off and on, and I'm not getting anywhere. Surely it's not that hard. Hey, it 
didn't take me /this/ long to learn how to setup postfix ;-)
 
 
 Can anyone tell me what I'm doing wrong, or even better, what the correct thing to 
do is?
 
 Thanks a million in advance,
 
 
 
 Jonathan Wilson
 System Administrator
 
 Cedar Creek Software http://www.cedarcreeksoftware.com
 Central Texas IT http://www.centraltexasit.com
 




Problem with tables using class Docbook article

2001-07-05 Thread Roberto Arcomano

Hi all,
I'm trying to go from LinuxDoc to DocBook (as suggested by LyX developers). 
My problem is that, when I add a table in my DocBook article document (I use 
latest versione of LyX), then I receive some errors during conversion to HTML 
using db2html or LyX export command. 

Error with db2html command is:

jade:/kernel/docbook/article/KernelWorking.sgml:912:41:E: document type does 
not allow element TGROUP here; assuming missing INFORMALTABLE start-tag
jade:/kernel/docbook/article/KernelWorking.sgml:913:39:E: character data is 
not allowed here
jade:/kernel/docbook/article/KernelWorking.sgml:984:8:E: end tag for 
INFORMALTABLE omitted, but OMITTAG NO was specified
jade:/kernel/docbook/article/KernelWorking.sgml:912:3: start tag was here


Code added (for the table) by LyX in sgml document is:

--- KernelWorking.sgml  Thu Jul  5 18:43:13 2001
+++ KernelWorking.sgml.old  Thu Jul  5 18:43:03 2001
@@ -909,6 +909,80 @@
Here is a list of most common kernel threads:
   /para
   para
+   tgroup cols=5 colsep=1 rowsep=1
+colspec colname=col0 align=center/
+colspec colname=col1 align=center/
+colspec colname=col2 align=center/
+colspec colname=col3 align=center/
+colspec colname=col4 align=center/
+tbody
+row
+entry align=center valign=topPID
+/entryentry align=center valign=topTTY
+/entryentry align=center valign=topSTAT
+/entryentry align=center valign=topTIME
+/entryentry align=center valign=topCOMMAND
+/entry/row
+row
+entry align=center valign=top1
+/entryentry align=center valign=top?
+/entryentry align=center valign=topS
+/entryentry align=center valign=top0:03
+/entryentry align=center valign=topinit
+/entry/row
+row
+entry align=center valign=top2
+/entryentry align=center valign=top?
+/entryentry align=center valign=topSW
+/entryentry align=center valign=top0:00
+/entryentry align=center valign=topkeventd
+/entry/row
+row
+entry align=center valign=top3
+/entryentry align=center valign=top?
+/entryentry align=center valign=topSW
+/entryentry align=center valign=top0:00
+/entryentry align=center valign=topkswapd
+/entry/row
+row
+entry align=center valign=top4
+/entryentry align=center valign=top?
+/entryentry align=center valign=topSW
+/entryentry align=center valign=top0:00
+/entryentry align=center valign=topkreclaimd
+/entry/row
+row
+entry align=center valign=top5
+/entryentry align=center valign=top?
+/entryentry align=center valign=topSW
+/entryentry align=center valign=top0:00
+/entryentry align=center valign=topbdflush
+/entry/row
+row
+entry align=center valign=top6
+/entryentry align=center valign=top?
+/entryentry align=center valign=topSW
+/entryentry align=center valign=top0:00
+/entryentry align=center valign=topkupdated
+/entry/row
+row
+entry align=center valign=top7
+/entryentry align=center valign=top?
+/entryentry align=center valign=topSW
+/entryentry align=center valign=top0:00
+/entryentry align=center valign=topkacpid
+/entry/row
+row
+entry align=center valign=top67
+/entryentry align=center valign=top?
+/entryentry align=center valign=topSW
+/entryentry align=center valign=top0:00
+/entryentry align=center valign=topkhubd
+/entry/row
+/tbody
+/tgroup
+  /para
+  para
Note: Init is not a real kernel thread, it is the FIRST Task
   /para
   /sect2



Thank you for your useful support.
Regards
Roberto Arcomano




bibliography

2001-10-04 Thread Roberto Marabini


Dear all,


  I am writting an article. Depending on the context citations should 
 have the form Doe and Jones (1990) or (Doe and Jones, 1990). Is there any
package that allow my to choose (in each moment) between this two options?

   thanks for the help

   roberto




Final project format requirements

2001-10-30 Thread Roberto Hernandez

Hello everyone, I'm a new user of LyX. I decided to use it to typeset my 
final project report for my undergrad degree. The ease of use is great, I had 
been thinking about using LaTeX for a while and LyX is proving to be a great 
way to get started.

I read the Tutorial that comes with version 1.1.6fix3 and I have also been 
reading the User's Guide / Extended Features. The deal is that I still 
haven't found how to get some parts of the format I need for the report. The 
formatting rules at the university I attend don't seem to conform to any 
standard but their own, and they are pretty anal about it. I am using the 
Book class.

These are the things I still haven't figured out how to do. If anyone can 
give me any ideas on any of them that would be great. I was also wondering if 
it's possible to define a new class for this specific format. Would it be 
doable by a newbie like myself?

Table of Contents
1. I need a different title than the standard Contents. Can this be done?
2. For the Part environment I need to add the text Part to the Table of 
contents entry.
3. How can I make the Bibliography show up in the table of contents?
4. The Appendix titles need to show up in the table of contents (after the 
Bibliography) but no page numbers to the right.

Chapters
5. I need the toplevel environment to be a Chapter (start on a new page, 
etc.) but the word Chapter can't show up in the text. I know I can do this 
by selecting Chapter*, but then there won't be a ToC entry. The ideal would 
be to have Chapter behave the way it does, but be numbered like Section is in 
the Article class.

Numbering
6. The page numbering is also picky. There are a couple of pages that go 
before the ToC (Abstract, Dedicatory, etc.) that should not have page 
numbers. In fact the page numbering has to start with the first page of the 
ToC, but the ToC page numbers can't show.

Bibliography
7. Again, to go against any widespread standard, the bibliography entries are 
not to be numbered. It should be nothing but a list of references ordered 
alphabetically by author's name.

Again, TIA to anyone willing to help me out in any of these points.

Cheers,

-Roberto



Re: Final project format requirements

2001-10-31 Thread Roberto Hernandez

On Wednesday 31 October 2001 06:26, Jean-Marc Lasgouttes wrote:
|  Roberto == Roberto Hernandez [EMAIL PROTECTED] writes:
|
| Roberto Table of Contents 1. I need a different title than the
| Roberto standard Contents. Can this be done?
|
| in the preamble, add
| \renewcommand{\contentsname}{your-new-title}

Thanks for this tip. However, I have a problem getting it to work correctly. 
When I add that line to the preamble, it doesn't work. I exported the file to 
TeX and then put the renewcommand after the \begin{document} line. That 
worked. Next I tried putting the renewcommand right before the ToC in LyX and 
that worked too.

Apparently the problem is that the preamble is not being processed correctly. 
This also makes sense because I tried specifying the page margins from within 
Layout - Document and there was no change.

Any ideas?

Thanks,

Roberto



Re: Final project format requirements

2001-11-01 Thread Roberto Hernandez

On Wednesday 31 October 2001 12:49, Jean-Marc Lasgouttes wrote:
|  Roberto == Roberto Hernandez [EMAIL PROTECTED] writes:
|
| Roberto Thanks for this tip. However, I have a problem getting it to
| Roberto work correctly. When I add that line to the preamble, it
| Roberto doesn't work. I exported the file to TeX and then put the
| Roberto renewcommand after the \begin{document} line. That worked.
| Roberto Next I tried putting the renewcommand right before the ToC in
| Roberto LyX and that worked too.
|
| This is probably related to the fact that you use a language other
| than default. In this case, you have to override the changes done for
| you by babel. I do not know what is the best way to do it. Dekel?
|
| JMarc

OK, after much searching I found the following (which works) at:
http://www.tex.ac.uk/cgi-bin/texfaq2html?question=156

-
Whenever a new language is selected, babel resets all the names to the 
settings for that language. In particular, babel selects the document's main 
language when \begin{document} is executed, which immediately destroys any 
changes to these symbolic names made in the prologue of a document that uses 
babel.

Therefore, babel defines a command to enable users to change the definitions 
of the symbolic names, on a per-language basis: \addto\captionslanguage is 
the thing (language being the language option you gave to babel in the 
first place). For example:

\addto\captionsdanish{%
  \renewcommand{\contentsname}%
{Indholdsfortegnelse}%
}
-

I also found out a way to get bibliography entries with no numbering:
\def\@bibitem#1{}

And how to add a line to the ToC:
\addcontentsline{toc}{chapter}{Hello world!}

Now I have another question. After reading in some website about how to 
change the bibliography, I decided to check the scrbook.cls file. There are 
a couple of lines that indicate there is an option to add the Bibliography to 
the ToC:

-
\DeclareOption{bibtotoc}
  {\AtEndOfClass{%
\renewcommand*\bib@heading{%
  \addchap{\bibname}}
  }}
\DeclareOption{bibtotocnumbered}
  {\AtEndOfClass{%
\renewcommand*\bib@heading{%
  \chapter{\bibname}}
  }}
-

I don't know how to use options (two days of LyX and LaTeX under my belt). 
Could anyone enlighten me?

Cheers,

Roberto



Preamble questions

2001-11-03 Thread Roberto Hernandez

I have a couple of questions about LyX generated lines in my preamble. The 
document I'm writing is in Spanish. The babel package is enabled by default, 
although I'm not really sure what it's for :-).

Here's the preamble:

-
%% LyX 1.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,oneside,english,spanish,bibtotoc]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=2cm,bmargin=2cm,lmargin=2.5cm,rmargin=2cm}
\usepackage{babel}
\setlength\parskip{\medskipamount}
\setlength\parindent{0pt}
\usepackage{graphics}

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\addto\extrasspanish{\bbl@deactivate{~}}
-


1. Why do the options include two languages? Is this legal?

\documentclass[12pt,oneside,english,spanish,bibtotoc]{scrbook}

2. Why are the bibliography options disabled for babel? I don't recall 
specifying this. If I did, now I can't find how to remove it.

\addto\extrasspanish{\bbl@deactivate{~}}

3. Shouldn't there be a line specifying the language for babel? For example:
\selectlanguage{spanish}

TIA,

-Roberto



Bug ???

2001-11-03 Thread Roberto Hernandez

Hey everyone. I don't know if this is the place to send this, but I think I 
found a bug.

I am using a multipart document. The first document is the Title Page, so 
everything is centered. I marked all of the text, went to the Paragraph 
Layout and selected Centered. After that the whole document was centered.

After exporting to LaTeX, I found the problem. The last paragraph is centered 
as follows: 

\centering 2002

instead of

{\centering 2002}

Therefore, everything after that is centered.


Regards,

-Roberto



Re: Abbildung - Abb.

2001-11-04 Thread Roberto Hernandez

Christian Schanz wrote:

 Hello,
 I'm writing a report (koma-script) and want to replace the word Abbildung 
 under Figures with Abb..
 Inserting
 \renewcommand{\figurename}{Abb.}
 in the preamble did not work.
 
 Another question:
 Is there a possibility to automatically insert the number of Figures, Tables, 
 etc. on the Titlepage?
 
 Thank you
  Christian


 From the UK TeX FAQ:

Whenever a new language is selected, babel resets all the names to the
settings for that language. In particular, babel selects the document's 
main language when \begin{document} is executed, which immediately 
destroys any changes to these symbolic names made in the prologue of a 
document that uses babel.

Therefore, babel defines a command to enable users to change the 
definitions of the symbolic names, on a per-language basis: 
\addto\captionslanguage is the thing (language being the language 
option you gave to babel in the first place). For example:

\addto\captionsgerman{%
   \renewcommand{\figurename}%
 {Abb.}%
}





Customized bibliography

2001-11-04 Thread Roberto Hernandez

Thanks to everyone who's been helping me out to get the right format for 
my final project report. Most of my problems have been solved. In fact, 
as of today I only have one issue left: the bibliography.

I am using BibTeX which is great. However, I need to use a style which 
isn't defined (at least I haven't found it in CTAN). I've looked into 
the following packages: custom-bib, inlinebib, jurabib and bibentry. 
They do parts of what I need, but not all. I also looked into a document 
by Oren Patashnik about writing custom bst files, but it's too obscure 
to a newbie like myself.

My guess is that if I can redefine the bibliography style to look the 
way I need and combine that with bibentry, I'll be set. Is there any 
package that makes redefining the .bst achievable by an average user? I 
would imagine something as big as LaTeX would, but I still haven't come 
accross it.

TIA,

-Roberto





Accented characters

2001-11-10 Thread Roberto Hernandez

Hi all,

I'm writing a report in Spanish, which means lots of accented 
characters. After exporting the file to TeX I realized that instead of 
exporting these characters as \'{a} for example, they are exported as á 
(hope you can see that correctly). That has 2 drawbacks. First, the 
spellchecker (aspell in my case) thinks the word is spelled wrong. If 
you ever decide to figure out the percentage of the words that have 
accents in Spanish, you'll realize this can be a real pain :-(. I read 
somewhere that if you switch platforms, the characters might not 
translate over correctly.

I looked through the User's Guide, but I couldn't find how to change 
this behavior. If I missed it, could you let me know where it is?

TIA,

Roberto





Re: Accented characters

2001-11-11 Thread Roberto Marabini

On Sat, 10 Nov 2001, Roberto Hernandez wrote:

 Hi all,
 
 I'm writing a report in Spanish, which means lots of accented 
 characters. After exporting the file to TeX I realized that instead of 
 exporting these characters as \'{a} for example, they are exported as á 
 (hope you can see that correctly). That has 2 drawbacks. First, the 
 spellchecker (aspell in my case) thinks the word is spelled wrong. If 
 you ever decide to figure out the percentage of the words that have 
 accents in Spanish, you'll realize this can be a real pain :-(. I read 
 somewhere that if you switch platforms, the characters might not 
 translate over correctly.

Hello Roberto,

  I also use lyx for writting spanish documents and I do not find the
problems you describe. I have redefined my keyboard using xmodmap so I
can type á directly instead of \'{a} (I am working at US and therefore
I use an american keyboard) and providing I select language spanish
everything works fine including the spellchecker. What version of lyx are
you using? I am using 1.1.6fix3. For older versions things were not so
easy. This is a list of the things I changed for lyx 1.0 (I do not know if
all of them are needed)

  1) add spanish hyphenation in latex:
 log as root
 run textconfig, select hyphenation, select latex
 uncoment the line related with spanish
  2) cd /usr/local/ispell (for that version of lyx I was using ispell)
 link the espanol files to spanish lyx looked for (I do not know
now) a file called spanish that ispell named espanol 

  3) change in lyx (when editing a spanish document).

   a) layout- document-languaje-spanish
   b) layout-document-encoding-latin1
   c) options-spellchekeroptions-input encoding switch in ispell

  hope this help

Roberto (yes, we share the same name)
 
 I looked through the User's Guide, but I couldn't find how to change 
 this behavior. If I missed it, could you let me know where it is?
 
 TIA,
 
 Roberto
 
 




Re: Part name in TOC

2001-11-10 Thread Roberto Hernandez

I'm sure there's a better way to do this, but this was the only one I 
could come up with. What you have to do is find the style file for the 
documentclass you are using. That's either a .sty or .cls file in your 
texmf directory, usually texmf/tex/latex/base/*.cls. Then within that 
file search for a line like this:

\addcontentsline{toc} {part}

Copy the section starting with \def that includes that line and paste it 
in your document's preamble. What you want to do is add \partname~ 
right before \thepart The following is an example of what's in my 
preamble for a koma-script document:

-
\def\@part[#1]#2{%
 \ifnum \c@secnumdepth -2\relax
   \refstepcounter{part}\@maybeasf%
 
\addcontentsline{toc}{part}{\protect\numberline{\partname~\thepart}#1}%
 \else
   \addcontentsline{toc}{part}{#1}%
 \fi
 \chaptermark{}
 {\centering
  \interlinepenalty \@M
  \normalfont
  \ifnum \c@secnumdepth -2\relax
\size@partnumber\sectfont\partformat
\par
\vskip 20\p@
  \fi
  \size@part\sectfont #2\par}%
 \@endpart}
-

You will also need to copy another portion of the definition to your 
preamble so the Part I. and the title for that part don't overlap. 
After modifying a few things, this is what I came up with. The change 
was made in the \setlength\@tempdima{5em}, it used to be 2.25em.

-
\renewcommand*\l@part[2]{%
   \ifnum \c@tocdepth -2\relax
 \addpenalty{-\@highpenalty}%
 \addvspace{2.25em \@plus\p@}%
 \setlength\@tempdima{5em}%  -- Change here
 \begingroup
   \parindent \z@ \rightskip \@pnumwidth
   \parfillskip -\@pnumwidth
   \leavevmode\sectfont\large
   \advance\leftskip\@tempdima
   \hskip -\leftskip
   #1\nobreak\
\leaders\hbox{$\m@th
 \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
 mu$}\hfil\nobreak\hb@xt@\@pnumwidth{\hss #2}\par
   \penalty\@highpenalty
 \endgroup
   \fi}
-

Well, I hope that helps. The solution is ugly, but it's the only one 
this newbie could come up with.

If any of you LaTeXperts read this and know of a shorter, more elegant 
way to do this, please let me know.

Regards,

Roberto


Tony Dancer wrote:

 Hello,
 
 I really am sorry for posting this, as I suspect it is an FAQ. However,
 I can't find any record of it in the digests.
 
 I have a thesis using report style, and want to make the TOC look
 different.
 
 Specifically, `Part' just reads I, II etc, and I would like it to say
 Part I. 
 
 Can anyone tell me how do I do this?
 
 Thanks
 Tony
 
 --
  
 Question: Is it better to abide by the rules until they're changed or
 help speed the change by breaking them?
 
 
 







Re: page numbering

2001-11-12 Thread Roberto Hernandez

Rodney Kanno wrote:

 One more question. I got the page numbers to show both roman  arabic. 
 But when the arabic starts, the count continues where the roman left off 
 (ex. i, ii, iii, 4, 5, etc) can I get the arabic to start at 1?
 
 p.s. this is the longest time difference I ever had: 10 hours
 from Berlin to Hawaii ...

 Wow 10 hour differenceso how's the weather there in Berlin? It is a 
 cool 73 degrees here.
 
 Thanks for your help!
 Rodney
 
 


Try using ERT with the following commands:

\frontmatter

Roman numerals

\mainmatter

Resets to 1 and uses arabic

\backmatter







Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread Roberto Hernandez

John Boik wrote:

 Fourth, is there an easy way to select text and then format it all in caps
 (not small caps, or whatever is listed in the character popup), or as title
 caps (first word capitalized)?


Don't know if this is what you're looking for, but there is a LaTeX 
command: \MakeUppercase{} which changes whatever is within the brackets 
to uppercase.

 
 Eighth and last, I would like to use BibTex for my references, and I
 understand how to import the citation into Lyx, but I don't know how to
 start BibTex in the first place to enter a list of references.  If I go to
 the command line and type in BibTex, it tells me it needs an argument.
 The help command doesn't tell me much either that I can understand.  If I
 try to make a new bib file by typing in BibTex foo, it tells me that it
 cannot open file name 'foo.aux'.  How does one start BibTex to make a new
 file?


There are a couple of applications which help you type up the .bib file.

http://sourceforge.net/projects/pybliographer/

http://www.cat.csiro.au/cmst/staff/pic/tkbibtex.html


 John Boik
 Oregon Medical Press
 www.ompress.com
 [EMAIL PROTECTED]






Re: Accented characters

2001-11-12 Thread Roberto Hernandez

Roberto Marabini wrote:

 Hello Roberto,
 
   I also use lyx for writting spanish documents and I do not find the
 problems you describe. I have redefined my keyboard using xmodmap so I
 can type á directly instead of \'{a} (I am working at US and therefore
 I use an american keyboard) and providing I select language spanish
 everything works fine including the spellchecker. What version of lyx are
 you using? I am using 1.1.6fix3. For older versions things were not so
 easy. This is a list of the things I changed for lyx 1.0 (I do not know if
 all of them are needed)
 


I'm using version 1.1.6fix3. Actually, I think you misunderstood my 
problem. When I type the accented characters they show up fine in LyX. 
That is, I can type the á directly.

What I would like is that, when I export the document to TeX, the 
characters that I typed in directly as á show up as \'{a}. After 
more searching I found the iso8859-1.cdef file which appears to be 
there to define how to translate accented characters to \'{a} for 
example. The problem is that it doesn't seem to be working.

As far as the spellchecker, I'm using aspell not ispell. After some 
testing, what seems to be happening is that words such as introducción 
are checked correctly, but introducci\'{o}n is checked as incorrect. I 
don't really know much about aspell, but I would think there is a way to 
change this behavior. If anyone knows how, please let me know.


   1) add spanish hyphenation in latex:
  log as root
  run textconfig, select hyphenation, select latex
  uncoment the line related with spanish
   2) cd /usr/local/ispell (for that version of lyx I was using ispell)
  link the espanol files to spanish lyx looked for (I do not know
 now) a file called spanish that ispell named espanol 
 
   3) change in lyx (when editing a spanish document).
 
a) layout- document-languaje-spanish
b) layout-document-encoding-latin1
c) options-spellchekeroptions-input encoding switch in ispell
 
   hope this help
 
 Roberto (yes, we share the same name)
 






Re: lyx install on a win 2000 machine

2001-11-18 Thread Roberto Hernandez

Kent Kostuk wrote:

 I am extremely happy with my LyX install on a Win2000 laptop.  It has gone
 almost as smoothly as possible.  The only problem I am having is with bibtex
 stuff.
 
 When I try to export a PDF file I get one error box with a bunch of lines in
 it say something like
 
 Warning: Citation 'some citation' on page 4 undefined on input
 
 I don't understand why this is happening.  I have my bst in the same
 director as my lyx file.  The dir structures are essentially the same as on
 my Linux system where the lyx files were originall created.
 
 Does anyone have any pointers?


Maybe it has something to do with the differences between Linux and 
Windows in the handling of new lines. Did you try running unix2dos on 
the .bib file?


 Thanks
 
 Kent Kostuk
 [EMAIL PROTECTED]
 
 
 
 






Changing bibliography appearance

2001-11-29 Thread Roberto Hernandez

Hi all,

I've been customizing the appearance of the bibliography. One thing I 
did was to remove the labels, as suggested in the LyX Tips page:

---
No Labels in Bibliography
with

\renewcommand\@biblabel[1]{}
---

When an entry in the bibliography spans more than one line I'd like all 
but the first line to be indented, like the Description environment. 
Any suggestions on how to do that?

TIA,

Roberto





Problem including files.

2002-01-21 Thread Roberto Hernandez

Hi all,

I'm working on a long document, so I split it up into several files. 
Everything was working well until I included the file with the 
appendices. When I try to generate the PS file I get an error message:

LaTeX error: Something's wrong, perhaps a missing \item.

The strange thing is that if I generate separate PS files for the main 
document and the subdocument that contains the appendices there are no 
errors and everything works fine.

One detail that might be relevant is that I'm writing in Spanish and 
using Babel.

Rather than trying to explain every detail, I'm attatching a short 
example that singles out this odd behavior. I've included a five or six 
line main document, a three line appendix file and a text file 
containing my preamble.

You'll notice that if the include box is removed from the end of the 
main file, the PS output is generated successfully, so the problem is 
definitely related to the \include statement.

Any ideas of what's going wrong?

TIA,

Roberto



Sample.tar.gz
Description: GNU Zip compressed data


Re: Problem including files.

2002-01-21 Thread Roberto Hernandez

Jean-Pierre.Chretien wrote:

Date: Mon, 21 Jan 2002 12:01:47 -0300
From: Roberto Hernandez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Problem including files.

Hi all,

I'm working on a long document, so I split it up into several files. 
Everything was working well until I included the file with the 
appendices. When I try to generate the PS file I get an error message:

LaTeX error: Something's wrong, perhaps a missing \item.

 
 This strongly looks like a preceding empty bibliography.
 Check that your .bbl file is not just like
 \begin{bibliography}
 
 \end{bibliography}
 without any item listed.
 
 This produces an error at the next command, and this can be
 quite misleading.


In the Sample.lyx file I attatched there is one bibliography entry that 
just says bibliography, but in the real document there are about 8 or 
9 books (and I haven't even started working on the bibliography part), 
so that's probably not the problem. Either way, if that was the problem 
the main file would give some error messages, even when not including 
any file at the end.

 
Thanks again,


Roberto






Inline display formulas

2002-01-22 Thread Roberto Hernandez

Hi all,

I've been trying to find a way to have Display Formulas in the same line 
as some text. The reason is I don't really like the way all the symbols 
look when using regular inline formulas.

This is what I'm looking for:

1. Property: [a nice display formula]
2. Property: [another display formula]

Can this be done? If so, will I have to mess with the interline spacing?

TIA,

Roberto





Re: Problem including files.

2002-01-22 Thread Roberto Hernandez

Jean-Pierre.Chretien wrote:

Date: Mon, 21 Jan 2002 20:10:41 -0300
From: Roberto Hernandez [EMAIL PROTECTED]
To: Jean-Pierre.Chretien [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Problem including files.

Jean-Pierre.Chretien wrote:


Date: Mon, 21 Jan 2002 12:01:47 -0300
From: Roberto Hernandez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Problem including files.

Hi all,

I'm working on a long document, so I split it up into several files. 
Everything was working well until I included the file with the 
appendices. When I try to generate the PS file I get an error message:

LaTeX error: Something's wrong, perhaps a missing \item.


This strongly looks like a preceding empty bibliography.
Check that your .bbl file is not just like
\begin{bibliography}

\end{bibliography}
without any item listed.

This produces an error at the next command, and this can be
quite misleading.


In the Sample.lyx file I attatched there is one bibliography entry that 
just says bibliography, but in the real document there are about 8 or 
9 books (and I haven't even started working on the bibliography part), 
so that's probably not the problem. Either way, if that was the problem 
the main file would give some error messages, even when not including 
any file at the end.

 
 Not if the citation commands are missing, in which case
 there is a bibliography environment and nothing in it.


I have quite a few citations. I'm using the Bibentry package, because I 
need the full citation in the text. So I have a lot of ert that says 
\bibentry{reference}


 That true that this happens only with bibtex, not by direct use
 of the bibliography environnment as you did in Sample.lyx.


But I still get an error message with the Sample.lyx


 I abandoned your example because of missing \addto commands which prevented
 complete Lyx compilation: if I export o Latex to go through errors,
 it doesn't exhibit here the error message you mentioned. So what ?


Uhhh... I'm afraid I'm clueless here. What's the \addto command for?? 
How come that prevents complete LyX compilation?


 By the way, you could Insert-Toggle appendix to have appendix stuff numbered
 alphabetically (but perhaps you prefer to follow normal chapter numbering).


You're right, I haven't gotten to the format of the appendix yet, but 
that should look better.


 Do you use bibtex in your real document ?


Yep, and Bibentry as well.

PS: I've been playing trial and error and I found that when I comment 
out the \addtocontents the error disappears. Is there a good way to add 
lines to the TOC and have some control over that? You see, my 
universities format requirements say I need to have the appendix entry 
show up in the TOC but without the pagenumber next to it...








How do I control the maximum footnote size.

2002-01-24 Thread Roberto Hernandez

Hey everyone,

I'm writing a document where I have some very long footnotes. After a 
certain number of lines, the footnotes get split, so part of the text is 
on the next page. This isn't the behavior I want. What I'd like is the 
whole footnote in one page, even if LaTeX thinks that doesn't look good.

How can I go about doing that?

I'm using koma-script book class, one sided.

Question 2:

When I set the margins using the geometry package, there's extra space 
at the top. I assume that space is being saved for the header, which I'm 
not using. Can I specify the distance between the top/bottom of the page 
and the actual text? (not including header/footer space)

TIA,

Roberto





Image conversion

2002-01-24 Thread Roberto Hernandez

Hi,

I need to convert PNG files to EPS so I can include them in a LyX 
document. I've tried using convert and it works, but the output looks 
pretty bad on GV. Is that a convert problem or do all PNG - EPS 
conversions look bad?

What I'm doing is documenting a program, so I'm including screenshots. I 
used KSnapshot to capture the graphics and that saves the files in PNG 
format. If there's a better way to do this, please let me know.

I've looked through the documentation and the LyX Tips page, but I 
couldn't find any information on image conversion.

TIA,

Roberto





Re: How do I control the maximum footnote size.

2002-01-24 Thread Roberto Hernandez

Christopher M. Jones wrote:

 I think you want 
 
 \setlength\interfootnotelinepenalty{1}
 
 But you should check out Herbert Voss's tips and tricks page. That will tell 
 you for sure.


Thanks for replying. I tried putting the line in the preamble, but there 
was no change. I also tried \interfootnotelinepenalty=1 like it 
says in the LyXTips page, and both commands using \AtBeginDocument, but 
nothing worked.

Could Babel be getting in the way? How about the fancyhdr package? 
That's all I could think of.

Thanks again.

 
 Also sprach Roberto Hernandez:
 
Hey everyone,

I'm writing a document where I have some very long footnotes. After a
certain number of lines, the footnotes get split, so part of the text is
on the next page. This isn't the behavior I want. What I'd like is the
whole footnote in one page, even if LaTeX thinks that doesn't look good.

How can I go about doing that?

I'm using koma-script book class, one sided.

Question 2:

When I set the margins using the geometry package, there's extra space
at the top. I assume that space is being saved for the header, which I'm
not using. Can I specify the distance between the top/bottom of the page
and the actual text? (not including header/footer space)

TIA,

Roberto

 







Re: minimizing lyx dialogs minimizes main window too

2002-01-25 Thread Roberto Hernandez

Guenter Milde wrote:

 Thank you Alan for making this distinction clear. Now I have a feature
 request: 
 
   Would it be possible, to define sub-windows that are meant to be used
   parallel to the main window as non-transient?
 
 Reason: it seems that different window managers have different concepts of
 what a transient window is for.  At least two wm (KDE and IceWM) think that
 transient means something in the line open only for a short time / requiring 
 prompt action / not requiring interaction with the main window.

I'll second the motion ;-).





Listings package with Tcl/Tk support?

2002-01-26 Thread Roberto Hernandez

I checked through the listings package, but there's no support for 
Tcl/Tk. Does anyone know of a similar package that does?

TIA,

Roberto





Re: Listings package with Tcl/Tk support?

2002-01-26 Thread Roberto Hernandez

Herbert Voss wrote:

  Roberto Hernandez wrote:
 
  I checked through the listings package, but there's no support for
  Tcl/Tk. Does anyone know of a similar package that does?
 
  the latest beta version has tcl support.

Up and running! Actually you don't even need the beta version, there's a 
new .sty file that adds support for the new languages, Tcl/Tk included.

Now I have one more question. I noticed in your example file from 
LyXTips that if you use typewriter fonts there is no keyworkd 
highlighting. Is there any font that behaves like the typewriter font 
(that is every character uses the same amount of space) and also allows 
for syntax highlighting?

Thanks again,

Roberto












Re: Listings package with Tcl/Tk support?

2002-01-28 Thread Roberto Hernandez

Herbert Voss wrote:

 Roberto Hernandez wrote:
 
 Now I have one more question. I noticed in your example file from 
 LyXTips that if you use typewriter fonts there is no keyworkd 
 highlighting. Is there any font that behaves like the typewriter font 
 (that is every character uses the same amount of space) and also 
 allows for syntax highlighting?
 
 
 choose a typewriter font with bold characters, like times.


I tried with:

\fontfamily{pcr}\fontseries{m}\selectfont   (is that it?)

but space characters aren't as wide as the rest of the characters (I 
believe it's called kerning).

Thanks,

Roberto





Re: Two questions

2002-01-28 Thread Roberto Hernandez

Gerhard Siegesmund wrote:

  Hello List
 
  I have to small questions which I couldn't answer even looking at the
  mailing list archive.
 
  I am right now writing my diploma using LyX and am using the class book
  ams. The diploma is in german!
 
  There are two things which I want to change:
 
  - Chapters may start on every page (meaning odd or even). Right now
  every chapter starts on an odd page with a white page at the end of the
  last chapter if there wasn't enough text in that chapter.


Are you going to print double sided? If not just go to the Document
preferences and make the document single-sided, that should do it.


  - Using bibtex in the Referenzes-Chapter I get a dot at the end of every
  Reference which I would like to remove.


If you can't find a .bst file that does that, the only way I know of is
to edit the bibliography style file you are using, but I don't recommend
it. It might take a day to figure out what to modify.








Font names

2002-01-28 Thread Roberto Hernandez

Hi everyone,

I hope this question isn't overly stupid, but I haven't been able to 
find the answer in LyXTips or the doc.

To load the courier font I issue the following:

\fontfamily{pcr}\fontseries{m}\selectfont

Now, I want to load the times font, but I can't find the correct name 
(like pcr).

Where can I find a list of fontfamilies and the fonts they contain? For 
example:

pcr Courier
??? Times
??? Helvetica

and so on.

TIA,

Roberto.





  1   2   3   4   5   >