lyx_mirror/src
Enrico Forestieri 380f34a114 Fix bug #11180
When a raster image with an advertised pixel density different
from 72 dpi is included in a latex file, the output image dimensions
are scaled by the ratio 72/pixel_density. Hence, if a clipping
bounding box is specified, it has to be scaled by the same ratio,
otherwise the images will be clipped differently on screen and output.
Here we use the extractbb command (present in any TeX distribution)
to ask about the output dimensions of the image as dictated by the
pixel density and compute the scaling ratio by the knowledge of the
actual dimensions. If, for whatever reason, extractbb is not found,
everything goes as before, because the clipping bounding box will
simply not be corrected.
2018-06-24 20:06:40 +02:00
..
client Do not use Application for a 'cancel export' boolean 2018-01-02 16:01:07 +01:00
convert Add description comment for the lyxconvert utility 2017-10-09 08:06:27 +02:00
frontends Add support for tabularx/xltabular 2018-06-24 10:05:15 +02:00
graphics Avoid duplicate generation of the same preview 2018-06-06 18:59:37 +02:00
insets Fix bug #11180 2018-06-24 20:06:40 +02:00
mathed Use getArg to read math-extern arguments 2018-06-05 11:24:05 +02:00
support Support input of non-ASCII characters in hyperlinks 2018-06-09 11:52:55 +02:00
tests Cmake build: Use test/dummy_functions.cpp instead of support/tests/dummy_functions.cpp 2018-01-08 12:58:28 +01:00
tex2lyx tex2lyx: Add support for multirow 2018-06-24 18:14:10 +02:00
.gitignore
AppleSpellChecker.cpp Fix editorial whitespace error 2017-07-30 09:30:58 +02:00
AppleSpellChecker.h
AspellChecker.cpp Fix editorial whitespace issues, e.g. extra space before semicolon 2017-07-30 00:54:12 +02:00
AspellChecker.h
Author.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
Author.h GuiChanges: provide feedback when there are no more changes 2016-05-29 17:55:42 -04:00
BiblioInfo.cpp Differentiate Buffer strings and GUI strings in citeengines 2018-01-27 14:29:41 +01:00
BiblioInfo.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
boost.cpp
Box.cpp
Box.h
BranchList.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
BranchList.h
buffer_funcs.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
buffer_funcs.h
Buffer.cpp If a master is being created at loading the child, un-hide it. 2018-06-01 10:17:18 +02:00
Buffer.h Do not start from a non-reveant parent in Buffer cloning. 2018-05-16 08:35:21 +02:00
BufferEncodings.cpp unicodesymbols: add general way to require a feature only for specific encodings 2018-04-28 13:31:29 +02:00
BufferEncodings.h
BufferList.cpp Handle properly undo groups in embedded work areas 2017-12-13 10:46:54 +01:00
BufferList.h Handle properly undo groups in embedded work areas 2017-12-13 10:46:54 +01:00
BufferParams.cpp Simplify cite engines code 2018-05-20 12:27:03 +02:00
BufferParams.h Simplify cite engines code 2018-05-20 12:27:03 +02:00
BufferView.cpp Simplify cite engines code 2018-05-20 12:27:03 +02:00
BufferView.h Adapt caret height to context in mathed. 2018-04-27 00:03:48 +02:00
Bullet.cpp
Bullet.h
Changes.cpp Fix issue with change-tracked deleted display math 2017-10-22 13:12:33 +02:00
Changes.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
Chktex.cpp grammar 2018-02-18 09:19:03 +01:00
Chktex.h Remove boost/format support 2016-05-29 17:55:45 -04:00
Citation.h Support for "qualified citation lists" 2017-01-21 14:25:17 +01:00
CiteEnginesList.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
CiteEnginesList.h Fix bug #10901. 2018-02-23 23:17:57 -05:00
CMakeLists.txt Cmake build: Only use the new lyxconvert on MAC 2017-10-03 22:12:23 +02:00
CmdDef.cpp Fix bug #10909. 2018-02-23 23:38:31 -05:00
CmdDef.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Color.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
Color.h
ColorCode.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
ColorSet.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Compare.cpp Rename Paragraph::setBuffer to Paragraph::setInsetBuffers, to avoid 2017-10-16 15:48:47 -04:00
Compare.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
CompletionList.h
Converter.cpp Use a copy of BufferParams 2018-05-05 15:26:58 +02:00
Converter.h Fix some problems with background cancellation. 2018-04-16 14:02:20 -04:00
ConverterCache.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
ConverterCache.h
CoordCache.cpp Improve debug message 2015-11-20 22:43:45 +01:00
CoordCache.h Get rid of ParagraphMetrics::insetDimension 2015-10-19 13:17:16 +02:00
Counters.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Counters.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Cursor.cpp Enable graphics-unify only for selections containing graphics insets. 2018-05-02 22:38:42 +02:00
Cursor.h Enable graphics-unify only for selections containing graphics insets. 2018-05-02 22:38:42 +02:00
CursorSlice.cpp Rename some macro-related insets 2017-07-05 14:46:34 +02:00
CursorSlice.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
CutAndPaste.cpp Merge paragraphs when pasted into an inset that forbids multipars 2018-05-11 13:17:39 +02:00
CutAndPaste.h Restore implicit word selection for inset insertion. 2018-04-25 21:48:25 -04:00
DepTable.cpp Use FileName::lastModified() intead of stat() in DepTable 2017-03-13 17:06:42 +01:00
DepTable.h Fix compilation warning in DepTable.cpp 2017-03-20 15:38:08 +01:00
Dimension.cpp Fix LASSERT correction 2015-10-10 21:38:17 +02:00
Dimension.h Only display a blue rectangle for editable empty insets 2016-11-16 18:33:02 +01:00
DispatchResult.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
DocIterator.cpp Properly communicate forced encodings 2018-01-26 08:38:52 +01:00
DocIterator.h * comment 2018-02-07 23:24:05 +01:00
DocumentClassPtr.h Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
EnchantChecker.cpp Add support for enchant 2.x 2018-01-30 12:11:22 +01:00
EnchantChecker.h
Encoding.cpp unicodesymbols: add general way to require a feature only for specific encodings 2018-04-28 13:31:29 +02:00
Encoding.h Factor out test for script wrapper in given font enc 2018-04-21 12:55:11 +02:00
ErrorList.cpp Initialize pointer class member 2017-03-01 16:34:01 +01:00
ErrorList.h Move class definitions inside main class 2016-10-22 23:24:01 +02:00
Exporter.cpp
Exporter.h
factory.cpp Fix bug #10932. 2018-02-24 00:30:24 -05:00
factory.h
Floating.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
Floating.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
FloatList.cpp
FloatList.h
Font.cpp Add \nospellcheck font property 2018-05-06 19:48:21 +02:00
Font.h Remove unused function. 2018-05-05 12:02:10 -04:00
FontEnums.h Correct computation of math font size 2016-11-21 00:02:35 +01:00
FontInfo.cpp Fix cutnpaste error 2018-05-07 10:15:23 +02:00
FontInfo.h Add \nospellcheck font property 2018-05-06 19:48:21 +02:00
FontList.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
FontList.h Rewrite setRowHeight using row information 2016-05-30 14:55:41 +02:00
Format.cpp Fix invalid octal number 2018-04-12 10:50:57 +02:00
Format.h Move the global formats and system_formats variables into the 2017-03-13 23:40:29 -04:00
FuncCode.h Fix bug #7404. 2018-06-05 23:13:54 -04:00
FuncRequest.cpp Fix #8338. 2018-04-20 23:37:58 -04:00
FuncRequest.h Comment: buffer-forall should be run synchronously 2018-04-21 23:05:21 -04:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
Graph.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
HunspellChecker.cpp Adapt to new hunspell C++ ABI 2018-03-29 18:43:11 +02:00
HunspellChecker.h
IndicesList.cpp Fix bug #10915. 2018-02-23 23:47:05 -05:00
IndicesList.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetIterator.cpp
InsetIterator.h
InsetList.cpp Cosmetics 2018-05-28 12:33:17 +02:00
InsetList.h Cosmetics 2018-05-28 12:33:17 +02:00
Intl.cpp
Intl.h
KeyMap.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
KeyMap.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
KeySequence.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
KeySequence.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Language.cpp Language::fontenc(): Don't check for LaTeX font with nonTeX fonts. 2018-04-29 09:21:35 +02:00
Language.h Remove Language::fontenc() 2018-04-23 12:59:57 +02:00
LaTeX.cpp Consider sub-subfiles on log file parsing. 2018-04-14 14:33:21 +02:00
LaTeX.h Allow makeindex, nomencl, and bibtex runs to be canceled, too. 2017-12-21 18:55:39 -05:00
LaTeXFeatures.cpp Add support for tabularx/xltabular 2018-06-24 10:05:15 +02:00
LaTeXFeatures.h Add Provides tag to languages 2018-04-21 15:47:39 +02:00
LaTeXFonts.cpp Align fontenc with document fonts 2018-04-22 19:06:46 +02:00
LaTeXFonts.h Add T1 fontenc as fallback for no font 2018-04-23 18:35:11 +02:00
LaTeXPackages.cpp
LaTeXPackages.h
Layout.cpp Add cprotection support for paragraph layouts. 2018-04-14 12:57:23 +02:00
Layout.h Typo 2018-04-14 13:25:35 -04:00
LayoutEnums.h Implement PassThru option to arguments. 2016-10-21 10:39:55 +02:00
LayoutFile.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
LayoutFile.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
LayoutModuleList.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
LayoutModuleList.h Fix bug #11055. 2018-01-28 23:37:20 -05:00
Length.cpp Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
Length.h Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
lengthcommon.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Lexer.cpp Fix Lexer::getLongString prefix pruning logic 2017-08-29 15:30:44 +02:00
Lexer.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
lyx_commit_hash.h.in
LyX.cpp Catch exception in replaceEnvironmentPath 2018-06-04 11:39:41 +02:00
LyX.h Move the global formats and system_formats variables into the 2017-03-13 23:40:29 -04:00
LyXAction.cpp Add support for tabularx/xltabular 2018-06-24 10:05:15 +02:00
LyXAction.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
lyxfind.cpp Fix bug #10933. 2018-02-24 00:32:14 -05:00
lyxfind.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
LyXRC.cpp Add optional flavor flag to needaux 2018-04-25 13:51:40 +02:00
LyXRC.h Align fontenc with document fonts 2018-04-22 19:06:46 +02:00
LyXVC.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
LyXVC.h Do some caching of window title and related UI 2016-10-19 11:59:47 +02:00
lyxwinres.rc
main.cpp Avoid an assertion when compiling in debug mode with MSVC 2015 2017-04-12 21:19:42 +02:00
Makefile.am Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
MetricsInfo.cpp Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
MetricsInfo.h Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
ModuleList.cpp Fix indentation 2016-06-26 14:26:35 +02:00
ModuleList.h Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Mover.cpp
Mover.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
output_docbook.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
output_docbook.h
output_latex.cpp Group the switch of encoding for listings in utf8 documents 2018-05-01 14:21:05 +02:00
output_latex.h Group the switch of encoding for listings in utf8 documents 2018-05-01 14:21:05 +02:00
output_plaintext.cpp
output_plaintext.h
output_xhtml.cpp Revert "ABOVE and CENTERED labels need special treatment." 2017-10-16 21:28:44 -04:00
output_xhtml.h Add support to cross out characters 2017-04-05 00:01:19 +02:00
output.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
output.h
OutputEnums.h
OutputParams.cpp Support for multiple bibliographies setting "per child" 2017-02-04 19:23:45 +01:00
OutputParams.h Align \textgreek and \textcyr with font encoding 2018-04-20 18:01:16 +02:00
paper.h Convert remaining C++ files to UTF-8 2015-12-05 19:33:24 +00:00
Paragraph.cpp Add \nospellcheck font property 2018-05-06 19:48:21 +02:00
Paragraph.h Only show Accept/Reject Change options if relevant 2018-05-10 12:58:44 -04:00
ParagraphList.h
ParagraphMetrics.cpp Remove row crc computation 2017-11-11 13:24:08 +01:00
ParagraphMetrics.h Remove row crc computation 2017-11-11 13:24:08 +01:00
ParagraphParameters.cpp
ParagraphParameters.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
ParIterator.cpp
ParIterator.h
PDFOptions.cpp Load hyperref with a suitable driver 2018-04-08 19:02:01 +02:00
PDFOptions.h
PersonalWordList.cpp
PersonalWordList.h
PrinterParams.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
PrinterParams.h
Row.cpp Partial cleanup of the row selection code 2018-01-15 17:20:34 +01:00
Row.h Partial cleanup of the row selection code 2018-01-15 17:20:34 +01:00
RowPainter.cpp Paint nospell mark lower than foeign mark, since these can appear both 2018-05-07 08:41:28 +02:00
RowPainter.h Add \nospellcheck font property 2018-05-06 19:48:21 +02:00
Server.cpp Catch exception in replaceEnvironmentPath 2018-06-04 11:39:41 +02:00
Server.h Properly track the lifetime of signals2::slots (#8261) 2017-06-11 19:51:17 +02:00
ServerSocket.cpp Fix missing include for file i/o prototypes after header cleanup in change 489dca71cd 2016-07-04 10:30:19 +02:00
ServerSocket.h Replace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr 2016-06-09 15:21:39 +01:00
Session.cpp Avoid asserting when reading the session file 2017-12-02 10:46:46 +01:00
Session.h The shell escape patch 2017-08-03 13:07:41 +02:00
sgml.cpp Make static counters atomic 2016-07-31 18:34:33 +01:00
sgml.h
Spacing.cpp Fix switch of language and line spacing in InTitle commands. 2017-12-23 13:27:10 +01:00
Spacing.h Fix switch of language and line spacing in InTitle commands. 2017-12-23 13:27:10 +01:00
SpellChecker.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
TexRow.cpp Improvement to the reverse-search algorithm 2016-10-22 23:24:01 +02:00
TexRow.h Fix compilation on cygwin & others 2016-10-23 00:25:05 +02:00
texstream.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
texstream.h Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Text2.cpp Add \nospellcheck font property 2018-05-06 19:48:21 +02:00
Text3.cpp Implement layout-toggle lfun 2018-05-15 00:03:55 +02:00
Text.cpp Add \nospellcheck font property 2018-05-06 19:48:21 +02:00
Text.h Simplify some code now that we don't need it for indexes. 2018-04-25 22:22:36 -04:00
TextClass.cpp Unbreak bibitem citations 2018-05-27 11:49:10 +02:00
TextClass.h disambiguate function name 2018-05-27 09:57:22 +02:00
TextMetrics.cpp Fixup a8fd12d1 2018-05-28 18:02:54 +02:00
TextMetrics.h Cosmetics 2018-05-28 12:33:17 +02:00
Thesaurus.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Thesaurus.h
Toc.h Replace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr 2016-06-09 15:21:39 +01:00
TocBackend.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
TocBackend.h Collect the outliner names for the children's tocs 2017-01-14 23:13:14 +01:00
TocBuilder.cpp Reorganise and simplify 2017-01-09 23:15:16 +01:00
TocBuilder.h Reorganise and simplify 2017-01-09 23:15:16 +01:00
Trans.cpp Fix bug #10930. 2018-02-24 00:28:37 -05:00
Trans.h Add missing intializations 2015-10-10 21:04:28 +02:00
Undo.cpp Fixup c7496a11: test emptiness before accessing elements 2018-06-01 21:48:26 +02:00
Undo.h Skip paint event when in the middle of a buffer operation 2018-05-31 23:26:17 +02:00
update_flags.h Revert "Update documentation" 2018-05-02 12:38:40 +02:00
VCBackend.cpp RCS: commit undo allowed only in unlocked state. 2018-01-10 10:47:48 +01:00
VCBackend.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
version.cpp
version.h Add support for tabularx/xltabular 2018-06-24 10:05:15 +02:00
VSpace.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
VSpace.h
WordLangTuple.h
WordList.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
WordList.h Fix memory leak with WordLists 2016-12-31 15:29:43 +01:00