diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index d1b78f95d2..61ea48ddf3 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -463,6 +463,7 @@ AC_ARG_WITH(packaging, *) lyx_use_packaging=posix;; esac]) AC_MSG_RESULT($lyx_use_packaging) +lyx_install_posix=false lyx_install_macosx=false lyx_install_cygwin=false lyx_install_windows=false diff --git a/development/cmake/LyxPackaging.cmake b/development/cmake/LyxPackaging.cmake index 61d15b0275..385e59e691 100644 --- a/development/cmake/LyxPackaging.cmake +++ b/development/cmake/LyxPackaging.cmake @@ -17,12 +17,12 @@ endif() # (Ignores the top project) if(APPLE) # true on all systems whre __APPLE__ is defined in header files - set(CPACK_PACKAGE_NAME LyX) + set(CPACK_PACKAGE_NAME "LyX${LYX_MAJOR_VERSION}${LYX_MINOR_VERSION}") elseif(UNIX) # True also for cygwin - set(CPACK_PACKAGE_NAME lyx) + set(CPACK_PACKAGE_NAME "lyx${LYX_MAJOR_VERSION}${LYX_MINOR_VERSION}") else() - set(CPACK_PACKAGE_NAME LyX) + set(CPACK_PACKAGE_NAME "LyX${LYX_MAJOR_VERSION}${LYX_MINOR_VERSION}") endif() set(CPACK_PACKAGE_VERSION_MAJOR "${LYX_MAJOR_VERSION}") diff --git a/lib/doc/es/EmbeddedObjects.lyx b/lib/doc/es/EmbeddedObjects.lyx index 69ff18a604..197fdcf7ec 100644 --- a/lib/doc/es/EmbeddedObjects.lyx +++ b/lib/doc/es/EmbeddedObjects.lyx @@ -310,7 +310,7 @@ Traducción de: Ignacio García \family sans -Versión 2.1.x +Versión 2.0.x \end_layout \begin_layout Standard @@ -1910,23 +1910,27 @@ Cuadros ! Configuración \end_layout \begin_layout Standard -Un cuadro o tabla se puede cambiar en el menú contextual que aparece con - un clic del botón derecho del ratón. - En la opción -\family sans -Más... +\lang english +You can alter a table by clicking on it with the right mouse button, which + brings up the context menu. + Under the menu entry +\family sans +More \family default +\lang spanish se pueden ajustar los parámetros de la celda y fila/columna en la que se encuentra el cursor. - La entrada del menú contextual + +\lang english +The context menu \family sans -Más...\SpecialChar \menuseparator -Configuración... - +More\SpecialChar \menuseparator +Settings \family default - abre una ventana de diálogo donde se pueden ajustar más parámetros del - cuadro. + opens the table dialog where you can adjust more things +\lang spanish +. La mayoría de opciones también trabajan sobre una selección de celdas, de filas o de columnas. Observa que hay que diferenciar entre seleccionar una celda o seleccionar @@ -2414,9 +2418,7 @@ arg "inset-modify tabular move-row-up" \lang english - -\lang spanish -desplaza la fila arriba + moves the row up \end_layout \begin_layout Labeling @@ -2426,7 +2428,9 @@ type "icon" arg "inset-modify tabular move-column-left" \end_inset - desplaza la columna a la izquierda + +\lang english + moves the column to the left \end_layout \begin_layout Labeling @@ -2436,7 +2440,9 @@ type "icon" arg "inset-modify tabular move-row-down" \end_inset - desplaza la fila abajo + +\lang english + moves the row down \end_layout \begin_layout Labeling @@ -2446,7 +2452,9 @@ type "icon" arg "inset-modify tabular move-column-right" \end_inset - desplaza la columna a la derecha + +\lang english + moves the column to the right \end_layout \begin_layout Labeling @@ -7602,17 +7610,20 @@ Cuadros largos ! Leyendas ! distintas para cada página \begin_layout Standard Cuando las leyendas para las páginas siguientes hayan de ser diferentes - de la leyenda de la primera página del cuadro, marca una fila vacía como - cabecera que contiene una leyenda. - Después, clic derecho sobre la leyenda y selecciona + de la leyenda de la primera página del cuadro, +\lang english +mark a empty row as header which contains a caption. + Then right-click on the caption and select in the context menu \family sans -Leyenda +Caption \begin_inset space ~ \end_inset -(CuadroLargoSinNúmero) +(LongTableNoNumber +\lang spanish +) \family default - en el menú contextual. +. El cuadro \begin_inset space ~ \end_inset @@ -24052,7 +24063,7 @@ Algoritmo \begin_inset CommandInset ref LatexCommand ref -reference "cap:Listado-de-código" +reference "cap:Listado-de-programa" \end_inset @@ -24115,8 +24126,8 @@ algoritmo Para insertar el índice de algoritmos puedes usar el menú \family sans Insertar\SpecialChar \menuseparator -Índices\SpecialChar \menuseparator -Algoritmos +Índice\SpecialChar \menuseparator +Índice de algoritmos \family default , si el documento está en el mismo idioma que los menús de LyX. Para documentos en otro idioma usa en su lugar el comando en código TeX: @@ -26950,7 +26961,7 @@ thefigure \begin_inset VSpace bigskip \end_inset -Si estás usando una clase de documento +Si estás usando la clase de documento \series bold KOMA-Script \series default @@ -27274,16 +27285,16 @@ La norma habitual para colocar las leyendas es: \end_layout \begin_layout Description -Figura: La leyenda al pie de las figuras +Figura: La leyenda al pie de la figura \end_layout \begin_layout Description -Cuadro: La leyenda sobre los cuadros +Cuadro: La leyenda sobre el cuadro \end_layout \begin_layout Standard Desafortunadamente, las clases estándar de LaTeX no soportan leyendas sobre - un cuadro. + el cuadro. Esto implica que si usas las clases de documento \family sans article @@ -27301,7 +27312,11 @@ letter report \family default no habrá espacio entre la leyenda y el cuadro. - Para insertar el espacio adecuado, carga el paquete LaTeX + Para insertar el espacio adecuado, +\lang english +load +\lang spanish + el paquete LaTeX \series bold caption \series default @@ -27392,7 +27407,7 @@ report (KOMA-Script) \series bold caption \series default - puedes poner + puedes poner la opción \end_layout \begin_layout Standard @@ -27402,12 +27417,14 @@ captions=tableheading \end_layout \begin_layout Standard -en las opciones de clase del documento. +de la clase de documento. \begin_inset Foot status open \begin_layout Plain Layout -Esta opción se usa en este documento. + +\lang english +That option is used in this document. \end_layout \end_inset @@ -27416,36 +27433,46 @@ Esta opción se usa en este documento. \end_layout \begin_layout Standard -En documentos de clases Koma-Script también puedes hacer clic derecho sobre - una leyenda y marcar en el menú contextual si la quieres encima o debajo - del cuadro o la figura. - De esta forma puedes sobrescribir para ciertas leyendas su colocación predeterm -inada por el documento. - El cuadro + +\lang english +In documents with a KOMA-Script document class you can also right-click + on a caption and mark in the context menu if this should be a caption above + or below the table/figure. + This way you can override the document-wide caption placement for certain + captions. + Table +\lang spanish + \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "tab:Una-leyenda-marcada" +reference "tab:A-caption-marked" \end_inset - es un ejemplo en el que la leyenda se marca para situar bajo el cuadro - aunque esté encima. - Se puede comparar con la leyenda sin marcar del cuadro + +\lang english + is an example where the caption is marked a being below the table while + it is above. + For comparison the caption in Table +\lang spanish + \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "tab:Leyenda-estándar" +reference "tab:A-standard-table" \end_inset -. + +\lang english + is not marked. \end_layout \begin_layout Standard @@ -27460,11 +27487,13 @@ status open \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "tab:Una-leyenda-marcada" +name "tab:A-caption-marked" \end_inset -Leyenda marcada para colocar bajo el cuadro. + +\lang english +A caption marked as being below the table. \end_layout \end_inset @@ -27603,11 +27632,13 @@ status open \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "tab:Leyenda-estándar" +name "tab:A-standard-table" \end_inset -Leyenda de cuadro estándar. + +\lang english +A standard table caption. \end_layout \end_inset @@ -29209,7 +29240,7 @@ Igual que en el índice general se listan las secciones del documento, hay Insertar\SpecialChar \menuseparator Índice \family default -s. +. \end_layout \begin_layout Standard @@ -34228,7 +34259,11 @@ Marco interior \family sans Marco de línea \family default - y no pongas ancho explícito. + y +\lang english +use no explicit +\lang spanish + ancho. \end_layout \begin_layout Standard @@ -39243,7 +39278,7 @@ programa Este tipo se describe en el capítulo \begin_inset CommandInset ref LatexCommand ref -reference "cap:Listado-de-código" +reference "cap:Listado-de-programa" \end_inset @@ -39344,26 +39379,26 @@ Incorporar \end_layout \begin_layout Chapter -Listado de código +Listado de programa \begin_inset CommandInset label LatexCommand label -name "cap:Listado-de-código" +name "cap:Listado-de-programa" \end_inset \begin_inset Index idx -status open +status collapsed \begin_layout Plain Layout -Listado de código +Listado de programa \end_layout \end_inset \begin_inset Index idx -status open +status collapsed \begin_layout Plain Layout Código de programa @@ -39373,10 +39408,10 @@ Código de programa \begin_inset Index idx -status open +status collapsed \begin_layout Plain Layout -Flotantes ! Listado de código +Flotantes ! Listado de programa \end_layout \end_inset @@ -39397,7 +39432,7 @@ de \begin_inset space ~ \end_inset -código. +programa. \family default El paquete LaTeX @@ -39522,44 +39557,50 @@ h \family sans Flotante \family default - en ese caso puesto que los listados de código no flotantes también pueden + en ese caso puesto que los listados de programa no flotantes también pueden tener leyendas y ser referenciadas. \end_layout \begin_layout Standard -Se puede añadir una leyenda a un listado de código con el menú +Se puede añadir una leyenda a un listado de programa con el menú \family sans Insertar\SpecialChar \menuseparator Leyenda \family default . - Los listados de código se pueden referenciar como los flotantes: Listado + Los listados de programa se pueden referenciar como los flotantes: Listado \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "lst:Ejemplo-de-listado-de-código" +reference "lst:Ejemplo-de-listado-de-programa" \end_inset - Con el menú + +\lang english +A list of listings which contains all listings with captions can be created + via the menu \family sans +\lang spanish Insertar\SpecialChar \menuseparator -Índices\SpecialChar \menuseparator -Listados + +\lang english +List \begin_inset space ~ \end_inset -de +/ \begin_inset space ~ \end_inset -código +TOC\SpecialChar \menuseparator +List of Listings \family default - se crea un índice de todos los listados de código con leyenda insertados. - Las entradas del índice son la leyenda y el número de cada listado de código. +. + The list entries are the listing caption and the listing number. \end_layout \begin_layout Standard @@ -39575,11 +39616,11 @@ status open \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "lst:Ejemplo-de-listado-de-código" +name "lst:Ejemplo-de-listado-de-programa" \end_inset -Ejemplo de listado de código flotante +Ejemplo de listado de programa flotante \end_layout \end_inset @@ -39609,7 +39650,7 @@ def func(param): \begin_layout Standard Una vez que has escogido un lenguaje de programación en el cuadro de diálogo - de listado de código, las palabras clave de ese lenguaje serán reconocidas + de listado de programa, las palabras clave de ese lenguaje serán reconocidas y tipografiadas de manera especial en la salida. En el ejemplo, la clave de Python «def» es reconocida y se imprimirá en negrita. @@ -39797,7 +39838,7 @@ listings \end_layout \begin_layout Standard -También es posible imprimir como listado de código líneas de un archivo. +También es posible imprimir como listado de programa líneas de un archivo. Para hacer esto, usa el menú \family sans Insertar\SpecialChar \menuseparator @@ -39810,7 +39851,7 @@ hijo \family default y elige el tipo \family sans -Listado de código +Listado de programa \family default . \begin_inset Foot @@ -40005,15 +40046,7 @@ Los parámetros globales para listados de programa se pueden establecer en \family sans Documento\SpecialChar \menuseparator Configuración\SpecialChar \menuseparator -Listado -\begin_inset space ~ -\end_inset - -de -\begin_inset space ~ -\end_inset - -código. +Listados. \family default Para ver ahí una lista de las opciones disponibles, escribe una interrogación diff --git a/lib/doc/es/UserGuide.lyx b/lib/doc/es/UserGuide.lyx index 5e6e022b44..48dd78ecd8 100644 --- a/lib/doc/es/UserGuide.lyx +++ b/lib/doc/es/UserGuide.lyx @@ -1058,38 +1058,43 @@ arg "dialog-show findreplace" \begin_layout Standard Los tres primeros son evidentes. - También se puede transferir texto entre LyX y otros programas con + +\lang english +You can also copy text between LyX and other programs by \family sans -Cortar +Cut \family default , \family sans -Copiar +Copy \family default - y + and \family sans -Pegar +Paste \family default . \family sans -Cortar +Cut \family default - y + and \family sans -Copiar +Copy \family default - guardan el texto en el portapapeles en dos versiones (con y sin formato), - de modo que en otros programas puedes elegir el más adecuado. + put text in two versions into the clipboard (formatted and unformatted), + so that other programs can choose the most suitable form. \family sans -Pegar +Paste \family default - también permite texto con o sin formato y además gráficos; intenta interpretar - el contenido del portapapeles de forma inteligente. - Por ejemplo, si el portapapeles contiene texto con formato de valores separados - por comas (CSV) y el cursor está dentro de un cuadro o tabla, al pegar - el texto se distribuirá en celdas.El submenú + supports formatted and unformatted text as well, and additionally graphics. + It tries to interpret the clipboard contents in an intelligent way. + For example if the clipboard contains text in the format of comma separated + values (CSV) and the cursor is inside a table, the text will be pasted + into individual cells. + +\lang spanish +El submenú \family sans Pegar \begin_inset space ~ @@ -1098,88 +1103,135 @@ Pegar reciente \family default muestra una lista con los últimos términos copiados. - Al hacer clic en una entrada de la lista se insertará en la posición actual - del cursor. + +\lang english + You can insert one at the current cursor position by clicking on a list + entry. \end_layout \begin_layout Standard -El submenú + +\lang english +The submenu \family sans +\lang spanish Pegado \begin_inset space ~ \end_inset especial \family default - contiene opciones de formatos específicos en función del contenido del - portapapeles: HTML, LaTeX, Linkback +\lang english + contains optional items for specific formats, depending on the clipboard + contents. + These include HTML, LaTeX, Linkback \begin_inset space ~ \end_inset PDF \begin_inset Foot -status open +status collapsed \begin_layout Plain Layout -OS X sólo + +\lang english +OS X only \end_layout \end_inset -, PDF, PNG, JPEG y EMF. - Estas opciones son útiles si en el portapapeles hay el mismo contenido - en formatos diferentes y quieres seleccionar un formato concreto. - (Por ejemplo, algunos programas ponen una imagen en el portapapeles como - gráfico y como un corto texto que a veces no tiene sentido). - La opción de menú +, PDF, PNG, JPEG and EMF. + These menu items are useful if the clipboard contains the same contents + in different formats, and you want to select one format explicitly. + (E. +\begin_inset space \thinspace{} +\end_inset + +g. +\begin_inset space \space{} +\end_inset + +some programs put an image into the clipboard as graphics and as a short + text which is often meaningless.) The menu item \family sans +\lang spanish Pegado \begin_inset space ~ \end_inset especial\SpecialChar \menuseparator -Texto simple, líneas juntas + +\lang english +Plain +\begin_inset space ~ +\end_inset + +Text, +\begin_inset space \thinspace{} +\end_inset + +Join +\begin_inset space ~ +\end_inset + +Lines \family default -es equivalente a + is equivalent to \family sans +\lang spanish Pegar \family default -, con la diferencia de que sólo actúa sobre texto. - Insertará el texto del portapapeles como un solo párrafo. - Sólo se inicia un nuevo párrafo cuando en el texto hay una línea vacía. - Sin -\family sans -líneas juntas -\family default - el texto se inserta de modo que cada salto de línea inicia un párrafo nuevo. - Esto es útil, por ejemplo, para copiar contenido de cuadros o tablas de - páginas web en un cuadro en LyX. - Las opciones -\family sans -Pegado -\begin_inset space ~ -\end_inset - -especial\SpecialChar \menuseparator -Selección, líneas juntas -\family default \lang english - -\lang spanish -y +, with the only difference that it acts on text only. + It will insert the text in the clipboard so that the whole text is inserted + as one paragraph. + A new paragraph is only started when there is a blank line in the text. + Without \family sans +Join +\begin_inset space ~ +\end_inset + +Lines +\family default + the text is inserted as paragraphs where the line breaks of the text will + start a new paragraph. + This is for example useful to copy contents of tables from webpages to + a table in LyX. + The items +\family sans +\lang spanish Pegado \begin_inset space ~ \end_inset especial\SpecialChar \menuseparator -Selección -\family default - pega desde la selección primaria. - Normalmente esto es el texto actualmente seleccionado. +\lang english +Selection, +\begin_inset space \thinspace{} +\end_inset + +Join +\begin_inset space ~ +\end_inset + +Lines +\family default + and \family sans - +\lang spanish +Pegado +\begin_inset space ~ +\end_inset + +especial\SpecialChar \menuseparator + +\lang english +Selection +\family default + paste from the primary selection. + This is normally the currently selected text. \end_layout \begin_layout Standard @@ -1552,15 +1604,7 @@ Navegar El menú \family sans Ver\SpecialChar \menuseparator -Panel -\begin_inset space ~ -\end_inset - -del -\begin_inset space ~ -\end_inset - -esquema +Navegador de contorno \family default o el botón de herramientas \begin_inset Info @@ -1609,30 +1653,11 @@ F5 \end_layout \begin_layout Subsection -El -\family sans -Panel -\begin_inset space ~ -\end_inset - -del -\begin_inset space ~ -\end_inset - -esquema -\family default - -\begin_inset CommandInset label -LatexCommand label -name "sub:Panel-del-esquema" - -\end_inset - - +El navegador de contorno \end_layout \begin_layout Standard -El panel del esquema es el equivalente actual del llamado +El navegador de contorno es el equivalente actual del llamado \begin_inset Quotes fld \end_inset @@ -1642,10 +1667,10 @@ El panel del esquema es el equivalente actual del llamado en versiones anteriores de LyX, puesto que su propósito original era mostrar el índice del contenido del documento. - Sin embargo, el actual panel del esquema es mucho más versátil. - En el cuadro desplegable de la parte superior de la ventana del panel se - puede elegir entre varias listas e índices diferentes de una variedad de - objetos, tales como índices de cuadros y figuras, listas de varios tipos + Sin embargo, el actual Navegador de contorno es mucho más versátil. + En el cuadro desplegable de la parte superior de la ventana de contorno + se puede elegir entre varias listas e índices diferentes de una variedad + de objetos, tales como índices de cuadros y figuras, listas de varios tipos de notas, etiquetas y referencias (véase la sección \begin_inset CommandInset ref LatexCommand ref @@ -1688,7 +1713,7 @@ Filtro \begin_inset Quotes frd \end_inset - permite restringir las entradas que deben aparecer en el Esquema. + permite restringir las entradas que deben aparecer en el Navegador. Por ejemplo, si está abierta la lista de Etiquetas y referencias y quieres ver solamente las referencias a subsecciones, introduce el texto \begin_inset Quotes fld @@ -1703,7 +1728,7 @@ sub: \end_layout \begin_layout Standard -En la parte inferior del panel hay varios botones y similares que permiten +En la parte inferior del Contorno hay varios botones y similares que permiten controlar otros aspectos. La opción \family sans @@ -1853,7 +1878,7 @@ Mayúsculas+Tab \end_layout \begin_layout Section -Finalización automática de entradas / palabras +Finalización de entradas / palabras \begin_inset CommandInset label LatexCommand label name "sec:Finalización-de-entradas/palabras" @@ -1920,9 +1945,7 @@ Indicador en el cursor \family default . Con las opciones generales puedes definir el tiempo de retardo para la - visualización en línea y para el recuadro emergente, establecer el número - mínimo de caracteres que una palabra debe tener para ser tenida en cuenta - para la terminación automática + visualización en línea y para el recuadro emergente, \lang english set the minimal number of characters a word must have that it will be taken into account for a completion @@ -4921,22 +4944,22 @@ Numeración \end_layout \begin_layout Subsubsection -Encabezados con Título corto +Encabezados con Título breve \begin_inset Index idx -status open +status collapsed \begin_layout Plain Layout -Encabezados de sección ! Títulos cortos +Encabezados de sección ! Títulos breves \end_layout \end_inset \begin_inset Argument 1 -status open +status collapsed \begin_layout Plain Layout -Títulos cortos +Títulos breves \end_layout \end_inset @@ -4944,7 +4967,7 @@ Títulos cortos \begin_inset CommandInset label LatexCommand label -name "sec:Títulos-cortos" +name "sec:Títulos-breves" \end_inset @@ -4961,31 +4984,44 @@ Algunos títulos de capítulo o sección, como el presente, pueden resultar \end_layout \begin_layout Standard -LaTeX permite especificar un título abreviado para encabezados de sección. +LaTeX permite especificar un título breve para encabezados de sección. Este se usa en el encabezado de página y en el índice general actual, evitando el problema mencionado. - Para poner un título más corto, pon el cursor tras el título y usa el menú - + Para poner un título breve +\lang english +, set the cursor behind the title +\lang spanish +y usa el menú \family sans Insertar\SpecialChar \menuseparator Título \begin_inset space ~ \end_inset -corto +breve \family default . Así se inserta un cuadro etiquetado \begin_inset Quotes fld \end_inset -Título corto + +\lang english +Short +\begin_inset space ~ +\end_inset + +Title +\lang spanish + \begin_inset Quotes frd \end_inset que te permite introducir el texto del título. - Esto también funciona para encabezados en flotantes. - Sólo puede haber un título corto por encabezado. + Esto también trabaja para encabezados en flotantes. + +\lang english +There can only be one short title per title. \end_layout \begin_layout Standard @@ -7960,12 +7996,16 @@ reference "sec:Bibliografía" \end_layout \begin_layout Subsection -Entornos especiales + +\lang english +Special environments \end_layout \begin_layout Standard -LyX proporciona dos entornos que pueden usarse para emular el comportamiento - de una consola o terminal de un ordenador y una máquina de escribir. + +\lang english +LyX provides two environments that can be used to emulate the behavior of + a computer console/terminal and a typewriter. \end_layout \begin_layout Subsubsection @@ -7997,7 +8037,7 @@ El entorno Código-LyX \family default es una extensión de LyX. - Escribe el texto en estilo ancho fijo. + Escribe el texto en estilo máquina de escribir. Trata la tecla \family sans Espacio @@ -8030,13 +8070,16 @@ protegido \family sans -Código-LyX +\lang english +LyX-Code \family default - y + and \family sans -Literal +Verbatim \family default - son los únicos entornos en que puedes insertar más de un espacio. + are the only environments +\lang spanish + en que puedes teclear múltiples espacios. Si necesitas insertar líneas en blanco debes usar \family sans Ctrl+Entrar @@ -8115,7 +8158,7 @@ Espacio \end_layout \begin_layout Itemize -No puedes poner comillas dobles tipo ancho fijo con la tecla +No puedes poner comillas dobles tipo máquina de escribir con la tecla \family sans " \family default @@ -8196,10 +8239,10 @@ Entornos de párrafo|) \end_inset - Para partes más largas de código, inserta un recuadro Listado de código, + Para partes más largas de código, usa el recuadro Listado de programa, que se describe en el capítulo \emph on -Listado de código +Listado de programa \emph default del manual \emph on @@ -8209,15 +8252,14 @@ Objetos insertados \end_layout \begin_layout Subsubsection -Literal +Verbatim \begin_inset Index idx -status open +status collapsed \begin_layout Plain Layout -\family sans -\series bold -Literal +\lang english +Verbatim \end_layout \end_inset @@ -8226,72 +8268,83 @@ Literal \end_layout \begin_layout Standard -El entorno + +\lang english +The \family sans -Literal +Verbatim \family default - es similar al entorno + environment is similar to the \family sans -Código-LyX +LyX-Code \family default - excepto en que su contenido se tratará como texto de una consola de ordenador. - Por lo tanto, + environment with the difference that its content will be treated like a + computer console text. + \family sans -Literal +Verbatim \family default - implica no tener párrafos y que + does therefore not have paragraphs so that \family sans -Entrar +Return \family default - rompa las líneas. - Comparado con + breaks lines. + Compared to \family sans -Código-LyX +LyX-Code \family default -, la tecla + the \family sans -Espacio +Space \family default - se trata como un espacio normal en texto (no como espacio protegido) y - se pueden tener líneas vacías. - Al contrario que + key is treated like a normal space in text (not as a protected space) and + you can have empty lines. + In contrary to \family sans -Código-LyX +LyX-Code, \family default -, + \family sans -Literal +Verbatim \family default - no puede + cannot \end_layout \begin_layout Itemize -tener un idioma determinado ni estilo de texto + +\lang english +have a certain language and a text style \end_layout \begin_layout Itemize -contener hiperenlaces, marcos, notas, ecuaciones, citas, referencias, entradas - de índice o de nomenclatura, etiquetas, cuadros, gráficos, listados de - código, flotantes y código TeX. + +\lang english +contain hyperlinks, boxes, foot- and margin notes, notes, math, citations, + index- and nomenclature entries, labels, tables, graphics, listings, floats + and TeX-Code \end_layout \begin_layout Standard -Debido a estas características + +\lang english +Because of these properties \family sans -Literal +Verbatim \family default - trabaja como una máquina de escribir. - Aquí un ejemplo: + works like a typewriter. + Here is an example: \end_layout \begin_layout Verbatim -Esto es entorno literal. + +This is verbatim. \end_layout \begin_layout Verbatim \noindent \align block -Las dos líneas siguientes están vacías: + +The following 2 lines are empty: \end_layout \begin_layout Verbatim @@ -8303,7 +8356,8 @@ Las dos líneas siguientes están vacías: \end_layout \begin_layout Verbatim -Casi todo está permitido en entorno literal:"%&$§#~'` + +Almost everything is allowed in verbatim:"%&$§#~'` \backslash }][{| \end_layout @@ -10364,7 +10418,11 @@ Enumeración* \end_layout \begin_layout Subsection -Anidaciones separadas + +\lang english +Separate Nestings +\lang spanish + \begin_inset Index idx status open @@ -10373,7 +10431,8 @@ Anidación \noun on ! \noun default -Separación +\lang english +Separation \end_layout \end_inset @@ -10381,7 +10440,7 @@ Separación \begin_inset CommandInset label LatexCommand label -name "sub:Anidación-separada" +name "sub:Separate-Anidación" \end_inset @@ -10389,22 +10448,31 @@ name "sub:Anidación-separada" \end_layout \begin_layout Standard -A veces es necesario tener dos entornos consecutivos del mismo tipo. - Por ejemplo, dos enumeraciones distintas: + +\lang english +It is sometimes necessary to have two consecutive environments of the same + type. + For example you need two different enumerations: \end_layout \begin_layout Enumerate -Hola + +\lang english +Hello \end_layout \begin_deeper \begin_layout Enumerate -esto es una + +\lang english +this is an \end_layout \begin_deeper \begin_layout Enumerate -enumeración (lista numerada) + +\lang english +enumeration \end_layout \begin_layout --Separator-- @@ -10412,7 +10480,9 @@ enumeración (lista numerada) \end_layout \begin_layout Itemize -enumeración* (lista sin numerar) + +\lang english +itemize list \end_layout \end_deeper @@ -10422,46 +10492,57 @@ enumeración* (lista sin numerar) \end_layout \begin_layout Enumerate -Hola + +\lang english +Hi \end_layout \begin_layout Enumerate -esto es otra + +\lang english +this is another \end_layout \begin_layout Enumerate -enumeración + +\lang english +enumeration \end_layout \begin_layout Standard -Para indicar a LyX que hay dos listas y no una, pon el cursor al final del - último ítem y usa el menú + +\lang english +To tell LyX that there are two lists an not one, set the cursor at the end + of the last item and use the menu \family sans -Editar\SpecialChar \menuseparator -Iniciar nuevo entorno padre +Edit\SpecialChar \menuseparator +Start New Parent Environment \family default . - Esto añade un separador de entornos y una nueva lista tras él. - El menú + This adds an environment separator and a new list behind it. + If you use instead the menu \family sans -Editar\SpecialChar \menuseparator -Iniciar nuevo entorno +Edit\SpecialChar \menuseparator +Start New Environment \family default - también crea una nueva lista pero en el mismo nivel de anidación. + a new list will also be created, but in the same besting level. \end_layout \begin_layout Standard -Para dividir una lista existente en dos, pon el cursor al final de un ítem, - pulsa la tecla + +\lang english +To split an existing list into two lists, set the cursor at the end of a + list item, press \family sans +\lang spanish Entrar \family default - y selecciona +\lang english + and select \family sans ---Separador-- +--Separator-- \family default - en el cuadro desplegable de entornos en la barra de herramientas principal - de LyX. + in the pull-down box for environments in LyX's main toolbar. \end_layout \begin_layout Section @@ -10677,19 +10758,19 @@ reference "sub:Abreviaturas" \end_layout \begin_layout Subsubsection -Espacio fino +Espacio delgado \begin_inset CommandInset label LatexCommand label -name "sub:Espacio-fino" +name "sub:Espacio-delgado" \end_inset \begin_inset Index idx -status open +status collapsed \begin_layout Plain Layout -Espacios ! Fino +Espacios ! Delgado \end_layout \end_inset @@ -10698,8 +10779,8 @@ Espacios ! Fino \end_layout \begin_layout Standard -Un «espacio fino» es un espacio con la mitad de la longitud normal (y también - es «protegido»). +Un «espacio delgado» es un espacio con la mitad de la longitud normal (y + también es «protegido»). Las convenciones tipográficas en muchos idiomas proponen el uso de espacios menores en los casos en que un espacio normal resultaría demasiado amplio, por ejemplo en las abreviaturas: @@ -10727,7 +10808,7 @@ O entre valores y unidades. \begin_inset space \thinspace{} \end_inset -kg (espacio fino) +kg (espacio delgado) \begin_inset Newline newline \end_inset @@ -10735,7 +10816,7 @@ kg (espacio fino) \end_layout \begin_layout Standard -Los espacios finos se insertan con el menú +Los espacios delgados se insertan con el menú \family sans Insertar\SpecialChar \menuseparator Formato\SpecialChar \menuseparator @@ -10743,7 +10824,7 @@ Espacio \begin_inset space ~ \end_inset -fino +delgado \family default (atajo \family sans @@ -10765,11 +10846,11 @@ Espacio \begin_inset space ~ \end_inset -fino +delgado \begin_inset space ~ \end_inset -negativo Espacio fino negativo +negativo Espacio delgado negativo \begin_inset Formula $\rightarrow$ \end_inset @@ -10813,11 +10894,11 @@ Espacio \begin_inset space ~ \end_inset -ancho +gordo \begin_inset space ~ \end_inset -negativo Espacio ancho negativo +negativo Espacio gordo negativo \begin_inset Formula $\rightarrow$ \end_inset @@ -11072,7 +11153,7 @@ em \begin_inset Text \begin_layout Plain Layout -Fino +Delgado \end_layout \end_inset @@ -11096,7 +11177,7 @@ em \begin_inset Text \begin_layout Plain Layout -Fino negativo +Delgado negativo \end_layout \end_inset @@ -11152,7 +11233,7 @@ mu \begin_inset Text \begin_layout Plain Layout -Ancho negativo +Gordo negativo \end_layout \end_inset @@ -11488,7 +11569,7 @@ Espacios ! fantasma \begin_layout Standard A veces querrás insertar espacios con, exactamente, la longitud de una frase. - P.ej., puedes crear la siguiente pregunta de elección múltiple: + P.e., puedes crear la siguiente pregunta de elección múltiple: \end_layout \begin_layout Standard @@ -12571,8 +12652,11 @@ Tradicionalmente, LaTeX usa sus propias tipografías. Además, el rango de tipografías soportadas por el tradicional LaTeX ha ido aumentando considerablemente y se pueden encontrar paquetes para muchas tipografías libres y comerciales. - LyX soporta las tipografías con licencia libre directamente en la interfaz - de usuario, (véase la sección + LyX +\lang english +supports the fonts that are under a free license +\lang spanish + directamente en la interfaz de usuario, (véase la sección \begin_inset space ~ \end_inset @@ -12693,22 +12777,18 @@ Tipografías se puede especificar la tipografía a usar para cada forma ―romana (serif), \family sans -palo seco (sans +sans \begin_inset space ~ \end_inset -serif) +serif \family default -y + (palo seco) y \family typewriter ancho fijo \family default - -\family typewriter -(typewriter) -\family default ―, el tamaño base de la tipografía y factores de escala para determinadas - tipografías palo seco y ancho fijo por si fuera necesario ajustarlas a + tipografías sans serif y ancho fijo por si fuera necesario ajustarlas a la tipografía romana. \end_layout @@ -12790,7 +12870,7 @@ reference "sub:Soporte-de-tipografías-LaTeX" En ese caso no habrá acceso a las tipografías propias de TeX (la selección que se describe más abajo). Hay que señalar que LyX lista todas las tipografías disponibles en cualquiera - de las tres listas (romana, palo seco y ancho fijo), puesto que LyX no + de las tres listas (romana, sans serif y ancho fijo), puesto que LyX no puede determinar la familia. Además, la salida podría fallar con algunas de las tipografías listadas, debido a la codificación o a fallos de las propias tipografías. @@ -13107,7 +13187,7 @@ Palatino \family default . La mayoría de tipografías romanas vectoriales seleccionarán automáticamente - las correspondientes tipografías palo seco (sans serif) y ancho fijo + las correspondientes tipografías sans serif y ancho fijo \begin_inset Foot status collapsed @@ -13128,7 +13208,7 @@ Roman \family sans Helvetica \family default - para palos seco), o diferentes formas de la misma letra, o sea, una + para sans serif), o diferentes formas de la misma letra, o sea, una \emph on familia \emph default @@ -13172,7 +13252,11 @@ Las diferencias entre las tipografías romana \family default \family sans -palo seco +sans +\begin_inset space ~ +\end_inset + +serif \family default y \family typewriter @@ -13280,7 +13364,7 @@ La selección Familia predeterminada \family default permite especificar si la tipografía base del documento debe ser romana, - palo seco (sans serif) o ancho fijo. + sans serif o ancho fijo. La opción \family sans Predeterminado @@ -13464,15 +13548,20 @@ reference "sub:Tipografías-en-pantalla" \end_layout \begin_layout Subsection -Tipografías para ecuaciones + +\lang english +Math Fonts \end_layout \begin_layout Standard -En LaTeX, la tipografía que se usa para los caracteres en las ecuaciones - es diferente de la del texto normal. - En caso de usar tipografías TeX para el documento, puedes elegir explícitamente - una tipografía para ecuaciones en el diálogo + +\lang english +In LaTeX the font used for characters in equations is different from the + document font. + For the case that you use TeX fonts for your document, you can explicitly + choose a math font in the dialog \family sans +\lang spanish Documento\SpecialChar \menuseparator Configuración \family default @@ -13487,9 +13576,11 @@ Documentos ! Configuración \end_inset . - Por omisión, LyX selecciona una automáticamente. - En la mayoría de los casos será la predeterminada por LaTeX: la variante - para ecuaciones de la familia tipográfica + +\lang english + The default setting is that LyX automatically selects a math font. + For most cases this will be LaTeX's default -- the math variant of LaTeX's + default font family \begin_inset Quotes fld \end_inset @@ -13506,57 +13597,65 @@ Modern \end_inset . - LyX sólo cargará automáticamente otra tipografía para ecuaciones si la - variante matemática de la tipografía del documento no está disponible. + LyX will automatically only load another math font if a math variant of + the document font is available. \end_layout \begin_layout Standard -Hay que tener en cuenta que la tipografía para ecuaciones no se usará si - en la ecuación se escribe en estilo + +\lang english +Note that the math font will not be used for \emph on -texto matemático normal +mathematical text \emph default - (atajo -\family sans -Alt+C Espacio -\family default - o con el comando -\family sans - -\family default + (which is inserted with the shortcut +\begin_inset Info +type "shortcut" +arg "font-default" +\end_inset + + or by the insertion of the command \series bold \backslash text \series default - dentro de la ecuación). - Además, como algunos tipos de letra para matemáticas son palo seco (sans - serif), podría verse extraño que el texto del documento esté en tipo romano - mientras que el de las ecuaciones no. - Por tanto el tipo de letra palo seco en ecuaciones sólo tiene sentido si - se selecciona también -\family sans -Palo + into a formula). + Also note that some math fonts are sans \begin_inset space ~ \end_inset -seco -\family default - como -\family sans -Familia +serif. + Your document might therefore look strange when the document text has serifs + while the math characters do not. + Sans \begin_inset space ~ \end_inset -prederminada +serif math fonts make therefore in most cases only sense if you select +\family sans +Sans +\begin_inset space ~ +\end_inset + +Serif \family default - en la configuración del documento. + for the +\family sans +Default +\begin_inset space ~ +\end_inset + +family +\family default + in the document font settings. \end_layout \begin_layout Standard -Si usas tipografías no TeX, sólo puedes escoger la tipografía para ecuaciones - el tipo de letra TeX predeterminada de la clase de documento (en la mayoría - de los casos + +\lang english +If you use non-TeX fonts for the document, you can only choose for math + to use either the document's class default TeX font (in most cases \begin_inset Quotes fld \end_inset @@ -13572,8 +13671,8 @@ Modern \begin_inset Quotes frd \end_inset -) o usar la variante no TeX de la tipografía predeterminada de la clase - de documento (en la mayoría de los casos +) or to use the non-TeX variant of the document's class default font (in + most cases \begin_inset Quotes fld \end_inset @@ -13794,7 +13893,7 @@ Estilo del texto Siempre hay ocasiones en las que necesitas afinar el estilo del texto, por eso LyX permite crear estilos personalizados. Por ejemplo, una publicación académica o corporativa que tienen una hoja - de estilo que requiere una letra palo seco (sans serif) en ciertas situaciones. + de estilo que requiere una letra sans serif en ciertas situaciones. También, escritores que a veces usan letra diferente para distinguir reflexione s del diálogo ordinario. \end_layout @@ -13880,10 +13979,10 @@ Familia \family sans Romana \family default - Esta es la familia de tipografías romanas. - Normalmente se trata de tipos con remates (serif). + Esta es la familia de tipos romanos. + Normalmente una tipografía serif (con remates). Es la familia predeterminada. - (Combinación + (combinación \family sans Alt+C \begin_inset space ~ @@ -13898,18 +13997,18 @@ R \labelwidthstring 00.00.0000 \family sans -Palo +Sans \begin_inset space ~ \end_inset -seco +Serif \family default - Esta es la familia de tipos sin remates, ( + Esta es la familia de tipografías \family sans Sans Serif \family default -). - (Combinación +, (palo seco). + (combinación \family sans Alt+C \begin_inset space ~ @@ -13924,26 +14023,14 @@ S \labelwidthstring 00.00.0000 \family sans -Ancho -\begin_inset space ~ -\end_inset - -fijo +Ancho fijo \family default -Esta es la familia de tipos de + Esta es la familia de tipografías de \family typewriter -Ancho fijo -\family default -( -\family typewriter -Typewriter -\family sans -) -\family typewriter -. +Ancho fijo. \family default - (Combinación + (combinación \family sans Control+Mayúsculas+P) \end_layout @@ -14908,19 +14995,11 @@ Aceptar \begin_layout Standard Deberías también saber un poco sobre las diferencias entre los tres tipos - principales de tipografías: -\family sans -romana -\family default -( + principales de tipografías \family sans serif \family default -), -\family sans -palo seco -\family default -( +, \family sans sans \begin_inset space ~ @@ -14928,15 +15007,11 @@ sans serif \family default -), y +, y \family sans ancho fijo \family default - ( -\family sans -typewriter -\family default -): +: \end_layout \begin_layout Itemize @@ -15020,7 +15095,7 @@ sin texto en ancho fijo \begin_layout Itemize \family sans -Romana +Serif \family default son tipografías formadas por caracteres con pequeños \begin_inset Quotes fld @@ -15043,20 +15118,20 @@ remates \begin_inset Newline newline \end_inset -texto con tipos romanos, con remates +texto con letras serif, con remates \begin_inset Newline newline \end_inset \family sans -texto con tipos no romanos, sin remates +texto con letras no serif, sin remates \family default \begin_inset Newline newline \end_inset -Los caracteres romanos facilitan una cómoda y ágil lectura. - Por esto se usan como tipografía predeterminada ( +Los caracteres serif facilitan una cómoda y ágil lectura. + Por esto se usan como tipografía predeterminada (conocida por \family sans roman \family default @@ -15066,9 +15141,9 @@ a). \begin_layout Itemize Las tipografías \family sans -Palo seco +Sans serif \family default - (Sans serif) no tienen apéndices. + (palo seco) no tienen apéndices. Por eso este tipo de letra se suele usar para encabezados y textos cortos. En este documento la usamos para resaltar nombres de menú. \end_layout @@ -15371,7 +15446,6 @@ Este tipo de archivo tiene extensión El archivo LaTeX se crea automáticamente en el directorio temporal de LyX siempre que veas (menú \family sans -Documento\SpecialChar \menuseparator Ver \family default ) o exportes el documento. @@ -15880,11 +15954,13 @@ reference "sub:Soporte-de-tipografías-LaTeX" \end_layout \begin_layout Description + +\lang english PDF \begin_inset space ~ \end_inset -(recortado) Es como +(cropped) This is the same as \family sans PDF \begin_inset space ~ @@ -15892,10 +15968,9 @@ PDF (pdflatex) \family default - pero el resultado es un PDF con márgenes de página recortados. - Esto es útil, por ejemplo, para generar ecuaciones con su magnífico aspecto - en LyX y usarlas después en otros programas como pueden ser los de presentacion -es. + but the result is a PDF with cropped page margins. + This is for example useful if you want to use LyX to generate good-looking + formulas to use them in other programs like for presentations. \end_layout \begin_layout Description @@ -16099,10 +16174,9 @@ Documentos ! Vista preliminar Para echar un vistazo a tu documento, o ver su versión final con sus saltos de página, notas bien numeradas, y demás, usa el menú \family sans -Documento\SpecialChar \menuseparator -Ver +Documento \family default - y elige el tipo de archivo o usa el botón + y elige el tipo de archivo o el botón \emph on \begin_inset Info @@ -16921,12 +16995,12 @@ Espacio \begin_inset space ~ \end_inset -fino +delgado \family default entre los caracteres abreviados (véase sección \begin_inset CommandInset ref LatexCommand ref -reference "sub:Espacio-fino" +reference "sub:Espacio-delgado" \end_inset @@ -16935,7 +17009,7 @@ reference "sub:Espacio-fino" status collapsed \begin_layout Plain Layout -Espacios ! Fino +Espacios ! Delgado \end_layout \end_inset @@ -17763,7 +17837,7 @@ Espacio \begin_inset space ~ \end_inset -fino +delgado \family default (atajo \family sans @@ -17885,7 +17959,11 @@ Sin duda, LyX puede impedir los saltos de página detrás de un encabezado deja una línea de un párrafo aislada al principio o al final de una página? LaTeX incorpora reglas que gobiernan los saltos de página, y algunas de ellas están pensadas precisamente para evitar las líneas viudas o huérfanas. - Si aparecen de todas formas y no te gustan, para evitarlo añade los comandos + +\lang english +If they appear nevertheless and you don't like them, you can add the commands +\lang spanish + \begin_inset Newline newline \end_inset @@ -17905,7 +17983,11 @@ clubpenalty=10000 \begin_inset Newline newline \end_inset -en el preámbulo LaTeX del documento. + +\lang english +to the LaTeX preamble of your document to avoid them +\lang spanish +. Algunos libros sobre LaTeX [como \begin_inset space ~ \end_inset @@ -17928,8 +18010,9 @@ key "latexguide" \end_inset -] tienen más información sobre detalles técnicos del mecanismo de los saltos - de línea en LaTeX. +] tienen más información sobre +\lang english +the technical details of LaTeX's page break mechanism. \end_layout \begin_layout Chapter @@ -27235,10 +27318,10 @@ Indi@Índice general \begin_inset Index idx -status open +status collapsed \begin_layout Plain Layout -Panel del esquema +Navegador de contorno \end_layout \end_inset @@ -27268,38 +27351,26 @@ name "sub:Indice-general" El índice general (IG) se inserta con el menú \family sans Insertar\SpecialChar \menuseparator -Índices\SpecialChar \menuseparator -General +Índice\SpecialChar \menuseparator +Índice +\begin_inset space ~ +\end_inset + +general \family default . En LyX se muestra un cuadro gris. Si pulsas en él, aparece en una ventana lateral el \family sans -Panel -\begin_inset space ~ -\end_inset - -del -\begin_inset space ~ -\end_inset - -esquema +Navegador de contorno \family default con las entradas del IG. - Puedes ir a cualquier parte del documento pulsando su entrada y también - puedes reorganizar las secciones. + Puedes ir a cualquier parte del documento pulsando su entrada y reorganizar + las secciones. Esta operación es una alternativa al menú \family sans Ver\SpecialChar \menuseparator -Panel -\begin_inset space ~ -\end_inset - -del -\begin_inset space ~ -\end_inset - -esquema +Navegador de contorno \family default , como se describe en la sección \begin_inset space ~ @@ -27308,7 +27379,7 @@ esquema \begin_inset CommandInset ref LatexCommand ref -reference "sub:Panel-del-esquema" +reference "sec:Navegación" \end_inset @@ -27364,7 +27435,7 @@ Los índices de cuadros, figuras, listados de código y algoritmos son muy Insertar\SpecialChar \menuseparator Índice \family default -s. +. Las entradas del índice son el número del flotante correspondiente y su leyenda. \end_layout @@ -27517,7 +27588,7 @@ En la salida PDF los enlaces se partirán con un guión si es necesario, y se puede hacer clic sobre ellos en las salidas DVI y PDF. Para cambiar el formato del texto selecciona el enlace insertado y usa el diálogo de estilo del texto. - Este es un ejemplo de hiperenlace con texto en palo seco negrita: + Este es un ejemplo de hiperenlace con texto en sans serif negrita: \family sans \series bold @@ -27950,7 +28021,7 @@ http://wiki.lyx.org/BibTeX/Programs Para usar una base de datos está el menú \family sans Insertar\SpecialChar \menuseparator -Índices\SpecialChar \menuseparator +Índice\SpecialChar \menuseparator Bibliografía \begin_inset space ~ \end_inset @@ -28262,7 +28333,7 @@ name "sec:Indice-alfabético" \end_layout \begin_layout Standard -Para crear una entrada en el índice alfabético usa el menú +Para crear una entrada en el índice usa el menú \family sans Insertar\SpecialChar \menuseparator Entrada @@ -28292,8 +28363,12 @@ arg "index-insert" El índice alfabético se inserta en el documento con el menú \family sans Insertar\SpecialChar \menuseparator -Índices\SpecialChar \menuseparator -Alfabético +Índice\SpecialChar \menuseparator +Índice +\begin_inset space ~ +\end_inset + +alfabético \family default . En LyX se muestra un cuadro azul claro con la etiqueta @@ -29257,7 +29332,7 @@ Una vez aplicados los cambios, encontrarás el nuevo índice definido en una nueva entrada en el menú \family sans Insertar\SpecialChar \menuseparator -Índices +Índice \family default y el menú \family sans @@ -29541,11 +29616,11 @@ textsf \series default pone el texto en estilo \family sans -palo +sans \begin_inset space ~ \end_inset -seco +serif \family default . Para estilo @@ -29898,7 +29973,7 @@ Nomenclatura ! Impresión Para imprimir la nomenclatura usa el menú \family sans Insertar\SpecialChar \menuseparator -Índices\SpecialChar \menuseparator +Índice\SpecialChar \menuseparator Nomenclatura \family default . @@ -32486,15 +32561,7 @@ Por otra parte, puedes ver el código LaTeX de todo el documento o de partes Con el menú \family sans Ver\SpecialChar \menuseparator -Panel -\begin_inset space ~ -\end_inset - -de -\begin_inset space ~ -\end_inset - -código +Ver \begin_inset space ~ \end_inset @@ -34780,7 +34847,7 @@ DraftDVI formato DVI nativo de LaTeX. \begin_layout Description DVI formato DVI que permite el uso de caracteres especiales o espacios en - rutas y nombres de archivo. + rutas y nombres de archivo \end_layout \begin_layout Description @@ -34824,15 +34891,17 @@ Nota: \end_layout \begin_layout Description + +\lang english EPS \begin_inset space ~ \end_inset -(recortado) igual que +(cropped) the same as \family sans PostScript \family default - pero con márgenes de página recortados. + but with cropped page margins. \end_layout \begin_layout Description @@ -34846,12 +34915,12 @@ Dot \family default , usado para dibujar gráficos mediante el programa \family typewriter -Graphviz. +Graphviz \end_layout \begin_layout Description HTML formato HTML (el convertidor HTML es un programa externo que no siempre - funciona). + funciona) \end_layout \begin_layout Description @@ -34871,6 +34940,8 @@ MS Word formato \family sans MathML +\family default +. \end_layout \begin_layout Description @@ -34902,7 +34973,7 @@ status collapsed eX) archivo de texto con el código LaTeX compilable con el programa \family typewriter -LuaTeX. +LuaTeX \end_layout \begin_layout Description @@ -34930,7 +35001,7 @@ eX \family typewriter pdflatex \family default - (GIF, JPG, PDF, PNG). + (GIF, JPG, PDF, PNG) \end_layout \begin_layout Description @@ -34956,7 +35027,7 @@ eX archivo de texto en código LaTeX, y todas las imágenes del documento se convierten al formato EPS, único legible por el programa \family typewriter -latex. +latex \end_layout \begin_layout Description @@ -34988,7 +35059,7 @@ status collapsed eX) archivo de texto con el código LaTeX compilable con el programa \family typewriter -XeTeX. +XeTeX \end_layout \begin_layout Description @@ -35014,7 +35085,7 @@ status collapsed TeX) archivo de texto con el código LaTeX y además código en la sintaxis del software de notación musical \family typewriter - LilyPond. + LilyPond \end_layout \begin_layout Description @@ -35039,7 +35110,7 @@ Archivo (zip|tar.gz) crea un contenedor de archivos zip o tar.gz (dependiendo del sistema) con el documento y todos los archivos necesarios para compilarlo - (imágenes, documentos hijo, archivos BibTeX, etc.). + (imágenes, documentos hijo, archivos BibTeX, etc.) \end_layout \begin_layout Description @@ -35063,7 +35134,7 @@ yX \end_inset z.y.x documento LyX en formato legible para las versiones correspondientes - de LyX («z.y.» es el número de versión). + de LyX («z.y.» es el número de versión) \end_layout \begin_layout Description @@ -35082,7 +35153,7 @@ status collapsed \family default -yXHTML formato HTML, usando un ingenio XHTML interno de LyX. +yXHTML formato HTML, usando un ingenio XHTML interno de LyX \end_layout \begin_layout Description @@ -35103,11 +35174,13 @@ LibreOffice, OpenOffice, KOffice, Abiword \end_layout \begin_layout Description + +\lang english PDF \begin_inset space ~ \end_inset -(cropped) igual que +(cropped) the same as \family sans PDF \begin_inset space ~ @@ -35115,7 +35188,7 @@ PDF (pdflatex) \family default - pero con márgenes de página recortados + but with cropped page margins. \end_layout \begin_layout Description @@ -35131,7 +35204,7 @@ PDF \family typewriter dvipdfm \family default -, produce internamente un archivo DVI que es convertido después a PDF. +, produce internamente un archivo DVI que es convertido después a PDF \end_layout \begin_layout Description @@ -35158,7 +35231,7 @@ eX) formato PDF usando el programa \family typewriter LuaTeX \family default -, produce directamente archivos PDF. +, produce directamente archivos PDF \end_layout \begin_layout Description @@ -35174,7 +35247,7 @@ PDF \family typewriter pdflatex \family default -, produce directamente archivos PDF. +, produce directamente archivos PDF \end_layout \begin_layout Description @@ -35191,7 +35264,7 @@ PDF ps2pdf \family default , produce internamente un archivo PostScript que es convertido después a - PDF. + PDF \end_layout \begin_layout Description @@ -35218,7 +35291,7 @@ eX) formato PDF usando el programa \family typewriter XeTeX \family default -, produce directamente archivos PDF. +, produce directamente archivos PDF \end_layout \begin_layout Description @@ -35230,7 +35303,7 @@ Texto simple \family default - formato de texto. + formato de texto \end_layout \begin_layout Description @@ -35249,7 +35322,7 @@ simple formato de texto, el documento se convierte a Postscript y luego se exporta a texto con el programa \family sans -ps2ascii. +ps2ascii \end_layout \begin_layout Description @@ -35259,7 +35332,7 @@ Postscript \family default formato PostScript usando el programa \family typewriter -dvips. +dvips \end_layout \begin_layout Description @@ -35281,7 +35354,7 @@ Sweave \family typewriter R \family default - en LaTeX. + en LaTeX \end_layout \begin_layout Standard @@ -35663,24 +35736,33 @@ reference "sub:Profundidad-de-numeración" \end_layout \begin_layout Subsection -Iniciar nuevo entorno/Iniciar nuevo entorno padre + +\family sans +\lang english +Start New Environment/Start New Parent Environment \end_layout \begin_layout Standard -Estos menús sólo están visibles si es posible tener dos entornos consecutivos - del mismo tipo. - Véase la sección + +\lang english +These menus are only visible if it is possible to have two consecutive environme +nts of the same type. + See section +\lang spanish + \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "sub:Anidación-separada" +reference "sub:Separate-Anidación" \end_inset - para la descripción. + +\lang english +for an explanation. \end_layout \begin_layout Section @@ -35728,19 +35810,25 @@ Ecuaciones. \end_layout \begin_layout Subsection -Panel del esquema +Navegador de contorno \end_layout \begin_layout Standard -Abre una ventana lateral para navegar por los índices; se describe en la - sección +Abre una ventana lateral para navegar por los índices descrita en las secciónes \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "sub:Panel-del-esquema" +reference "sec:Navegación" + +\end_inset + + y +\begin_inset CommandInset ref +LatexCommand ref +reference "sub:Indice-general" \end_inset @@ -35748,7 +35836,7 @@ reference "sub:Panel-del-esquema" \end_layout \begin_layout Subsection -Panel de código fuente +Ver fuente \end_layout \begin_layout Standard @@ -35768,14 +35856,14 @@ reference "sec:Vista-preliminar-inmediata" \end_layout \begin_layout Subsection -Panel de mensajes +Ver mensajes \end_layout \begin_layout Standard Abre una ventana en la que se muestran mensajes de consola. Esto es útil para operaciones de depuración (es decir, caza de errores) en LyX o para ver lo que sucede en segundo plano mientras LaTeX procesa - el documento. + el documento, \end_layout \begin_layout Subsection @@ -36067,7 +36155,7 @@ Comillas \begin_inset space ~ \end_inset -rectas Inserta estas comillas: ", independientemente del tipo de comillas +dobles Inserta estas comillas: ", independientemente del tipo de comillas que hayas seleccionado en el diálogo \family sans Documento\SpecialChar \menuseparator @@ -36086,8 +36174,11 @@ Comillas \begin_inset space ~ \end_inset -simples Inserta una comilla en el estilo que hayas seleccionado en el diálogo - +simples Inserta esta comilla: +\begin_inset Quotes frs +\end_inset + +, con el tipo de comillas que hayas seleccionado en el diálogo \family sans Documento\SpecialChar \menuseparator Configuración @@ -36123,16 +36214,18 @@ frágil Inserta una barra oblicua donde también se puede producir un salto \end_layout \begin_layout Description -Espacio + +\lang english +Visible \begin_inset space ~ \end_inset -visible Inserta un carácter representando un espacio normal (el que se obtiene - al pulsar la tecla +Space Inserts a character representing a single space (the one you get when + pressing the \family sans -Espacio +Space \family default -): + key): \begin_inset space \textvisiblespace{} \end_inset @@ -36291,14 +36384,14 @@ Espacio \begin_inset space ~ \end_inset -fino Inserta un espacio fino, descrito en la sección +delgado Inserta un espacio delgado, descrito en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "sub:Espacio-fino" +reference "sub:Espacio-delgado" \end_inset @@ -36560,7 +36653,7 @@ reference "sub:Salto-de-página-limpia" \end_layout \begin_layout Subsection -Índices +Índice \end_layout \begin_layout Standard @@ -37046,20 +37139,24 @@ reference "sec:Notas-al-margen" \end_layout \begin_layout Subsection -Título corto +Título breve \end_layout \begin_layout Standard -Sólo es visible si el cursor está en un encabezado de sección o en un título - o leyenda de un flotante. - Inserta un título corto; véase la sección + +\lang english +Is only visible if the cursor is in front, in or behind a section heading, + title or caption of a float. + +\lang spanish + Inserta un título breve, véase la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "sec:Títulos-cortos" +reference "sec:Títulos-breves" \end_inset @@ -37086,12 +37183,12 @@ reference "sub:Cuadros-TeX" \end_layout \begin_layout Subsection -Listado de código +Listado de programa \begin_inset Index idx -status open +status collapsed \begin_layout Plain Layout -Listado de código +Listado de programa \end_layout \end_inset @@ -37103,7 +37200,7 @@ Listado de código Inserta un cuadro para escribir código de programa. Se describe en el capítulo \emph on -Listado de código +Listado de programa \emph default del manual \emph on @@ -37284,7 +37381,10 @@ Búsqueda directa Esta función permite ir directamente, en el documento de salida, a la parte correspondiente del documento en LyX; véase la sección \emph on -El servidor LyX\SpecialChar \menuseparator +\lang english +The LyX Server +\lang spanish +\SpecialChar \menuseparator Búsqueda directa \emph default en el manual @@ -39025,10 +39125,18 @@ arg "dialog-toggle toc" \begin_inset Text \begin_layout Plain Layout -Muestra/oculta el panel del esquema del documento, +Muestra/oculta la ventana del navegador, \family sans Ver\SpecialChar \menuseparator -Panel del esquema +Navegador +\begin_inset space ~ +\end_inset + +de +\begin_inset space ~ +\end_inset + +contorno \end_layout \end_inset @@ -39853,7 +39961,7 @@ arg "math-macro newmacroname newcommand" \family sans Insertar\SpecialChar \menuseparator -Ecuación\SpecialChar \menuseparator +Ecuaciones\SpecialChar \menuseparator Macro \end_layout @@ -40419,23 +40527,31 @@ Usar predeterminados de clase \begin_layout Standard Los submenús del diálogo se explican a continuación. - Hay tantas opciones de configuración que encontrar la que se está buscando - puede llevar su tiempo. - Para encontrar rápidamente una determinada configuración puedes usar el - campo de búsqueda que hay sobre los submenús del diálogo. - Si escribes ahí -\begin_inset Quotes fld + +\lang english +There are so many document settings available that it might take a while + to find the one you are looking for. + To find a setting quicker, you can use the search field which is above + the submenus of the dialog. + If you search e. +\begin_inset space \thinspace{} \end_inset -página -\begin_inset Quotes frd +g. +\begin_inset space \space{} \end_inset -, por ej., verás cómo algunos submenús se difuminan y deshabilitan, mientras - que sólo quedan activos los submenús que afectan a la configuración de - páginas. - En dichos submenús se mostrarán en rojo las opciones relacionadas con el - término buscado. +for +\begin_inset Quotes eld +\end_inset + +page +\begin_inset Quotes erd +\end_inset + +, you will see that some submenus will be grayed-out and disabled. + Only the submenus with page settings stay enabled. + The found page settings are labeled red in these submenus. \end_layout \begin_layout Section @@ -40691,12 +40807,14 @@ También el espacio entre líneas y el número de columnas, pero ten en cuenta \end_layout \begin_layout Standard -Con la opción + +\lang english +With the option \family sans -Usar justificación en el área de trabajo de LyX +Use justification in LyX work area \family default - puedes decidir justificar el texto en pantalla. - Esto no afecta al texto en el documento de salida. + you can decide if LyX justifies the text on screen. + This only affects the text inside LyX not in the output. \end_layout \begin_layout Section @@ -42167,22 +42285,29 @@ es necesario para numerosas estructuras; si recibes mensajes de error en \end_layout \begin_layout Description -amssymb es necesario para ciertos símbolos matemáticos como letras griegas - verticales o en negrita, de modo que que si aparecen errores LaTeX en ecuacione -s, hay que activar esta opción. + +\lang english +amssymb is needed for some special math symbols like bold or upright Greek + letters, so when you get LaTeX-errors in formulas, ensure that you have + this enabled. \end_layout \begin_layout Description -cancel se usa para expresiones matemáticas canceladas; véase la sección - + +\lang english +cancel is used for canceled formulas, see section \emph on -Ecuaciones canceladas +Canceled +\begin_inset space ~ +\end_inset + +Formulas \emph default -en el manual + of the \emph on -Ecuaciones +Math \emph default -. + manual. \end_layout \begin_layout Description @@ -42206,7 +42331,9 @@ Ecuaciones. \end_layout \begin_layout Description -mathtools se usa para los comandos + +\lang english +mathtools is used for the math commands \series bold \backslash @@ -42242,10 +42369,11 @@ splitfrac \backslash shortintertext \series default - y flechas etiquetadas; véanse las secciones correspondientes en el manual - + and labeled arrows, see the corresponding sections in the \emph on -Ecuaciones. +Math +\emph default + manual. \end_layout \begin_layout Description @@ -42259,39 +42387,49 @@ Ecuaciones. \end_layout \begin_layout Description -stackrel se usa para el comando + +\lang english +stackrel is used for the math command \series bold \backslash stackrel \series default -, véase la sección +, see section \emph on -Relaciones +Relations \emph default - en el manual +of the \emph on -Ecuaciones. +Math +\emph default + manual. \end_layout \begin_layout Description -stmaryrd se usa para algunos símbolos matemáticos especiales. + +\lang english +stmaryrd is used for a few special math symbols. \end_layout \begin_layout Description -undertilde se usa para el comando + +\lang english +undertilde is used for the math command \series bold \backslash utilde \series default -; véase la sección +, see section \emph on -Acentos para un carácter +Accents for one Character \emph default - en el manual +of the \emph on -Ecuaciones. +Math +\emph default + manual. \end_layout \begin_layout Section @@ -42311,13 +42449,13 @@ Objetos insertados \end_layout \begin_layout Section -Listado de código +Listado de programa \end_layout \begin_layout Standard La configuración de listados se explica en el capítulo \emph on -Listado de código +Listado de programa \emph default del manual \emph on @@ -42946,7 +43084,9 @@ target "http://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png" \end_layout \begin_layout Subsubsection -Ayuda contextual + +\lang english +Context help \end_layout \begin_layout Standard @@ -42959,7 +43099,9 @@ Habilitar los recuadros emergentes en el área de trabajo principal \end_layout \begin_layout Subsubsection -Menús + +\lang english +Menus \end_layout \begin_layout Standard @@ -42978,11 +43120,15 @@ reciente. \end_layout \begin_layout Subsection -Gestión de documentos + +\lang english +Document Handling \end_layout \begin_layout Subsubsection -Gestión de sesión + +\lang english +Session handling \end_layout \begin_layout Standard @@ -43022,7 +43168,11 @@ Limpiar la información de todas las sesiones \end_layout \begin_layout Subsubsection -Copias de seguridad y guardar + +\lang english +Backup & saving +\lang spanish + \begin_inset CommandInset label LatexCommand label name "sub:Copias-de-seguridad" @@ -43097,7 +43247,9 @@ Guardar los documentos comprimidos por omisión \end_layout \begin_layout Subsubsection -Ventanas y áreas de trabago + +\lang english +Windows & work area \end_layout \begin_layout Standard @@ -43176,20 +43328,22 @@ Nota: \end_layout \begin_layout Standard -En la opción + +\lang english +With the setting \family sans -Cerrar última vista +Closing last view \family default - puedes escoger si cerrar u ocultar un documento cuando su pestaña o vista - se cierra. - Los documentos ocultos son accesibles mediante el menú + you one can decide if a document is closed or hidden when its tab or view + is closed. + Hidden documents are accessible via the menu \family sans -Ver\SpecialChar \menuseparator -Oculto +View\SpecialChar \menuseparator +Hidden \family default . - No cerrar los documentos puede ser útil si abres archivos paralelos en - varias ventanas de LyX y sólo quieres ocultar la vista en una ventana. + Not to close documents can be useful if you open files parallel in several + instances of LyX and only want to close the view in once instance. \end_layout \begin_layout Subsection @@ -43259,11 +43413,11 @@ Arial \family typewriter Helvetica \family default - (depende del sistema) como tipografía palo seco (sans serif), y + (depende del sistema) como tipografía sans serif, y \family typewriter Courier \family default - como tipo ancho fijo(typewriter). + como tipo máquina de escribir. \end_layout \begin_layout Standard @@ -44569,20 +44723,17 @@ predeterminado Define el símbolo por omisión para separar decimales en cuadros \end_layout \begin_layout Description -Unidad + +\lang english +Default \begin_inset space ~ \end_inset -de +length \begin_inset space ~ \end_inset -longitud -\begin_inset space ~ -\end_inset - -predeterminada Define la unidad que se usa por omisión para las longitudes - en los diálogos de LyX. +unit Defines the unit that is used as default for lengths in LyX's dialogs. \end_layout \begin_layout Description @@ -45494,15 +45645,7 @@ Copiadores \begin_layout Standard Aquí está la lista de los formatos de archivo que LyX puede manejar. - Puedes modificar los programas -\family sans -Visor -\family default - y -\family sans -Editor -\family default - para determinados formatos. + Puedes modificar los programas visor y editor para determinados formatos. \end_layout \begin_layout Standard diff --git a/lib/doc/fr/EmbeddedObjects.lyx b/lib/doc/fr/EmbeddedObjects.lyx index d5c69a6f3e..728592477b 100644 --- a/lib/doc/fr/EmbeddedObjects.lyx +++ b/lib/doc/fr/EmbeddedObjects.lyx @@ -298,8 +298,7 @@ n/Navigation, 31/10/2012, JPChrétien \end_layout \begin_layout Plain Layout -version initiale 2.1.x avril 2014, mise à jour J.P. - Chrétien +version 2.0.x novembre 2011 \end_layout \end_inset @@ -314,7 +313,7 @@ version initiale 2.1.x avril 2014, mise à jour J.P. \family sans -Version 2.1.x +Version 2.0.x \end_layout \begin_layout Standard @@ -717,7 +716,7 @@ zgrep %%Bounding x.eps.gz > x.eps.bb La seconde commande va créer le fichier contenant la description de la boîte de délimitation -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -725,7 +724,7 @@ La seconde commande va créer le fichier contenant la description de la boîte x.eps.bb \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset qui est indispensable pour que LaTeX puisse traiter un fichier compressé. @@ -899,7 +898,7 @@ Flottant\SpecialChar \menuseparator Figure \family default insèrent un flottant avec l'étiquette -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -911,7 +910,7 @@ Figure #: \series default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset (# est le numéro réel de l'image). @@ -1103,11 +1102,11 @@ arg "dialog-show-new-inset ref" de la barre d'outils. Il est important d'utiliser des références pour les flottants de figures plutôt que des locutions vagues du genre -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset la figure ci-dessous -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , puisque LaTeX va repositionner la figure dans le document final. @@ -1280,11 +1279,11 @@ name "fig:Deux-images-déformées" Deux images déformées. Les deux images font partie du groupe de paramétrisation -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset déformés -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset . @@ -1394,24 +1393,24 @@ bitmap) l'image est décomposée en une mosaïque de points (ou pixels), souvent Elles ne sont pas facilement redimensionnables et on voit apparaître des petits carrés quand on utilise des agrandissements trop importants (aspect -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset pixellisé -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ). Les formats matriciels les plus connus sont le GIF ( -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Graphics Interchange Format -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset -, avec comme suffixe de fichier -\begin_inset Quotes fld +, avec comme extension de fichier +\begin_inset Quotes eld \end_inset @@ -1419,7 +1418,7 @@ Graphics Interchange Format .gif \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ) @@ -1455,15 +1454,11 @@ status collapsed \end_inset , le PNG ( -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset -Portable Network Graphics -\begin_inset Quotes frd -\end_inset - -, suffixe -\begin_inset Quotes fld +Portable Network Graphics, extension +\begin_inset Quotes eld \end_inset @@ -1471,7 +1466,7 @@ Portable Network Graphics .png \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ) @@ -1507,15 +1502,11 @@ status collapsed \end_inset et le JPG ( -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset -Joint Photographic Expert Group -\begin_inset Quotes frd -\end_inset - -, suffixe -\begin_inset Quotes fld +Joint Photographic Expert Group, extension +\begin_inset Quotes eld \end_inset @@ -1523,11 +1514,11 @@ Joint Photographic Expert Group .jpg \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ou -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -1535,7 +1526,7 @@ Joint Photographic Expert Group .jpeg \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ) @@ -1603,15 +1594,15 @@ nnement. \end_inset Les principaux formats vectoriels sont le SVG ( -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Scalable Vector Graphics -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset -, suffixe -\begin_inset Quotes fld +, extension +\begin_inset Quotes eld \end_inset @@ -1619,7 +1610,7 @@ Scalable Vector Graphics .svg \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ) @@ -1655,15 +1646,15 @@ status collapsed \end_inset , l'EPS ( -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset encapsulated PostScript -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset -, suffixe -\begin_inset Quotes fld +, extension +\begin_inset Quotes eld \end_inset @@ -1671,7 +1662,7 @@ encapsulated PostScript .eps \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ) @@ -1707,15 +1698,15 @@ status collapsed \end_inset , le PDF ( -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Portable Document Format -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset -, suffixe -\begin_inset Quotes fld +, extension +\begin_inset Quotes eld \end_inset @@ -1723,7 +1714,7 @@ Portable Document Format .pdf \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ) @@ -1759,15 +1750,15 @@ status collapsed \end_inset et le WMF ( -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Windows Metafile -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset -, suffixe -\begin_inset Quotes fld +, extension +\begin_inset Quotes eld \end_inset @@ -1775,11 +1766,11 @@ Windows Metafile .wfm \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ou -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -1787,7 +1778,7 @@ Windows Metafile .emf \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ) @@ -1911,7 +1902,7 @@ Tableau \begin_inset Newline newline \end_inset -Le tableau a implicitement une bordure au dessus et à gauche de chaque case, +Le tableau a implicitementune bordure au dessus et à gauche de chaque case, une à droite de la colonne la plus à droite et une en bas de la rangée du bas, qui forment une boîte autour du tableau. En plus, la rangée supérieure a aussi une bordure en bas, ce qui fait qu'elle @@ -2106,23 +2097,27 @@ Tableau ! Fenêtre de dialogue \end_layout \begin_layout Standard -Vous pouvez modifier un tableau en cliquant dedans avec la touche droite - de la souris, qui ouvre le menu contextuel. - A l'aide du choix de menu -\family sans -Plus... +\lang english +You can alter a table by clicking on it with the right mouse button, which + brings up the context menu. + Under the menu entry +\family sans +More \family default +\lang french vous pouvez modifier les réglages concernant la cellule, la colonne et la ligne dans laquelle le curseur se trouve. - Le menu contextuel + +\lang english +The context menu \family sans -Plus...\SpecialChar \menuseparator -Paramètres... - +More\SpecialChar \menuseparator +Settings \family default - ouvre la fenêtre de dialogue de tableau dans laquelle d'autres réglages - sont possibles. + opens the table dialog where you can adjust more things +\lang french +. La plupart des options peuvent s'appliquer à des sélections. Ce qui signifie que si vous avez sélectionné plus d'une cellule, plus d'une ligne ou plus d'une colonne, l'action demandée prendra en compte toute @@ -2216,7 +2211,7 @@ reference "sub:Lignes-multiple-dans-cellule" \end_inset Vous pouvez aussi marquer une ou plusieurs cellules d'une ligne comme étant - un multi-colonnes, voir la section + un multicolonne, voir la section \begin_inset space ~ \end_inset @@ -2227,7 +2222,7 @@ reference "sub:Multicolonnes" \end_inset - ou une cellule d'une colonne comme cellule multi-lignes, voir la section + ou une cellule d'une colonne comme cellule multiligne, voir la section \begin_inset space ~ \end_inset @@ -2561,7 +2556,7 @@ Tableau long Cet onglet est utilisé pour transformer un tableau en ce que l'on nomme un -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -2569,7 +2564,7 @@ long Cet onglet est utilisé pour transformer un tableau en ce que l'on nomme tableau long \emph default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset qui peut continuer sur plusieurs pages. @@ -2678,7 +2673,9 @@ type "icon" arg "inset-modify tabular move-row-up" \end_inset - déplace la ligne vers le haut + +\lang english + moves the row up \end_layout \begin_layout Labeling @@ -2688,7 +2685,9 @@ type "icon" arg "inset-modify tabular move-column-left" \end_inset - déplace la colonne vers la gauche + +\lang english + moves the column to the left \end_layout \begin_layout Labeling @@ -2698,7 +2697,9 @@ type "icon" arg "inset-modify tabular move-row-down" \end_inset - déplace la ligne vers le bas + +\lang english + moves the row down \end_layout \begin_layout Labeling @@ -2708,7 +2709,9 @@ type "icon" arg "inset-modify tabular move-column-right" \end_inset - déplace la colonne vers la droite + +\lang english + moves the column to the right \end_layout \begin_layout Labeling @@ -2894,7 +2897,7 @@ type "icon" arg "inset-modify tabular multicolumn" \end_inset - transforme en multi-colonnes la cellule ou la sélection courante + transforme en multi-colonne la cellule ou la sélection courante \end_layout \begin_layout Labeling @@ -2904,7 +2907,7 @@ type "icon" arg "inset-modify tabular multirow" \end_inset - transforme en multi-lignes la cellule ou la sélection courante + transforme en multi-ligne la cellule ou la sélection courante \end_layout \begin_layout Standard @@ -2948,7 +2951,7 @@ Tableau \family default vous permet d'ajouter ou de supprimer les lignes de bordure de la colonne ou de la ligne courante et aussi de transformer la sélection courante en - multi-colonnes. + multi-colonne. Ce menu n'est accessible que si le curseur se trouve dans un tableau. \end_layout @@ -3161,7 +3164,7 @@ arg "float-insert table" \begin_layout Standard Le flottant apparaît à l'écran comme une boîte repliable avec une légende qui a comme étiquette -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Tableau @@ -3169,7 +3172,7 @@ Tableau \end_inset #: -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset (où # est le numéro du tableau). @@ -3481,7 +3484,7 @@ reference "sub:Tableaux-longs-légende" \end_layout \begin_layout Standard -Vous pouvez aussi préciser une ligne où le tableau devra être coupé. +Vous pouvez aussi préciser une ligne où la table devra être coupée. Voyez le tableau long qui suit pour voir comment ça marche : \end_layout @@ -7839,12 +7842,18 @@ Tableaux longs ! Legendes@Légendes différentes par page \begin_layout Standard Quand la légende du tableau pour les pages suivantes doit être différente - de celle de la première page, marquer une ligne vide en tant qu'en-tête - contenant une légende, puis effectuer un clic droit sur la légende et cocher - dans le menu contextuel + de celle de la première page, +\lang english +mark a empty row as header which contains a caption. + Then right-click on the caption and select in the context menu \family sans - Légende (TableauLongSansNuméro) +Caption +\begin_inset space ~ +\end_inset + +(LongTableNoNumber) \family default +\lang french . Le tableau \begin_inset space ~ @@ -9857,7 +9866,7 @@ Implicitement les tableaux ne peuvent être coupés qu'entre deux lignes. Si vous avez une cellule avec plusieurs lignes et que vous voulez avoir un saut de page à l'intérieur de cette cellule, insérez la commande LaTeX de saut de ligne -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -9865,12 +9874,12 @@ Implicitement les tableaux ne peuvent être coupés qu'entre deux lignes. \backslash -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset en code TeX à l'endroit de la cellule où vous voulez qu'elle soit coupée. Avant la commande -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -9878,33 +9887,33 @@ Implicitement les tableaux ne peuvent être coupés qu'entre deux lignes. \backslash -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , vous devez insérer en code TeX, autant de caractères -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset & -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset qu'il y a de colonnes après la cellule concernée. Le caractère -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset & -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset sert à séparer les colonnes d'un tableau. Écrivez en code-TeX, après chaque -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset & -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset le contenu des cellules correspondantes et en même temps supprimez le contenu @@ -9918,11 +9927,11 @@ Après la commande \backslash , insérez autant de caractères -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset & -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset qu'il y a de colonnes avant la colonne traitée. @@ -9941,7 +9950,7 @@ reference "tab:Tableau-saut-de-page" suivie par une autre colonne. La commande suivante a donc été insérée en code TeX dans la cellule après le mot -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -9949,7 +9958,7 @@ reference "tab:Tableau-saut-de-page" Castelchiodato, \emph default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset : @@ -9973,11 +9982,11 @@ newpage \begin_layout Standard Le -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset 111 -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset dans la troisième colonne de la ligne a été supprimé. @@ -11839,8 +11848,8 @@ Multi-colonnes \begin_layout Standard Les multi-colonnes ont leurs propres paramètres de cellule. Ce qui veut dire que si on change les bordures, l'alignement ou la largeur - de la cellule, cela n'affecte que la cellule multi-colonnes. - Voici un exemple de tableau avec une cellule multi-colonnes dans la première + de la cellule, cela n'affecte que la cellule multi-colonne. + Voici un exemple de tableau avec une cellule multi-colonne dans la première ligne et une cellule sans bordure supérieure dans la dernière ligne : \end_layout @@ -11997,7 +12006,7 @@ Multi-colonnes ! Calculs \begin_layout Standard LyX gère directement les multi-colonnes, mais nous devons faire attention - à la largeur des cellules couvertes par la cellule multi-colonnes. + à la largeur des cellules couvertes par la cellule multi-colonne. \end_layout \begin_layout Standard @@ -12017,13 +12026,13 @@ name "tab:Tableau-multicolonne-parfaite" \end_inset -Tableau avec un texte centré dans une case multi-colonnes au-dessus de deux - colonnes qui ont exactement la moitié de la largeur de la case multi-colonnes. +Tableau avec un texte centré dans une case multi-colonne au-dessus de deux + colonnes qui ont exactement la moitié de la largeur de la case multicolonne. \begin_inset Argument 1 status open \begin_layout Plain Layout -Tableau avec multi-colonnes parfaite +Tableau avec multicolonne parfaite \end_layout \end_inset @@ -12049,7 +12058,7 @@ Tableau avec multi-colonnes parfaite \begin_inset Text \begin_layout Plain Layout -multi-colonnes sur plusieurs lignes +multi-colonne sur plusieurs lignes \end_layout \end_inset @@ -12163,7 +12172,7 @@ reference "tab:Tableau-multicolonne-parfaite" \emph default dans la fenêtre de dialogue de tableau, \emph on -multi-colonnes +multi-colonne \emph default , \emph on @@ -12183,7 +12192,7 @@ centré cm. Les colonnes couvertes doivent avoir exactement la moitié de la largeur - de la cellule multi-colonnes, vous devez donc donner une largeur de 1.25 + de la cellule multi-colonne, vous devez donc donner une largeur de 1.25 \begin_inset space \thinspace{} \end_inset @@ -12192,7 +12201,7 @@ cm pour la première colonne. \begin_inset space \thinspace{} \end_inset -cm (la largeur de la multi-colonnes moins la largeur de la première colonne). +cm (la largeur de la multi-colonne moins la largeur de la première colonne). C'est ce qui a été fait pour le tableau \begin_inset space ~ \end_inset @@ -12224,12 +12233,12 @@ name "tab:Tableau-multicolonne-imparfait" \end_inset Tableau où la largeur de colonnes couvertes n'est pas exactement la moitié - de la largeur de la cellule multi-colonnes. + de la largeur de la cellule multi-colonne. \begin_inset Argument 1 status open \begin_layout Plain Layout -Tableau avec multi-colonnes pas parfaite +Tableau avec multi-colonne pas parfaite \end_layout \end_inset @@ -12255,7 +12264,7 @@ Tableau avec multi-colonnes pas parfaite \begin_inset Text \begin_layout Plain Layout -multi-colonnes sur plusieurs lignes +multi-colonne sur plusieurs lignes \end_layout \end_inset @@ -12351,7 +12360,7 @@ i \begin_layout Standard Vous pouvez voir que la première colonne n'a pas la moitié de la largeur - de la cellule multi-colonnes, elle est un peu plus large. + de la cellule multi-colonne, elle est un peu plus large. La raison est que la taille que l'on donne à une cellule, \begin_inset Formula $W_{g}$ \end_inset @@ -12548,10 +12557,10 @@ La commande \begin_layout Standard Bien que nous ayons choisi un alignement centré pour le texte de la cellule - multi-colonnes, il est toujours aligné à gauche. + multi-colonne, il est toujours aligné à gauche. Cela vient du fait que LyX applique l'alignement seulement à des colonnes isolées. - Nous devons donc utiliser le paramètre LaTeX suivant pour la multi-colonnes + Nous devons donc utiliser le paramètre LaTeX suivant pour la multi-colonne \end_layout \begin_layout Standard @@ -12585,7 +12594,7 @@ Multi-lignes status collapsed \begin_layout Plain Layout -Tableau ! multi-lignes +Tableau ! Multi-ligne \end_layout \end_inset @@ -12616,7 +12625,7 @@ Multi-lignes \end_layout \begin_layout Standard -Voici un exemple de tableau avec une cellule multi-lignes en première colonne: +Voici un exemple de tableau avec une cellule multi-ligne en première colonne: \end_layout \begin_layout Standard @@ -12661,7 +12670,7 @@ c \begin_inset Text \begin_layout Plain Layout -multi-lignes +multi-ligne \end_layout \end_inset @@ -12722,7 +12731,7 @@ i \end_layout \begin_layout Standard -La largeur de la cellule multi-lignes est déterminée par la largeur de toute +La largeur de la cellule multi-ligne est déterminée par la largeur de toute la colonne. L' \family sans @@ -12737,8 +12746,8 @@ vertical \end_layout \begin_layout Standard -Si la colonne dans laquelle se trouve la multi-lignes n'a pas de largeur - fixée explicitement, la cellule hérite de l'alignement de la colonne. +Si la colonne dans laquelle se trouve la multiligne n'a pas de largeur fixée + explicitement, la cellule hérite de l'alignement de la colonne. Sinon, elle est alignée par défaut à gauche.Pour passer outre le comportement implicite, vous devez redéfinir la commande \series bold @@ -12791,7 +12800,7 @@ raggedright \end_layout \begin_layout Standard -Voici un exemple de tableau avec une cellule multi-lignes alignée à droite +Voici un exemple de tableau avec une cellule multi-ligne alignée à droite avec un décalage vertical de -4 \begin_inset space \thinspace{} \end_inset @@ -12896,7 +12905,7 @@ m \begin_inset Text \begin_layout Plain Layout -multi-lignes +multi-ligne \end_layout \end_inset @@ -12974,7 +12983,7 @@ raggedright} \end_layout \begin_layout Standard -Pour commencer une nouvelle ligne dans une cellule multi-lignes vous pouvez +Pour commencer une nouvelle ligne dans une cellule multi-ligne vous pouvez utiliser un saut de ligne forcé ( \begin_inset space ~ \end_inset @@ -13079,18 +13088,20 @@ Vous devez donc faire attention avec les saut de lignes forcés. \end_layout \begin_layout Subsection -Cellules avec ligne(s) diagonale(s) + +\lang english +Cells with diagonal line(s) \end_layout \begin_layout Standard -Pour instruire le lecteur de la signification ds titres de lignes et de - colonnes dans un tableau, il est pratique de partager le première cellule - du tableau à l'aide d'une ou deux lignes diagonales. - Ceci peut être obtenu ne chargeant dans le préambule du document les paquetage - LaTeX -\series bold + \lang english - diagbox +To tell the reader what is meant by column and row headings in a table, + it is helpful to split the first cell of the table by one or two diagonal + lines. + This can be achieved by loading the LaTeX-package +\series bold +diagbox \series default \lang french @@ -13103,16 +13114,20 @@ Paquetages LaTeX ! diagbox \end_inset -. - Ce paquetage inclut la commande -\series bold + \lang english +in the document preamble. + The package provides the command +\series bold \backslash diagbox \series default -\lang french - que l'on peut insérer en mode TeX et qui peut avoir 2 ou 3 arguments: + that is inserted as TeX-Code and that can take 2 or 3 +\begin_inset space ~ +\end_inset + +arguments: \end_layout \begin_layout Standard @@ -13121,9 +13136,7 @@ diagbox \lang english \backslash -diagbox[options] -\lang french -{inférieur gauche}{supérieur droit} +diagbox[options]{lower left}{upper right} \end_layout \begin_layout Standard @@ -13132,15 +13145,19 @@ diagbox[options] \lang english \backslash -diagbox[options] -\lang french -{inférieur gauche}{supérieur gauche}{supérieur droit} +diagbox[options]{lower left}{upper left}{upper right} \end_layout \begin_layout Standard -Dans le premier cas, la cellule est partagée par une seule ligne diagonale - et les arguments sont placés au-dessus et en-dessous de cette ligne. - Dans le second cas, la cellule est partagée par deux lignes. + +\lang english +The first scheme divides the cell by a single diagonal line and the arguments + are placed below and above this line. + The second scheme divides the cell by 2 +\begin_inset space ~ +\end_inset + +lines. \end_layout \begin_layout Standard @@ -13175,22 +13192,15 @@ diagbox \end_layout \begin_layout Standard -Voici un exemple de tableau où -\series bold + \lang english +Here is an example table where +\series bold \backslash -diagbox -\lang french - +diagbox \series default -est utilisé avec 2 arguments -\begin_inset space ~ -\end_inset - -dans la première cellule: -\lang english - +is used in the 2-argument scheme in the first cell: \begin_inset VSpace medskip \end_inset @@ -13213,6 +13223,8 @@ dans la première cellule: \begin_inset Text \begin_layout Plain Layout + +\lang english \begin_inset ERT status collapsed @@ -13225,7 +13237,7 @@ diagbox{ \end_inset -Nom +Name \begin_inset ERT status collapsed @@ -13236,7 +13248,7 @@ status collapsed \end_inset -Paramètre +Parameter \begin_inset ERT status collapsed @@ -13256,7 +13268,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Épaisseur en nm + +\lang english +Thickness in nm \end_layout \end_inset @@ -13265,7 +13279,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Transparence en % + +\lang english +Transparency in % \end_layout \end_inset @@ -13274,7 +13290,9 @@ Transparence en % \begin_inset Text \begin_layout Plain Layout -Dureté en MPa + +\lang english +Hardness in MPa \end_layout \end_inset @@ -13285,7 +13303,9 @@ Dureté en MPa \begin_inset Text \begin_layout Plain Layout -Vert parfait + +\lang english +Perfect Green \end_layout \end_inset @@ -13294,6 +13314,8 @@ Vert parfait \begin_inset Text \begin_layout Plain Layout + +\lang english 45 \end_layout @@ -13303,6 +13325,8 @@ Vert parfait \begin_inset Text \begin_layout Plain Layout + +\lang english 80 \end_layout @@ -13312,6 +13336,8 @@ Vert parfait \begin_inset Text \begin_layout Plain Layout + +\lang english 504 \end_layout @@ -13323,7 +13349,9 @@ Vert parfait \begin_inset Text \begin_layout Plain Layout -Multi-P foncé + +\lang english +Dark Multi-P \end_layout \end_inset @@ -13332,6 +13360,8 @@ Multi-P foncé \begin_inset Text \begin_layout Plain Layout + +\lang english 60 \end_layout @@ -13341,6 +13371,8 @@ Multi-P foncé \begin_inset Text \begin_layout Plain Layout + +\lang english 72 \end_layout @@ -13350,6 +13382,8 @@ Multi-P foncé \begin_inset Text \begin_layout Plain Layout + +\lang english 982 \end_layout @@ -13361,7 +13395,9 @@ Multi-P foncé \begin_inset Text \begin_layout Plain Layout -Pro transparent + +\lang english +Crystal Clear Pro \end_layout \end_inset @@ -13370,6 +13406,8 @@ Pro transparent \begin_inset Text \begin_layout Plain Layout + +\lang english 18 \end_layout @@ -13379,6 +13417,8 @@ Pro transparent \begin_inset Text \begin_layout Plain Layout + +\lang english 86 \end_layout @@ -13388,6 +13428,8 @@ Pro transparent \begin_inset Text \begin_layout Plain Layout + +\lang english 374 \end_layout @@ -13406,13 +13448,17 @@ Pro transparent \end_layout \begin_layout Standard -La forme à 3 arguments est utile par exemple pour les tableaux croisés de - sport ou les distances: + +\lang english +The 3-argument scheme is for example useful for cross-tables of sports leagues + or distances: \end_layout \begin_layout Standard \noindent \align center + +\lang english \begin_inset Tabular @@ -13425,6 +13471,8 @@ La forme à 3 arguments est utile par exemple pour les tableaux croisés de \begin_inset Text \begin_layout Plain Layout + +\lang english \begin_inset ERT status collapsed @@ -13437,7 +13485,7 @@ diagbox{ \end_inset -À domicile +Team home \begin_inset ERT status collapsed @@ -13448,9 +13496,9 @@ status collapsed \end_inset -Résultat +Result \begin_inset ERT -status open +status collapsed \begin_layout Plain Layout @@ -13459,7 +13507,7 @@ status open \end_inset -À l'extérieur +Team away \begin_inset ERT status collapsed @@ -13479,7 +13527,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Tigres + +\lang english +Tigers \end_layout \end_inset @@ -13488,7 +13538,9 @@ Tigres \begin_inset Text \begin_layout Plain Layout -Panthères + +\lang english +Panthers \end_layout \end_inset @@ -13497,7 +13549,9 @@ Panthères \begin_inset Text \begin_layout Plain Layout -Faucons + +\lang english +Falcons \end_layout \end_inset @@ -13508,7 +13562,9 @@ Faucons \begin_inset Text \begin_layout Plain Layout -Tigres + +\lang english +Tigers \end_layout \end_inset @@ -13517,6 +13573,8 @@ Tigres \begin_inset Text \begin_layout Plain Layout + +\lang english --- \end_layout @@ -13526,6 +13584,8 @@ Tigres \begin_inset Text \begin_layout Plain Layout + +\lang english 1:3 \end_layout @@ -13535,6 +13595,8 @@ Tigres \begin_inset Text \begin_layout Plain Layout + +\lang english 0:1 \end_layout @@ -13546,7 +13608,9 @@ Tigres \begin_inset Text \begin_layout Plain Layout -Panthères + +\lang english +Panthers \end_layout \end_inset @@ -13555,6 +13619,8 @@ Panthères \begin_inset Text \begin_layout Plain Layout + +\lang english 3:1 \end_layout @@ -13564,6 +13630,8 @@ Panthères \begin_inset Text \begin_layout Plain Layout + +\lang english --- \end_layout @@ -13573,6 +13641,8 @@ Panthères \begin_inset Text \begin_layout Plain Layout + +\lang english 0:0 \end_layout @@ -13584,7 +13654,9 @@ Panthères \begin_inset Text \begin_layout Plain Layout -Faucons + +\lang english +Falcons \end_layout \end_inset @@ -13593,6 +13665,8 @@ Faucons \begin_inset Text \begin_layout Plain Layout + +\lang english 1:0 \end_layout @@ -13602,6 +13676,8 @@ Faucons \begin_inset Text \begin_layout Plain Layout + +\lang english 0:0 \end_layout @@ -13611,6 +13687,8 @@ Faucons \begin_inset Text \begin_layout Plain Layout + +\lang english --- \end_layout @@ -13625,13 +13703,17 @@ Faucons \end_layout \begin_layout Standard -Pour des tableaux croisés plus grands on peut utiliser des diagonales dans - 2 coins ou plus du tableau comme ici: + +\lang english +For larger cross-tables one might use split cells in 2 or every corner of + the table like in this example: \end_layout \begin_layout Standard \noindent \align center + +\lang english \begin_inset Tabular @@ -13645,6 +13727,8 @@ Pour des tableaux croisés plus grands on peut utiliser des diagonales dans \begin_inset Text \begin_layout Plain Layout + +\lang english \begin_inset ERT status open @@ -13657,7 +13741,7 @@ diagbox{ \end_inset -À domicile}{Résultat +Team home \begin_inset ERT status collapsed @@ -13668,9 +13752,20 @@ status collapsed \end_inset -À l'extérieur +Result \begin_inset ERT -status open +status collapsed + +\begin_layout Plain Layout + +}{ +\end_layout + +\end_inset + +Team away +\begin_inset ERT +status collapsed \begin_layout Plain Layout @@ -13688,7 +13783,9 @@ status open \begin_inset Text \begin_layout Plain Layout -Tigres + +\lang english +Tigers \end_layout \end_inset @@ -13697,7 +13794,9 @@ Tigres \begin_inset Text \begin_layout Plain Layout -Panthères + +\lang english +Panthers \end_layout \end_inset @@ -13706,7 +13805,9 @@ Panthères \begin_inset Text \begin_layout Plain Layout -Faucons + +\lang english +Falcons \end_layout \end_inset @@ -13715,6 +13816,8 @@ Faucons \begin_inset Text \begin_layout Plain Layout + +\lang english \begin_inset ERT status open @@ -13727,7 +13830,7 @@ diagbox[dir=NE]{ \end_inset -À domicile +Team home \begin_inset ERT status collapsed @@ -13738,7 +13841,7 @@ status collapsed \end_inset -Résultat +Result \begin_inset ERT status collapsed @@ -13749,7 +13852,7 @@ status collapsed \end_inset -À l'extérieur +Team away \begin_inset ERT status collapsed @@ -13771,7 +13874,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Tigres + +\lang english +Tigers \end_layout \end_inset @@ -13780,6 +13885,8 @@ Tigres \begin_inset Text \begin_layout Plain Layout + +\lang english --- \end_layout @@ -13789,6 +13896,8 @@ Tigres \begin_inset Text \begin_layout Plain Layout + +\lang english 1:3 \end_layout @@ -13798,6 +13907,8 @@ Tigres \begin_inset Text \begin_layout Plain Layout + +\lang english 0:1 \end_layout @@ -13807,7 +13918,9 @@ Tigres \begin_inset Text \begin_layout Plain Layout -Tigres + +\lang english +Tigers \end_layout \end_inset @@ -13818,7 +13931,9 @@ Tigres \begin_inset Text \begin_layout Plain Layout -Panthères + +\lang english +Panthers \end_layout \end_inset @@ -13827,6 +13942,8 @@ Panthères \begin_inset Text \begin_layout Plain Layout + +\lang english 3:1 \end_layout @@ -13836,6 +13953,8 @@ Panthères \begin_inset Text \begin_layout Plain Layout + +\lang english --- \end_layout @@ -13845,6 +13964,8 @@ Panthères \begin_inset Text \begin_layout Plain Layout + +\lang english 0:0 \end_layout @@ -13854,7 +13975,9 @@ Panthères \begin_inset Text \begin_layout Plain Layout -Panthères + +\lang english +Panthers \end_layout \end_inset @@ -13865,7 +13988,9 @@ Panthères \begin_inset Text \begin_layout Plain Layout -Faucons + +\lang english +Falcons \end_layout \end_inset @@ -13874,6 +13999,8 @@ Faucons \begin_inset Text \begin_layout Plain Layout + +\lang english 1:0 \end_layout @@ -13883,6 +14010,8 @@ Faucons \begin_inset Text \begin_layout Plain Layout + +\lang english 0:0 \end_layout @@ -13892,6 +14021,8 @@ Faucons \begin_inset Text \begin_layout Plain Layout + +\lang english --- \end_layout @@ -13901,7 +14032,9 @@ Faucons \begin_inset Text \begin_layout Plain Layout -Faucons + +\lang english +Falcons \end_layout \end_inset @@ -13912,6 +14045,8 @@ Faucons \begin_inset Text \begin_layout Plain Layout + +\lang english \begin_inset ERT status open @@ -13924,7 +14059,7 @@ diagbox[dir=SW]{ \end_inset -À domicile +Team home \begin_inset ERT status collapsed @@ -13935,7 +14070,7 @@ status collapsed \end_inset -Résultat +Result \begin_inset ERT status collapsed @@ -13946,9 +14081,9 @@ status collapsed \end_inset -À l'extérieur +Team away \begin_inset ERT -status open +status collapsed \begin_layout Plain Layout @@ -13966,7 +14101,9 @@ status open \begin_inset Text \begin_layout Plain Layout -Tigres + +\lang english +Tigers \end_layout \end_inset @@ -13975,7 +14112,9 @@ Tigres \begin_inset Text \begin_layout Plain Layout -Panthères + +\lang english +Panthers \end_layout \end_inset @@ -13984,7 +14123,9 @@ Panthères \begin_inset Text \begin_layout Plain Layout -Faucons + +\lang english +Falcons \end_layout \end_inset @@ -13993,6 +14134,8 @@ Faucons \begin_inset Text \begin_layout Plain Layout + +\lang english \begin_inset ERT status open @@ -14005,7 +14148,7 @@ diagbox[dir=SE]{ \end_inset -À domicile +Team home \begin_inset ERT status collapsed @@ -14016,9 +14159,9 @@ status collapsed \end_inset -Résultat +Result \begin_inset ERT -status open +status collapsed \begin_layout Plain Layout @@ -14027,7 +14170,7 @@ status open \end_inset -À l'extérieur +Team away \begin_inset ERT status collapsed @@ -14052,38 +14195,40 @@ status collapsed \end_layout \begin_layout Standard -Pour faire pivoter les diagonales, il faut utiliser l'option de commande - + +\lang english +To rotate the diagonal lines, the command option \series bold dir=direction \series default -: + is used. + \emph on direction \emph default - est à choisir parmi + is either \series bold NE \series default , \series bold -SE +DE \series default , \series bold SW \series default - et + or \series bold NW \series default - comme sur une rose des vents. + and represent a point of a compass. \series bold SW \series default - est par exemple le coin sud-ouest, c'est à-dire le coin inférieur gauche - du tableau ci-dessus, désigné via la commande: + is for example the south-west corner. + Thus in the lower left cell of the above table the command \end_layout \begin_layout Standard @@ -14092,44 +14237,29 @@ SW \lang english \backslash -diagbox[dir=SW]{ -\series default -\lang french -À domicile -\series bold -\lang english -}{ -\series default -\lang french -Résultat -\series bold -\lang english -}{ -\series default -\lang french -À l'extérieur -\series bold -\lang english -} -\series default -\lang french -. - +diagbox[dir=SW]{Team home}{Result}{Team away} \end_layout \begin_layout Standard -Si aucune direction n'est spécifiée, elle est implicitement NW. + +\lang english +is used. + If no direction is given, it will be NW. \end_layout \begin_layout Standard -La largeur nécessaire pour le partage des cellules est calculée automatiquement. - De ce fait, si vous fixez une largeur de colonne plus petite que nécessaire, - le contenu de la cellule va déborder: + +\lang english +The necessary width of split cells is automatically calculated. + Thus if you set a fixed column width smaller than the calculated one, the + cell's content will protrude the cell borders: \end_layout \begin_layout Standard \noindent \align center + +\lang english \begin_inset Tabular @@ -14140,6 +14270,8 @@ La largeur nécessaire pour le partage des cellules est calculée automatiquemen \begin_inset Text \begin_layout Plain Layout + +\lang english \begin_inset ERT status collapsed @@ -14152,7 +14284,7 @@ diagbox{ \end_inset -Nom +Name \begin_inset ERT status collapsed @@ -14163,7 +14295,7 @@ status collapsed \end_inset -Paramètre +Parameter \begin_inset ERT status collapsed @@ -14183,7 +14315,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Épaisseur en nm + +\lang english +Thickness in nm \end_layout \end_inset @@ -14194,7 +14328,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Vert parfait + +\lang english +Perfect Green \end_layout \end_inset @@ -14203,6 +14339,8 @@ Vert parfait \begin_inset Text \begin_layout Plain Layout + +\lang english 45 \end_layout @@ -14217,33 +14355,26 @@ Vert parfait \end_layout \begin_layout Standard -Si vous avez besoin d'une certaine largeur pour des colonnes incluant une - cellule partagée, utilisez l'option de commande -\series bold + \lang english +If you need a certain width for columns with a split cell, use the command + option +\series bold width=3cm \series default -\lang french - (remplacez -\begin_inset Quotes fld + (replace '3cm' by the width you need). + In the following table the width of the first column is set to 4 +\begin_inset space \thinspace{} \end_inset -3cm -\begin_inset Quotes frd -\end_inset - -par la largeur désirée). - Dans le tableau qui suit, la largeur de la première colonne est réglée - à 4cm. - Pour +cm. + For \series bold -\lang english \backslash diagbox \series default -\lang french - une largeur de 4 + a width of 4 \begin_inset space \thinspace{} \end_inset @@ -14253,21 +14384,20 @@ cm + 2 \backslash -tabcolsep est nécessaire puisque la largeur globale est celle du texte (dans - ce cas, les 4cm) plus deux lignes de séparation entre le texte et le bord - de la cellule. - Le calcul de la largeur ne peut pas être fait directement dans l'option - de la commande +tabcolsep is necessary because the overall width is the width for the text + (in this case the 4 +\begin_inset space \thinspace{} +\end_inset + +cm) plus two times the separation of the text and the cell border. + The calculation of the width cannot be done in the command option of \series bold -\lang english \backslash diagbox \series default -\lang french -, il faut donc créer une nouvelle longueur qui pourra être utilisée dans - la suite. - Ceci se fait via les commandes en code TeX: + so one needs to create a new length which can be used later. + This is done with the TeX-Code commands \end_layout \begin_layout Standard @@ -14320,11 +14450,13 @@ tabcolsep} \end_layout \begin_layout Standard -Pour permettre les calculs en LaTeX, il faut charger dans le préambule du - document le paquetage + +\lang english +To enable calculations in LaTeX one needs to load the package \series bold calc \series default +\lang french \begin_inset Index idx status collapsed @@ -14335,11 +14467,15 @@ Paquetages LaTeX ! calc \end_inset -. + +\lang english +in the document preamble. \end_layout \begin_layout Standard -Dans le tableau vous pouvez maintenant utiliser la commande + +\lang english +In this table you can now use the command \end_layout \begin_layout Standard @@ -14353,12 +14489,16 @@ diagtest]{A}{B} \end_layout \begin_layout Standard -dans la première cellule: + +\lang english +in the first cell: \end_layout \begin_layout Standard \noindent \align center + +\lang english \begin_inset Tabular @@ -14414,7 +14554,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Épaisseur en nm + +\lang english +Thickness in nm \end_layout \end_inset @@ -14425,7 +14567,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Vert parfait + +\lang english +Perfect Green \end_layout \end_inset @@ -14434,6 +14578,8 @@ Vert parfait \begin_inset Text \begin_layout Plain Layout + +\lang english 45 \end_layout @@ -14448,14 +14594,18 @@ Vert parfait \end_layout \begin_layout Standard -Noter que la cellule partagée doit être la plus large de la colonne, sinon - la longueur de la diagonale ne peut pas être calculée correctement comme - dans ce tableau: + +\lang english +Note that the split cell needs to be the widest one in the column. + Otherwise the length of the diagonal line cannot be calculated correctly + like in this table: \end_layout \begin_layout Standard \noindent \align center + +\lang english \begin_inset Tabular @@ -14509,7 +14659,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Épaisseur en nm + +\lang english +Thickness in nm \end_layout \end_inset @@ -14520,7 +14672,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Vert parfait + +\lang english +Perfect Green \end_layout \end_inset @@ -14529,6 +14683,8 @@ Vert parfait \begin_inset Text \begin_layout Plain Layout + +\lang english 45 \end_layout @@ -14543,31 +14699,34 @@ Vert parfait \end_layout \begin_layout Standard -Dans ce cas, vous pouvez utiliser directement -\series bold - + \lang english +In this case use the +\series bold width \series default -\lang french - dans l'option de + option of the \series bold -\lang english \backslash diagbox \series default -\lang french -, il n'est plus nécessaire d’ajouter 2 + command. + It is then not necessary to add 2 \backslash -tabcolsep puisque la largeur de cellule est maintenant la largeur de la - colonne. - Ici une largeur de 3cm est utilisée: +tabcolsep because the cell width is now the width of the column. + In this table a width of 3 +\begin_inset space \thinspace{} +\end_inset + +cm is used: \end_layout \begin_layout Standard \noindent \align center + +\lang english \begin_inset Tabular @@ -14621,7 +14780,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Épaisseur en nm + +\lang english +Thickness in nm \end_layout \end_inset @@ -14632,7 +14793,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Vert parfait + +\lang english +Perfect Green \end_layout \end_inset @@ -14641,6 +14804,8 @@ Vert parfait \begin_inset Text \begin_layout Plain Layout + +\lang english 45 \end_layout @@ -14655,26 +14820,22 @@ Vert parfait \end_layout \begin_layout Standard -Pour les lignes multiples dans une cellule partagée, il faut une hauteur - supplémentaire pour placer le texte dans la cellule. - Ceci peut être obtenu avec l'option -\series bold - + \lang english -height -\lang french -=3cm -\series default - de la commande +For multiple text lines in split cells one needs some extra height to fit + the text to the cell. + This can be achieved with the \series bold -\lang english \backslash diagbox \series default -\lang french - (remplacer « 3cm » par la hauteur désirée). - Dans le tableau qui suit, la commande + option +\series bold +height=3cm +\series default + (replace '3cm' by the height you need). + In the following table the command \end_layout \begin_layout Standard @@ -14694,28 +14855,41 @@ D} \end_layout \begin_layout Standard -est utilisée dans la première cellule. - La commande + +\lang english +is used in the first cell. + The command +\series bold + \backslash \backslash - crée le saut de ligne + +\series default + creates hereby the line break. \begin_inset Foot -status open +status collapsed \begin_layout Plain Layout -Couper les lignes via Ctrl+Entrée n'est possible que pour des colonnes de - largeur fixée. + +\lang english +Breaking lines with +\family sans +Ctrl+Return +\family default + is only possible when the column has a fixed width. \end_layout \end_inset -. + \end_layout \begin_layout Standard \noindent \align center + +\lang english \begin_inset Tabular @@ -14799,7 +14973,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Épaisseur en nm + +\lang english +Thickness in nm \end_layout \end_inset @@ -14810,7 +14986,9 @@ status collapsed \begin_inset Text \begin_layout Plain Layout -Vert parfait + +\lang english +Perfect Green \end_layout \end_inset @@ -14819,6 +14997,8 @@ Vert parfait \begin_inset Text \begin_layout Plain Layout + +\lang english 45 \end_layout @@ -14867,7 +15047,7 @@ Vous devez installer le paquetage LaTeX \series bold diagbox \series default - pour voir le contenu de cette section dans la sortie imprimée. + pour voir le contenu des cette section dans la sortie imprimée. \end_layout \begin_layout Standard @@ -14887,13 +15067,15 @@ fi \end_layout \begin_layout Standard -Pour en savoir plus sur le paquetage LaTeX -\series bold + \lang english +For more info about the LaTeX-package +\series bold diagbox \series default +, see its documentation \lang french -, voir sa documentation, +, \begin_inset CommandInset citation LatexCommand cite key "diagbox" @@ -15493,7 +15675,7 @@ reference "cha:Unités-de-longueur" \begin_layout Standard On peut aussi créer des lignes qui ne font pas toute la largeur du tableau - en mettant une ligne pour une cellule multi-colonnes. + en mettant une ligne pour une cellule multi-colonne. LyX va utiliser en interne la commande \series bold @@ -17486,13 +17668,13 @@ et les valeurs de couleur sont des nombres compris entre 0 et 1, séparés \begin_layout Standard Vous pouvez par exemple définir la couleur -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset \emph on vertfonce -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset dans le préambule avec la ligne @@ -17507,19 +17689,11 @@ definecolor{vertfonce}{cmyk}{0.5, 0, 1, 0.5} \end_layout \begin_layout Standard -et la couleur +et la couleur " \emph on - -\begin_inset Quotes fld -\end_inset - grisclair \emph default - -\begin_inset Quotes frd -\end_inset - - avec +" avec \end_layout \begin_layout Standard @@ -17931,12 +18105,18 @@ fi \end_layout \begin_layout Subsection -Lignes colorées + +\lang english +Colored Rows +\lang french + \begin_inset Index idx status collapsed \begin_layout Plain Layout -Tableau Coloré ! Pour les lignes +Tableau Coloré ! pour +\lang english + Rows \end_layout \end_inset @@ -17946,7 +18126,9 @@ Tableau Coloré ! Pour les lignes status collapsed \begin_layout Plain Layout -Couleur ! Pour les lignes de tableau +Couleur ! Pour les +\lang english +Table Rows \end_layout \end_inset @@ -17955,9 +18137,12 @@ Couleur ! Pour les lignes de tableau \end_layout \begin_layout Standard -Dans le cas où on désire qu'une ligne sur deux soit colorée, il existe une - alternative à la méthode décrite dans le paragraphe précédent: il faut - charger le paquetage + +\lang english +In case every second table row needs to be colored there is an alternative + to the method described in the previous section: One loads the package +\lang french + \series bold xcolor \series default @@ -17984,7 +18169,9 @@ vspace{4mm} \end_inset - dans le préambule du document avec la commande + +\lang english +in the document preamble with the command \end_layout \begin_layout Standard @@ -17998,9 +18185,12 @@ usepackage[table]{xcolor} \begin_layout Standard \series bold +\lang english xcolor \series default - charge automatiquement le paquetage + automatically loads also the package +\lang french + \series bold colortbl \series default @@ -18014,11 +18204,13 @@ Paquetages LaTeX ! colortbl \end_inset -, il faut donc que + +\lang english +, so \series bold - colortbl +colortbl \series default - existe dans votre distribution LaTeX, sinon vous aurez des erreurs. + must be installed in your LaTeX-distribution, otherwise you get LaTeX-errors. \end_layout \begin_layout Standard @@ -18053,35 +18245,34 @@ colortbl \end_layout \begin_layout Standard -Les lignes de tableau sont colorées par la commande + +\lang english +The table rows are colored with the command \end_layout \begin_layout Standard \series bold +\lang english \backslash -rowcolors[commandes]{numéro de ligne}{couleur ligne impaire}{couleur ligne - paire} +rowcolors[commands]{row number}{odd row color}{even row color} \end_layout \begin_layout Standard -insérée soit dans le préambule du document, soit en code TeX avant le premier - tableau nécessitant la coloration alternative des lignes. - -\series bold -numéro de ligne -\series default - est le numéro de la première ligne à colorer avec la couleur de ligne impaire. - -\series bold -commandes -\series default -\emph on - -\emph default -désigne des commandes additionnelles exécutées avant chaque ligne du tableau. - Par exemple la commande + +\lang english +that is either inserted in the document preamble or as TeX-Code before the + first table to be colored. + row +\begin_inset space ~ +\end_inset + +number is the number of the first row which should be colored according + to the odd row color. + commands can be additional commands that are executed before every table + row. + So for example the command \end_layout \begin_layout Standard @@ -18093,7 +18284,9 @@ rowcolors{1}{white}{lightgray} \end_layout \begin_layout Standard -donne le schéma de couleurs du tableau + +\lang english +leads to the coloring scheme of Table \begin_inset space ~ \end_inset @@ -18105,7 +18298,7 @@ reference "tab:Table-rowcolors" \end_inset . - La commande + The command \end_layout \begin_layout Standard @@ -18119,7 +18312,9 @@ hline]{1}{lightgray}{cyan} \end_layout \begin_layout Standard -donne le schéma de couleurs du tableau + +\lang english +leads to the coloring scheme of Table \begin_inset space ~ \end_inset @@ -18131,15 +18326,23 @@ reference "tab:Table-rowcolors-2" \end_inset . - Si -\series bold -couleur ligne impaire -\series default - ou -\series bold -couleur ligne paire -\series default - est vide, aucune couleur n'est utilisée, donc la commande + If odd +\begin_inset space ~ +\end_inset + +row +\begin_inset space ~ +\end_inset + +color and/or even +\begin_inset space ~ +\end_inset + +row +\begin_inset space ~ +\end_inset + +color are left empty, no color will be used so that the command \end_layout \begin_layout Standard @@ -18151,14 +18354,16 @@ rowcolors{1}{}{} \end_layout \begin_layout Standard -supprime toutes les couleurs. + +\lang english +deletes all colors. \series bold \backslash rowcolors \series default - s'applique aux tableaux qui suivent cette commande. + affects all tables following that command. \end_layout \begin_layout Standard @@ -18196,9 +18401,7 @@ name "tab:Table-rowcolors" \end_inset - -\lang french -Tableau avec une colonne sur deux en gris clair. +Table where every second row is colored light gray. \end_layout \end_inset @@ -18379,10 +18582,8 @@ name "tab:Table-rowcolors-2" \end_inset - -\lang french -Tableau avec une colonne sur deux en cyan et avec un filet entre chaque - ligne +Table where every second row is colored cyan and at which there is a line + between each row. \end_layout \end_inset @@ -18609,9 +18810,9 @@ fi \end_layout \begin_layout Subsection -Les filets colorés +Les filets colorées \begin_inset Index idx -status open +status collapsed \begin_layout Plain Layout Tableau Coloré ! Pour les filets @@ -19308,7 +19509,11 @@ arrayrulewidth}{0.4pt} \end_layout \begin_layout Section -Pivotement des cellules + +\lang english +Rotated Table Cells +\lang french + \begin_inset CommandInset label LatexCommand label name "sec:Rotated-Table-Cells" @@ -19320,14 +19525,16 @@ name "sec:Rotated-Table-Cells" status open \begin_layout Plain Layout -Tableau ! Pivotement des cellules +Tableau ! +\lang english +Rotated Cells \end_layout \end_inset \begin_inset Index idx -status open +status collapsed \begin_layout Plain Layout Pivoter des objets @@ -19339,15 +19546,18 @@ Pivoter des objets \end_layout \begin_layout Standard + +\lang english \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold -Nota: +\lang english +Note: \series default - toutes les visionneuses DVI n'affichent pas les rotations. + Not all DVI-viewers are able to display rotations. \end_layout \end_inset @@ -19356,10 +19566,15 @@ Nota: \end_layout \begin_layout Standard -Actuellement LyX ne propose de rotations des cellules que de 90° dans le - sens anti-horaire. - Pour obtenir des rotations d'un angle quelconque, il faut ajouter dans - le préambule: + +\lang english +Currently LyX only offers to rotate table cells by 90 +\begin_inset space \thinspace{} +\end_inset + +° counter-clockwise. + To rotate cells by an angle of your choice, you have to add this to the + document preamble: \end_layout \begin_layout Standard @@ -19373,7 +19588,10 @@ usepackage{rotating}}{} \end_layout \begin_layout Standard -Dans la cellule du tableau qui doit pivoter, ajouter au début en code TeX: + +\lang english +In the table cell that should be rotated, add at the beginning this command + as TeX-code: \end_layout \begin_layout Standard @@ -19385,12 +19603,10 @@ begin{turn}{angle} \end_layout \begin_layout Standard -où -\series bold -angle -\series default - est l'angle de rotation en degrés. - À la fin de la cellule la commande + +\lang english +where angle is the rotation angle in °. + At the end of the cell the command \end_layout \begin_layout Standard @@ -19402,11 +19618,15 @@ end{turn} \end_layout \begin_layout Standard -doit être insérée en code TeX. + +\lang english +is inserted as TeX-code. \end_layout \begin_layout Standard -Le tableau + +\lang english +Table \begin_inset space ~ \end_inset @@ -19417,7 +19637,11 @@ reference "tab:Table-with-rotated-multi" \end_inset - est un exemple dans lequel 3 cellules pivotent de 45 + is an example where 3 +\begin_inset space ~ +\end_inset + +cells were rotated by 45 \begin_inset space \thinspace{} \end_inset @@ -19447,9 +19671,7 @@ name "tab:Table-with-rotated" \end_inset - -\lang french -Tableau incluant des cellules pivotées dans la première ligne. +Table with rotated cells in the first row. \end_layout \end_inset @@ -19460,6 +19682,8 @@ Tableau incluant des cellules pivotées dans la première ligne. \begin_layout Plain Layout \noindent \align center + +\lang english \begin_inset Tabular @@ -19471,6 +19695,8 @@ Tableau incluant des cellules pivotées dans la première ligne. \begin_inset Text \begin_layout Plain Layout + +\lang english \begin_inset ERT status collapsed @@ -19483,7 +19709,7 @@ begin{turn}{45} \end_inset -soucoupes +cups \begin_inset ERT status collapsed @@ -19505,6 +19731,8 @@ end{turn} \begin_inset Text \begin_layout Plain Layout + +\lang english \begin_inset ERT status collapsed @@ -19517,7 +19745,7 @@ begin{turn}{45} \end_inset -assiettes +plates \begin_inset ERT status collapsed @@ -19539,6 +19767,8 @@ end{turn} \begin_inset Text \begin_layout Plain Layout + +\lang english \begin_inset ERT status collapsed @@ -19551,7 +19781,7 @@ begin{turn}{45} \end_inset -plats +saucers \begin_inset ERT status collapsed @@ -19575,6 +19805,8 @@ end{turn} \begin_inset Text \begin_layout Plain Layout + +\lang english 45 \end_layout @@ -19584,6 +19816,8 @@ end{turn} \begin_inset Text \begin_layout Plain Layout + +\lang english 33 \end_layout @@ -19593,6 +19827,8 @@ end{turn} \begin_inset Text \begin_layout Plain Layout + +\lang english 21 \end_layout @@ -19620,15 +19856,16 @@ status open \begin_layout Plain Layout \series bold -Nota: +\lang english +Note: \series default - les ruptures de ligne (raccourci + Line breaks (shortcut \begin_inset Info type "shortcut" arg "newline-insert newline" \end_inset -) ne sont pas autorisées dans les cellules pivotées +) are not allowed in rotated cells. \end_layout \end_inset @@ -19637,13 +19874,19 @@ arg "newline-insert newline" \end_layout \begin_layout Standard -Si vous voulez faire pivoter des cellules avec des ruptures de ligne, il - faut encapsuler le contenu de la cellule dans une minipage ou une parbox. + +\lang english +If you want to rotate table cells containing line breaks, you have to put + the cell content into a minipage or a parbox. \begin_inset Foot -status open +status collapsed \begin_layout Plain Layout -Pour en savoir plus sur ces boîtes, voir les sections + +\lang english +For more about these boxes +\lang french + voir la section \begin_inset space ~ \end_inset @@ -19666,9 +19909,12 @@ reference "sec:Parboxes" \end_inset - Si vous faites pivoter cette cellule de 90°, la largeur de la boîte est - la hauteur de la cellule. - Le tableau + If you rotate this cell by 90 +\begin_inset space \thinspace{} +\end_inset + +° the width of the box is the height of the cell. + Table \begin_inset space ~ \end_inset @@ -19679,8 +19925,8 @@ reference "tab:Table-with-rotated-multi" \end_inset - donne un exemple d'une cellule multi-lignes où la largeur de boîte a été - réglée à 3 + is an example for a rotated multiline cell where the box width was set + to 3 \begin_inset space \thinspace{} \end_inset @@ -19710,9 +19956,7 @@ name "tab:Table-with-rotated-multi" \end_inset - -\lang french -Tableau incluant une cellule multi-lignes pivotée. +Table with rotated multiline cell. \end_layout \end_inset @@ -19763,11 +20007,13 @@ height_special "totalheight" status open \begin_layout Plain Layout -cellule pivotée + +\lang english +rotated cell \begin_inset Newline newline \end_inset -avec saut de ligne +with line break \end_layout \end_inset @@ -19837,7 +20083,9 @@ d \end_layout \begin_layout Section -Calcul de la largeur du tableau + +\lang english +Table Width Calculation \begin_inset CommandInset label LatexCommand label name "sec:Table-Width-Calculation" @@ -19848,45 +20096,48 @@ name "sec:Table-Width-Calculation" \end_layout \begin_layout Standard -Pour les tableaux un peu larges il est parfois difficile de garantir que - le tableau ne déborde pas dans la marge. - Fixer une largeur pour chaque colonne est une solution, mais quelle est - la valeur à donner à chacune? + +\lang english +For wide tables it is sometimes difficult to assure that the table does + not protrude over the page margin. + Setting a fixed width for every column of the table is the solution, but + what amount of space is needed for each column? \end_layout \begin_layout Standard -La largeur du tableau -\begin_inset Formula $L_{\mathrm{tableau}}$ + +\lang english +The table width +\begin_inset Formula $W_{\mathrm{table}}$ \end_inset - peut se calculer précisément: chaque colonne contribue pour sa largeur - propre -\begin_inset Formula $L_{\mathrm{colonne}}$ + can be calculated: Every column has the width of the specified column width + +\begin_inset Formula $W_{\mathrm{column}}$ \end_inset - (que le contenu est autorisé à occuper), plus deux fois la largeur de la - séparation entre le contenu de la colonne et sa bordure (la longueur LaTeX + (that the content of the column can consume) plus two times the separation + between the column content and the column border (LaTeX length \series bold \backslash tabcolsep \series default -, implicitement 6 +, default 6 \begin_inset space \thinspace{} \end_inset -pt), plus la largeur du filet de bordure (la longueur LaTeX +pt) plus the width of a border line (LaTeX length \series bold \backslash arrayrulewidth \series default -, implicitement 0.4 +, default 0.4 \begin_inset space \thinspace{} \end_inset -pt). - Donc si les +pt): So if all \begin_inset Formula $n$ \end_inset @@ -19894,10 +20145,12 @@ pt). \begin_inset space ~ \end_inset -colonnes ont la même largeur, la largeur du tableau est +columns have the same width, the table width is +\lang french + \begin_inset Formula \begin{equation} -L_{\mathrm{tableau}}=n\left(L_{\mathrm{colonne}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth} +W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth} \end{equation} \end_inset @@ -19906,37 +20159,41 @@ L_{\mathrm{tableau}}=n\left(L_{\mathrm{colonne}}+2\backslash\mbox{tabcolsep}+\ba \end_layout \begin_layout Standard -La largeur disponible pour placer un tableau est la distance entre les marges - de la page ou la largeur de la colonne de texte (pour un document présenté - sur 2 colonnes), c'est-à-dire la longueur LaTeX + +\lang english +The available width for a table is the space between the page margins or + the width of a text column (for a two-column document) (LaTeX length \series bold \backslash columnwidth \series default -. - Si toutes le colonnes ont la même largeur et que -\begin_inset Formula $L_{\mathrm{tableau}}$ +). + If all table columns should have the same width and +\begin_inset Formula $W_{\mathrm{table}}$ \end_inset - doit valoir 1 + should be 1 \begin_inset space \thinspace{} \end_inset \backslash columnwidth, -\begin_inset Formula $L_{\mathrm{colonne}}$ +\begin_inset Formula $W_{\mathrm{column}}$ \end_inset - se calcule facilement. + can easily be calculated. \end_layout \begin_layout Standard -Pour pouvoir faire des calculs, il faut charger le paquetage LaTeX + +\lang english +To be able to perform calculations you need to load the LaTeX-package \series bold calc \series default +\lang french \begin_inset Index idx status collapsed @@ -19947,28 +20204,36 @@ Paquetages LaTeX ! calc \end_inset - dans le préambule du document. - Pour fixer la largeur d'une colonne dans la fenêtre de dialogue du tableau, - il faut utiliser le champ + +\lang english + in the document preamble. + To set the width in the table dialog you have to use the field \family sans - Argument LaTeX +LaTeX argument \family default . - Le principe des commandes qui peuvent être saisies dans ce champ est celui - qui est expliqué dans la section + The command scheme for this field is the same that is explained in section \begin_inset space ~ \end_inset +\lang french + \begin_inset CommandInset ref LatexCommand ref reference "sub:Calculs-multicolonnes" \end_inset + +\lang english . - Pour un tableau avec 5 colonnes de largeur identique et un texte centré, - saisir pour chaque colonne la commande + For a table with 5 +\begin_inset space \thinspace{} +\end_inset + +columns with an uniform width and centered text, enter there for each column + the command \end_layout \begin_layout Standard @@ -19982,20 +20247,26 @@ columnwidth-62.4pt)/5} \end_layout \begin_layout Standard -Pour un tableau avec 5 colonnes dont deux de largeur 0.75 + +\lang english +For a table with 5 +\begin_inset space \thinspace{} +\end_inset + +columns where 2 should have 0.75 \begin_inset space ~ \end_inset -fois celle des 3 autres, le calcul est le suivant: +times the width than the 3 others, the calculation is \end_layout \begin_layout Standard \begin_inset Formula \begin{align} -\backslash\mbox{columnwidth} & =3\, L_{\mathrm{colonne}}+2\cdot0.75\, L_{\mathrm{colonne}}+\backslash\mbox{arrayrulewidth}\nonumber \\ +\backslash\mbox{columnwidth} & =3\, W_{\mathrm{column}}+2\cdot0.75\, W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\ & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\ - & =4.5\, L_{\mathrm{colonne}}+62.4\,\mathrm{pt}\nonumber \\ -L_{\mathrm{colonne}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5} + & =4.5\, W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\ +W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5} \end{align} \end_inset @@ -20004,7 +20275,9 @@ L_{\mathrm{colonne}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4. \end_layout \begin_layout Standard -Par conséquent, dans le tableau, la commande + +\lang english +In the table therefore the command \end_layout \begin_layout Standard @@ -20020,7 +20293,9 @@ real{4.5}} \end_layout \begin_layout Standard -est utilisée pour les colonnes les plus larges, et la commande + +\lang english +is used for the wider columns and \end_layout \begin_layout Standard @@ -20038,7 +20313,9 @@ real{0.75}} \end_layout \begin_layout Standard -est utilisée pour les plus étroites: + +\lang english +for the smaller ones: \end_layout \begin_layout Standard @@ -21216,7 +21493,7 @@ reference "tab:Tableau-centré-sur-séparateur-2" . Ce tableau a été créé comme un tableau 4×2. - L'en-tête est une cellule multi-colonnes centrée. + L'en-tête est une cellule multi-colonne centrée. La première colonne est alignée à droite et contient la première partie et inclue l'opérateur. La seconde colonne contient le reste de la cellule aligné à gauche. @@ -21614,7 +21891,7 @@ reference "sec:Table-Width-Calculation" \end_inset - et pour des colonnes couvertes par un cellule multi-colonnes comme dans + et pour des colonnes couvertes par un cellule multi-colonne comme dans la section \begin_inset space ~ \end_inset @@ -21726,7 +22003,7 @@ M{width} \begin_layout Standard comme paramètre LaTeX dans la fenêtre de dialogue de tableau pour créer - une multi-colonnes. + une multi-colonne. \end_layout \begin_layout Standard @@ -21737,7 +22014,7 @@ comme paramètre LaTeX dans la fenêtre de dialogue de tableau pour créer \end_layout \begin_layout Standard -Pour les cellules qui sont couvertes par la cellule multi-colonnes, vous +Pour les cellules qui sont couvertes par la cellule multi-colonne, vous pouvez définir le format \end_layout @@ -21788,7 +22065,7 @@ reference "eq:Wgn" \end_inset pour calculer la largeur que doit avoir chacune des cellules couverte par - la cellule multi-colonnes pour qu'elles aient toutes la même largeur. + la cellule multi-colonne pour qu'elles aient toutes la même largeur. \end_layout \begin_layout Standard @@ -21798,7 +22075,7 @@ Ensuite, vous pouvez entrer \begin_layout Standard \series bold -S{largeur de la cellule multi-colonnes}{nombre de colonnes couvertes} +S{largeur de la cellule multi-colonne}{nombre de colonnes couvertes} \end_layout \begin_layout Standard @@ -21830,11 +22107,11 @@ hspace{0pt}}c} \begin_layout Standard Le -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset c -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset à la fin crée une colonne de largeur variable dont le texte est centré @@ -21881,7 +22158,7 @@ M{2.5cm} \end_layout \begin_layout Standard -pour la première colonne et la multi-colonnes, +pour la première colonne et la multi-colonne, \end_layout \begin_layout Standard @@ -21952,7 +22229,7 @@ motTrèsLongDansUneCellule \begin_inset Text \begin_layout Plain Layout -multi-colonnes avec multi-lignes +multi-colonne avec multi-ligne \end_layout \end_inset @@ -23173,11 +23450,11 @@ usepackage{arydshln} \begin_layout Standard Pour faire un filet vertical avec un trait interrompu, mettez deux points -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset : -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset avec le caractère décrivant l'alignement horizontal comme paramètre LaTeX @@ -23218,7 +23495,7 @@ numéros de colonnes} \begin_layout Standard en code TeX comme premier élément de la première cellule de la ligne. - Si par exemple, vous avez une cellule multi-colonnes qui couvre les colonnes + Si par exemple, vous avez une cellule multi-colonne qui couvre les colonnes 2 à 4 et que vous voulez un filet interrompu au dessus, ajoutez la commande \end_layout @@ -23232,7 +23509,7 @@ cdashline{2-4} \begin_layout Standard comme premier élément de la première cellule de la ligne contenant la multi-colo -nnes. +nne. \end_layout \begin_layout Standard @@ -23255,7 +23532,7 @@ reference "tab:Tableau-filets-tirets" \end_inset a été créé en utilisant -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -23263,7 +23540,7 @@ reference "tab:Tableau-filets-tirets" :c \series default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset comme paramètre LaTeX pour la troisième colonne. @@ -23287,7 +23564,15 @@ cdashline{4-5} \begin_inset VSpace bigskip \end_inset -Les filets interrompus peuvent également colorés comme indiqué tableau + +\end_layout + +\begin_layout Standard + +\lang english +Tables with dashed lines can also be colored as shown by +\lang french + tableau \begin_inset space ~ \end_inset @@ -23317,13 +23602,15 @@ arrayrulewidth}{1pt} \end_inset +\lang english + \begin_inset Note Note status collapsed \begin_layout Plain Layout -filets épaissis pour un meilleur affichage de la couleur du file + \lang english -t +thicker lines for better visualization of the line color \end_layout \end_inset @@ -23345,11 +23632,15 @@ dashgapcolor{green} \end_inset +\lang english + \begin_inset Note Note status collapsed \begin_layout Plain Layout -espaces entre les tirets en vert + +\lang english +color gaps between dashes green \end_layout \end_inset @@ -23395,11 +23686,15 @@ arrayrulecolor{black}} \end_inset +\lang english + \begin_inset Note Note status collapsed \begin_layout Plain Layout -filets interrompus horizontaux en rouge + +\lang english +color horizontal, dashed lines red \end_layout \end_inset @@ -23445,11 +23740,15 @@ arrayrulecolor{black}} \end_inset +\lang english + \begin_inset Note Note status collapsed \begin_layout Plain Layout -filets interrompus horizontaux en jaune, partiellement + +\lang english +color partial horizontal, dashed lines yellow \end_layout \end_inset @@ -23474,7 +23773,9 @@ name "tab:Colored-table-with" \end_inset -Tableau coloré avec filets interropus + +\lang english +Colored table with dashed lines \end_layout \end_inset @@ -23812,7 +24113,9 @@ myHdashline} status collapsed \begin_layout Plain Layout -retour à la valeur implicite + +\lang english +reset to default \end_layout \end_inset @@ -23844,7 +24147,9 @@ myCdashline} status collapsed \begin_layout Plain Layout -retour à la valeur implicite + +\lang english +reset to default \end_layout \end_inset @@ -23872,7 +24177,9 @@ nodashgapcolor status collapsed \begin_layout Plain Layout -retour à la valeur implicite + +\lang english +reset to default \end_layout \end_inset @@ -23902,7 +24209,9 @@ arrayrulewidth}{0.4pt} status collapsed \begin_layout Plain Layout -retour à la valeur implicite + +\lang english +reset to default \end_layout \end_inset @@ -23911,46 +24220,50 @@ retour à la valeur implicite \end_layout \begin_layout Standard -La coloration des lignes, des colonnes et des filets fonctionne comme il - est décrit section + +\lang english +The coloring of lines, columns and lines works as decribed in section \begin_inset space ~ \end_inset +\lang french + \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-Colorés" \end_inset + +\lang english . - Coloret les filets horizontaux fonctionne de manière analogue comme il - est décrit ici, il suffit de remplacer la commande + Coloring horizontal lines works analogically as described there as well, + one only needs to replace in the commands \series bold \backslash myHlineC \series default - par + by \series bold \backslash myHdashline \series default - et la commande + and \backslash \series bold -hlinepar +hline \series default - + by \series bold \backslash hdashline \series default -. - On utilise donc les commandes: +; so one uses the command \end_layout \begin_layout Standard @@ -23997,13 +24310,15 @@ arrayrulecolor{black}} \end_layout \begin_layout Standard -Pour colorer + +\lang english +To color \series bold \backslash cdashline \series default -, la commande est: +, the command is \end_layout \begin_layout Standard @@ -24050,16 +24365,20 @@ arrayrulecolor{black}} \end_layout \begin_layout Standard -Pour revenir à un filet noir, il faut insérer les commandes suivantes en - code TeX après le tableau, + +\lang english +To get back the black line color, one needs to insert the following commands + as TeX-Code behind the table: \end_layout \begin_layout Standard -pour + +\lang english +For \series bold \backslash -hdashline: +hdashline \end_layout \begin_layout Standard @@ -24075,7 +24394,9 @@ myHdashline} \end_layout \begin_layout Standard -et pour + +\lang english +and for \series bold \backslash @@ -24095,25 +24416,26 @@ myCdashline} \end_layout \begin_layout Standard -Pour colorer les espaces entre les tirets la commande + +\lang english +To color the gaps between the dashes the command \end_layout \begin_layout Standard \series bold +\lang english \backslash -dashgapcolor{couleur} +dashgapcolor{color} \end_layout \begin_layout Standard -peut être insérée en code TeX avant un tableau. - -\series bold -couleur -\series default - est ici le nom d'une couleur définie précédemment. - La commande + +\lang english +can be used in front of a table as TeX-Code. + color is hereby the name of a defined color. + The command \end_layout \begin_layout Standard @@ -24125,7 +24447,9 @@ nodashgapcolor \end_layout \begin_layout Standard -annule les changements induits par + +\lang english +unsets the changes made by \series bold \backslash @@ -24135,25 +24459,28 @@ dashgapcolor \end_layout \begin_layout Standard + +\lang english \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold -Not +\color none +\lang english +Note \series default -a: s'il y a plusieurs commandes dans une cellule, Il faut placer la commande - de +: If there are multiple commands in a cell, the command of \series bold arydshln \series default - en premier. - Donc dans la cellule + needs to be the first one in the cell. + Therefore in cell \emph on k \emph default - du tableau + of Table \begin_inset space ~ \end_inset @@ -24164,13 +24491,13 @@ reference "tab:Colored-table-with" \end_inset - , la commande + the command \series bold \backslash hdashline \series default - est placée avant + is before \series bold \backslash @@ -24185,26 +24512,29 @@ rowcolor \end_layout \begin_layout Standard + +\lang english \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold -Nota: +\color none +\lang english +Note: \series default - le paquetage LaTeX + The LaTeX-package \series bold arydshln \series default - doit être chargé dans le préambule -\emph on -avant -\emph default - le paquetage + must be loaded in the document preamble before the LaTeX-package +\lang french + \series bold colortbl \series default +\color inherit \begin_inset Index idx status collapsed @@ -24215,6 +24545,8 @@ Paquetages LaTeX ! colortbl \end_inset + +\color none . \end_layout @@ -24278,8 +24610,11 @@ fi \end_layout \begin_layout Standard -Pour les détails concernant les filets colorés, voir la documentation du - paquetage + +\lang english +For more information about dashed lines see the documentation of +\lang french + \series bold arydshln \series default @@ -24339,11 +24674,11 @@ Flottants ! Introduction Un flottant est une portion de document, qui peut être associé à une étiquette et dont la position n'est pas fixée. Il peut -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset flotter -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset d'une page ou deux en avant ou en arrière, pour trouver l'emplacement le @@ -24428,7 +24763,7 @@ arg "float-insert table" ). Une boîte va être insérée dans votre document avec par exemple une étiquette du genre -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Figure @@ -24436,7 +24771,7 @@ Figure \end_inset #: -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset (où # est un numéro). @@ -24682,7 +25017,7 @@ où nom \family default est le mot -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -24690,7 +25025,7 @@ nom algorithme \emph default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset dans votre langue. @@ -24746,7 +25081,7 @@ votre nom \family default est la traduction de -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -24754,7 +25089,7 @@ nom List of Algorithm \emph default s -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset dans votre langue. @@ -24763,11 +25098,11 @@ s \begin_layout Standard Les flottants d'algorithme ne sont pas numérotés implicitement en suivant le schéma -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset chapitre.algorithme -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset comme c'est le cas pour les tableaux dans plusieurs classes de documents. @@ -24854,19 +25189,19 @@ Flottants ! Numérotation \begin_layout Standard Les flottant sont soit numérotés indépendamment des sections dans lesquelles ils se trouvent, soit en utilisant un format du genre -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset chapitre.numéro -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ou -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset section.numéro -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset . @@ -24918,11 +25253,11 @@ roman \begin_layout Standard Pour changer le type de numérotation pour par exemple -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset sous-section.numéro -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , utilisez la commande suivante dans le préambule du document : @@ -25056,19 +25391,11 @@ arg "label-insert" LyX propose comme texte pour l'étiquette les premiers mots de la légendes précédés d'un préfixe. Ce préfixe dépend du type de flottant, par exemple, pour une figure le - préfixe sera -\begin_inset Quotes fld -\end_inset - - + préfixe sera " \family sans fig: \family default - -\begin_inset Quotes frd -\end_inset - -. +". \end_layout \begin_layout Standard @@ -25195,11 +25522,11 @@ reference "fig:Deux-images-déformées" : affiche le numéro de l'élément entre parenthèses, c'est le style utilisé normalement pour faire référence à des formules mathématiques, en particulier quand le mot -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Équation -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset est omis : @@ -25249,11 +25576,11 @@ page \end_inset : affiche le mot -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset page -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset suivi du numéro de la page sur laquelle se trouve l'élément : @@ -25280,11 +25607,11 @@ page \end_inset : affiche le numéro de l'élément, le mot -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset page -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset et le numéro de la page : @@ -25449,7 +25776,7 @@ reference "fig:Deux-images-déformées" n'imprimera pas le numéro de la page si l'étiquette se trouve sur la page précédente, la même page ou la page suivante. Vous verrez par exemple un texte du genre -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -25457,7 +25784,7 @@ reference "fig:Deux-images-déformées" sur cette page \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset à la place. @@ -25527,11 +25854,11 @@ Paquetages LaTeX ! prettyref status collapsed \begin_layout Plain Layout -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset fig: -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset est par exemple le raccourci LyX pour les étiquettes dans les légendes @@ -25627,11 +25954,11 @@ Paramètres du document croisées, en incluant le nom du flottant référencé (ou d'une partie comme une section). Par exemple pour vous éviter de devoir écrire le mot -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Figure -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset devant chaque référence à une figure. @@ -25662,19 +25989,23 @@ autoref{#1}}}} \begin_layout Standard Si vous préférez d'autres noms de référence que ceux qui sont proposés par défaut, par exemple vous préférez le nom -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset sec. -\begin_inset Quotes frd +\begin_inset space \thinspace{} +\end_inset + + +\begin_inset Quotes eld \end_inset plutôt que -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset section -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , vous pouvez redéfinir ce nom en insérant ceci dans le préambule: @@ -26294,11 +26625,11 @@ Prix Utilisez cette option le moins souvent possible et seulement quand le document est presque prêt à être imprimé. En effet, le flottant n'est plus capable de -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset flotter -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , ce qui peut perturber toutes les mises en page. @@ -26389,7 +26720,7 @@ Paquetages LaTeX ! endfloat document dans leurs propres sections. À la position d'origine du flottant, une indication textuelle du genre -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -26405,7 +26736,7 @@ about here. ] \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset est insérée. @@ -26487,16 +26818,16 @@ Note: endfloat \series default quand la légende contient un -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset ß -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset allemand. Utilisez dans ce cas la commande -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -26506,15 +26837,15 @@ endfloat ss \series default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset en code TeX à la place du -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset ß -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset . @@ -27470,7 +27801,7 @@ flottants . Dans la fenêtre de LyX les légendes apparaissent comme une étiquette comme par exemple -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -27478,16 +27809,16 @@ flottants Figure #: \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset suivi par le texte de la légende. Le -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset # -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset étant remplacé par le numéro de référence réel. @@ -27684,19 +28015,19 @@ key "caption" \begin_layout Standard Pour changer le nom de l'étiquette, par exemple de -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Figure -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset à -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Image -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , utilisez la commande suivante dans le préambule : @@ -27724,13 +28055,13 @@ thefigure insère le numéro de la figure et \series bold -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset ~ \series default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ajoute une espace insécable. @@ -28186,7 +28517,9 @@ de la classe de document. status open \begin_layout Plain Layout -Cette option est utilisée dans le document + +\lang english +That option is used in this document. \end_layout \end_inset @@ -28195,12 +28528,16 @@ Cette option est utilisée dans le document \end_layout \begin_layout Standard -Dans les documents utilisant la classe KOMA-Script, vous pouvez aussi ouvrir - le menu contextuel dans une légende avec un clic droit et indiquer si la - légende doit être au-dessus ou au-dessous du tableau ou de la figure. - Vous pouvez de cette façon écraser le réglage global de placement des légendes - pour certaines d'entre elles. - Le tableau + +\lang english +In documents with a KOMA-Script document class you can also right-click + on a caption and mark in the context menu if this should be a caption above + or below the table/figure. + This way you can override the document-wide caption placement for certain + captions. + Table +\lang french + \begin_inset space ~ \end_inset @@ -28211,9 +28548,13 @@ reference "tab:A-caption-marked" \end_inset - donne un exemple dans lequel la légende est positionnée au-dessous du tableau - alors qu'elle est insérée au-dessus. - Par comparaison, la légende du tableau + +\lang english + is an example where the caption is marked a being below the table while + it is above. + For comparison the caption in Table +\lang french + \begin_inset space ~ \end_inset @@ -28224,7 +28565,9 @@ reference "tab:A-standard-table" \end_inset - n'est pas repositionnée. + +\lang english + is not marked. \end_layout \begin_layout Standard @@ -28243,9 +28586,9 @@ name "tab:A-caption-marked" \end_inset -Une légende positionnée sous le tableau par le menu contextuel + \lang english -. +A caption marked as being below the table. \end_layout \end_inset @@ -28295,7 +28638,7 @@ Une légende positionnée sous le tableau par le menu contextuel \begin_inset Text \begin_layout Plain Layout -Jean +Joe \end_layout \end_inset @@ -28304,7 +28647,7 @@ Jean \begin_inset Text \begin_layout Plain Layout -Marie +Mary \end_layout \end_inset @@ -28313,7 +28656,7 @@ Marie \begin_inset Text \begin_layout Plain Layout -Pierre +Ted \end_layout \end_inset @@ -28388,7 +28731,9 @@ name "tab:A-standard-table" \end_inset -Une légende de tableau standard + +\lang english +A standard table caption. \end_layout \end_inset @@ -28438,7 +28783,7 @@ Une légende de tableau standard \begin_inset Text \begin_layout Plain Layout -Jean +Joe \end_layout \end_inset @@ -28447,7 +28792,7 @@ Jean \begin_inset Text \begin_layout Plain Layout -Marie +Mary \end_layout \end_inset @@ -28456,7 +28801,7 @@ Marie \begin_inset Text \begin_layout Plain Layout -Pierre +Ted \end_layout \end_inset @@ -29003,7 +29348,7 @@ figure table \family default , le placement peut être -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -29011,11 +29356,11 @@ table t \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset pour haut (top), -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -29023,15 +29368,11 @@ t c \family default -\begin_inset Quotes frd -\end_inset - - \begin_inset Quotes erd \end_inset pour centre (center), ou -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -29039,7 +29380,7 @@ c b \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset pour bas (bottom). @@ -31049,11 +31390,11 @@ alph \series default . Pour les -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset numéroter -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset avec des symboles, utilisez @@ -31145,11 +31486,11 @@ arabic{footnote}} \begin_layout Standard Si vous voulez que vos notes de bas de pages soient numérotées en suivant le schéma -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset chapitre.note -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , ajoutez la commande suivante au préambule de votre document : @@ -31288,13 +31629,13 @@ numberwithin \begin_layout Standard Donc pour avoir par exemple le schéma -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset chapitre. \backslash Roman{note} -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , utilisez la commande suivante plutôt que @@ -31578,11 +31919,11 @@ reference "fig:Notes-de-fin" . On les appelle -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset notes de fin -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset . @@ -31695,11 +32036,11 @@ L'entête de paragraphe pour les notes de fin n'est pas traduit automatiquement dans la langue du document, cela doit être fait manuellement. Les lignes de préambule suivantes traduisent implicitement le nom en anglais -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Notes -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset en sa traduction Allemande @@ -31708,11 +32049,11 @@ status collapsed \begin_layout Plain Layout En français, -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Notes -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset peut être conservé. @@ -31721,11 +32062,11 @@ Notes \end_inset -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Anmerkungen -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset : @@ -31955,11 +32296,11 @@ Les notes en marge apparaissent dans la marge de droite dans les documents imprimées sur une seule face. Dans les documents imprimés recto-verso, elles apparaissent dans la marge -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset extérieure -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset – la gauche sur les pages paires et la droite sur les pages impaires. @@ -32285,7 +32626,7 @@ reference "cha:Unités-de-longueur" \end_inset cm avec la commande en code TeX -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -32293,7 +32634,7 @@ cm avec la commande en code TeX [-1.5cm] \series default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset @@ -32486,7 +32827,7 @@ Vous pouvez changer la mise en forme d'une note en marge en changeant sa définition. Pour créer par exemple une entête pour toutes les notes en marge avec le texte -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -32498,7 +32839,7 @@ Attention! \series default \bar default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset écrit en souligné, sans-sérif et en gras, ajoutez ce qui suit dans le préambule @@ -32737,7 +33078,7 @@ fi \end_layout \begin_layout Chapter -Boîtes +Les boîtes \end_layout \begin_layout Section @@ -33076,11 +33417,11 @@ Hauteur \begin_layout Description Profondeur C'est simplement la -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset hauteur -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset du texte. @@ -34914,27 +35255,35 @@ height_special "totalheight" status open \begin_layout Plain Layout -Ceci est un texte en français. - Ceci est un texte en français. - Ceci est un texte en français. - Ceci est un texte en français. - Ceci est un texte en français. - Ceci est un texte en français. - Ceci est un texte en français. - Ceci est un texte en français.Ceci est un texte en français. - Ceci est un texte en français. - Ceci est un texte en français. - Ceci est un texte en français + +\lang ngerman +Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text \begin_inset Foot status collapsed \begin_layout Plain Layout -Ceci est une note de bas de page en français. + +\lang ngerman +Dies ist eine deutsche Fußnote. \end_layout \end_inset -.Ceci est un texte en français +. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. \end_layout \end_inset @@ -35162,11 +35511,11 @@ Cette ligne est un exemple comment vous pouvez empêcher une césure \end_inset : -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset motTrèsTrèsLong -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset @@ -35174,11 +35523,11 @@ motTrèsTrèsLong \begin_layout Standard Pour empêcher que le mot -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset motTrèsTrèsLong -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset soit coupé, mettez le mot dans une boîte, mettez @@ -35193,7 +35542,11 @@ intérieure \family sans Makebox \family default - sans spécifier de largeur. + et +\lang english +use no explicit +\lang french + largeur. \end_layout \begin_layout Standard @@ -35201,8 +35554,7 @@ Voici le résultat : \end_layout \begin_layout Standard -Cette ligne est un exemple montrant comment vous pouvez empêcher une césure: - +Cette ligne est un exemple comment vous pouvez empêcher une césure: \begin_inset Box Frameless position "t" hor_pos "c" @@ -35234,25 +35586,24 @@ motTrèsTrèsLong \begin_layout Standard Une autre méthode consiste à mettre la commande -\series bold - -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset +\series bold + \backslash - \series default -\begin_inset Quotes frd +\begin_inset Quotes grd \end_inset en code TeX, juste avant le mot : \end_layout \begin_layout Standard -Cette ligne est un exemple montrant comment vous pouvez empêcher une césure: - +Cette ligne est un exemple comment vous pouvez empêcher une césure: \begin_inset Quotes fld \end_inset @@ -35308,7 +35659,7 @@ Ctrl-Entrée \end_layout \begin_layout Standard -Cette ligne est un exemple montrant comment vous pouvez empêcher une césure: +Cette ligne est un exemple comment vous pouvez empêcher une césure: \begin_inset Newline newline \end_inset @@ -35438,27 +35789,27 @@ Le déplacement peut être une valeur positive pour élever la boîte ou négati \begin_layout Standard Pour aligner le mot -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset empêcher -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset de façon à ce que le point le plus bas du caractère le plus -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset profond -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , le -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset p -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , soit au niveau de la ligne de base, insérez la commande @@ -35477,7 +35828,7 @@ depth}{ \begin_layout Standard en code TeX avant le mot. Insérez après le mot l'accolade fermante -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -35485,7 +35836,7 @@ en code TeX avant le mot. } \series default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset en code TeX. @@ -35498,7 +35849,7 @@ Voici le résultat : \begin_layout Standard Cette ligne de texte contient le mot \begin_inset ERT -status open +status collapsed \begin_layout Plain Layout @@ -35512,11 +35863,11 @@ depth}{ \end_inset -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset empêcher -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset @@ -35558,11 +35909,11 @@ depth}{ \end_inset -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset empêcher -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset @@ -35594,11 +35945,11 @@ raisebox{0.5cm}{ \end_inset -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset tester -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset @@ -35648,11 +35999,11 @@ depth}[0pt]{ \end_inset -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset empêcher -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset @@ -35684,11 +36035,11 @@ raisebox{0.5cm}[0pt]{ \end_inset -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset tester -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset @@ -35743,11 +36094,11 @@ Couleur ! Pour le texte \begin_layout Standard Pour pouvoir colorer la couleur de fond d'un texte, il faut le mettre dans une boîte appelée -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset colorbox -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset . @@ -35923,11 +36274,11 @@ colorbox{red}{ \begin_layout Standard avant le mot en code TeX. Insérez l'accolade fermante -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset } -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset après le mot, en code TeX. @@ -35952,11 +36303,11 @@ colorbox{red}{ \end_inset -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Attention! -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset @@ -36227,11 +36578,11 @@ colorbox{color}{ \begin_layout Standard en code TeX. Après la minipage, insérez l'accolade fermante -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset } -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset en code TeX. @@ -36610,20 +36961,20 @@ Dans l'exemple qui suit, la commande rotatebox[origin=c]{60}{ \series default a été insérée en code TeX juste avant le texte -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset pivoté de 90° -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset ; la boîte est refermée juste après le texte par une accolade fermante -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset } -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset en code TeX. @@ -37479,11 +37830,11 @@ status collapsed \begin_layout Plain Layout Quand -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset fleqn -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset est ajouté aux options de la classe de document. @@ -40409,7 +40760,7 @@ espaces \family default qui matérialise chaque espace présente dans le code source par un caractère -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -40426,7 +40777,7 @@ textvisiblespace \end_inset -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset . @@ -40766,7 +41117,7 @@ Flottant \family default crée un flottant de listing pour lequel vous pouvez préciser les options classiques d'emplacement : -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -40774,11 +41125,11 @@ Flottant h \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -40786,11 +41137,11 @@ h t \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -40798,11 +41149,11 @@ t b \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , et -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -40810,7 +41161,7 @@ b p \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset correspondant aux emplacement décrits dans la section @@ -40827,7 +41178,7 @@ reference "sec:Placement-flottants" . Les options de positionnement peuvent être mélangées et doivent être saisies sans séparation, par exemple, on peut taper -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -40835,16 +41186,16 @@ reference "sec:Placement-flottants" htbp \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset . - L'option -\begin_inset Quotes fld + L' option +\begin_inset Quotes eld \end_inset h -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset a parfois aucun effet, mais vous n'avez pas besoin d'utiliser l'option @@ -40876,23 +41227,29 @@ reference "lst:Listing-exemple" \end_inset . - Une liste des listings qui contient tous les listings légendés peut être - créée par le menu + +\lang english +A list of listings which contains all listings with captions can be created + via the menu +\lang french + \family sans Insertion\SpecialChar \menuseparator -Listes + +\lang english +List \begin_inset space ~ \end_inset -& +/ \begin_inset space ~ \end_inset -TdM\SpecialChar \menuseparator -Liste des listings +TOC\SpecialChar \menuseparator +List of Listings \family default . - Les éléments de la liste sont les légendes et le numéro de listing. + The list entries are the listing caption and the listing number. \end_layout \begin_layout Standard @@ -40945,11 +41302,11 @@ Quand vous avez choisi un langage de programmation dans la fenêtre de dialogue de listing, les mots-clés de ce langage seront reconnus et mis en forme de manière particulière dans la sortie imprimée. Dans l'exemple de listing, le mot clé Python -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset def -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset est reconnu et imprimé en caractères gras dans la sortie. @@ -41014,11 +41371,11 @@ Pas \family default pour désigner les lignes qui seront numérotées. Par exemple, si vous mettez -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset 3 -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , seule une ligne sur trois sera numérotée. @@ -41050,7 +41407,7 @@ Caractères Voici un exemple de listing avec la numérotation des lignes à gauche par pas de 3, en langage Python, avec les options -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Table @@ -41066,11 +41423,11 @@ caractères \end_inset étendue -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset et -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset Espace @@ -41090,7 +41447,7 @@ un \end_inset symbole -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset , l'intervalle de ligne étant 3 @@ -41255,11 +41612,11 @@ reference "sec:Sous-documents" à utiliser pour le listing dans une zone de texte. Pour avoir une liste des paramètres disponibles, tapez un point d'interrogation -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset ? -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset dans la zone de texte. @@ -41292,7 +41649,7 @@ reference "lst:listing-fichier" \end_inset - est un exemple de listing issu d'un fichier ; ici les lignes 10 + est une exemple de listing issu d'un fichier ; ici les lignes 10 \begin_inset space \thinspace{} \end_inset @@ -41366,7 +41723,7 @@ arg "copy" \begin_layout Enumerate Dans le listing écrivez -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset @@ -41374,7 +41731,7 @@ Dans le listing écrivez $$ \family default -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset et copiez le contenu du presse-papier entre les deux signes dollar (raccourci @@ -41452,11 +41809,11 @@ Listings . Pour avoir la liste des options disponibles, tapez un point d'interrogation -\begin_inset Quotes fld +\begin_inset Quotes eld \end_inset ? -\begin_inset Quotes frd +\begin_inset Quotes erd \end_inset dans le champ. @@ -46043,13 +46400,13 @@ La largeur totale de n \emph default cellules de tableau -\begin_inset Formula $L_{\mathrm{tot\, n}}$ +\begin_inset Formula $W_{\mathrm{tot\, n}}$ \end_inset peut être calculée avec \begin_inset Formula \begin{equation} -L_{\mathrm{tot}\, n}=n\cdot(L_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n} +W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n} \end{equation} \end_inset @@ -46058,8 +46415,8 @@ L_{\mathrm{tot}\, n}=n\cdot(L_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cd \end_layout \begin_layout Standard -où -\begin_inset Formula $L_{g\, n}$ +Où +\begin_inset Formula $W_{g\, n}$ \end_inset est la largeur fixe de toutes les cellules. @@ -46100,14 +46457,14 @@ reference "eq:Wtot_n" \end_inset -, la largeur totale d'une multi-colonnes, -\begin_inset Formula $L_{\mathrm{tot\, mult}}$ +, la largeur totale d'une multicolonne, +\begin_inset Formula $W_{\mathrm{tot\, mult}}$ \end_inset est \begin_inset Formula \begin{equation} -L_{\mathrm{tot\, mult}}=L_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult} +W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult} \end{equation} \end_inset @@ -46135,7 +46492,7 @@ reference "eq:Wtot_mult" \end_inset sont égales, on peut calculer la largeur nécessaire -\begin_inset Formula $L_{g\, n}$ +\begin_inset Formula $W_{g\, n}$ \end_inset quand @@ -46144,13 +46501,13 @@ n \emph default colonnes sont couvertes, de façon à ce que chaque colonne ait une largeur de -\begin_inset Formula $L_{\mathrm{tot\, mult}}/n$ +\begin_inset Formula $W_{\mathrm{tot\, mult}}/n$ \end_inset : \begin_inset Formula \begin{equation} -L_{g\, n}=\frac{L_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n} +W_{g\, n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n} \end{equation} \end_inset diff --git a/lib/doc/ja/Additional.lyx b/lib/doc/ja/Additional.lyx index e753e8a792..7ad6c52209 100644 --- a/lib/doc/ja/Additional.lyx +++ b/lib/doc/ja/Additional.lyx @@ -13,8 +13,8 @@ % the documentation team % email: lyx-docs@lists.lyx.org -\IfFileExists{pxjahyper.sty} -{\usepackage{pxjahyper}} +\ifnum 42146=\euc"A4A2 \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}\else +\AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}}\fi % if pdflatex is used \usepackage{ifpdf} @@ -93,7 +93,7 @@ End \end_local_layout \language japanese \language_package default -\inputencoding auto +\inputencoding jis-platex \fontencoding global \font_roman default \font_sans default @@ -113,11 +113,11 @@ End \paperfontsize 12 \spacing single \use_hyperref true -\pdf_title "LyX's Additional Features manual" -\pdf_author "LyX Team" -\pdf_subject "LyX's additional features documentation" -\pdf_keywords "LyX, Documentation, Additional" -\pdf_bookmarks false +\pdf_title "LyX拡張機能篇" +\pdf_author "LyXプロジェクトチーム" +\pdf_subject "LyX拡張機能取扱説明書" +\pdf_keywords "LyX、取扱説明書、文書化、拡張" +\pdf_bookmarks true \pdf_bookmarksnumbered true \pdf_bookmarksopen false \pdf_bookmarksopenlevel 1 @@ -126,7 +126,7 @@ End \pdf_colorlinks true \pdf_backref false \pdf_pdfusetitle false -\pdf_quoted_options "pdfencoding=pdfdoc, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" +\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" \papersize default \use_geometry false \use_package amsmath 1 @@ -8726,157 +8726,157 @@ aasguide.tex \backslash documentclass \family default - (2.1.1)・ +(2.1.1)・ \family typewriter \backslash begin{document} \family default - (2.2)・ +(2.2)・ \family typewriter \backslash title \family default - (2.3)・ +(2.3)・ \family typewriter \backslash author \family default - (2.3)・ +(2.3)・ \family typewriter \backslash affil \family default - (2.3)・ +(2.3)・ \family typewriter \backslash abstract \family default - (2.4)・ +(2.4)・ \family typewriter \backslash keywords \family default - (2.5)・ +(2.5)・ \family typewriter \backslash section \family default - (2.7)・ +(2.7)・ \family typewriter \backslash subsection \family default - (2.7)・ +(2.7)・ \family typewriter \backslash subsubsection \family default - (2.7)・ +(2.7)・ \family typewriter \backslash paragraph \family default - (2.7)・ +(2.7)・ \family typewriter \backslash facility \family default - (2.10)・ +(2.10)・ \family typewriter \backslash begin{displaymath} \family default - (2.12)・ +(2.12)・ \family typewriter \backslash begin{equation} \family default - (2.12)・ +(2.12)・ \family typewriter \backslash begin{eqnarray} \family default - (2.12)・ +(2.12)・ \family typewriter \backslash begin{mathletters} \family default - (2.12)・ +(2.12)・ \family typewriter \backslash begin{thebibliography} \family default - (2.13.1)・ +(2.13.1)・ \family typewriter \backslash bibitem \family default - (2.13.2)・全引用コマンドとその派生(2.13.2)・一般的なgraphicx図コマンド(2.14.1)・ +(2.13.2)・全引用コマンドとその派生(2.13.2)・一般的なgraphicx図コマンド(2.14.1)・ \family typewriter \backslash begin{table} \family default - (2.15.4)・ +(2.15.4)・ \family typewriter \backslash begin{tabular} \family default - (2.15.4)・ +(2.15.4)・ \family typewriter \backslash caption \family default - (2.15.4)・ +(2.15.4)・ \family typewriter \backslash label \family default - (他にもあるが特に2.15.4)・ +(他にもあるが特に2.15.4)・ \family typewriter \backslash tablerefs \family default - (2.15.5)・ +(2.15.5)・ \family typewriter \backslash tablecomments \family default - (2.15.5)・ +(2.15.5)・ \family typewriter \backslash url \family default - (2.17.4)・ +(2.17.4)・ \family typewriter \backslash end{document} \family default - (2.18)。 +(2.18)。 \end_layout \begin_layout Standard @@ -8884,23 +8884,23 @@ end{document} \family typewriter longabstract \family default - (2.4)・ +(2.4)・ \family typewriter preprint \family default - (3.2.1)・ +(3.2.1)・ \family typewriter preprint2 \family default - (3.2.2)・ +(3.2.2)・ \family typewriter eqsecnum \family default - (3.3)・ +(3.3)・ \family typewriter flushrt \family default - (3.4)。これらは、 +(3.4)。これらは、 \begin_inset Flex MenuItem status collapsed diff --git a/lib/doc/ja/EmbeddedObjects.lyx b/lib/doc/ja/EmbeddedObjects.lyx index df0826bfec..f125e11f7a 100644 --- a/lib/doc/ja/EmbeddedObjects.lyx +++ b/lib/doc/ja/EmbeddedObjects.lyx @@ -237,7 +237,7 @@ End \pdf_author "LyX Team, Uwe Stohr" \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes" \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes" -\pdf_bookmarks false +\pdf_bookmarks true \pdf_bookmarksnumbered true \pdf_bookmarksopen true \pdf_bookmarksopenlevel 1 @@ -247,8 +247,8 @@ End \pdf_backref false \pdf_pdfusetitle false \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels" -\papersize default -\use_geometry false +\papersize a4paper +\use_geometry true \use_package amsmath 2 \use_package amssymb 2 \use_package cancel 0 @@ -1709,66 +1709,31 @@ status collapsed \begin_layout Standard -\family roman -\series medium -\shape up -\size normal -\emph off -\bar no -\noun off -\color none -表を右クリックすると、文脈依存メニューが表示されて、表を変更することができます。メニュー項目 +\lang english +You can alter a table by clicking on it with the right mouse button, which + brings up the context menu. + Under the menu entry \family sans -\series default -\shape default -\size default -\emph default -\bar default -\noun default -\color inherit -詳細 -\family roman -\series medium -\shape up -\size normal -\emph off -\bar no -\noun off -\color none -以下では、現在カーソルが置かれているセルないし行・列の設定を調節することができます。文脈依存メニュー -\family sans -\series default -\shape default -\size default -\emph default -\bar default -\noun default -\color inherit -詳細\SpecialChar \menuseparator -設定 -\family roman -\series medium -\shape up -\size normal -\emph off -\bar no -\noun off -\color none -を選ぶと、ダイアログボックスが開いて、更に詳細な設定を行うことができます。また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセ -ルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。 +More \family default -\series default -\shape default -\size default -\emph default -\bar default -\noun default -\color inherit -セルの + you can adjust the settings of that cell and row/column respectively where + the cursor is currently placed. + The context menu +\family sans +More\SpecialChar \menuseparator +Settings +\family default + opens the table dialog where you can adjust more things. + Most of the dialog options also work on selections. + This means if you select more cells, columns or rows, the action is done + for the whole selection. + Note that there is a difference between selecting the \emph on -内容 +contents \emph default -を選択するのと、セル自体を選択するのは異なることに注意して下さい。 + of the cell, and the cell itself. +\lang japanese + \begin_inset Newline newline \end_inset @@ -2173,7 +2138,9 @@ type "icon" arg "inset-modify tabular move-row-up" \end_inset - は、行を上に移動します。 + +\lang english + moves the row up \end_layout \begin_layout Labeling @@ -2183,7 +2150,9 @@ type "icon" arg "inset-modify tabular move-column-left" \end_inset - は、列を左に移動します。 + +\lang english + moves the column to the left \end_layout \begin_layout Labeling @@ -2193,7 +2162,9 @@ type "icon" arg "inset-modify tabular move-row-down" \end_inset - は、行を下に移動します。 + +\lang english + moves the row down \end_layout \begin_layout Labeling @@ -2203,7 +2174,9 @@ type "icon" arg "inset-modify tabular move-column-right" \end_inset - は、列を右に移動します。 + +\lang english + moves the column to the right \end_layout \begin_layout Labeling @@ -16561,40 +16534,40 @@ definecolor{色彩名}{色彩モデル}{色彩値} \begin_layout Labeling \labelwidthstring 00.00.0000 -cmyk: シアン( +cmyk: シアン( \bar under c \bar default -yan)・マゼンタ( +yan)・マゼンタ( \bar under m \bar default -agenta)・黄( +agenta)・黄( \bar under y \bar default -ellow)・黒(blac +ellow)・黒(blac \bar under k \bar default -) +) \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 -rgb: 赤( +rgb: 赤( \bar under r \bar default -ed)・緑( +ed)・緑( \bar under g \bar default -reen)・青( +reen)・青( \bar under b \bar default -lue) +lue) \end_layout \begin_layout Labeling @@ -19795,7 +19768,7 @@ reference "tab:表セル" の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。この揃え方は、当該列にカーソルを置いて、ツールバーボタン \begin_inset Graphics - filename ../../images/tabular-feature_align-decimal.png + filename ../../trunk/lib/images/tabular-feature_align-decimal.png scale 85 scaleBeforeRotation @@ -23092,7 +23065,7 @@ reference "sec:キャプションの配置" 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい ます。畳んだフロートボックスは、 \begin_inset Graphics - filename clipart/floatQt4.png + filename ../../trunk/lib/doc/ja/clipart/floatQt4.png scale 70 scaleBeforeRotation @@ -34757,7 +34730,7 @@ reference "sec:折返しフロート" \begin_layout Plain Layout \begin_inset Graphics - filename ../../images/dialog-show-new-inset_graphics.png + filename ../../trunk/lib/images/dialog-show-new-inset_graphics.png scale 70 scaleBeforeRotation @@ -34823,7 +34796,7 @@ reference "sec:折返しフロート" \begin_layout Plain Layout \begin_inset Graphics - filename ../../images/dialog-show-new-inset_graphics.png + filename ../../trunk/lib/images/dialog-show-new-inset_graphics.png scale 70 scaleBeforeRotation @@ -34904,7 +34877,7 @@ reference "sec:折返しフロート" \begin_layout Plain Layout \begin_inset Graphics - filename ../../images/dialog-show-new-inset_graphics.png + filename ../../trunk/lib/images/dialog-show-new-inset_graphics.png scale 70 scaleBeforeRotation @@ -34970,7 +34943,7 @@ reference "sec:折返しフロート" \begin_layout Plain Layout \begin_inset Graphics - filename ../../images/dialog-show-new-inset_graphics.png + filename ../../trunk/lib/images/dialog-show-new-inset_graphics.png scale 70 scaleBeforeRotation @@ -35008,7 +34981,7 @@ reference "sec:折返しフロート" \begin_layout Plain Layout \begin_inset Graphics - filename ../../images/dialog-show-new-inset_graphics.png + filename ../../trunk/lib/images/dialog-show-new-inset_graphics.png scale 70 scaleBeforeRotation @@ -35113,7 +35086,7 @@ reference "sec:折返しフロート" \begin_layout Plain Layout \begin_inset Graphics - filename ../../images/dialog-show-new-inset_graphics.png + filename ../../trunk/lib/images/dialog-show-new-inset_graphics.png scale 70 scaleBeforeRotation @@ -35175,7 +35148,7 @@ reference "sec:折返しフロート" \begin_layout Plain Layout \begin_inset Graphics - filename ../../images/dialog-show-new-inset_graphics.png + filename ../../trunk/lib/images/dialog-show-new-inset_graphics.png scale 70 scaleBeforeRotation @@ -35271,7 +35244,7 @@ reference "sec:折返しフロート" \begin_layout Plain Layout \begin_inset Graphics - filename ../../images/dialog-show-new-inset_graphics.png + filename ../../trunk/lib/images/dialog-show-new-inset_graphics.png scale 70 scaleBeforeRotation @@ -35366,7 +35339,7 @@ reference "sec:折返しフロート" \begin_layout Plain Layout \begin_inset Graphics - filename ../../images/dialog-show-new-inset_graphics.png + filename ../../trunk/lib/images/dialog-show-new-inset_graphics.png scale 70 scaleBeforeRotation @@ -36202,7 +36175,7 @@ target "http://en.wikipedia.org/wiki/XBoard" の書式で日付を挿入します。右は、外部素材として挿入された日付です: \begin_inset External template Date - filename ../../trunk/lib/trunk/lib/doc/ja + filename ../../trunk/lib/doc/ja \end_inset @@ -37490,24 +37463,6 @@ status open \begin_inset Newline newline \end_inset - -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -【訳註】 -\series default -これは、pLaTeXではうまく動作しません。 -\end_layout - -\end_inset - - -\begin_inset Newline newline -\end_inset - 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3 \begin_inset space \thinspace{} \end_inset @@ -38615,7 +38570,7 @@ Postscript \family default メニューかツールバーボタン \begin_inset Graphics - filename ../../images/buffer-view_ps.png + filename ../../trunk/lib/images/buffer-view_ps.png scale 85 scaleBeforeRotation @@ -38759,7 +38714,7 @@ dvipdfm \family default メニューかツールバーボタン \begin_inset Graphics - filename ../../images/buffer-view_pdf2.png + filename ../../trunk/lib/images/buffer-view_pdf2.png scale 85 scaleBeforeRotation diff --git a/lib/doc/ja/Intro.lyx b/lib/doc/ja/Intro.lyx index 3730ff0dc4..5c352a2eb2 100644 --- a/lib/doc/ja/Intro.lyx +++ b/lib/doc/ja/Intro.lyx @@ -61,8 +61,8 @@ EndPreamble End \end_local_layout \language japanese -\language_package auto -\inputencoding auto +\language_package default +\inputencoding utf8-platex \fontencoding global \font_roman default \font_sans default @@ -86,7 +86,7 @@ End \pdf_author "LyX Team" \pdf_subject "LyX-documentation Intro" \pdf_keywords "LyX, documentation" -\pdf_bookmarks false +\pdf_bookmarks true \pdf_bookmarksnumbered true \pdf_bookmarksopen true \pdf_bookmarksopenlevel 2 @@ -650,7 +650,6 @@ status collapsed \begin_layout Plain Layout - \backslash texorpdfstring{ \end_layout @@ -662,7 +661,6 @@ LyX status collapsed \begin_layout Plain Layout - }{LyX} \end_layout diff --git a/lib/doc/ja/Math.lyx b/lib/doc/ja/Math.lyx index adec701e48..bcb5d877ff 100644 --- a/lib/doc/ja/Math.lyx +++ b/lib/doc/ja/Math.lyx @@ -198,11 +198,11 @@ End \paperfontsize default \spacing single \use_hyperref true -\pdf_title "LyX's Math Manual" -\pdf_author "LyX Team, Uwe Stohr" -\pdf_subject "LyX-documentation about math" +\pdf_title "LyX数式説明書" +\pdf_author "LyXプロジェクトチーム・Uwe Stohr" +\pdf_subject "LyXの数式機能説明書" \pdf_keywords "LyX, Mathed" -\pdf_bookmarks false +\pdf_bookmarks true \pdf_bookmarksnumbered true \pdf_bookmarksopen true \pdf_bookmarksopenlevel 1 @@ -3466,7 +3466,7 @@ arg "math-insert \\space" \begin_inset Graphics - filename ../../images/math/phantom.png + filename ../../trunk/lib/images/math/phantom.png scale 85 \end_inset @@ -3687,7 +3687,7 @@ vphantom \begin_inset Graphics - filename ../../images/math/vphantom.png + filename ../../trunk/lib/images/math/vphantom.png scale 85 \end_inset @@ -3716,7 +3716,7 @@ hphantom \begin_inset Graphics - filename ../../images/math/hphantom.png + filename ../../trunk/lib/images/math/hphantom.png scale 85 \end_inset @@ -33358,7 +33358,7 @@ arg "math-macro newmacroname_newcommand" \begin_inset Graphics - filename clipart/macrobox.png + filename ../clipart/macrobox.png scale 50 \end_inset diff --git a/lib/doc/ja/Tutorial.lyx b/lib/doc/ja/Tutorial.lyx index ca192e2b1a..9e581986bf 100644 --- a/lib/doc/ja/Tutorial.lyx +++ b/lib/doc/ja/Tutorial.lyx @@ -13,6 +13,9 @@ % the documentation team % email: lyx-docs@lists.lyx.org +\ifnum 42146=\euc"A4A2 \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}\else +\AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}}\fi + \usepackage{ifpdf} % part of the hyperref bundle \ifpdf % if pdflatex is used @@ -61,7 +64,7 @@ EndPreamble End \end_local_layout \language japanese -\language_package auto +\language_package default \inputencoding auto \fontencoding global \font_roman default @@ -74,7 +77,7 @@ End \font_osf false \font_sf_scale 100 \font_tt_scale 100 -\graphics default +\graphics dvips \default_output_format pdf \output_sync 0 \bibtex_command default @@ -86,7 +89,7 @@ End \pdf_author "LyX Team, Japanese translation: Koji Yokata" \pdf_subject "LyX-documentation Tutorial" \pdf_keywords "LyX, documentation" -\pdf_bookmarks false +\pdf_bookmarks true \pdf_bookmarksnumbered true \pdf_bookmarksopen true \pdf_bookmarksopenlevel 2 @@ -148,7 +151,7 @@ LyXプロジェクトチーム status collapsed \begin_layout Plain Layout -なにかコメントや間違いの修正がある場合には、LyX文書化メーリングリスト( +なにかコメントや間違いの修正がある場合には、LyX文書化メーリングリスト( \begin_inset CommandInset href LatexCommand href target "lyx-docs@lists.lyx.org" @@ -156,7 +159,7 @@ type "mailto:" \end_inset -)までお知らせ下さい。この文書の翻訳は、当初人見光太郎氏が行った貢献に基づいています。 +)までお知らせ下さい。この文書の翻訳は、当初人見光太郎氏が行った貢献に基づいています。 \end_layout \end_inset diff --git a/lib/doc/ja/UserGuide.lyx b/lib/doc/ja/UserGuide.lyx index 69e50078fe..85d18e73a6 100644 --- a/lib/doc/ja/UserGuide.lyx +++ b/lib/doc/ja/UserGuide.lyx @@ -61,6 +61,10 @@ \usepackage{subfig} \DeclareCaptionOption{large}[]{\def\captionfont{\large}} \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}} + +%\ifnum 42146=\euc"A4A2 \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}\else +%\AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}}\fi +%\AtBeginDvi{\special{pdf:tounicode EUC-UCS2}} \end_preamble \options refpage,intoc,bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading \use_default_options false @@ -97,8 +101,8 @@ EndPreamble End \end_local_layout \language japanese -\language_package auto -\inputencoding auto +\language_package default +\inputencoding utf8-platex \fontencoding global \font_roman default \font_sans default @@ -122,7 +126,7 @@ End \pdf_author "LyX Team" \pdf_subject "LyX" \pdf_keywords "LyX" -\pdf_bookmarks false +\pdf_bookmarks true \pdf_bookmarksnumbered true \pdf_bookmarksopen false \pdf_bookmarksopenlevel 1 @@ -151,7 +155,7 @@ End \use_indices false \paperorientation portrait \suppress_date false -\justification false +\justification true \use_refstyle 0 \notefontcolor #0000ff \branch 質問 @@ -1155,12 +1159,12 @@ arg "command-sequence buffer-begin ; buffer-end-select" \end_layout \begin_layout Section -操作を取り消す・繰り返す +元に戻すとやり直す \begin_inset Index idx status collapsed \begin_layout Plain Layout -そうさ@操作 ! をとりけす@------を取り消す +もとにもどす@元に戻す \end_layout \end_inset @@ -1170,7 +1174,7 @@ status collapsed status collapsed \begin_layout Plain Layout -そうさ @ 操作 ! おなじをくりかえす@同じ------を繰り返す +やりなおす@やり直す \end_layout \end_inset @@ -1178,7 +1182,7 @@ status collapsed \begin_inset CommandInset label LatexCommand label -name "sec:操作を取り消す・繰り返す" +name "sec:元に戻すとやり直す" \end_inset @@ -1186,10 +1190,11 @@ name "sec:操作を取り消す・繰り返す" \end_layout \begin_layout Standard -LyXでは、何か失敗をしても、簡単に取り消して元に戻すことができます。LyXは大容量の操作取消/繰返バッファを持っています。失敗を元に戻すときには、 +LyXでは、何か失敗をしても、簡単にもとに戻すことができます。LyXは大容量のUndo (元に戻す)/Redo (やり直す)バッファを持っています。失敗を元に戻 +すときには、 \family sans 編集\SpecialChar \menuseparator -操作を取り消す +元に戻す \family default かツールバーボタン \begin_inset Info @@ -1197,10 +1202,10 @@ type "icon" arg "undo" \end_inset -を選択して下さい。もし元に戻しすぎた場合には、「操作を取り消すのを取り消す」ために +を選択して下さい。もし元に戻しすぎた場合には、「元に戻すのを元に戻す」ために \family sans 編集\SpecialChar \menuseparator -同じ操作を繰り返す +やり直す \family default あるいはツールバーボタン \begin_inset Info @@ -1208,22 +1213,22 @@ type "icon" arg "redo" \end_inset -を使って下さい。操作取消メカニズムは、メモリーオーバーへッドを押さえるために100ステップに制限されています。 +を使って下さい。元に戻すメカニズムは、メモリーオーバーへッドを押さえるために100ステップに制限されています。 \end_layout \begin_layout Standard -またファイルを開いてから行ったすべての変更を無効にしても、「変更された」という文章の状態はかわらないことに注意して下さい。これは操作を取り消すのを上記のように1 -00ステップに制限したためです。 +またファイルを開いてから行ったすべての変更を無効にしても、「変更された」という文章の状態はかわらないことに注意して下さい。これは元に戻すのを上記のように100ス +テップに制限したためです。 \end_layout \begin_layout Standard \family sans -操作を取り消す +元に戻す \family default と \family sans -同じ操作を繰り返す +やり直す \family default は、LyXの中のほとんどすべてのものについて働きます。しかしながら、入力された文章については、文字単位ではなくて文字の塊ごとに元に戻したりやり直したりすることが できます。 @@ -1474,13 +1479,13 @@ reference "sec:書誌情報" \begin_layout Standard \begin_inset Graphics - filename ../../images/reload.png + filename ../../trunk/lib/images/reload.png \end_inset ボタンは、(通常必要でないはずですが)目次を再描画します。その隣のボタンは、節の文書中の位置を変えるためのボタンです。 \begin_inset Graphics - filename ../../images/down.png + filename ../../trunk/lib/images/down.png scale 85 groupId toolbarbuttons @@ -1488,7 +1493,7 @@ reference "sec:書誌情報" および \begin_inset Graphics - filename ../../images/up.png + filename ../../trunk/lib/images/up.png scale 85 groupId toolbarbuttons @@ -1497,7 +1502,7 @@ reference "sec:書誌情報" を使うと、節の文書中の位置が、前方に移動したり後方に移動したりします。つまり、例えば第2.5節を、第2.4節の前に持っていったり第2.6節の後に移動したりすることがで きるわけです。それに伴い、LyXは、節番号を自動的に新しい順序に振り直してくれます。 \begin_inset Graphics - filename ../../images/promote.png + filename ../../trunk/lib/images/promote.png scale 85 groupId toolbarbuttons @@ -1505,7 +1510,7 @@ reference "sec:書誌情報" ないし \begin_inset Graphics - filename ../../images/demote.png + filename ../../trunk/lib/images/demote.png scale 85 groupId toolbarbuttons @@ -1623,8 +1628,12 @@ LyXは、現在開かれている全ての文書を走査して、単語の補 \family sans カーソル表示器 \family default -オプションを無効にすれば、表示されなくなります。一般オプションでは、補完入力やポップアップ補完の遅延時間を設定したり、単語の補完を開始するまでに最低限なくてはな -らない文字数を指定したり、長い補完の切り詰めを行うかどうかを選択することができます。 +オプションを無効にすれば、表示されなくなります。 +\lang english +With the general options you can define the delay time for the inline and + popup completion, you can set the minimal number of characters a word must + have that it will be taken into account for a completion and you can choose + if long completions should be abbreviated. \end_layout \begin_layout Standard @@ -4318,7 +4327,7 @@ status collapsed status collapsed \begin_layout Plain Layout -せつみだし@節見出し!のたんしゅくけい@------の短縮形 +せつみだし@節見出し!のたんしゅく形@------の短縮形 \end_layout \end_inset @@ -6356,7 +6365,7 @@ arg "newline-insert newline" \end_layout \begin_layout Standard -ほとんどの学術論文は、概要に始まり書誌情報で終わります。LyXには、この2つのための段落環境もあります。 +ほとんどの学術論文は、概要に始まり参考文献で終わります。LyXには、この2つのための段落環境もあります。 \end_layout \begin_layout Subsubsection @@ -6920,12 +6929,14 @@ Verbatim \end_layout \begin_layout Verbatim + これは無調整(verbatim)環境です。 \end_layout \begin_layout Verbatim \noindent \align block + この下の2行は空白行です。 \end_layout @@ -6938,6 +6949,7 @@ Verbatim \end_layout \begin_layout Verbatim + 右記の各文字を始め、ほぼすべての文字が使えます。例:"%&$§#~'` \backslash }][{| @@ -13457,7 +13469,7 @@ reference "sec:出力" \family default かツールバーボタン \begin_inset Graphics - filename ../../images/view-others.png + filename ../../trunk/lib/images/view-others.png scale 85 groupId toolbarbuttons @@ -15130,7 +15142,7 @@ status collapsed \begin_layout Standard 注釈は、ツールバーボタン \begin_inset Graphics - filename ../../images/note-insert.png + filename ../../trunk/lib/images/note-insert.png scale 85 scaleBeforeRotation @@ -16076,8 +16088,11 @@ reference "sub:表のセル" \emph on 表 \emph default -」の節に説明されているように、連結行セルのように表に特別な整形を行うときに必要になるでしょう。また、カーソル位置のセルや表全体も回転させることができます。この回 -転はLyX上には表示されませんが、出力では正しく表示されます。 +」の節に説明されているように、連結行セルのように表に特別な整形を行うときに必要になるでしょう。 +\lang english +You can also rotate the current cell or the whole table +\lang japanese +。この回転はLyX上には表示されませんが、出力では正しく表示されます。 \end_layout \begin_layout Standard @@ -23752,7 +23767,7 @@ status collapsed \begin_layout Plain Layout \series bold -【訳註】 +訳註: \series default 文書言語が「日本語」になっているときは、アクセント付き文字を、アクセントを直接入力できる欧州言語用のキーボードなどで直接入力して使用することはできません。その代 わりに、この小節で行っているように、LaTeXコマンドを使用してアクセントを入力してやる必要があります。しかし、ここで書かれていることは、漢字コード順と索引順が @@ -27576,10 +27591,6 @@ status collapsed \begin_layout Plain Layout 正規表現のよい説明がWikipediaの以下の項目にあります。 -\begin_inset Newline newline -\end_inset - - \begin_inset CommandInset href LatexCommand href target "http://en.wikipedia.org/wiki/Regular_expression" @@ -28107,7 +28118,7 @@ Linuxでは、頒布版や辞書の導入の仕方によって、典型的な場 \backslash Program Files \backslash -LibreOffice-<バージョン> +LibreOffice- \backslash share \backslash @@ -28979,7 +28990,7 @@ status collapsed \begin_layout Plain Layout \series bold -【訳註】 +(訳註) \series default よくわからない人は『Star Trek』を参照のこと。 \end_layout @@ -29967,14 +29978,14 @@ status collapsed \end_layout \begin_layout Subsection -操作を取り消す・同じ操作を繰り返す +元に戻すとやり直す \end_layout \begin_layout Standard 第 \begin_inset CommandInset ref LatexCommand ref -reference "sec:操作を取り消す・繰り返す" +reference "sec:元に戻すとやり直す" \end_inset @@ -32340,7 +32351,7 @@ arg "undo" \family sans 編集\SpecialChar \menuseparator -操作を取り消す +元に戻す \end_layout \end_inset @@ -32370,7 +32381,7 @@ arg "redo" \family sans 編集\SpecialChar \menuseparator -同じ操作を繰り返す +やり直す \end_layout \end_inset @@ -33866,7 +33877,7 @@ arg "buffer-toggle-output-sync" \begin_layout Plain Layout \begin_inset Graphics - filename ../../images/view-others.png + filename ../../trunk/lib/images/view-others.png scale 85 groupId toolbarbuttons @@ -33896,7 +33907,7 @@ arg "buffer-toggle-output-sync" \begin_layout Plain Layout \begin_inset Graphics - filename ../../images/update-others.png + filename ../../trunk/lib/images/update-others.png scale 85 groupId toolbarbuttons @@ -34256,7 +34267,14 @@ LyXは、二段組や行間を画面には反映しないことに注意して \end_layout \begin_layout Standard -LyX作業域で整形を行うオプションを使うと、LyX画面上で文を整形するかどうか指定することができます。これは、LyX内部の文にのみ影響し,出力には影響しません。 + +\lang english +With the option +\family sans +Use justification in LyX work area +\family default + you can decide if LyX justifies the text on screen. + This only affects the text inside LyX not in the output. \end_layout \begin_layout Section @@ -35382,20 +35400,29 @@ amsmath これは、多くの数式要素に必要とされているので、数 \end_layout \begin_layout Description -amssymb これは、ボールド体ギリシャ文字やアップライト体ギリシャ文字など、特殊な数学記号に必要です。数式でLaTeXエラーが出る場合には、これが有効になっ -ているか確認してください。 + +\lang english +amssymb is needed for some special math symbols like bold or upright Greek + letters, so when you get LaTeX-errors in formulas, ensure that you have + this enabled. \end_layout \begin_layout Description -cancel これは、数式の取り消しに使われます。取扱説明書『 + +\lang english +cancel is used for canceled formulas, see section \emph on -数式篇 +Canceled +\begin_inset space ~ +\end_inset + +Formulas \emph default -』の「 + of the \emph on -数式の消去 +Math \emph default -」の節をご覧ください。 + manual. \end_layout \begin_layout Description @@ -35423,47 +35450,49 @@ mathdots これは、特殊な省略符号に用いられます。取扱説明 \end_layout \begin_layout Description -mathtools これは、 + +\lang english +mathtools is used for the math commands \series bold \backslash overbracket \series default -・ +, \series bold \backslash underbracket \series default -・ +, \series bold \backslash smashoperator \series default -・ +, \series bold \backslash adjustlimits \series default -・ +, \series bold \backslash splitfrac \series default -・ +, \series bold \backslash shortintertext \series default -の各数式コマンドとラベル付き矢印に使われます。取扱説明書『 + and labeled arrows, see the corresponding sections in the \emph on -数式篇 +Math \emph default -』の対応する節をご覧ください。 + manual. \end_layout \begin_layout Description @@ -35479,39 +35508,49 @@ mhchem これは、化学式に用いられます。取扱説明書『 \end_layout \begin_layout Description -stackrel これは、数式コマンド + +\lang english +stackrel is used for the math command \series bold \backslash stackrel \series default -のために用いられます。取扱説明書『 +, see section \emph on -数式篇 +Relations \emph default -』の「 +of the \emph on -関係子 +Math \emph default -」の節をご覧ください。 + manual. \end_layout \begin_layout Description -stmaryrd これは、特殊な数式記号のために用いられます。 + +\lang english +stmaryrd is used for a few special math symbols. \end_layout \begin_layout Description -undertilde これは、数式コマンド + +\lang english +undertilde is used for the math command \series bold \backslash utilde \series default -のために用いられます。取扱説明書『 +, see section \emph on -数式篇 +Accents for one Character \emph default -』の「アクセント」の節をご覧ください。 +of the +\emph on +Math +\emph default + manual. \end_layout \begin_layout Section @@ -36044,7 +36083,9 @@ target "http://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png" \end_layout \begin_layout Subsubsection -文脈依存ヘルプ + +\lang english +Context help \end_layout \begin_layout Standard @@ -36056,24 +36097,34 @@ target "http://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png" \end_layout \begin_layout Subsubsection -メニュー + +\lang english +Menus \end_layout \begin_layout Standard \family sans -直近のファイルの数 +\lang english +Maximum last files \family default -は、メニュー + is the number of last opened files that LyX should display in the menu + \family sans -ファイル\SpecialChar \menuseparator -直近のファイルを開く +File\SpecialChar \menuseparator +Open +\begin_inset space ~ +\end_inset + +Recent \family default -に表示される直近に開かれたファイルの数です。 +. \end_layout \begin_layout Subsection -文書処理 + +\lang english +Document Handling \end_layout \begin_layout Subsubsection @@ -36113,7 +36164,11 @@ target "http://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png" \end_layout \begin_layout Subsubsection -バックアップと保存 + +\lang english +Backup & saving +\lang japanese + \begin_inset CommandInset label LatexCommand label name "sub:文書のバックアップ" @@ -36178,7 +36233,9 @@ reference "sec:パス" \end_layout \begin_layout Subsubsection -ウィンドウと作業領域 + +\lang english +Windows & work area \end_layout \begin_layout Standard @@ -36253,16 +36310,21 @@ status open \begin_layout Standard +\lang english +With the setting \family sans -最後の表示窓を閉じる際 +Closing last view \family default -の設定では、文書のタブもしくは表示窓を閉じるとき、文書を閉じるのか非表示にするのかを指定することができます。非表示になっている文書は、 + you one can decide if a document is closed or hidden when its tab or view + is closed. + Hidden documents are accessible via the menu \family sans -表示\SpecialChar \menuseparator -非表示分 +View\SpecialChar \menuseparator +Hidden \family default -メニューで見ることができます。ファイルをいくつかのLyXインスタンスで並行して開いていて、1つのインスタンスでのみ表示窓を閉じたい時には、文書を閉じないようにす -る選択は便利です。 +. + Not to close documents can be useful if you open files parallel in several + instances of LyX and only want to close the view in once instance. \end_layout \begin_layout Subsection @@ -37494,7 +37556,17 @@ selectlanguage{$$lang} \end_layout \begin_layout Description -長さ単位の既定値 LyXのダイアログ内で用いる、長さの単位の既定値を指定します。 + +\lang english +Default +\begin_inset space ~ +\end_inset + +length +\begin_inset space ~ +\end_inset + +unit Defines the unit that is used as default for lengths in LyX's dialogs. \end_layout \begin_layout Description @@ -39014,7 +39086,7 @@ target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf" \end_inset -: + \begin_inset Newline newline \end_inset @@ -39051,10 +39123,6 @@ target "http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf" \end_inset -: -\begin_inset Newline newline -\end_inset - \begin_inset Flex URL status collapsed @@ -39158,7 +39226,7 @@ target "http://www.ams.org/publications/authors/tex/amslatex" \end_inset -: + \begin_inset Newline newline \end_inset @@ -39432,7 +39500,7 @@ latexはつけじ@LaTeXパッケージ ! prettyref \end_inset -の +:の \begin_inset CommandInset href LatexCommand href name "取扱説明書" @@ -39440,7 +39508,7 @@ target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref \end_inset -: + \begin_inset Newline newline \end_inset @@ -39479,7 +39547,7 @@ latexはつけじ@LaTeXパッケージ ! refstyle \end_inset -の +:の \begin_inset CommandInset href LatexCommand href name "取扱説明書" @@ -39487,7 +39555,7 @@ target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf" \end_inset -: + \begin_inset Newline newline \end_inset diff --git a/lib/layouts/algorithm2e.module b/lib/layouts/algorithm2e.module index 8125506edb..17b5131750 100644 --- a/lib/layouts/algorithm2e.module +++ b/lib/layouts/algorithm2e.module @@ -1,7 +1,7 @@ #\DeclareLyXModule[algorithm2e.sty]{Algorithm2e} #DescriptionBegin # Use the algorithm2e package for algorithm floats rather -# then LyX's home-brewn algorithm floats. +# than LyX's home-brewed algorithm floats. #DescriptionEnd # #Author: Jürgen Spitzmüller diff --git a/lib/scripts/legacy_lyxpreview2ppm.py b/lib/scripts/legacy_lyxpreview2ppm.py index fdc5a8eec3..d16e86788f 100644 --- a/lib/scripts/legacy_lyxpreview2ppm.py +++ b/lib/scripts/legacy_lyxpreview2ppm.py @@ -293,6 +293,8 @@ def legacy_conversion_step1(latex_file, dpi, output_format, fg_color, bg_color, # Compile the latex file. latex_status, latex_stdout = run_latex(latex, latex_file) + if latex_status: + return (latex_status, []) if pdf_output: return legacy_conversion_step3(latex_file, dpi, output_format, True, skipMetrics) diff --git a/lib/scripts/lyxpak.py b/lib/scripts/lyxpak.py index f3b8078be3..ed4f20666d 100755 --- a/lib/scripts/lyxpak.py +++ b/lib/scripts/lyxpak.py @@ -145,6 +145,8 @@ def gather_files(curfile, incfiles, lyx2lyx): match = re_options.match(lines[i]) if match: file = match.group(3).strip('"') + if file.startswith("bibtotoc,"): + file = file[9:] if not os.path.isabs(file): file = os.path.join(curdir, file + '.bst') if os.path.exists(file): diff --git a/lib/scripts/lyxpreview2bitmap.py b/lib/scripts/lyxpreview2bitmap.py index 4a2cddb61f..ace46d21c6 100755 --- a/lib/scripts/lyxpreview2bitmap.py +++ b/lib/scripts/lyxpreview2bitmap.py @@ -409,6 +409,8 @@ def main(argv): # Compile the latex file. latex_status, latex_stdout = run_latex(latex, latex_file, bibtex) + if latex_status: + return (latex_status, []) # The dvi output file name dvi_file = latex_file_re.sub(".dvi", latex_file) diff --git a/lib/ui/stdmenus.inc b/lib/ui/stdmenus.inc index 2da0b7ca97..32ed83e8ae 100644 --- a/lib/ui/stdmenus.inc +++ b/lib/ui/stdmenus.inc @@ -217,11 +217,15 @@ Menuset Item "Add Row|A" "inset-modify tabular append-row" Item "Delete Row|D" "inset-modify tabular delete-row" Item "Copy Row|o" "inset-modify tabular copy-row" + Item "Move Row Up" "inset-modify tabular move-row-up" + Item "Move Row Down" "inset-modify tabular move-row-down" # Item "Swap Rows|S" "inset-modify tabular swap-row" # currently broken Separator Item "Add Column|u" "inset-modify tabular append-column" Item "Delete Column|e" "inset-modify tabular delete-column" Item "Copy Column|p" "inset-modify tabular copy-column" + Item "Move Column Right|v" "inset-modify tabular move-column-right" + Item "Move Column Left" "inset-modify tabular move-column-left" # Item "Swap Columns|w" "inset-modify tabular swap-column" # currently broken End diff --git a/po/ja.po b/po/ja.po index 12bef3bc99..66a53151d5 100644 --- a/po/ja.po +++ b/po/ja.po @@ -923,8 +923,7 @@ msgstr "検索フィールド(&H):" #: src/frontends/qt4/ui/CitationUi.ui:382 msgid "" "Enter the text to search for and press Enter or click the button to search" -msgstr "" -"検索する語句を入力してEnterを押すか、ボタンをクリックして検索してください" +msgstr "検索する語句を入力してEnterを押すか、ボタンをクリックして検索してください" #: src/frontends/qt4/ui/CitationUi.ui:395 msgid "Click or press Enter in the search box to search" @@ -1445,8 +1444,7 @@ msgstr "様式を無視(&G)" msgid "" "Keep the case of the replacement's first letter as in each matching text " "first letter" -msgstr "" -"置換後の語句の最初の文字の大小を、置換前の語句の最初の文字の大小に合わせる。" +msgstr "置換後の語句の最初の文字の大小を、置換前の語句の最初の文字の大小に合わせる。" #: src/frontends/qt4/ui/FindAndReplaceUi.ui:297 msgid "&Preserve first case on replace" @@ -3031,8 +3029,7 @@ msgstr "一般" msgid "" "After the cursor has not moved for this time, the inline completion is shown " "if it is available." -msgstr "" -"これだけの時間カーソルを動かさなかったとき、可能ならば補完入力を表示します。" +msgstr "これだけの時間カーソルを動かさなかったとき、可能ならば補完入力を表示します。" #: src/frontends/qt4/ui/PrefCompletionUi.ui:154 msgid "s inline completion dela&y" @@ -3062,8 +3059,7 @@ msgstr "補完を開始する最小文字数" msgid "" "When the TAB completion is not unique, there won't be a delay of the popup. " "It will be shown right away." -msgstr "" -"タブ補完に複数候補がある場合、ポップアップに遅延を置かず、直ちに表示する。" +msgstr "タブ補完に複数候補がある場合、ポップアップに遅延を置かず、直ちに表示する。" #: src/frontends/qt4/ui/PrefCompletionUi.ui:277 msgid "Sho&w popup without delay for non-unique completions" @@ -3343,8 +3339,7 @@ msgstr "文書形式(&D)" #: src/frontends/qt4/ui/PrefFileformatsUi.ui:80 msgid "Check this to show the current format in the File > Export menu" -msgstr "" -"この形式をファイル→書き出しメニューに表示させたいときには有効にしてください" +msgstr "この形式をファイル→書き出しメニューに表示させたいときには有効にしてください" #: src/frontends/qt4/ui/PrefFileformatsUi.ui:83 msgid "Sho&w in export menu" @@ -4175,8 +4170,7 @@ msgstr "ユーザー設定幅(&W):" #: src/frontends/qt4/ui/PrintNomenclUi.ui:52 msgid "Custom value. \"List Indentation\" needs to be set to \"Custom\"." -msgstr "" -"任意設定の値。「リストの行頭下げ」を「任意設定」に設定する必要があります。" +msgstr "任意設定の値。「リストの行頭下げ」を「任意設定」に設定する必要があります。" #: src/frontends/qt4/ui/PrintUi.ui:28 msgid "Pages" @@ -4959,8 +4953,7 @@ msgstr "二段組文書(&C)" msgid "" "Justify text in the LyX editor (this does not affect whether the text is " "justified in the output)" -msgstr "" -"LyXエディタ中で整形を行う(出力中で文書が整形されるかどうかには影響しません)" +msgstr "LyXエディタ中で整形を行う(出力中で文書が整形されるかどうかには影響しません)" #: src/frontends/qt4/ui/TextLayoutUi.ui:284 msgid "Use &justification in LyX work area" @@ -5001,8 +4994,7 @@ msgstr "見出しを選択語で置換" #: src/frontends/qt4/ui/ThesaurusUi.ui:102 msgid "Click to select a proposal, double click to look it up." -msgstr "" -"クリックすれば候補が選択されます。ダブルクリックするとその意味を引きます。" +msgstr "クリックすれば候補が選択されます。ダブルクリックするとその意味を引きます。" #: src/frontends/qt4/ui/TocUi.ui:36 msgid "Filter:" @@ -5066,8 +5058,7 @@ msgstr "LyX: 入力して下さい" #: src/frontends/qt4/ui/ToggleWarningUi.ui:44 msgid "If you check this, LyX will not warn you again in the given case." -msgstr "" -"これを有効にすると、LyXは当該ケースについて今後警告することはなくなります。" +msgstr "これを有効にすると、LyXは当該ケースについて今後警告することはなくなります。" #: src/frontends/qt4/ui/ToggleWarningUi.ui:47 msgid "&Do not show this warning again!" @@ -21837,16 +21828,14 @@ msgstr "変換スクリプトが失敗しました" msgid "" "%1$s is from an older version of LyX and the lyx2lyx script failed to " "convert it." -msgstr "" -"%1$s は旧版のLyXで作成されており,スクリプトlyx2lyxは変換に失敗 しました。" +msgstr "%1$s は旧版のLyXで作成されており,スクリプトlyx2lyxは変換に失敗 しました。" #: src/Buffer.cpp:1237 #, c-format msgid "" "%1$s is from a newer version of LyX and the lyx2lyx script failed to convert " "it." -msgstr "" -"%1$s は新版のLyXファイルなので,スクリプトlyx2lyxが変換に失敗しました。" +msgstr "%1$s は新版のLyXファイルなので,スクリプトlyx2lyxが変換に失敗しました。" #: src/Buffer.cpp:1258 src/Buffer.cpp:4169 src/Buffer.cpp:4232 msgid "File is read-only" @@ -22280,8 +22269,7 @@ msgstr "" msgid "" "The LaTeX package cancel is only used if \\cancel commands are used in " "formulas" -msgstr "" -"数式に\\cancelが挿入されたときに限り、LaTeXパッケージcancelが読み込まれます" +msgstr "数式に\\cancelが挿入されたときに限り、LaTeXパッケージcancelが読み込まれます" #: src/BufferParams.cpp:458 msgid "" @@ -22295,8 +22283,7 @@ msgstr "" msgid "" "The LaTeX package mathdots is only used if the command \\iddots is inserted " "into formulas" -msgstr "" -"数式に\\iddotsが挿入されたときに限り、LaTeXパッケージmathdotsが読み込まれます" +msgstr "数式に\\iddotsが挿入されたときに限り、LaTeXパッケージmathdotsが読み込まれます" #: src/BufferParams.cpp:462 msgid "" @@ -23080,8 +23067,7 @@ msgstr "レイアウトが見つかりません" #: src/CutAndPaste.cpp:753 #, c-format msgid "Flex inset %1$s is undefined after reloading `%2$s' layout." -msgstr "" -"「%2$s」レイアウトを読み込み直したため自由差込枠%1$sは未定義になりました。" +msgstr "「%2$s」レイアウトを読み込み直したため自由差込枠%1$sは未定義になりました。" #: src/CutAndPaste.cpp:756 #, c-format @@ -23712,8 +23698,7 @@ msgstr "" #: src/LyXRC.cpp:3143 msgid "Define the options of the bibtex program for PLaTeX (Japanese LaTeX)." -msgstr "" -"pLaTeX(日本語LaTeX)用のbibtexプログラムのオプションを定義してください。" +msgstr "pLaTeX(日本語LaTeX)用のbibtexプログラムのオプションを定義してください。" #: src/LyXRC.cpp:3147 msgid "" @@ -23725,8 +23710,7 @@ msgstr "" #: src/LyXRC.cpp:3151 msgid "Select to check whether the lastfiles still exist." -msgstr "" -"最後のファイルがまだ存在するかどうかをチェックするときには選んでください。" +msgstr "最後のファイルがまだ存在するかどうかをチェックするときには選んでください。" #: src/LyXRC.cpp:3155 msgid "" @@ -23755,8 +23739,7 @@ msgstr "" #: src/LyXRC.cpp:3177 msgid "Make Apple key act as Meta and Control key as Ctrl." -msgstr "" -"アップルキーをMetaキーとして、コントロールキーをCtrlキーとして動作させます。" +msgstr "アップルキーをMetaキーとして、コントロールキーをCtrlキーとして動作させます。" #: src/LyXRC.cpp:3181 msgid "Use the Mac OS X conventions for cursor movement" @@ -23766,8 +23749,7 @@ msgstr "カーソル移動はMac OS Xの慣習に従う。" msgid "" "Show a small box around a Math Macro with the macro name when the cursor is " "inside." -msgstr "" -"カーソルが内部にある時に、数式マクロをマクロ名のついた小さなボックスで囲む。" +msgstr "カーソルが内部にある時に、数式マクロをマクロ名のついた小さなボックスで囲む。" #: src/LyXRC.cpp:3190 #, no-c-format @@ -23811,8 +23793,7 @@ msgstr "LyX が画像をどのように表示するかを選びます。" msgid "" "The default path for your documents. An empty value selects the directory " "LyX was started from." -msgstr "" -"文書への既定パス。空の値は,LyX を開始したディレクトリを選ぶことになります。" +msgstr "文書への既定パス。空の値は,LyX を開始したディレクトリを選ぶことになります。" #: src/LyXRC.cpp:3218 msgid "Specify additional chars that can be part of a word." @@ -23923,8 +23904,7 @@ msgstr "" #: src/LyXRC.cpp:3290 msgid "De-select if you do not want LyX to scroll to saved position." -msgstr "" -"LyXが保存位置までスクロールしないようにしたいときは,非選択にしてください。" +msgstr "LyXが保存位置までスクロールしないようにしたいときは,非選択にしてください。" #: src/LyXRC.cpp:3294 msgid "De-select to prevent loading files opened from the last LyX session." @@ -23971,8 +23951,7 @@ msgstr "複数の補完候補がある際、遅延なしに補完ポップアッ msgid "" "Show a small triangle on the cursor to indicate that a completion is " "available." -msgstr "" -"補完が利用可能であることを示すためにカーソル上に小さな三角形を表示します。" +msgstr "補完が利用可能であることを示すためにカーソル上に小さな三角形を表示します。" #: src/LyXRC.cpp:3331 msgid "The inline completion delay." @@ -23997,8 +23976,7 @@ msgstr "=>を\\Rightarrowに変換するなどのTeXMacs用簡略記法を許可 #: src/LyXRC.cpp:3351 #, c-format msgid "Maximal number of lastfiles. Up to %1$d can appear in the file menu." -msgstr "" -"最後に使ったファイルの最大表示数。%1$d までファイルメニューに表示できます。" +msgstr "最後に使ったファイルの最大表示数。%1$d までファイルメニューに表示できます。" #: src/LyXRC.cpp:3362 msgid "Shows a typeset preview of things such as math" @@ -24328,8 +24306,7 @@ msgstr "未知のトークン" msgid "" "You cannot insert a space at the beginning of a paragraph. Please read the " "Tutorial." -msgstr "" -"空白を段落の先頭に挿入することはできません。LyX入門篇を読んでください。" +msgstr "空白を段落の先頭に挿入することはできません。LyX入門篇を読んでください。" #: src/Text.cpp:1002 msgid "You cannot type two spaces this way. Please read the Tutorial." @@ -24465,8 +24442,7 @@ msgstr "破損ファイル" #: src/TextClass.cpp:833 msgid "Could not read stdinsets.inc! This may lead to data loss!" -msgstr "" -"stdinsets.incを読むことができません!データ喪失につながる可能性があります!" +msgstr "stdinsets.incを読むことができません!データ喪失につながる可能性があります!" #: src/TextClass.cpp:1504 #, c-format @@ -29268,8 +29244,7 @@ msgstr "LyXバイナリが見つかりません!" #, c-format msgid "" "Unable to determine the path to the LyX binary from the command line %1$s" -msgstr "" -"コマンドライン %1$s からは、LyXバイナリへのパスを特定することができません。" +msgstr "コマンドライン %1$s からは、LyXバイナリへのパスを特定することができません。" #: src/support/Package.cpp:629 #, c-format @@ -29502,8 +29477,7 @@ msgstr "" msgid "" "It should be safe to continue, but you\n" "may wish to save your work and restart LyX." -msgstr "" -"続けても安全ですが、作業を保存してLyXを再起動するのが望ましいでしょう。" +msgstr "続けても安全ですが、作業を保存してLyXを再起動するのが望ましいでしょう。" #: src/support/lassert.cpp:65 msgid "Warning!" diff --git a/src/BufferView.cpp b/src/BufferView.cpp index 7555f78633..ae3b640dc2 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -62,6 +62,8 @@ #include "insets/InsetRef.h" #include "insets/InsetText.h" +#include "mathed/MathData.h" + #include "frontends/alert.h" #include "frontends/Application.h" #include "frontends/Delegates.h" @@ -684,6 +686,10 @@ Change const BufferView::getCurrentChange() const return Change(Change::UNCHANGED); DocIterator dit = d->cursor_.selectionBegin(); + // The selected content might have been changed (see #7685) + while (dit.inMathed()) + // Find enclosing text cursor + dit.pop_back(); return dit.paragraph().lookupChange(dit.pos()); } @@ -2494,7 +2500,8 @@ void BufferView::putSelectionAt(DocIterator const & cur, bool BufferView::selectIfEmpty(DocIterator & cur) { - if (!cur.paragraph().empty()) + if ((cur.inTexted() && !cur.paragraph().empty()) + || (cur.inMathed() && !cur.cell().empty())) return false; pit_type const beg_pit = cur.pit(); diff --git a/src/Changes.cpp b/src/Changes.cpp index d24df403cc..85cbad62de 100644 --- a/src/Changes.cpp +++ b/src/Changes.cpp @@ -397,6 +397,8 @@ int Changes::latexMarkChange(otexstream & os, BufferParams const & bparams, // close \lyxadded or \lyxdeleted os << '}'; column++; + if (oldChange.type == Change::DELETED) + --runparams.inulemcmd; } docstring chgTime; @@ -405,8 +407,10 @@ int Changes::latexMarkChange(otexstream & os, BufferParams const & bparams, chgTime.erase(chgTime.end() - 1); docstring macro_beg; - if (change.type == Change::DELETED) + if (change.type == Change::DELETED) { macro_beg = from_ascii("\\lyxdeleted{"); + ++runparams.inulemcmd; + } else if (change.type == Change::INSERTED) macro_beg = from_ascii("\\lyxadded{"); diff --git a/src/CoordCache.cpp b/src/CoordCache.cpp index dedd1355b6..686503979d 100644 --- a/src/CoordCache.cpp +++ b/src/CoordCache.cpp @@ -38,7 +38,7 @@ void lyxbreaker(void const * data, const char * hint, int size) { LYXERR0("break on pointer: " << data << " hint: " << hint << " size: " << size); - LASSERT(false, return); + LBUFERR(false); } diff --git a/src/Font.cpp b/src/Font.cpp index a155ec557a..7e8b3f4f2b 100644 --- a/src/Font.cpp +++ b/src/Font.cpp @@ -418,22 +418,22 @@ int Font::latexWriteStartChanges(odocstream & os, BufferParams const & bparams, if (f.underbar() == FONT_ON) { os << "\\uline{"; count += 10; - runparams.inulemcmd = true; + ++runparams.inulemcmd; } if (f.strikeout() == FONT_ON) { os << "\\sout{"; count += 9; - runparams.inulemcmd = true; + ++runparams.inulemcmd; } if (f.uuline() == FONT_ON) { os << "\\uuline{"; count += 11; - runparams.inulemcmd = true; + ++runparams.inulemcmd; } if (f.uwave() == FONT_ON) { os << "\\uwave{"; count += 10; - runparams.inulemcmd = true; + ++runparams.inulemcmd; } return count; } @@ -497,22 +497,22 @@ int Font::latexWriteEndChanges(otexstream & os, BufferParams const & bparams, if (f.underbar() == FONT_ON) { os << '}'; ++count; - runparams.inulemcmd = false; + --runparams.inulemcmd; } if (f.strikeout() == FONT_ON) { os << '}'; ++count; - runparams.inulemcmd = false; + --runparams.inulemcmd; } if (f.uuline() == FONT_ON) { os << '}'; ++count; - runparams.inulemcmd = false; + --runparams.inulemcmd; } if (f.uwave() == FONT_ON) { os << '}'; ++count; - runparams.inulemcmd = false; + --runparams.inulemcmd; } // If the current language is Hebrew, Arabic, or Farsi diff --git a/src/LyX.cpp b/src/LyX.cpp index 41c69f7dae..b7848311b8 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -33,6 +33,7 @@ #include "FuncStatus.h" #include "HunspellChecker.h" #include "KeyMap.h" +#include "Language.h" #include "LaTeXFonts.h" #include "LayoutFile.h" #include "Lexer.h" diff --git a/src/OutputParams.cpp b/src/OutputParams.cpp index df58ff4cad..e74eaa320e 100644 --- a/src/OutputParams.cpp +++ b/src/OutputParams.cpp @@ -20,7 +20,7 @@ namespace lyx { OutputParams::OutputParams(Encoding const * enc) : flavor(LATEX), math_flavor(NotApplicable), nice(false), is_child(false), - moving_arg(false), inulemcmd(false), local_font(0), master_language(0), + moving_arg(false), inulemcmd(0), local_font(0), master_language(0), encoding(enc), free_spacing(false), use_babel(false), use_polyglossia(false), use_indices(false), use_japanese(false), linelen(0), depth(0), exportdata(new ExportData), diff --git a/src/OutputParams.h b/src/OutputParams.h index f220b5e654..598b5753b8 100644 --- a/src/OutputParams.h +++ b/src/OutputParams.h @@ -99,13 +99,13 @@ public: */ bool intitle; - /** inulemcmd == true means that the environment in which the + /** inulemcmd > 0 means that the environment in which the inset is typeset is part of a ulem command (\uline, \uuline, \uwave, or \sout). Insets that output latex commands relying on local assignments (such as \cite) should enclose such commands in \mbox{} in order to avoid breakage. */ - mutable bool inulemcmd; + mutable int inulemcmd; /** the font at the point where the inset is */ diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index d32c0be2f0..4d9b37c1f7 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -499,7 +499,7 @@ public: TextContainer text_; typedef set Words; - typedef map LangWordsMap; + typedef map LangWordsMap; /// LangWordsMap words_; /// @@ -3670,7 +3670,9 @@ void Paragraph::changeCase(BufferParams const & bparams, pos_type pos, // process sequences of modified characters; in change // tracking mode, this approach results in much better // usability than changing case on a char-by-char basis - docstring changes; + // We also need to track the current font, since font + // changes within sequences can occur. + vector > changes; bool const trackChanges = bparams.trackChanges; @@ -3704,7 +3706,7 @@ void Paragraph::changeCase(BufferParams const & bparams, pos_type pos, } if (oldChar != newChar) { - changes += newChar; + changes.push_back(make_pair(newChar, getFontSettings(bparams, pos))); if (pos != right - 1) continue; // step behind the changing area @@ -3713,9 +3715,8 @@ void Paragraph::changeCase(BufferParams const & bparams, pos_type pos, int erasePos = pos - changes.size(); for (size_t i = 0; i < changes.size(); i++) { - insertChar(pos, changes[i], - getFontSettings(bparams, - erasePos), + insertChar(pos, changes[i].first, + changes[i].second, trackChanges); if (!eraseChar(erasePos, trackChanges)) { ++erasePos; @@ -3866,7 +3867,7 @@ void Paragraph::collectWords() if (cit == d->fontlist_.end()) return; Language const * lang = cit->font().language(); - d->words_[*lang].insert(word); + d->words_[lang->lang()].insert(word); } } } diff --git a/src/Text.cpp b/src/Text.cpp index c4cac8892e..cdcc200255 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -2120,7 +2120,7 @@ bool Text::completionSupported(Cursor const & cur) const CompletionList const * Text::createCompletionList(Cursor const & cur) const { - WordList const * list = theWordList(*cur.getFont().language()); + WordList const * list = theWordList(cur.getFont().language()->lang()); return new TextCompletionList(cur, list); } diff --git a/src/WordList.cpp b/src/WordList.cpp index 762e1b93c6..3a095afca2 100644 --- a/src/WordList.cpp +++ b/src/WordList.cpp @@ -12,14 +12,11 @@ #include "WordList.h" -#include "Language.h" - #include "support/convert.h" #include "support/debug.h" #include "support/docstring.h" -#include "support/weighted_btree.h" - #include "support/lassert.h" +#include "support/weighted_btree.h" #include @@ -28,12 +25,13 @@ using namespace std; namespace lyx { /// -map theGlobalWordList; +typedef map GlobalWordList; +GlobalWordList theGlobalWordList; -WordList * theWordList(Language const & lang) +WordList * theWordList(string const & lang) { - map::iterator it = theGlobalWordList.find(lang); + GlobalWordList::iterator it = theGlobalWordList.find(lang); if (it != theGlobalWordList.end()) return it->second; else @@ -44,7 +42,7 @@ WordList * theWordList(Language const & lang) void WordList::cleanupWordLists() { - map::const_iterator it = theGlobalWordList.begin(); + GlobalWordList::const_iterator it = theGlobalWordList.begin(); for (; it != theGlobalWordList.end(); ++it) delete it->second; theGlobalWordList.clear(); diff --git a/src/WordList.h b/src/WordList.h index b7f88fb78f..f57f20b068 100644 --- a/src/WordList.h +++ b/src/WordList.h @@ -14,8 +14,6 @@ #include "support/docstring.h" -#include "Language.h" - namespace lyx { class WordList { @@ -41,7 +39,7 @@ private: Impl * d; }; -WordList * theWordList(Language const & lang); +WordList * theWordList(std::string const & lang); } // namespace lyx diff --git a/src/frontends/qt4/GuiErrorList.cpp b/src/frontends/qt4/GuiErrorList.cpp index 9924d649a1..1ab919880f 100644 --- a/src/frontends/qt4/GuiErrorList.cpp +++ b/src/frontends/qt4/GuiErrorList.cpp @@ -188,7 +188,7 @@ bool GuiErrorList::goTo(int item) return false; } // if pos_end is 0, this means it is end-of-paragraph - pos_type const s = dit.paragraph().size(); + pos_type const s = dit.lastpos(); pos_type const end = err.pos_end ? min(err.pos_end, s) : s; pos_type const start = min(err.pos_start, end); pos_type const range = end == start ? s - start : end - start; diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index cd5d3ff181..f25672e04b 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -2115,6 +2115,18 @@ void GuiView::importDocument(string const & argument) // get absolute path of file FileName const fullname(support::makeAbsPath(filename)); + // Can happen if the user entered a path into the dialog + // (see bug #7437) + if (fullname.onlyFileName().empty()) { + docstring msg = bformat(_("The file name '%1$s' is invalid!\n" + "Aborting import."), + from_utf8(fullname.absFileName())); + frontend::Alert::error(_("File name error"), msg); + message(_("Canceled.")); + return; + } + + FileName const lyxfile(support::changeExtension(fullname.absFileName(), ".lyx")); // Check if the document already is open diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index 3619e6c3b4..83ac1bf12c 100644 --- a/src/frontends/qt4/TocWidget.cpp +++ b/src/frontends/qt4/TocWidget.cpp @@ -187,9 +187,16 @@ void TocWidget::doDispatch(Cursor & cur, FuncRequest const & cmd) { case LFUN_CHANGE_ACCEPT: case LFUN_CHANGE_REJECT: + dispatch(item.action()); + cur.dispatch(tmpcmd); + break; + case LFUN_SECTION_SELECT: dispatch(item.action()); cur.dispatch(tmpcmd); + // necessary to get the selection drawn. + cur.buffer()->changed(true); + gui_view_.setFocus(); break; case LFUN_LABEL_COPY_AS_REFERENCE: { diff --git a/src/frontends/qt4/ui/PrefCompletionUi.ui b/src/frontends/qt4/ui/PrefCompletionUi.ui index 010b308b34..45faee48d4 100644 --- a/src/frontends/qt4/ui/PrefCompletionUi.ui +++ b/src/frontends/qt4/ui/PrefCompletionUi.ui @@ -1,7 +1,8 @@ - + + PrefCompletionUi - - + + 0 0 @@ -9,54 +10,54 @@ 404 - + - - + + 9 - + 6 - - - + + + In Math - + true - - - 9 - - + + 6 + + 9 + - - + + Show the grey inline completion behind the cursor in math mode after the delay. - + Automatic in&line completion - - + + Show the popup in math mode after the delay. - + Automatic p&opup - - + + Autoco&rrection @@ -64,47 +65,47 @@ - - - + + + In Text - + true - - - 9 - - + + 6 + + 9 + - - + + Show the grey inline completion behind the cursor in text mode after the delay. - + Automatic &inline completion - - + + Show the popup after the set delay in text mode. - + Automatic &popup - - + + Show a small triangle on the cursor if a completion is available in text mode. - + Cursor i&ndicator @@ -112,58 +113,58 @@ - - - + + + General - + true - - - 9 - - + + 6 + + 9 + - - - 0 - - + + 6 + + 0 + - - + + After the cursor has not moved for this time, the inline completion is shown if it is available. - + 10.000000000000000 - + 0.100000000000000 - - + + s inline completion dela&y - + inlineDelaySB - + Qt::Horizontal - + 40 20 @@ -174,42 +175,42 @@ - - - 0 - - + + 6 + + 0 + - - + + After the cursor has not moved for this time, the completion popup is shown if it is available. - + 10.000000000000000 - + 0.100000000000000 - - + + s popup d&elay - + popupDelaySB - + Qt::Horizontal - + 40 20 @@ -220,17 +221,17 @@ - - - 0 - - + + 6 + + 0 + - - - . + + + Words with less than the specified number of characters will not be completed. 5 @@ -244,21 +245,21 @@ - - - Minimum word length for completion + + + Minimum characters for words that should be completed - + minlengthSB - + Qt::Horizontal - + 40 20 @@ -269,37 +270,37 @@ - - + + When the TAB completion is not unique, there won't be a delay of the popup. It will be shown right away. - + Sho&w popup without delay for non-unique completions - - - Long completions are cut-off and shown with "...". + + + Long completions are cut-off and shown with "...". - - &Use "..." to shorten long completions + + &Use "..." to shorten long completions - + - + Qt::Vertical - + QSizePolicy::Expanding - + 0 16 @@ -318,7 +319,7 @@ autocorrectionCB - qt_i18n.h + qt_i18n.h diff --git a/src/insets/InsetCitation.cpp b/src/insets/InsetCitation.cpp index c0e61798a8..96620c1412 100644 --- a/src/insets/InsetCitation.cpp +++ b/src/insets/InsetCitation.cpp @@ -422,7 +422,7 @@ void InsetCitation::latex(otexstream & os, OutputParams const & runparams) const // FIXME UNICODE docstring const cite_str = from_utf8(citationStyleToString(cs)); - if (runparams.inulemcmd) + if (runparams.inulemcmd > 0) os << "\\mbox{"; os << "\\" << cite_str; diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp index 3ed00d4682..3d8225e08a 100644 --- a/src/insets/InsetListings.cpp +++ b/src/insets/InsetListings.cpp @@ -50,9 +50,6 @@ using namespace lyx::support; namespace lyx { -char const lstinline_delimiters[] = - "!*()-=+|;:'\"`,<.>/?QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm"; - InsetListings::InsetListings(Buffer * buf, InsetListingsParams const & par) : InsetCollapsable(buf) { @@ -202,17 +199,18 @@ void InsetListings::latex(otexstream & os, OutputParams const & runparams) const code += "\n"; } if (isInline) { - char const * delimiter = lstinline_delimiters; - for (; *delimiter != '\0'; ++delimiter) - if (!contains(code, *delimiter)) - break; + static const docstring delimiters = + from_utf8("!*()-=+|;:'\"`,<.>/?QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm"); + + size_t pos = delimiters.find_first_not_of(code); + // This code piece contains all possible special character? !!! // Replace ! with a warning message and use ! as delimiter. - if (*delimiter == '\0') { + if (pos == string::npos) { docstring delim_error = "<" + _("LyX Warning: ") + _("no more lstline delimiters available") + ">"; code = subst(code, from_ascii("!"), delim_error); - delimiter = lstinline_delimiters; + pos = 0; if (!runparams.dryrun && !runparams.silent) { // FIXME: warning should be passed to the error dialog frontend::Alert::warning(_("Running out of delimiters"), @@ -223,12 +221,14 @@ void InsetListings::latex(otexstream & os, OutputParams const & runparams) const "must investigate!")); } } - if (param_string.empty()) - os << "\\lstinline" << *delimiter; - else - os << "\\lstinline[" << from_utf8(param_string) << "]" << *delimiter; - os << code - << *delimiter; + docstring const delim(1, delimiters[pos]); + os << "\\lstinline"; + if (!param_string.empty()) + os << "[" << from_utf8(param_string) << "]"; + else if (pos >= delimiters.find('Q')) + // We need to terminate the command before the delimiter + os << " "; + os << delim << code << delim; } else { OutputParams rp = runparams; rp.moving_arg = true; diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp index 9a2ddd8bd8..e7e458f477 100644 --- a/src/insets/InsetRef.cpp +++ b/src/insets/InsetRef.cpp @@ -143,7 +143,7 @@ void InsetRef::latex(otexstream & os, OutputParams const & rp) const string const cmd = getCmdName(); docstring const data = getEscapedLabel(rp); - if (rp.inulemcmd) + if (rp.inulemcmd > 0) os << "\\mbox{"; if (cmd == "eqref" && buffer().params().use_refstyle) { @@ -168,7 +168,7 @@ void InsetRef::latex(otexstream & os, OutputParams const & rp) const os << p.getCommand(rp); } - if (rp.inulemcmd) + if (rp.inulemcmd > 0) os << "}"; } diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index ca43d47e92..b30c0694e1 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -1377,7 +1377,8 @@ static void findAdvReplace(BufferView * bv, FindAndReplaceOptions const & opt, M DocIterator sel_beg = cur.selectionBegin(); DocIterator sel_end = cur.selectionEnd(); if (&sel_beg.inset() != &sel_end.inset() - || sel_beg.pit() != sel_end.pit()) + || sel_beg.pit() != sel_end.pit() + || sel_beg.idx() != sel_end.idx()) return; int sel_len = sel_end.pos() - sel_beg.pos(); LYXERR(Debug::FIND, "sel_beg: " << sel_beg << ", sel_end: " << sel_end diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index e994d447bf..4c206250fe 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -44,6 +44,7 @@ #include "insets/InsetRef.h" #include "insets/RenderPreview.h" +#include "graphics/GraphicsImage.h" #include "graphics/PreviewImage.h" #include "graphics/PreviewLoader.h" @@ -410,7 +411,7 @@ ColorCode InsetMathHull::standardColor() const } -bool InsetMathHull::previewState(BufferView * bv) const +bool InsetMathHull::previewState(const BufferView *const bv) const { if (!editing(bv) && RenderPreview::status() == LyXRC::PREVIEW_ON && type_ != hullRegexp) @@ -423,14 +424,24 @@ bool InsetMathHull::previewState(BufferView * bv) const } +namespace { +static const int ERROR_FRAME_WIDTH = 2; +} + void InsetMathHull::metrics(MetricsInfo & mi, Dimension & dim) const { if (previewState(mi.base.bv)) { preview_->metrics(mi, dim); - // insert a one pixel gap in front of the formula - dim.wid += 1; - if (display()) - dim.des += displayMargin(); + if (previewTooSmall(dim)) { + // preview image is too small + dim.wid += 2 * ERROR_FRAME_WIDTH; + dim.asc += 2 * ERROR_FRAME_WIDTH; + } else { + // insert a one pixel gap in front of the formula + dim.wid += 1; + if (display()) + dim.des += displayMargin(); + } // Cache the inset dimension. setDimCache(mi, dim); return; @@ -471,10 +482,21 @@ void InsetMathHull::metrics(MetricsInfo & mi, Dimension & dim) const } +bool InsetMathHull::previewTooSmall(Dimension const & dim) const +{ + return dim.width() <= 10 && dim.height() <= 10; +} + + ColorCode InsetMathHull::backgroundColor(PainterInfo const & pi) const { - if (previewState(pi.base.bv)) + BufferView const * const bv = pi.base.bv; + if (previewState(bv)) { + Dimension const dim = dimension(*pi.base.bv); + if (previewTooSmall(dim)) + return Color_error; return graphics::PreviewLoader::backgroundColor(); + } return Color_mathbg; } @@ -482,23 +504,36 @@ ColorCode InsetMathHull::backgroundColor(PainterInfo const & pi) const void InsetMathHull::drawBackground(PainterInfo & pi, int x, int y) const { Dimension const dim = dimension(*pi.base.bv); + if (previewTooSmall(dim)) { + pi.pain.fillRectangle(x, y - 2 * ERROR_FRAME_WIDTH, + dim.wid, dim.asc + dim.des, backgroundColor(pi)); + return; + } pi.pain.fillRectangle(x + 1, y - dim.asc + 1, dim.wid - 2, - dim.asc + dim.des - 1, pi.backgroundColor(this)); + dim.asc + dim.des - 1, backgroundColor(pi)); } void InsetMathHull::draw(PainterInfo & pi, int x, int y) const { - use_preview_ = previewState(pi.base.bv); + BufferView const * const bv = pi.base.bv; + use_preview_ = previewState(bv); if (type_ == hullRegexp) { - Dimension const dim = dimension(*pi.base.bv); + Dimension const dim = dimension(*bv); pi.pain.rectangle(x + 1, y - dim.ascent() + 1, dim.width() - 2, dim.height() - 2, Color_regexpframe); } + if (use_preview_) { - // one pixel gap in front - preview_->draw(pi, x + 1, y); + Dimension const dim = dimension(*bv); + if (previewTooSmall(dim)) { + // we have an extra frame + preview_->draw(pi, x + ERROR_FRAME_WIDTH, y); + } else { + // one pixel gap in front + preview_->draw(pi, x + 1, y); + } setPosCache(pi, x, y); return; } diff --git a/src/mathed/InsetMathHull.h b/src/mathed/InsetMathHull.h index af00eaf04e..0cffffde95 100644 --- a/src/mathed/InsetMathHull.h +++ b/src/mathed/InsetMathHull.h @@ -271,7 +271,9 @@ protected: /// void handleFont2(Cursor & cur, docstring const & arg); /// - bool previewState(BufferView * bv) const; + bool previewState(BufferView const * const bv) const; + /// + bool previewTooSmall(Dimension const & dim) const; }; diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index ab88cf96f4..479a68257c 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -736,6 +736,7 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd) cur.setSelection(true); cur.idx() = cur.lastidx(); cur.pos() = cur.lastpos(); + cur.bv().cursor() = cur; break; case LFUN_PARAGRAPH_UP: diff --git a/status.21x b/status.21x new file mode 100644 index 0000000000..add6a75c58 --- /dev/null +++ b/status.21x @@ -0,0 +1,114 @@ +-*- text -*- + +This file describes what has been done in the preparation of LyX 2.1.1. +All comments are welcome. + +We try to group things by topic and in decreasing order of importance. +Please feel free to re-arrange if that seems like a good idea. + +All of these fixes have already been checked into the 2.1.x branch of +LyX's git repository. The repository can be cloned via: + git clone git://git.lyx.org/lyx +For more details on how to use the repository, please visit: + http://wiki.lyx.org/Devel/LyXGit +A list of bugs fixed for this release can also be found at: + http://www.lyx.org/trac/wiki/BugTrackerHome +as well as a list of bugs still targeted to the 2.1.1 release. + +Richard Heck +Branch Maintainer +rgheck@lyx.org + + +What's new +========== + +** Updates: +*********** + +* DOCUMENT INPUT/OUTPUT + + + +* TEX2LYX IMPROVEMENTS + + + +* USER INTERFACE + + + +* DOCUMENTATION AND LOCALIZATION + + + +* BUILD/INSTALLATION + + + +** Bug fixes: +************* + +* DOCUMENT INPUT/OUTPUT + +- Fix LaTeX error with alphabetic delimiters in inline Listings (part of bug + 8985). + +- Fix output of deleted citations in change tracking mode (bug 8806). + + + +* USER INTERFACE + +- Fix crash when entering math in change-tracking mode while merge changes + dialog is open (bug 7685). + +- Fix crash when CheckTeX hits mathed (bug 8798). + +- Fix crash when performing "Change Case" operation on a selection with font + changes (bug 7943). + +- Fix assertion when entering a path into the import dialog (bug 7437). + +- Fix assertion when doing advanced replace with table cells selected (bug + 7944). + +- Failed instant preview compilation now returns an error. And a red box is + drawn around very small preview imagines, so they can be seen (bug 7522). + +- Fix "Select Section" function in the Outliner (bug 8936). + +- Fix select-by-doubleclick in mathed (bug 8829). + + + +* INTERNALS + +- Fix a problem when PATH changes and python command is relative (bug 8950). + +- Reduce memory use with large documents. + + +* DOCUMENTATION AND LOCALIZATION + + + +* LYXHTML + + + +* TEX2LYX + + + +* ADVANCED FIND AND REPLACE + + + +* BUILD/INSTALLATION + +- Fix bad compare of pointer vs. character (part of bug 8985). + +- With autotools, avoid installing in Windows and MacOS some files intented + for the unix builds. +