Hi all,
I have two problems with quotes with
fancyhdr packages.
Please, see example.
Thanks.
Marcelo


1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
Abrí tu cuenta aquí
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\begin_preamble
\usepackage[latin1]{inputenc}
\date{}
\usepackage[T1]{fontenc}
\usepackage[flushmargin]{footmisc}
\clubpenalty=9999
\widowpenalty=9999
\displaywidowpenalty=9999
\usepackage{textcomp}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{dropping}
\fancyhead{ }
\fancyfoot{ }
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\newcommand{\helv}{\fontfamily{helv}\fontseries{b}\fontsize{9}{11}\selectfont}
\fancyhead[RE]{\small Problems with fancyhdr}
\fancyhead[LE,RO]{\small \thepage}
\fancyhead[LO]{\small \rightmark}
\end_preamble
\language spanish
\inputencoding auto
\fontscheme pslatex
\graphics default
\paperfontsize 12
\spacing single 
\papersize Custom
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 18.2cm
\paperheight 25.7cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language french
\quotes_times 2
\papercolumns 2
\papersides 2
\paperpagestyle fancy

\layout Author

Marcelo Acuña
\layout Title

I have problems with quotes
\newline 
and accents
\layout Addchap*

Prologue
\layout Standard


\emph on 
Hello everyone.
 What I´m about to show you isn´t a problem but I thought I should call
 your attention to it.
 I marked this chapter* with 
\begin_inset Quotes fld
\end_inset 

add chapter*
\begin_inset Quotes frd
\end_inset 

 (a Koma script book option).
 And I Thought it was enough in order for it to show up in TOC.
 But it wasn´t and I had to enter an ERT with 
\begin_inset Quotes fld
\end_inset 


\backslash 
addcontentsline \SpecialChar \ldots{}

\begin_inset Quotes frd
\end_inset 

.
 I don´t know if I mis understood the 
\begin_inset Quotes fld
\end_inset 

add chapter*
\begin_inset Quotes frd
\end_inset 

 function or if it simply doesn´t work.
\layout Standard
\added_space_top bigskip 

\emph on 
Folowing text in this chapter* is filler.
\layout Standard


\emph on 
Of the origin of the kingdom of the Tartars--of the quarter from whence
 they came--and of their former subjection to Un-khan, a prince of the north,
 called also Prester John.
 
\layout Standard


\emph on 
To him these Tartars paid yearly the tenth part of the increase of their
 cattle.
 In time the tribe multiplied so exceedingly that Un-khan, that is to say,
 Prester John, becoming apprehensive of their strength, conceived the plan
 of separating them into different bodies, who should take up their abode
 in distinct tracts of country.
 With this view also, whenever the occasion presented itself, such as a
 rebellion in any of the provinces subject to him, he drafted three or four
 hundred of these people, to be employed on the service of quelling it,
 and thus their power was gradually diminished.
\layout Chapter*

Introduction
\begin_inset ERT
status Open

\layout Standard

\backslash 
addcontentsline{toc}{chapter}{
\backslash 
protect
\backslash 
numberline{}Introduction}
\end_inset 


\newline 
\SpecialChar ~

\newline 
\SpecialChar ~

\newline 

\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
dropping{3}{I}
\end_inset 

 use Koma script book style with two columns and the fancyhdr package and
 dropping package.
 I use Suse Linux 9.3 and Lyx 1.3.6 (installed with 
lyx-1.3.6-1suse92_qt.i586.rpm
 file).
\layout Standard
\added_space_top bigskip 
Folowing text in this chapter* is filler.
\layout Standard

Of the origin of the kingdom of the Tartars--of the quarter from whence
 they came--and of their former subjection to Un-khan, a prince of the north,
 called also Prester John.
 
\layout Standard

To him these Tartars paid yearly the tenth part of the increase of their
 cattle.
 In time the tribe multiplied so exceedingly that Un-khan, that is to say,
 Prester John, becoming apprehensive of their strength, conceived the plan
 of separating them into different bodies, who should take up their abode
 in distinct tracts of country.
 With this view also, whenever the occasion presented itself, such as a
 rebellion in any of the provinces subject to him, he drafted three or four
 hundred of these people, to be employed on the service of quelling it,
 and thus their power was gradually diminished.
\layout Chapter

Description of the severe problems
\layout Section

Here are the two most severe problems I have
\layout Itemize

Problems with spellchecker from version 1.3.6.
\layout Itemize

Problems with fancyhdr and quotes.
\layout Standard

I have several problems even with version 1.3.5 with the accents but the 
spellchec
ker worked.
 Now it accepts all words with accented letters with differents characters,
 and, of course, it doesn´t find it in the dictionary.
\layout Standard

The most several problem with fancyhdr started when I decided to use two
 columns.
 Then I decided not to use the quote paragraph style with long quotes because
 a whole page with two thin columms doesn´t look good, and I opted for using
 quote marks at beginning and end of the citation.
\layout Standard

This work fine if the text in quote marks is only one paragraph or if I
 didn´t use fancyhdr.
\layout Standard

With fancyhdr and a text of two or more paragraphs two things happen, one
 is fine and the others is not.
\layout Itemize

Latex adds an extra quote mark at the beginning of each paragraph from de
 second paragraph on.
 This is fine but I would like to have control over it.
 That is, be able activated or desactivated this option.
\layout Itemize

When a quoted text of several paragraphs doesn´t fit on one page and extends
 to two pages there is an error.
 Quote marks appears at the header and footer (see DVI output of chapter
 2).
 This is a severe problem and I need help to fix it.
\layout Standard

Also, I have problems with the header settings.
 According to the documentation that is included in the fancyhdr package:
 
\begin_inset Quotes fld
\end_inset 

Page layout in Latex
\begin_inset Quotes frd
\end_inset 

 by Piet van Oostrum, I entered in the preamble the commads that you can
 see.
 My intention is that the title of section without the number appear on
 the odd page.
 I selected from documentation the command that as it says but it didn´t
 work that way.
 I also want to use smaller and lower case font, even thogh it is of the
 same family as the main text (pslatex), just like the example in the documentat
ion shows.
 But it seems I can´t control it.
 I don´t know how to do it.
\layout Standard

The folowing text is filler.
 Play with it.
\layout Chapter

Here the most severe problems appears
\layout Section

Filler
\layout Standard

Concerning Chingis-khan, first emperor of the Tartars, and his warfare with
 Un-khan, whom he overthrew, and of whose kingdom he possessed himself.
 
\layout Standard

Some time after the migration of the Tartars to this place, and about the
 year of our Lord 1162, they proceeded to elect for their king a man named
 Chingis-khan, one of approved integrity, great wisdom, commanding eloquence,
 and eminent for his valor.
 He began his reign with so much justice and moderation, that he was beloved
 and revered as their deity rather than their sovereign; and as the fame
 of his great and good qualities spread over that part of the world, all
 the Tartars, however dispersed, placed themselves under his command.
 Finding himself thus at the head of so many brave men, he became ambitious
 of emerging from the deserts and wildernesses by which he was surrounded,
 and gave them orders to equip themselves with bows, and other weapons they
 were expert at using from the habits of their pastoral life.
 He then made himself master of cities and provinces, and such was the effect
 produced by his character for justice and other virtues, that wherever
 he went, he found the people disposed to submit to him, and to esteem themselve
s happy when admitted to his protection and favor.
 In this manner he acquired the possession of about nine provinces.
 Nor is his success surprising, when we consider that at this period each
 town and district was either governed by the people themselves or had its
 petty king or lord; and as there was no general confederacy, it was impossible
 for them to resist, separately, so formidable a power.
 Upon the subjugation of these places, he appointed governors to them, who
 were so exemplary in their conduct that the inhabitants did not suffer
 either in their persons or their properties.
 He likewise adopted the policy of taking along with him, into other provinces,
 the principal people, on whom he bestowed allowances and gratuities.
 Seeing how prosperously his enterprises succeeded, he resolved on attempting
 still greater things.
 With this view he sent ambassadors to Prester John, charged with a specious
 message, which he knew at the same time would not be listened to by that
 prince, demanding his daughter in marriage.
 Upon receiving the application, the monarch indignantly exclaimed: "Whence
 arises this presumption in Chingis-khan, who, knowing himself to be my
 servant, dares to ask for the hand of my child? Depart instantly," he said,
 "and let him know from me, that upon the repetition of such a demand, I
 shall put him to an ignominious death." Enraged at this reply, Chingis-khan
 collected a very large army, at the head of which he entered the territory
 of Prester John, and encamping on a great plain called Tenduk, sent a message
 desiring him to defend himself.
 The latter advanced likewise to the plain with a vast army, and took his
 position at the distance of about ten miles from the other.
 In this conjuncture Chingis-khan commanded his astrologers and magicians
 to declare to him which of the two armies in the approaching conflict should
 obtain the victory.
 Upon this they took a green reed, and dividing it lengthways into two parts,
 they wrote upon one the name of their master, and upon the other the name
 of Un-khan.
 They then placed them on the ground, at some distance from each other,
 and gave notice to the king that during the time of their pronouncing their
 incantations, the two pieces of reed, through the power of their idols,
 would advance towards each other, and that the victory would fall to the
 lot of that monarch whose piece should be seen to mount upon the other.
 The whole army was assembled to be spectators of this ceremony, and whilst
 the astrologers were employed in reading their books of necromancy, they
 perceived the two pieces begin to move and to approach, and after a short
 time, the one inscribed with the name of Chingis-khan placed itself on
 top of its adversary.
 Upon witnessing this, the king and his band of Tartars marched with exultation
 to the attack of the army of Un-khan, broke through its ranks and entirely
 routed it.
 Un-khan himself was killed, his kingdom fell to the conqueror, and Chingis-khan
 espoused his daughter.
 After this battle he continued during six years to render himself master
 of additional kingdoms and cities; until at length, in the siege of a castle
 named Thaigin, he was struck by an arrow in the knee, died of the wound,
 and was buried in the mountain of Altai.
\layout Standard

Of the wandering life of the Tartars--of their domestic manners, their food,
 and the virtue and useful qualities of their women.
 
\layout Standard


\begin_inset Quotes fld
\end_inset 

Now that I have begun speaking of the Tartars, I will tell you more about
 them.
 The Tartars never remain fixed, but as the winter approaches remove to
 the plains of a warmer region, to find sufficient pasture for their cattle;
 and in summer they frequent cold areas in the mountains, where there is
 water and verdure, and their cattle are free from the annoyance of horse-
 flies and other biting insects.
 During two or three months they go progressively higher and seek fresh
 pasture, the grass not being adequate in any one place to feed the multitudes
 of which their herds and flocks consist.
 Their huts or tents are formed of rods covered with felt, exactly round,
 and nicely put together, so they can gather them into one bundle, and make
 them up as packages, which they carry along with them in their migrations
 upon a sort of car with four wheels.
 When they have occasion to set them up again, they always make the entrance
 front to the south.
 
\layout Standard

Besides these cars they have a superior kind of vehicle upon two wheels,
 also covered with black felt so well that they protect those within it
 from wet during a whole day of rain.
 These are drawn by oxen and camels, and convey their wives and children,
 their utensils, and whatever provisions they require.
 The women attend to their trading concerns, buy and sell, and provide everythin
g necessary for their husbands and their families; the time of the men is
 devoted entirely to hunting, hawking, and matters that relate to the military
 life.
 They have the best falcons in the world, and also the best dogs.
 They live entirely upon flesh and milk, eating the produce of their sport,
 and a certain small animal, not unlike a rabbit, called by our people Pharaoh's
 mice, which during the summer season are found in great abundance in the
 plains.
 They eat flesh of every description, horses, camels, and even dogs, provided
 they are fat.
 They drink mares' milk, which they prepare in such a manner that it has
 the qualities and flavor of white wine.
 They term it in their language kemurs.
 Their women are not excelled in the world for chastity and decency.
 
\layout Standard

Of conduct, nor for love and duty to their husbands.
 Infidelity to the marriage bed is regarded by them as a vice not merely
 dishonorable, but of the most infamous nature; while on the other hand
 it is admirable to observe the loyalty of the husbands towards their wives,
 amongst whom, although there are perhaps ten or twenty, there prevails
 a highly laudable degree of quiet and union.
 No offensive language is ever heard, their attention being fully occupied
 with their traffic (as already mentioned) and their several domestic employment
s, such as the provision of necessary food for the family, the management
 of the servants, and the care of the children, a common concern.
 And the virtues of modesty and chastity in the wives are more praiseworthy
 because the men are allowed the indulgence of taking as many as they choose.
 
\layout Standard

Their expense to the husband is not great, and on the other hand the benefit
 he derives from their trading, and from the occupations in which they are
 constantly engaged, is considerable; on which account when he receives
 a young woman in marriage, he pays a dower to her parent.
 The wife who is the first espoused has the privilege of superior attention,
 and is held to be the most legitimate, which extends also to the children
 borne by her.
 In consequence of this unlimited number of wives, the offspring is more
 numerous than amongst any other people.
 Upon the death of the father, the son may take to himself the wives he
 leaves behind, with the exception of his own mother.
 They cannot take their sisters to wife, but upon the death of their brothers
 they can marry their sisters-in-law.
 Every marriage is solemnized with great ceremony.
\begin_inset Quotes frd
\end_inset 


\layout Standard

This text is widely available on the Internet, but without indication of
 its printed origins.
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\the_end

Reply via email to